@eclass/ui-kit 1.51.2 → 1.51.4

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.
@@ -1,11 +1,11 @@
1
- (function(se,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],O):(se=typeof globalThis!="undefined"?globalThis:se||self,O(se["@eclass/ui-kit"]={},se.React))})(this,function(se,O){"use strict";function b6(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function x6(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 C=x6(O),zr=b6(O),w6=!1;function C6(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 S6(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 k6=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!w6: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(S6(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=C6(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e}(),nt="-ms-",Ol="-moz-",ue="-webkit-",Oh="comm",zc="rule",Hc="decl",E6="@import",Fh="@keyframes",P6="@layer",T6=Math.abs,Fl=String.fromCharCode,_6=Object.assign;function M6(e,t){return Ye(e,0)^45?(((t<<2^Ye(e,0))<<2^Ye(e,1))<<2^Ye(e,2))<<2^Ye(e,3):0}function Rh(e){return e.trim()}function L6(e,t){return(e=t.exec(e))?e[0]:e}function ce(e,t,r){return e.replace(t,r)}function Nc(e,t){return e.indexOf(t)}function Ye(e,t){return e.charCodeAt(t)|0}function Eo(e,t,r){return e.slice(t,r)}function or(e){return e.length}function jc(e){return e.length}function Rl(e,t){return t.push(e),e}function A6(e,t){return e.map(t).join("")}var Vl=1,hi=1,Vh=0,ht=0,He=0,vi="";function Il(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Vl,column:hi,length:a,return:""}}function Po(e,t){return _6(Il("",null,null,"",null,null,0),e,{length:-e.length},t)}function O6(){return He}function F6(){return He=ht>0?Ye(vi,--ht):0,hi--,He===10&&(hi=1,Vl--),He}function St(){return He=ht<Vh?Ye(vi,ht++):0,hi++,He===10&&(hi=1,Vl++),He}function ar(){return Ye(vi,ht)}function Bl(){return ht}function To(e,t){return Eo(vi,e,t)}function _o(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 Ih(e){return Vl=hi=1,Vh=or(vi=e),ht=0,[]}function Bh(e){return vi="",e}function $l(e){return Rh(To(ht-1,Wc(e===91?e+2:e===40?e+1:e)))}function R6(e){for(;(He=ar())&&He<33;)St();return _o(e)>2||_o(He)>3?"":" "}function V6(e,t){for(;--t&&St()&&!(He<48||He>102||He>57&&He<65||He>70&&He<97););return To(e,Bl()+(t<6&&ar()==32&&St()==32))}function Wc(e){for(;St();)switch(He){case e:return ht;case 34:case 39:e!==34&&e!==39&&Wc(He);break;case 40:e===41&&Wc(e);break;case 92:St();break}return ht}function I6(e,t){for(;St()&&e+He!==47+10;)if(e+He===42+42&&ar()===47)break;return"/*"+To(t,ht-1)+"*"+Fl(e===47?e:St())}function B6(e){for(;!_o(ar());)St();return To(e,ht)}function $6(e){return Bh(Dl("",null,null,null,[""],e=Ih(e),0,[0],e))}function Dl(e,t,r,n,i,o,a,l,s){for(var u=0,c=0,p=a,f=0,h=0,m=0,y=1,v=1,g=1,b=0,x="",w=i,k=o,E=n,P=x;v;)switch(m=b,b=St()){case 40:if(m!=108&&Ye(P,p-1)==58){Nc(P+=ce($l(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:P+=$l(b);break;case 9:case 10:case 13:case 32:P+=R6(m);break;case 92:P+=V6(Bl()-1,7);continue;case 47:switch(ar()){case 42:case 47:Rl(D6(I6(St(),Bl()),t,r),s);break;default:P+="/"}break;case 123*y:l[u++]=or(P)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:g==-1&&(P=ce(P,/\f/g,"")),h>0&&or(P)-p&&Rl(h>32?Dh(P+";",n,r,p-1):Dh(ce(P," ","")+";",n,r,p-2),s);break;case 59:P+=";";default:if(Rl(E=$h(P,t,r,u,c,i,l,x,w=[],k=[],p),o),b===123)if(c===0)Dl(P,t,E,E,w,o,p,l,k);else switch(f===99&&Ye(P,3)===110?100:f){case 100:case 108:case 109:case 115:Dl(e,E,E,n&&Rl($h(e,E,E,0,0,i,l,x,i,w=[],p),k),i,k,p,l,n?w:k);break;default:Dl(P,E,E,E,[""],k,0,l,k)}}u=c=h=0,y=g=1,x=P="",p=a;break;case 58:p=1+or(P),h=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&F6()==125)continue}switch(P+=Fl(b),b*y){case 38:g=c>0?1:(P+="\f",-1);break;case 44:l[u++]=(or(P)-1)*g,g=1;break;case 64:ar()===45&&(P+=$l(St())),f=ar(),c=p=or(x=P+=B6(Bl())),b++;break;case 45:m===45&&or(P)==2&&(y=0)}}return o}function $h(e,t,r,n,i,o,a,l,s,u,c){for(var p=i-1,f=i===0?o:[""],h=jc(f),m=0,y=0,v=0;m<n;++m)for(var g=0,b=Eo(e,p+1,p=T6(y=a[m])),x=e;g<h;++g)(x=Rh(y>0?f[g]+" "+b:ce(b,/&\f/g,f[g])))&&(s[v++]=x);return Il(e,t,r,i===0?zc:l,s,u,c)}function D6(e,t,r){return Il(e,t,r,Oh,Fl(O6()),Eo(e,2,-2),0)}function Dh(e,t,r,n){return Il(e,t,r,Hc,Eo(e,0,n),Eo(e,n+1,-1),n)}function mi(e,t){for(var r="",n=jc(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function z6(e,t,r,n){switch(e.type){case P6:if(e.children.length)break;case E6:case Hc:return e.return=e.return||e.value;case Oh:return"";case Fh:return e.return=e.value+"{"+mi(e.children,n)+"}";case zc:e.value=e.props.join(",")}return or(r=mi(e.children,n))?e.return=e.value+"{"+r+"}":""}function H6(e){var t=jc(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function N6(e){return function(t){t.root||(t=t.return)&&e(t)}}function zh(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var j6=function(t,r,n){for(var i=0,o=0;i=o,o=ar(),i===38&&o===12&&(r[n]=1),!_o(o);)St();return To(t,ht)},W6=function(t,r){var n=-1,i=44;do switch(_o(i)){case 0:i===38&&ar()===12&&(r[n]=1),t[n]+=j6(ht-1,r,n);break;case 2:t[n]+=$l(i);break;case 4:if(i===44){t[++n]=ar()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Fl(i)}while(i=St());return t},U6=function(t,r){return Bh(W6(Ih(t),r))},Hh=new WeakMap,Z6=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&&!Hh.get(n))&&!i){Hh.set(t,!0);for(var o=[],a=U6(r,o),l=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},G6=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Nh(e,t){switch(M6(e,t)){case 5103:return ue+"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 ue+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ue+e+Ol+e+nt+e+e;case 6828:case 4268:return ue+e+nt+e+e;case 6165:return ue+e+nt+"flex-"+e+e;case 5187:return ue+e+ce(e,/(\w+).+(:[^]+)/,ue+"box-$1$2"+nt+"flex-$1$2")+e;case 5443:return ue+e+nt+"flex-item-"+ce(e,/flex-|-self/,"")+e;case 4675:return ue+e+nt+"flex-line-pack"+ce(e,/align-content|flex-|-self/,"")+e;case 5548:return ue+e+nt+ce(e,"shrink","negative")+e;case 5292:return ue+e+nt+ce(e,"basis","preferred-size")+e;case 6060:return ue+"box-"+ce(e,"-grow","")+ue+e+nt+ce(e,"grow","positive")+e;case 4554:return ue+ce(e,/([^-])(transform)/g,"$1"+ue+"$2")+e;case 6187:return ce(ce(ce(e,/(zoom-|grab)/,ue+"$1"),/(image-set)/,ue+"$1"),e,"")+e;case 5495:case 3959:return ce(e,/(image-set\([^]*)/,ue+"$1$`$1");case 4968:return ce(ce(e,/(.+:)(flex-)?(.*)/,ue+"box-pack:$3"+nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ue+e+e;case 4095:case 3583:case 4068:case 2532:return ce(e,/(.+)-inline(.+)/,ue+"$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(or(e)-1-t>6)switch(Ye(e,t+1)){case 109:if(Ye(e,t+4)!==45)break;case 102:return ce(e,/(.+:)(.+)-([^]+)/,"$1"+ue+"$2-$3$1"+Ol+(Ye(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Nc(e,"stretch")?Nh(ce(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ye(e,t+1)!==115)break;case 6444:switch(Ye(e,or(e)-3-(~Nc(e,"!important")&&10))){case 107:return ce(e,":",":"+ue)+e;case 101:return ce(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ue+(Ye(e,14)===45?"inline-":"")+"box$3$1"+ue+"$2$3$1"+nt+"$2box$3")+e}break;case 5936:switch(Ye(e,t+11)){case 114:return ue+e+nt+ce(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ue+e+nt+ce(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ue+e+nt+ce(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ue+e+nt+e+e}return e}var q6=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Hc:t.return=Nh(t.value,t.length);break;case Fh:return mi([Po(t,{value:ce(t.value,"@","@"+ue)})],i);case zc:if(t.length)return A6(t.props,function(o){switch(L6(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return mi([Po(t,{props:[ce(o,/:(read-\w+)/,":"+Ol+"$1")]})],i);case"::placeholder":return mi([Po(t,{props:[ce(o,/:(plac\w+)/,":"+ue+"input-$1")]}),Po(t,{props:[ce(o,/:(plac\w+)/,":"+Ol+"$1")]}),Po(t,{props:[ce(o,/:(plac\w+)/,nt+"input-$1")]})],i)}return""})}},Y6=[q6],X6=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||Y6,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),g=1;g<v.length;g++)o[v[g]]=!0;l.push(y)});var s,u=[Z6,G6];{var c,p=[z6,N6(function(y){c.insert(y)})],f=H6(u.concat(i,p)),h=function(v){return mi($6(v),f)};s=function(v,g,b,x){c=b,h(v?v+"{"+g.styles+"}":g.styles),x&&(m.inserted[g.name]=!0)}}var m={key:r,sheet:new k6({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(l),m};function Ln(){return Ln=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ln.apply(null,arguments)}var jh=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}},zl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Wh={exports:{}},fe={};/** @license React v16.13.1
1
+ (function(ue,A){typeof exports=="object"&&typeof module!="undefined"?A(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],A):(ue=typeof globalThis!="undefined"?globalThis:ue||self,A(ue["@eclass/ui-kit"]={},ue.React))})(this,function(ue,A){"use strict";function h7(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function v7(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 x=v7(A),Kr=h7(A),m7=!1;function g7(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 y7(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 b7=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!m7: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(y7(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=g7(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e}(),at="-ms-",jl="-moz-",de="-webkit-",uv="comm",nd="rule",id="decl",x7="@import",cv="@keyframes",w7="@layer",C7=Math.abs,Wl=String.fromCharCode,S7=Object.assign;function k7(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function dv(e){return e.trim()}function E7(e,t){return(e=t.exec(e))?e[0]:e}function fe(e,t,r){return e.replace(t,r)}function od(e,t){return e.indexOf(t)}function Qe(e,t){return e.charCodeAt(t)|0}function Ao(e,t,r){return e.slice(t,r)}function sr(e){return e.length}function ad(e){return e.length}function Ul(e,t){return t.push(e),e}function _7(e,t){return e.map(t).join("")}var Zl=1,xi=1,fv=0,mt=0,Ue=0,wi="";function Gl(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:Zl,column:xi,length:a,return:""}}function Fo(e,t){return S7(Gl("",null,null,"",null,null,0),e,{length:-e.length},t)}function P7(){return Ue}function T7(){return Ue=mt>0?Qe(wi,--mt):0,xi--,Ue===10&&(xi=1,Zl--),Ue}function Pt(){return Ue=mt<fv?Qe(wi,mt++):0,xi++,Ue===10&&(xi=1,Zl++),Ue}function ur(){return Qe(wi,mt)}function Yl(){return mt}function Io(e,t){return Ao(wi,e,t)}function Do(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 Zl=xi=1,fv=sr(wi=e),mt=0,[]}function hv(e){return wi="",e}function Kl(e){return dv(Io(mt-1,ld(e===91?e+2:e===40?e+1:e)))}function M7(e){for(;(Ue=ur())&&Ue<33;)Pt();return Do(e)>2||Do(Ue)>3?"":" "}function O7(e,t){for(;--t&&Pt()&&!(Ue<48||Ue>102||Ue>57&&Ue<65||Ue>70&&Ue<97););return Io(e,Yl()+(t<6&&ur()==32&&Pt()==32))}function ld(e){for(;Pt();)switch(Ue){case e:return mt;case 34:case 39:e!==34&&e!==39&&ld(Ue);break;case 40:e===41&&ld(e);break;case 92:Pt();break}return mt}function L7(e,t){for(;Pt()&&e+Ue!==47+10;)if(e+Ue===42+42&&ur()===47)break;return"/*"+Io(t,mt-1)+"*"+Wl(e===47?e:Pt())}function A7(e){for(;!Do(ur());)Pt();return Io(e,mt)}function F7(e){return hv(ql("",null,null,null,[""],e=pv(e),0,[0],e))}function ql(e,t,r,n,i,o,a,l,s){for(var u=0,c=0,p=a,f=0,h=0,m=0,y=1,v=1,g=1,b=0,w="",C=i,k=o,_=n,E=w;v;)switch(m=b,b=Pt()){case 40:if(m!=108&&Qe(E,p-1)==58){od(E+=fe(Kl(b),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:E+=Kl(b);break;case 9:case 10:case 13:case 32:E+=M7(m);break;case 92:E+=O7(Yl()-1,7);continue;case 47:switch(ur()){case 42:case 47:Ul(I7(L7(Pt(),Yl()),t,r),s);break;default:E+="/"}break;case 123*y:l[u++]=sr(E)*g;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:g==-1&&(E=fe(E,/\f/g,"")),h>0&&sr(E)-p&&Ul(h>32?mv(E+";",n,r,p-1):mv(fe(E," ","")+";",n,r,p-2),s);break;case 59:E+=";";default:if(Ul(_=vv(E,t,r,u,c,i,l,w,C=[],k=[],p),o),b===123)if(c===0)ql(E,t,_,_,C,o,p,l,k);else switch(f===99&&Qe(E,3)===110?100:f){case 100:case 108:case 109:case 115:ql(e,_,_,n&&Ul(vv(e,_,_,0,0,i,l,w,i,C=[],p),k),i,k,p,l,n?C:k);break;default:ql(E,_,_,_,[""],k,0,l,k)}}u=c=h=0,y=g=1,w=E="",p=a;break;case 58:p=1+sr(E),h=m;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&T7()==125)continue}switch(E+=Wl(b),b*y){case 38:g=c>0?1:(E+="\f",-1);break;case 44:l[u++]=(sr(E)-1)*g,g=1;break;case 64:ur()===45&&(E+=Kl(Pt())),f=ur(),c=p=sr(w=E+=A7(Yl())),b++;break;case 45:m===45&&sr(E)==2&&(y=0)}}return o}function vv(e,t,r,n,i,o,a,l,s,u,c){for(var p=i-1,f=i===0?o:[""],h=ad(f),m=0,y=0,v=0;m<n;++m)for(var g=0,b=Ao(e,p+1,p=C7(y=a[m])),w=e;g<h;++g)(w=dv(y>0?f[g]+" "+b:fe(b,/&\f/g,f[g])))&&(s[v++]=w);return Gl(e,t,r,i===0?nd:l,s,u,c)}function I7(e,t,r){return Gl(e,t,r,uv,Wl(P7()),Ao(e,2,-2),0)}function mv(e,t,r,n){return Gl(e,t,r,id,Ao(e,0,n),Ao(e,n+1,-1),n)}function Ci(e,t){for(var r="",n=ad(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function D7(e,t,r,n){switch(e.type){case w7:if(e.children.length)break;case x7:case id:return e.return=e.return||e.value;case uv:return"";case cv:return e.return=e.value+"{"+Ci(e.children,n)+"}";case nd:e.value=e.props.join(",")}return sr(r=Ci(e.children,n))?e.return=e.value+"{"+r+"}":""}function R7(e){var t=ad(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function V7(e){return function(t){t.root||(t=t.return)&&e(t)}}function gv(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $7=function(t,r,n){for(var i=0,o=0;i=o,o=ur(),i===38&&o===12&&(r[n]=1),!Do(o);)Pt();return Io(t,mt)},B7=function(t,r){var n=-1,i=44;do switch(Do(i)){case 0:i===38&&ur()===12&&(r[n]=1),t[n]+=$7(mt-1,r,n);break;case 2:t[n]+=Kl(i);break;case 4:if(i===44){t[++n]=ur()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Wl(i)}while(i=Pt());return t},N7=function(t,r){return hv(B7(pv(t),r))},yv=new WeakMap,z7=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&&!yv.get(n))&&!i){yv.set(t,!0);for(var o=[],a=N7(r,o),l=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},H7=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function bv(e,t){switch(k7(e,t)){case 5103:return de+"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 de+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return de+e+jl+e+at+e+e;case 6828:case 4268:return de+e+at+e+e;case 6165:return de+e+at+"flex-"+e+e;case 5187:return de+e+fe(e,/(\w+).+(:[^]+)/,de+"box-$1$2"+at+"flex-$1$2")+e;case 5443:return de+e+at+"flex-item-"+fe(e,/flex-|-self/,"")+e;case 4675:return de+e+at+"flex-line-pack"+fe(e,/align-content|flex-|-self/,"")+e;case 5548:return de+e+at+fe(e,"shrink","negative")+e;case 5292:return de+e+at+fe(e,"basis","preferred-size")+e;case 6060:return de+"box-"+fe(e,"-grow","")+de+e+at+fe(e,"grow","positive")+e;case 4554:return de+fe(e,/([^-])(transform)/g,"$1"+de+"$2")+e;case 6187:return fe(fe(fe(e,/(zoom-|grab)/,de+"$1"),/(image-set)/,de+"$1"),e,"")+e;case 5495:case 3959:return fe(e,/(image-set\([^]*)/,de+"$1$`$1");case 4968:return fe(fe(e,/(.+:)(flex-)?(.*)/,de+"box-pack:$3"+at+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+de+e+e;case 4095:case 3583:case 4068:case 2532:return fe(e,/(.+)-inline(.+)/,de+"$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(sr(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return fe(e,/(.+:)(.+)-([^]+)/,"$1"+de+"$2-$3$1"+jl+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~od(e,"stretch")?bv(fe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Qe(e,t+1)!==115)break;case 6444:switch(Qe(e,sr(e)-3-(~od(e,"!important")&&10))){case 107:return fe(e,":",":"+de)+e;case 101:return fe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+de+(Qe(e,14)===45?"inline-":"")+"box$3$1"+de+"$2$3$1"+at+"$2box$3")+e}break;case 5936:switch(Qe(e,t+11)){case 114:return de+e+at+fe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return de+e+at+fe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return de+e+at+fe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return de+e+at+e+e}return e}var j7=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case id:t.return=bv(t.value,t.length);break;case cv:return Ci([Fo(t,{value:fe(t.value,"@","@"+de)})],i);case nd:if(t.length)return _7(t.props,function(o){switch(E7(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ci([Fo(t,{props:[fe(o,/:(read-\w+)/,":"+jl+"$1")]})],i);case"::placeholder":return Ci([Fo(t,{props:[fe(o,/:(plac\w+)/,":"+de+"input-$1")]}),Fo(t,{props:[fe(o,/:(plac\w+)/,":"+jl+"$1")]}),Fo(t,{props:[fe(o,/:(plac\w+)/,at+"input-$1")]})],i)}return""})}},W7=[j7],U7=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||W7,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),g=1;g<v.length;g++)o[v[g]]=!0;l.push(y)});var s,u=[z7,H7];{var c,p=[D7,V7(function(y){c.insert(y)})],f=R7(u.concat(i,p)),h=function(v){return Ci(F7(v),f)};s=function(v,g,b,w){c=b,h(v?v+"{"+g.styles+"}":g.styles),w&&(m.inserted[g.name]=!0)}}var m={key:r,sheet:new b7({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return m.sheet.hydrate(l),m};function Vn(){return Vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Vn.apply(null,arguments)}var xv=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}},Xl=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},wv={exports:{}},ve={};/** @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 Ze=typeof Symbol=="function"&&Symbol.for,Uc=Ze?Symbol.for("react.element"):60103,Zc=Ze?Symbol.for("react.portal"):60106,Hl=Ze?Symbol.for("react.fragment"):60107,Nl=Ze?Symbol.for("react.strict_mode"):60108,jl=Ze?Symbol.for("react.profiler"):60114,Wl=Ze?Symbol.for("react.provider"):60109,Ul=Ze?Symbol.for("react.context"):60110,Gc=Ze?Symbol.for("react.async_mode"):60111,Zl=Ze?Symbol.for("react.concurrent_mode"):60111,Gl=Ze?Symbol.for("react.forward_ref"):60112,ql=Ze?Symbol.for("react.suspense"):60113,K6=Ze?Symbol.for("react.suspense_list"):60120,Yl=Ze?Symbol.for("react.memo"):60115,Xl=Ze?Symbol.for("react.lazy"):60116,Q6=Ze?Symbol.for("react.block"):60121,J6=Ze?Symbol.for("react.fundamental"):60117,e7=Ze?Symbol.for("react.responder"):60118,t7=Ze?Symbol.for("react.scope"):60119;function kt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Uc:switch(e=e.type,e){case Gc:case Zl:case Hl:case jl:case Nl:case ql:return e;default:switch(e=e&&e.$$typeof,e){case Ul:case Gl:case Xl:case Yl:case Wl:return e;default:return t}}case Zc:return t}}}function Uh(e){return kt(e)===Zl}fe.AsyncMode=Gc,fe.ConcurrentMode=Zl,fe.ContextConsumer=Ul,fe.ContextProvider=Wl,fe.Element=Uc,fe.ForwardRef=Gl,fe.Fragment=Hl,fe.Lazy=Xl,fe.Memo=Yl,fe.Portal=Zc,fe.Profiler=jl,fe.StrictMode=Nl,fe.Suspense=ql,fe.isAsyncMode=function(e){return Uh(e)||kt(e)===Gc},fe.isConcurrentMode=Uh,fe.isContextConsumer=function(e){return kt(e)===Ul},fe.isContextProvider=function(e){return kt(e)===Wl},fe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Uc},fe.isForwardRef=function(e){return kt(e)===Gl},fe.isFragment=function(e){return kt(e)===Hl},fe.isLazy=function(e){return kt(e)===Xl},fe.isMemo=function(e){return kt(e)===Yl},fe.isPortal=function(e){return kt(e)===Zc},fe.isProfiler=function(e){return kt(e)===jl},fe.isStrictMode=function(e){return kt(e)===Nl},fe.isSuspense=function(e){return kt(e)===ql},fe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hl||e===Zl||e===jl||e===Nl||e===ql||e===K6||typeof e=="object"&&e!==null&&(e.$$typeof===Xl||e.$$typeof===Yl||e.$$typeof===Wl||e.$$typeof===Ul||e.$$typeof===Gl||e.$$typeof===J6||e.$$typeof===e7||e.$$typeof===t7||e.$$typeof===Q6)},fe.typeOf=kt,Wh.exports=fe;var Zh=Wh.exports,r7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Gh={};Gh[Zh.ForwardRef]=r7,Gh[Zh.Memo]=n7;var i7=!0;function o7(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}var qh=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||i7===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},Yh=function(t,r,n){qh(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function a7(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 l7={animationIterationCount:1,aspectRatio: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,scale: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},s7=!1,u7=/[A-Z]|^ms/g,c7=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Xh=function(t){return t.charCodeAt(1)===45},Kh=function(t){return t!=null&&typeof t!="boolean"},qc=zh(function(e){return Xh(e)?e:e.replace(u7,"-$&").toLowerCase()}),Qh=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(c7,function(n,i,o){return lr={name:i,styles:o,next:lr},i})}return l7[t]!==1&&!Xh(t)&&typeof r=="number"&&r!==0?r+"px":r},d7="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Mo(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return lr={name:i.name,styles:i.styles,next:lr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)lr={name:a.name,styles:a.styles,next:lr},a=a.next;var l=o.styles+";";return l}return f7(e,t,r)}case"function":{if(e!==void 0){var s=lr,u=r(e);return lr=s,Mo(e,t,u)}break}}var c=r;if(t==null)return c;var p=t[c];return p!==void 0?p:c}function f7(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Mo(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?n+=o+"{"+t[l]+"}":Kh(l)&&(n+=qc(o)+":"+Qh(o,l)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&s7)throw new Error(d7);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Kh(a[s])&&(n+=qc(o)+":"+Qh(o,a[s])+";");else{var u=Mo(e,t,a);switch(o){case"animation":case"animationName":{n+=qc(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}}return n}var Jh=/label:\s*([^\s;{]+)\s*(;|$)/g,lr;function Yc(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";lr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Mo(r,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=Mo(r,t,e[l]),n){var s=o;i+=s[l]}Jh.lastIndex=0;for(var u="",c;(c=Jh.exec(i))!==null;)u+="-"+c[1];var p=a7(i)+u;return{name:p,styles:i,next:lr}}var ev=O.createContext(typeof HTMLElement!="undefined"?X6({key:"css"}):null);ev.Provider;var tv=function(t){return O.forwardRef(function(r,n){var i=O.useContext(ev);return t(r,i,n)})},Lo=O.createContext({}),p7=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Ln({},t,r)},h7=jh(function(e){return jh(function(t){return p7(e,t)})}),v7=function(t){var r=O.useContext(Lo);return t.theme!==r&&(r=h7(r)(t.theme)),O.createElement(Lo.Provider,{value:r},t.children)},rv=C["useInsertionEffect"]?C["useInsertionEffect"]:O.useLayoutEffect,Xc=tv(function(e,t){var r=e.styles,n=Yc([r],void 0,O.useContext(Lo)),i=O.useRef();return rv(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",o),a.hydrate([s])),i.current=[a,l],function(){a.flush()}},[t]),rv(function(){var o=i.current,a=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&Yh(t,n.next,!0),a.tags.length){var s=a.tags[a.tags.length-1].nextElementSibling;a.before=s,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function m7(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Yc(t)}var gi=function(){var t=m7.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_"}}},g7=function(){return C.createElement(Xc,{styles:`
8
+ */var Ye=typeof Symbol=="function"&&Symbol.for,sd=Ye?Symbol.for("react.element"):60103,ud=Ye?Symbol.for("react.portal"):60106,Ql=Ye?Symbol.for("react.fragment"):60107,Jl=Ye?Symbol.for("react.strict_mode"):60108,es=Ye?Symbol.for("react.profiler"):60114,ts=Ye?Symbol.for("react.provider"):60109,rs=Ye?Symbol.for("react.context"):60110,cd=Ye?Symbol.for("react.async_mode"):60111,ns=Ye?Symbol.for("react.concurrent_mode"):60111,is=Ye?Symbol.for("react.forward_ref"):60112,os=Ye?Symbol.for("react.suspense"):60113,Z7=Ye?Symbol.for("react.suspense_list"):60120,as=Ye?Symbol.for("react.memo"):60115,ls=Ye?Symbol.for("react.lazy"):60116,G7=Ye?Symbol.for("react.block"):60121,Y7=Ye?Symbol.for("react.fundamental"):60117,K7=Ye?Symbol.for("react.responder"):60118,q7=Ye?Symbol.for("react.scope"):60119;function Tt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case sd:switch(e=e.type,e){case cd:case ns:case Ql:case es:case Jl:case os:return e;default:switch(e=e&&e.$$typeof,e){case rs:case is:case ls:case as:case ts:return e;default:return t}}case ud:return t}}}function Cv(e){return Tt(e)===ns}ve.AsyncMode=cd,ve.ConcurrentMode=ns,ve.ContextConsumer=rs,ve.ContextProvider=ts,ve.Element=sd,ve.ForwardRef=is,ve.Fragment=Ql,ve.Lazy=ls,ve.Memo=as,ve.Portal=ud,ve.Profiler=es,ve.StrictMode=Jl,ve.Suspense=os,ve.isAsyncMode=function(e){return Cv(e)||Tt(e)===cd},ve.isConcurrentMode=Cv,ve.isContextConsumer=function(e){return Tt(e)===rs},ve.isContextProvider=function(e){return Tt(e)===ts},ve.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sd},ve.isForwardRef=function(e){return Tt(e)===is},ve.isFragment=function(e){return Tt(e)===Ql},ve.isLazy=function(e){return Tt(e)===ls},ve.isMemo=function(e){return Tt(e)===as},ve.isPortal=function(e){return Tt(e)===ud},ve.isProfiler=function(e){return Tt(e)===es},ve.isStrictMode=function(e){return Tt(e)===Jl},ve.isSuspense=function(e){return Tt(e)===os},ve.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ql||e===ns||e===es||e===Jl||e===os||e===Z7||typeof e=="object"&&e!==null&&(e.$$typeof===ls||e.$$typeof===as||e.$$typeof===ts||e.$$typeof===rs||e.$$typeof===is||e.$$typeof===Y7||e.$$typeof===K7||e.$$typeof===q7||e.$$typeof===G7)},ve.typeOf=Tt,wv.exports=ve;var Sv=wv.exports,X7={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q7={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kv={};kv[Sv.ForwardRef]=X7,kv[Sv.Memo]=Q7;var J7=!0;function eb(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}var Ev=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||J7===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},_v=function(t,r,n){Ev(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function tb(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 rb={animationIterationCount:1,aspectRatio: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,scale: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},nb=!1,ib=/[A-Z]|^ms/g,ob=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Pv=function(t){return t.charCodeAt(1)===45},Tv=function(t){return t!=null&&typeof t!="boolean"},dd=gv(function(e){return Pv(e)?e:e.replace(ib,"-$&").toLowerCase()}),Mv=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ob,function(n,i,o){return cr={name:i,styles:o,next:cr},i})}return rb[t]!==1&&!Pv(t)&&typeof r=="number"&&r!==0?r+"px":r},ab="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ro(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return cr={name:i.name,styles:i.styles,next:cr},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)cr={name:a.name,styles:a.styles,next:cr},a=a.next;var l=o.styles+";";return l}return lb(e,t,r)}case"function":{if(e!==void 0){var s=cr,u=r(e);return cr=s,Ro(e,t,u)}break}}var c=r;if(t==null)return c;var p=t[c];return p!==void 0?p:c}function lb(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=Ro(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?n+=o+"{"+t[l]+"}":Tv(l)&&(n+=dd(o)+":"+Mv(o,l)+";")}else{if(o==="NO_COMPONENT_SELECTOR"&&nb)throw new Error(ab);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Tv(a[s])&&(n+=dd(o)+":"+Mv(o,a[s])+";");else{var u=Ro(e,t,a);switch(o){case"animation":case"animationName":{n+=dd(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}}return n}var Ov=/label:\s*([^\s;{]+)\s*(;|$)/g,cr;function fd(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";cr=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=Ro(r,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=Ro(r,t,e[l]),n){var s=o;i+=s[l]}Ov.lastIndex=0;for(var u="",c;(c=Ov.exec(i))!==null;)u+="-"+c[1];var p=tb(i)+u;return{name:p,styles:i,next:cr}}var Lv=A.createContext(typeof HTMLElement!="undefined"?U7({key:"css"}):null);Lv.Provider;var Av=function(t){return A.forwardRef(function(r,n){var i=A.useContext(Lv);return t(r,i,n)})},Vo=A.createContext({}),sb=function(t,r){if(typeof r=="function"){var n=r(t);return n}return Vn({},t,r)},ub=xv(function(e){return xv(function(t){return sb(e,t)})}),cb=function(t){var r=A.useContext(Vo);return t.theme!==r&&(r=ub(r)(t.theme)),A.createElement(Vo.Provider,{value:r},t.children)},Fv=x["useInsertionEffect"]?x["useInsertionEffect"]:A.useLayoutEffect,pd=Av(function(e,t){var r=e.styles,n=fd([r],void 0,A.useContext(Vo)),i=A.useRef();return Fv(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,s=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),s!==null&&(l=!0,s.setAttribute("data-emotion",o),a.hydrate([s])),i.current=[a,l],function(){a.flush()}},[t]),Fv(function(){var o=i.current,a=o[0],l=o[1];if(l){o[1]=!1;return}if(n.next!==void 0&&_v(t,n.next,!0),a.tags.length){var s=a.tags[a.tags.length-1].nextElementSibling;a.before=s,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function db(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return fd(t)}var Si=function(){var t=db.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_"}}},fb=function(){return x.createElement(pd,{styles:`
9
9
  html {
10
10
  line-height: 1.5;
11
11
  -webkit-text-size-adjust: 100%;
@@ -281,42 +281,42 @@
281
281
  select::-ms-expand {
282
282
  display: none;
283
283
  }
284
- `})},y7=g7,Kc={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Function]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",g="[object Null]",b="[object Object]",x="[object Proxy]",w="[object RegExp]",k="[object Set]",E="[object String]",P="[object Undefined]",L="[object WeakMap]",M="[object ArrayBuffer]",B="[object DataView]",G="[object Float32Array]",U="[object Float64Array]",Z="[object Int8Array]",X="[object Int16Array]",K="[object Int32Array]",ne="[object Uint8Array]",ie="[object Uint8ClampedArray]",Be="[object Uint16Array]",be="[object Uint32Array]",$e=/[\\^$.*+?()[\]{}|]/g,F=/^\[object .+?Constructor\]$/,H=/^(?:0|[1-9]\d*)$/,I={};I[G]=I[U]=I[Z]=I[X]=I[K]=I[ne]=I[ie]=I[Be]=I[be]=!0,I[l]=I[s]=I[M]=I[c]=I[B]=I[p]=I[f]=I[h]=I[y]=I[v]=I[b]=I[w]=I[k]=I[E]=I[L]=!1;var $=typeof zl=="object"&&zl&&zl.Object===Object&&zl,N=typeof self=="object"&&self&&self.Object===Object&&self,te=$||N||Function("return this")(),ve=t&&!t.nodeType&&t,xe=ve&&!0&&e&&!e.nodeType&&e,Ue=xe&&xe.exports===ve,si=Ue&&$.process,_n=function(){try{var S=xe&&xe.require&&xe.require("util").types;return S||si&&si.binding&&si.binding("util")}catch{}}(),Ee=_n&&_n.isTypedArray;function ut(S,_,A){switch(A.length){case 0:return S.call(_);case 1:return S.call(_,A[0]);case 2:return S.call(_,A[0],A[1]);case 3:return S.call(_,A[0],A[1],A[2])}return S.apply(_,A)}function Ut(S,_){for(var A=-1,q=Array(S);++A<S;)q[A]=_(A);return q}function bh(S){return function(_){return S(_)}}function Ac(S,_){return S==null?void 0:S[_]}function Oc(S,_){return function(A){return S(_(A))}}var xh=Array.prototype,wh=Function.prototype,Zt=Object.prototype,Mn=te["__core-js_shared__"],ui=wh.toString,Gt=Zt.hasOwnProperty,Co=function(){var S=/[^.]+$/.exec(Mn&&Mn.keys&&Mn.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),_l=Zt.toString,Fc=ui.call(Object),Rc=RegExp("^"+ui.call(Gt).replace($e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ci=Ue?te.Buffer:void 0,r6=te.Symbol,n6=te.Uint8Array,i6=ci?ci.allocUnsafe:void 0,o6=Oc(Object.getPrototypeOf,Object),a6=Object.create,lD=Zt.propertyIsEnumerable,sD=xh.splice,di=r6?r6.toStringTag:void 0,Vc=function(){try{var S=kh(Object,"defineProperty");return S({},"",{}),S}catch{}}(),uD=ci?ci.isBuffer:void 0,l6=Math.max,cD=Date.now,s6=kh(te,"Map"),Ml=kh(Object,"create"),dD=function(){function S(){}return function(_){if(!pi(_))return{};if(a6)return a6(_);S.prototype=_;var A=new S;return S.prototype=void 0,A}}();function fi(S){var _=-1,A=S==null?0:S.length;for(this.clear();++_<A;){var q=S[_];this.set(q[0],q[1])}}function fD(){this.__data__=Ml?Ml(null):{},this.size=0}function pD(S){var _=this.has(S)&&delete this.__data__[S];return this.size-=_?1:0,_}function hD(S){var _=this.__data__;if(Ml){var A=_[S];return A===n?void 0:A}return Gt.call(_,S)?_[S]:void 0}function vD(S){var _=this.__data__;return Ml?_[S]!==void 0:Gt.call(_,S)}function mD(S,_){var A=this.__data__;return this.size+=this.has(S)?0:1,A[S]=Ml&&_===void 0?n:_,this}fi.prototype.clear=fD,fi.prototype.delete=pD,fi.prototype.get=hD,fi.prototype.has=vD,fi.prototype.set=mD;function Dr(S){var _=-1,A=S==null?0:S.length;for(this.clear();++_<A;){var q=S[_];this.set(q[0],q[1])}}function gD(){this.__data__=[],this.size=0}function yD(S){var _=this.__data__,A=Ic(_,S);if(A<0)return!1;var q=_.length-1;return A==q?_.pop():sD.call(_,A,1),--this.size,!0}function bD(S){var _=this.__data__,A=Ic(_,S);return A<0?void 0:_[A][1]}function xD(S){return Ic(this.__data__,S)>-1}function wD(S,_){var A=this.__data__,q=Ic(A,S);return q<0?(++this.size,A.push([S,_])):A[q][1]=_,this}Dr.prototype.clear=gD,Dr.prototype.delete=yD,Dr.prototype.get=bD,Dr.prototype.has=xD,Dr.prototype.set=wD;function So(S){var _=-1,A=S==null?0:S.length;for(this.clear();++_<A;){var q=S[_];this.set(q[0],q[1])}}function CD(){this.size=0,this.__data__={hash:new fi,map:new(s6||Dr),string:new fi}}function SD(S){var _=$c(this,S).delete(S);return this.size-=_?1:0,_}function kD(S){return $c(this,S).get(S)}function ED(S){return $c(this,S).has(S)}function PD(S,_){var A=$c(this,S),q=A.size;return A.set(S,_),this.size+=A.size==q?0:1,this}So.prototype.clear=CD,So.prototype.delete=SD,So.prototype.get=kD,So.prototype.has=ED,So.prototype.set=PD;function ko(S){var _=this.__data__=new Dr(S);this.size=_.size}function TD(){this.__data__=new Dr,this.size=0}function _D(S){var _=this.__data__,A=_.delete(S);return this.size=_.size,A}function MD(S){return this.__data__.get(S)}function LD(S){return this.__data__.has(S)}function AD(S,_){var A=this.__data__;if(A instanceof Dr){var q=A.__data__;if(!s6||q.length<r-1)return q.push([S,_]),this.size=++A.size,this;A=this.__data__=new So(q)}return A.set(S,_),this.size=A.size,this}ko.prototype.clear=TD,ko.prototype.delete=_D,ko.prototype.get=MD,ko.prototype.has=LD,ko.prototype.set=AD;function OD(S,_){var A=Th(S),q=!A&&Ph(S),ae=!A&&!q&&p6(S),me=!A&&!q&&!ae&&v6(S),_e=A||q||ae||me,oe=_e?Ut(S.length,String):[],Me=oe.length;for(var qt in S)(_||Gt.call(S,qt))&&!(_e&&(qt=="length"||ae&&(qt=="offset"||qt=="parent")||me&&(qt=="buffer"||qt=="byteLength"||qt=="byteOffset")||d6(qt,Me)))&&oe.push(qt);return oe}function Ch(S,_,A){(A!==void 0&&!Dc(S[_],A)||A===void 0&&!(_ in S))&&Sh(S,_,A)}function FD(S,_,A){var q=S[_];(!(Gt.call(S,_)&&Dc(q,A))||A===void 0&&!(_ in S))&&Sh(S,_,A)}function Ic(S,_){for(var A=S.length;A--;)if(Dc(S[A][0],_))return A;return-1}function Sh(S,_,A){_=="__proto__"&&Vc?Vc(S,_,{configurable:!0,enumerable:!0,value:A,writable:!0}):S[_]=A}var RD=GD();function Bc(S){return S==null?S===void 0?P:g:di&&di in Object(S)?qD(S):ez(S)}function u6(S){return Ll(S)&&Bc(S)==l}function VD(S){if(!pi(S)||QD(S))return!1;var _=Mh(S)?Rc:F;return _.test(iz(S))}function ID(S){return Ll(S)&&h6(S.length)&&!!I[Bc(S)]}function BD(S){if(!pi(S))return JD(S);var _=f6(S),A=[];for(var q in S)q=="constructor"&&(_||!Gt.call(S,q))||A.push(q);return A}function c6(S,_,A,q,ae){S!==_&&RD(_,function(me,_e){if(ae||(ae=new ko),pi(me))$D(S,_,_e,A,c6,q,ae);else{var oe=q?q(Eh(S,_e),me,_e+"",S,_,ae):void 0;oe===void 0&&(oe=me),Ch(S,_e,oe)}},m6)}function $D(S,_,A,q,ae,me,_e){var oe=Eh(S,A),Me=Eh(_,A),qt=_e.get(Me);if(qt){Ch(S,A,qt);return}var At=me?me(oe,Me,A+"",S,_,_e):void 0,Al=At===void 0;if(Al){var Lh=Th(Me),Ah=!Lh&&p6(Me),y6=!Lh&&!Ah&&v6(Me);At=Me,Lh||Ah||y6?Th(oe)?At=oe:oz(oe)?At=WD(oe):Ah?(Al=!1,At=HD(Me,!0)):y6?(Al=!1,At=jD(Me,!0)):At=[]:az(Me)||Ph(Me)?(At=oe,Ph(oe)?At=lz(oe):(!pi(oe)||Mh(oe))&&(At=YD(Me))):Al=!1}Al&&(_e.set(Me,At),ae(At,Me,q,me,_e),_e.delete(Me)),Ch(S,A,At)}function DD(S,_){return rz(tz(S,_,g6),S+"")}var zD=Vc?function(S,_){return Vc(S,"toString",{configurable:!0,enumerable:!1,value:uz(_),writable:!0})}:g6;function HD(S,_){if(_)return S.slice();var A=S.length,q=i6?i6(A):new S.constructor(A);return S.copy(q),q}function ND(S){var _=new S.constructor(S.byteLength);return new n6(_).set(new n6(S)),_}function jD(S,_){var A=_?ND(S.buffer):S.buffer;return new S.constructor(A,S.byteOffset,S.length)}function WD(S,_){var A=-1,q=S.length;for(_||(_=Array(q));++A<q;)_[A]=S[A];return _}function UD(S,_,A,q){var ae=!A;A||(A={});for(var me=-1,_e=_.length;++me<_e;){var oe=_[me],Me=q?q(A[oe],S[oe],oe,A,S):void 0;Me===void 0&&(Me=S[oe]),ae?Sh(A,oe,Me):FD(A,oe,Me)}return A}function ZD(S){return DD(function(_,A){var q=-1,ae=A.length,me=ae>1?A[ae-1]:void 0,_e=ae>2?A[2]:void 0;for(me=S.length>3&&typeof me=="function"?(ae--,me):void 0,_e&&XD(A[0],A[1],_e)&&(me=ae<3?void 0:me,ae=1),_=Object(_);++q<ae;){var oe=A[q];oe&&S(_,oe,q,me)}return _})}function GD(S){return function(_,A,q){for(var ae=-1,me=Object(_),_e=q(_),oe=_e.length;oe--;){var Me=_e[S?oe:++ae];if(A(me[Me],Me,me)===!1)break}return _}}function $c(S,_){var A=S.__data__;return KD(_)?A[typeof _=="string"?"string":"hash"]:A.map}function kh(S,_){var A=Ac(S,_);return VD(A)?A:void 0}function qD(S){var _=Gt.call(S,di),A=S[di];try{S[di]=void 0;var q=!0}catch{}var ae=_l.call(S);return q&&(_?S[di]=A:delete S[di]),ae}function YD(S){return typeof S.constructor=="function"&&!f6(S)?dD(o6(S)):{}}function d6(S,_){var A=typeof S;return _=_==null?a:_,!!_&&(A=="number"||A!="symbol"&&H.test(S))&&S>-1&&S%1==0&&S<_}function XD(S,_,A){if(!pi(A))return!1;var q=typeof _;return(q=="number"?_h(A)&&d6(_,A.length):q=="string"&&_ in A)?Dc(A[_],S):!1}function KD(S){var _=typeof S;return _=="string"||_=="number"||_=="symbol"||_=="boolean"?S!=="__proto__":S===null}function QD(S){return!!Co&&Co in S}function f6(S){var _=S&&S.constructor,A=typeof _=="function"&&_.prototype||Zt;return S===A}function JD(S){var _=[];if(S!=null)for(var A in Object(S))_.push(A);return _}function ez(S){return _l.call(S)}function tz(S,_,A){return _=l6(_===void 0?S.length-1:_,0),function(){for(var q=arguments,ae=-1,me=l6(q.length-_,0),_e=Array(me);++ae<me;)_e[ae]=q[_+ae];ae=-1;for(var oe=Array(_+1);++ae<_;)oe[ae]=q[ae];return oe[_]=A(_e),ut(S,this,oe)}}function Eh(S,_){if(!(_==="constructor"&&typeof S[_]=="function")&&_!="__proto__")return S[_]}var rz=nz(zD);function nz(S){var _=0,A=0;return function(){var q=cD(),ae=o-(q-A);if(A=q,ae>0){if(++_>=i)return arguments[0]}else _=0;return S.apply(void 0,arguments)}}function iz(S){if(S!=null){try{return ui.call(S)}catch{}try{return S+""}catch{}}return""}function Dc(S,_){return S===_||S!==S&&_!==_}var Ph=u6(function(){return arguments}())?u6:function(S){return Ll(S)&&Gt.call(S,"callee")&&!lD.call(S,"callee")},Th=Array.isArray;function _h(S){return S!=null&&h6(S.length)&&!Mh(S)}function oz(S){return Ll(S)&&_h(S)}var p6=uD||cz;function Mh(S){if(!pi(S))return!1;var _=Bc(S);return _==h||_==m||_==u||_==x}function h6(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=a}function pi(S){var _=typeof S;return S!=null&&(_=="object"||_=="function")}function Ll(S){return S!=null&&typeof S=="object"}function az(S){if(!Ll(S)||Bc(S)!=b)return!1;var _=o6(S);if(_===null)return!0;var A=Gt.call(_,"constructor")&&_.constructor;return typeof A=="function"&&A instanceof A&&ui.call(A)==Fc}var v6=Ee?bh(Ee):ID;function lz(S){return UD(S,m6(S))}function m6(S){return _h(S)?OD(S,!0):BD(S)}var sz=ZD(function(S,_,A,q){c6(S,_,A,q)});function uz(S){return function(){return S}}function g6(S){return S}function cz(){return!1}e.exports=sz})(Kc,Kc.exports);var Ot=Kc.exports;function b7(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function An(e){return typeof e=="number"}function Qc(e){return Array.isArray(e)}function Hr(e){return typeof e=="function"}function x7(e){return typeof e=="undefined"||e===void 0}function vt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Qc(e)}function w7(e){return vt(e)&&Object.keys(e).length===0}function Kl(e){return Object.prototype.toString.call(e)==="[object String]"}function nv(e){return/^var\(--.+\)$/.test(e)}var wr=!1;function Ql(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function iv(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function C7(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 S7=function(t){var r=new WeakMap,n=function(o,a,l,s){if(typeof o=="undefined")return t(o,a,l);r.has(o)||r.set(o,new Map);var u=r.get(o);if(u.has(a))return u.get(a);var c=t(o,a,l,s);return u.set(a,c),c};return n},Jl=S7(C7);function ov(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var Jc=function(t){return ov(t,function(r){return r!=null})},ed=function(t){return Object.keys(t)},es=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},k7=function(t,r,n){var i,o;return(i=(o=t.__cssMap[r+"."+n])==null?void 0:o.varRef)!=null?i:n};function E7(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function ts(e){if(e==null)return e;var t=E7(e),r=t.unitless;return r||An(e)?e+"px":e}var av=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},td=function(t){return es(Object.entries(t).sort(av))};function lv(e){var t=td(e);return Object.assign(Object.values(t),t)}function P7(e){var t=Object.keys(td(e));return new Set(t)}function T7(e){var t;if(!e)return e;e=(t=ts(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return An(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function rs(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+ts(e)+")"),t&&r.push("and","(max-width: "+ts(t)+")"),r.join(" ")}function _7(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=lv(e),n=Object.entries(e).sort(av).map(function(a,l,s){var u,c=a[0],p=a[1],f=(u=s[l+1])!=null?u:[],h=f[1];return h=parseFloat(h)>0?T7(h):void 0,{breakpoint:c,minW:p,maxW:h,maxWQuery:rs(null,h),minWQuery:rs(p),minMaxQuery:rs(p,h)}}),i=P7(e),o=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:td(e),asArray:lv(e),details:n,media:[null].concat(r.map(function(a){return rs(a)}).slice(1)),toArrayValue:function(l){if(!vt(l))throw new Error("toArrayValue: value must be an object");for(var s=o.map(function(u){var c;return(c=l[u])!=null?c:null});b7(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 p=o[c];return p!=null&&u!=null&&(s[p]=u),s},{})}}}function sv(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function rd(e){var t;if(!sv(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function uv(e){var t;return sv(e)&&(t=e.ownerDocument)!=null?t:document}function M7(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Nr=M7(),cv=function(t){return t?"":void 0},Ne=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")},L7=function(t){return t.hasAttribute("tabindex")};function A7(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function O7(e){return rd(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function F7(e){var t=rd(e)?uv(e):document;return t.activeElement===e}function dv(e){return e.parentElement&&dv(e.parentElement)?!0:e.hidden}function R7(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function V7(e){if(!rd(e)||dv(e)||A7(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]():R7(e)?!0:L7(e)}var I7=["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]"],B7=I7.join();function $7(e){var t=Array.from(e.querySelectorAll(B7));return t.unshift(e),t.filter(V7).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function fv(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 D7(e,t){if(!!e){if(typeof e=="string")return fv(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 fv(e,t)}}function z7(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=D7(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 Ft(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 Hr(e)?e.apply(void 0,r):e}function Yt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(o){return o==null||o(i),i==null?void 0:i.defaultPrevented})}}function H7(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=e.apply(this,i),e=null}return t}}var Ao=function(){},pv=H7(function(e){return function(){var t=e.condition,r=e.message;t&&wr&&console.warn(r)}}),N7=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(o,a){return a(o)},i)}};function j7(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?F7:n,o=r.nextTick,a=r.preventScroll,l=a===void 0?!0:a,s=r.selectTextIfInput,u=s===void 0?!0:s;if(!e||i(e))return-1;function c(){if(!e){pv({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(W7())e.focus({preventScroll:l});else if(e.focus(),l){var p=U7(e);Z7(p)}O7(e)&&u&&e.select()}return o?requestAnimationFrame(c):(c(),-1)}var ns=null;function W7(){if(ns==null){ns=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return ns=!0,!0}})}catch{}}return ns}function U7(e){for(var t,r=uv(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,o=[],a=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==a;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return a instanceof n.HTMLElement&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),o}function Z7(e){for(var t=z7(e),r;!(r=t()).done;){var n=r.value,i=n.element,o=n.scrollTop,a=n.scrollLeft;i.scrollTop=o,i.scrollLeft=a}}function nd(e,t){return t===void 0&&(t=1/0),!vt(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],o=n[1];return vt(o)||Qc(o)?Object.entries(nd(o,t-1)).forEach(function(a){var l=a[0],s=a[1];r[i+"."+l]=s}):r[i]=o,r},{})}function G7(e,t,r){return(e-t)*100/(r-t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function hv(e,t){return Qc(e)?e.map(function(r){return r===null?null:t(r)}):vt(e)?ed(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function q7(e,t){if(e!=null){if(Hr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function Oo(){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 q7(i,n)})}}function On(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,l=C.createContext(void 0);l.displayName=a;function s(){var u=C.useContext(l);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,s),c}return u}return[l.Provider,s,l]}function vv(e){return C.Children.toArray(e).filter(function(t){return C.isValidElement(t)})}var Fo=Nr?C.useLayoutEffect:C.useEffect;function id(e,t){t===void 0&&(t=[]);var r=C.useRef(e);return Fo(function(){r.current=e}),C.useCallback(function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r.current==null?void 0:r.current.apply(r,i)},t)}function mv(e,t,r,n){var i=id(t);return C.useEffect(function(){var o,a=(o=Ft(r))!=null?o:document;if(!!t)return a.addEventListener(e,i,n),function(){a.removeEventListener(e,i,n)}},[e,r,n,i,t]),function(){var o,a=(o=Ft(r))!=null?o:document;a.removeEventListener(e,i,n)}}function Y7(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function is(){return is=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},is.apply(this,arguments)}var X7={current:1},gv=C.createContext(X7),K7=C.memo(function(e){var t=e.children;return C.createElement(gv.Provider,{value:{current:1}},t)}),Q7=function(t){return t.current++};function od(e,t){var r=C.useContext(gv),n=C.useState(r.current),i=n[0],o=n[1];return C.useEffect(function(){o(Q7(r))},[r]),C.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function J7(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=od(e);return C.useMemo(function(){return r.map(function(o){return o+"-"+i})},[i,r])}function yv(e){e===void 0&&(e={});var t=e,r=t.onClose,n=t.onOpen,i=t.isOpen,o=t.id,a=id(n),l=id(r),s=C.useState(e.defaultIsOpen||!1),u=s[0],c=s[1],p=Y7(i,u),f=p[0],h=p[1],m=od(o,"disclosure"),y=C.useCallback(function(){f||c(!1),l==null||l()},[f,l]),v=C.useCallback(function(){f||c(!0),a==null||a()},[f,a]),g=C.useCallback(function(){var b=h?y:v;b()},[h,v,y]);return{isOpen:!!h,onOpen:v,onClose:y,onToggle:g,isControlled:f,getButtonProps:function(x){return x===void 0&&(x={}),is({},x,{"aria-expanded":"true","aria-controls":m,onClick:Yt(x.onClick,g)})},getDisclosureProps:function(x){return x===void 0&&(x={}),is({},x,{hidden:!h,id:m})}}}function eb(e,t){return t===void 0&&(t=[]),C.useEffect(function(){return function(){return e()}},t)}function bv(){var e=C.useRef(!1),t=C.useState(0),r=t[0],n=t[1];return eb(function(){e.current=!0}),C.useCallback(function(){e.current||n(r+1)},[r])}function tb(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 rb(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return C.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&tb(i,n)})}},t)}var ad={exports:{}},Rt={};/*
284
+ `})},pb=fb,hd={exports:{}};(function(e,t){var r=200,n="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,l="[object Arguments]",s="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",p="[object Date]",f="[object Error]",h="[object Function]",m="[object GeneratorFunction]",y="[object Map]",v="[object Number]",g="[object Null]",b="[object Object]",w="[object Proxy]",C="[object RegExp]",k="[object Set]",_="[object String]",E="[object Undefined]",M="[object WeakMap]",O="[object ArrayBuffer]",R="[object DataView]",Z="[object Float32Array]",G="[object Float64Array]",U="[object Int8Array]",Y="[object Int16Array]",Q="[object Int32Array]",J="[object Uint8Array]",ie="[object Uint8ClampedArray]",we="[object Uint16Array]",he="[object Uint32Array]",ye=/[\\^$.*+?()[\]{}|]/g,I=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,D={};D[Z]=D[G]=D[U]=D[Y]=D[Q]=D[J]=D[ie]=D[we]=D[he]=!0,D[l]=D[s]=D[O]=D[c]=D[R]=D[p]=D[f]=D[h]=D[y]=D[v]=D[b]=D[C]=D[k]=D[_]=D[M]=!1;var N=typeof Xl=="object"&&Xl&&Xl.Object===Object&&Xl,H=typeof self=="object"&&self&&self.Object===Object&&self,ne=N||H||Function("return this")(),ce=t&&!t.nodeType&&t,be=ce&&!0&&e&&!e.nodeType&&e,je=be&&be.exports===ce,Gr=je&&N.process,Xe=function(){try{var S=be&&be.require&&be.require("util").types;return S||Gr&&Gr.binding&&Gr.binding("util")}catch{}}(),oe=Xe&&Xe.isTypedArray;function We(S,T,F){switch(F.length){case 0:return S.call(T);case 1:return S.call(T,F[0]);case 2:return S.call(T,F[0],F[1]);case 3:return S.call(T,F[0],F[1],F[2])}return S.apply(T,F)}function _t(S,T){for(var F=-1,K=Array(S);++F<S;)K[F]=T(F);return K}function $l(S){return function(T){return S(T)}}function hi(S,T){return S==null?void 0:S[T]}function Kc(S,T){return function(F){return S(T(F))}}var Xh=Array.prototype,Qh=Function.prototype,Kt=Object.prototype,Rn=ne["__core-js_shared__"],vi=Qh.toString,qt=Kt.hasOwnProperty,Mo=function(){var S=/[^.]+$/.exec(Rn&&Rn.keys&&Rn.keys.IE_PROTO||"");return S?"Symbol(src)_1."+S:""}(),Bl=Kt.toString,qc=vi.call(Object),Xc=RegExp("^"+vi.call(qt).replace(ye,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mi=je?ne.Buffer:void 0,X6=ne.Symbol,Q6=ne.Uint8Array,J6=mi?mi.allocUnsafe:void 0,e7=Kc(Object.getPrototypeOf,Object),t7=Object.create,kz=Kt.propertyIsEnumerable,Ez=Xh.splice,gi=X6?X6.toStringTag:void 0,Qc=function(){try{var S=tv(Object,"defineProperty");return S({},"",{}),S}catch{}}(),_z=mi?mi.isBuffer:void 0,r7=Math.max,Pz=Date.now,n7=tv(ne,"Map"),Nl=tv(Object,"create"),Tz=function(){function S(){}return function(T){if(!bi(T))return{};if(t7)return t7(T);S.prototype=T;var F=new S;return S.prototype=void 0,F}}();function yi(S){var T=-1,F=S==null?0:S.length;for(this.clear();++T<F;){var K=S[T];this.set(K[0],K[1])}}function Mz(){this.__data__=Nl?Nl(null):{},this.size=0}function Oz(S){var T=this.has(S)&&delete this.__data__[S];return this.size-=T?1:0,T}function Lz(S){var T=this.__data__;if(Nl){var F=T[S];return F===n?void 0:F}return qt.call(T,S)?T[S]:void 0}function Az(S){var T=this.__data__;return Nl?T[S]!==void 0:qt.call(T,S)}function Fz(S,T){var F=this.__data__;return this.size+=this.has(S)?0:1,F[S]=Nl&&T===void 0?n:T,this}yi.prototype.clear=Mz,yi.prototype.delete=Oz,yi.prototype.get=Lz,yi.prototype.has=Az,yi.prototype.set=Fz;function Yr(S){var T=-1,F=S==null?0:S.length;for(this.clear();++T<F;){var K=S[T];this.set(K[0],K[1])}}function Iz(){this.__data__=[],this.size=0}function Dz(S){var T=this.__data__,F=Jc(T,S);if(F<0)return!1;var K=T.length-1;return F==K?T.pop():Ez.call(T,F,1),--this.size,!0}function Rz(S){var T=this.__data__,F=Jc(T,S);return F<0?void 0:T[F][1]}function Vz(S){return Jc(this.__data__,S)>-1}function $z(S,T){var F=this.__data__,K=Jc(F,S);return K<0?(++this.size,F.push([S,T])):F[K][1]=T,this}Yr.prototype.clear=Iz,Yr.prototype.delete=Dz,Yr.prototype.get=Rz,Yr.prototype.has=Vz,Yr.prototype.set=$z;function Oo(S){var T=-1,F=S==null?0:S.length;for(this.clear();++T<F;){var K=S[T];this.set(K[0],K[1])}}function Bz(){this.size=0,this.__data__={hash:new yi,map:new(n7||Yr),string:new yi}}function Nz(S){var T=td(this,S).delete(S);return this.size-=T?1:0,T}function zz(S){return td(this,S).get(S)}function Hz(S){return td(this,S).has(S)}function jz(S,T){var F=td(this,S),K=F.size;return F.set(S,T),this.size+=F.size==K?0:1,this}Oo.prototype.clear=Bz,Oo.prototype.delete=Nz,Oo.prototype.get=zz,Oo.prototype.has=Hz,Oo.prototype.set=jz;function Lo(S){var T=this.__data__=new Yr(S);this.size=T.size}function Wz(){this.__data__=new Yr,this.size=0}function Uz(S){var T=this.__data__,F=T.delete(S);return this.size=T.size,F}function Zz(S){return this.__data__.get(S)}function Gz(S){return this.__data__.has(S)}function Yz(S,T){var F=this.__data__;if(F instanceof Yr){var K=F.__data__;if(!n7||K.length<r-1)return K.push([S,T]),this.size=++F.size,this;F=this.__data__=new Oo(K)}return F.set(S,T),this.size=F.size,this}Lo.prototype.clear=Wz,Lo.prototype.delete=Uz,Lo.prototype.get=Zz,Lo.prototype.has=Gz,Lo.prototype.set=Yz;function Kz(S,T){var F=iv(S),K=!F&&nv(S),se=!F&&!K&&s7(S),Ce=!F&&!K&&!se&&c7(S),Ae=F||K||se||Ce,ae=Ae?_t(S.length,String):[],Fe=ae.length;for(var Xt in S)(T||qt.call(S,Xt))&&!(Ae&&(Xt=="length"||se&&(Xt=="offset"||Xt=="parent")||Ce&&(Xt=="buffer"||Xt=="byteLength"||Xt=="byteOffset")||a7(Xt,Fe)))&&ae.push(Xt);return ae}function Jh(S,T,F){(F!==void 0&&!rd(S[T],F)||F===void 0&&!(T in S))&&ev(S,T,F)}function qz(S,T,F){var K=S[T];(!(qt.call(S,T)&&rd(K,F))||F===void 0&&!(T in S))&&ev(S,T,F)}function Jc(S,T){for(var F=S.length;F--;)if(rd(S[F][0],T))return F;return-1}function ev(S,T,F){T=="__proto__"&&Qc?Qc(S,T,{configurable:!0,enumerable:!0,value:F,writable:!0}):S[T]=F}var Xz=cH();function ed(S){return S==null?S===void 0?E:g:gi&&gi in Object(S)?dH(S):gH(S)}function i7(S){return zl(S)&&ed(S)==l}function Qz(S){if(!bi(S)||vH(S))return!1;var T=av(S)?Xc:I;return T.test(wH(S))}function Jz(S){return zl(S)&&u7(S.length)&&!!D[ed(S)]}function eH(S){if(!bi(S))return mH(S);var T=l7(S),F=[];for(var K in S)K=="constructor"&&(T||!qt.call(S,K))||F.push(K);return F}function o7(S,T,F,K,se){S!==T&&Xz(T,function(Ce,Ae){if(se||(se=new Lo),bi(Ce))tH(S,T,Ae,F,o7,K,se);else{var ae=K?K(rv(S,Ae),Ce,Ae+"",S,T,se):void 0;ae===void 0&&(ae=Ce),Jh(S,Ae,ae)}},d7)}function tH(S,T,F,K,se,Ce,Ae){var ae=rv(S,F),Fe=rv(T,F),Xt=Ae.get(Fe);if(Xt){Jh(S,F,Xt);return}var Rt=Ce?Ce(ae,Fe,F+"",S,T,Ae):void 0,Hl=Rt===void 0;if(Hl){var lv=iv(Fe),sv=!lv&&s7(Fe),p7=!lv&&!sv&&c7(Fe);Rt=Fe,lv||sv||p7?iv(ae)?Rt=ae:CH(ae)?Rt=lH(ae):sv?(Hl=!1,Rt=iH(Fe,!0)):p7?(Hl=!1,Rt=aH(Fe,!0)):Rt=[]:SH(Fe)||nv(Fe)?(Rt=ae,nv(ae)?Rt=kH(ae):(!bi(ae)||av(ae))&&(Rt=fH(Fe))):Hl=!1}Hl&&(Ae.set(Fe,Rt),se(Rt,Fe,K,Ce,Ae),Ae.delete(Fe)),Jh(S,F,Rt)}function rH(S,T){return bH(yH(S,T,f7),S+"")}var nH=Qc?function(S,T){return Qc(S,"toString",{configurable:!0,enumerable:!1,value:_H(T),writable:!0})}:f7;function iH(S,T){if(T)return S.slice();var F=S.length,K=J6?J6(F):new S.constructor(F);return S.copy(K),K}function oH(S){var T=new S.constructor(S.byteLength);return new Q6(T).set(new Q6(S)),T}function aH(S,T){var F=T?oH(S.buffer):S.buffer;return new S.constructor(F,S.byteOffset,S.length)}function lH(S,T){var F=-1,K=S.length;for(T||(T=Array(K));++F<K;)T[F]=S[F];return T}function sH(S,T,F,K){var se=!F;F||(F={});for(var Ce=-1,Ae=T.length;++Ce<Ae;){var ae=T[Ce],Fe=K?K(F[ae],S[ae],ae,F,S):void 0;Fe===void 0&&(Fe=S[ae]),se?ev(F,ae,Fe):qz(F,ae,Fe)}return F}function uH(S){return rH(function(T,F){var K=-1,se=F.length,Ce=se>1?F[se-1]:void 0,Ae=se>2?F[2]:void 0;for(Ce=S.length>3&&typeof Ce=="function"?(se--,Ce):void 0,Ae&&pH(F[0],F[1],Ae)&&(Ce=se<3?void 0:Ce,se=1),T=Object(T);++K<se;){var ae=F[K];ae&&S(T,ae,K,Ce)}return T})}function cH(S){return function(T,F,K){for(var se=-1,Ce=Object(T),Ae=K(T),ae=Ae.length;ae--;){var Fe=Ae[S?ae:++se];if(F(Ce[Fe],Fe,Ce)===!1)break}return T}}function td(S,T){var F=S.__data__;return hH(T)?F[typeof T=="string"?"string":"hash"]:F.map}function tv(S,T){var F=hi(S,T);return Qz(F)?F:void 0}function dH(S){var T=qt.call(S,gi),F=S[gi];try{S[gi]=void 0;var K=!0}catch{}var se=Bl.call(S);return K&&(T?S[gi]=F:delete S[gi]),se}function fH(S){return typeof S.constructor=="function"&&!l7(S)?Tz(e7(S)):{}}function a7(S,T){var F=typeof S;return T=T==null?a:T,!!T&&(F=="number"||F!="symbol"&&L.test(S))&&S>-1&&S%1==0&&S<T}function pH(S,T,F){if(!bi(F))return!1;var K=typeof T;return(K=="number"?ov(F)&&a7(T,F.length):K=="string"&&T in F)?rd(F[T],S):!1}function hH(S){var T=typeof S;return T=="string"||T=="number"||T=="symbol"||T=="boolean"?S!=="__proto__":S===null}function vH(S){return!!Mo&&Mo in S}function l7(S){var T=S&&S.constructor,F=typeof T=="function"&&T.prototype||Kt;return S===F}function mH(S){var T=[];if(S!=null)for(var F in Object(S))T.push(F);return T}function gH(S){return Bl.call(S)}function yH(S,T,F){return T=r7(T===void 0?S.length-1:T,0),function(){for(var K=arguments,se=-1,Ce=r7(K.length-T,0),Ae=Array(Ce);++se<Ce;)Ae[se]=K[T+se];se=-1;for(var ae=Array(T+1);++se<T;)ae[se]=K[se];return ae[T]=F(Ae),We(S,this,ae)}}function rv(S,T){if(!(T==="constructor"&&typeof S[T]=="function")&&T!="__proto__")return S[T]}var bH=xH(nH);function xH(S){var T=0,F=0;return function(){var K=Pz(),se=o-(K-F);if(F=K,se>0){if(++T>=i)return arguments[0]}else T=0;return S.apply(void 0,arguments)}}function wH(S){if(S!=null){try{return vi.call(S)}catch{}try{return S+""}catch{}}return""}function rd(S,T){return S===T||S!==S&&T!==T}var nv=i7(function(){return arguments}())?i7:function(S){return zl(S)&&qt.call(S,"callee")&&!kz.call(S,"callee")},iv=Array.isArray;function ov(S){return S!=null&&u7(S.length)&&!av(S)}function CH(S){return zl(S)&&ov(S)}var s7=_z||PH;function av(S){if(!bi(S))return!1;var T=ed(S);return T==h||T==m||T==u||T==w}function u7(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=a}function bi(S){var T=typeof S;return S!=null&&(T=="object"||T=="function")}function zl(S){return S!=null&&typeof S=="object"}function SH(S){if(!zl(S)||ed(S)!=b)return!1;var T=e7(S);if(T===null)return!0;var F=qt.call(T,"constructor")&&T.constructor;return typeof F=="function"&&F instanceof F&&vi.call(F)==qc}var c7=oe?$l(oe):Jz;function kH(S){return sH(S,d7(S))}function d7(S){return ov(S)?Kz(S,!0):eH(S)}var EH=uH(function(S,T,F,K){o7(S,T,F,K)});function _H(S){return function(){return S}}function f7(S){return S}function PH(){return!1}e.exports=EH})(hd,hd.exports);var Vt=hd.exports;function hb(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function vb(e,t,r,n){if(t==null)return n;if(!n){var i=e.find(function(s){return r(s).toLowerCase().startsWith(t.toLowerCase())});return i}var o=e.filter(function(s){return r(s).toLowerCase().startsWith(t.toLowerCase())});if(o.length>0){var a;if(o.includes(n)){var l=o.indexOf(n);return a=l+1,a===o.length&&(a=0),o[a]}return a=e.indexOf(o[0]),e[a]}return n}function $n(e){return typeof e=="number"}function vd(e){return Array.isArray(e)}function qr(e){return typeof e=="function"}function mb(e){return typeof e=="undefined"||e===void 0}function gt(e){var t=typeof e;return e!=null&&(t==="object"||t==="function")&&!vd(e)}function gb(e){return gt(e)&&Object.keys(e).length===0}function ss(e){return Object.prototype.toString.call(e)==="[object String]"}function Iv(e){return/^var\(--.+\)$/.test(e)}var _r=!1;function us(e,t){var r={};return Object.keys(e).forEach(function(n){t.includes(n)||(r[n]=e[n])}),r}function Dv(e,t){var r={};return t.forEach(function(n){n in e&&(r[n]=e[n])}),r}function yb(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 bb=function(t){var r=new WeakMap,n=function(o,a,l,s){if(typeof o=="undefined")return t(o,a,l);r.has(o)||r.set(o,new Map);var u=r.get(o);if(u.has(a))return u.get(a);var c=t(o,a,l,s);return u.set(a,c),c};return n},cs=bb(yb);function Rv(e,t){var r={};return Object.keys(e).forEach(function(n){var i=e[n],o=t(i,n,e);o&&(r[n]=i)}),r}var md=function(t){return Rv(t,function(r){return r!=null})},gd=function(t){return Object.keys(t)},ds=function(t){return t.reduce(function(r,n){var i=n[0],o=n[1];return r[i]=o,r},{})},xb=function(t,r,n){var i,o;return(i=(o=t.__cssMap[r+"."+n])==null?void 0:o.varRef)!=null?i:n};function wb(e){var t=parseFloat(e.toString()),r=e.toString().replace(String(t),"");return{unitless:!r,value:t,unit:r}}function fs(e){if(e==null)return e;var t=wb(e),r=t.unitless;return r||$n(e)?e+"px":e}var Vv=function(t,r){return parseInt(t[1],10)>parseInt(r[1],10)?1:-1},yd=function(t){return ds(Object.entries(t).sort(Vv))};function $v(e){var t=yd(e);return Object.assign(Object.values(t),t)}function Cb(e){var t=Object.keys(yd(e));return new Set(t)}function Sb(e){var t;if(!e)return e;e=(t=fs(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return $n(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function ps(e,t){var r=["@media screen"];return e&&r.push("and","(min-width: "+fs(e)+")"),t&&r.push("and","(max-width: "+fs(t)+")"),r.join(" ")}function kb(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=$v(e),n=Object.entries(e).sort(Vv).map(function(a,l,s){var u,c=a[0],p=a[1],f=(u=s[l+1])!=null?u:[],h=f[1];return h=parseFloat(h)>0?Sb(h):void 0,{breakpoint:c,minW:p,maxW:h,maxWQuery:ps(null,h),minWQuery:ps(p),minMaxQuery:ps(p,h)}}),i=Cb(e),o=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:yd(e),asArray:$v(e),details:n,media:[null].concat(r.map(function(a){return ps(a)}).slice(1)),toArrayValue:function(l){if(!gt(l))throw new Error("toArrayValue: value must be an object");for(var s=o.map(function(u){var c;return(c=l[u])!=null?c:null});hb(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 p=o[c];return p!=null&&u!=null&&(s[p]=u),s},{})}}}function bd(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function $o(e){var t;if(!bd(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function Eb(e){var t,r;return bd(e)&&(t=(r=Bn(e))==null?void 0:r.defaultView)!=null?t:window}function Bn(e){var t;return bd(e)&&(t=e.ownerDocument)!=null?t:document}function _b(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Xr=_b(),hs=function(t){return t?"":void 0},Ee=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.filter(Boolean).join(" ")};function Pb(e){var t=Bn(e);return t==null?void 0:t.activeElement}function Tb(e,t){return e?e===t||e.contains(t):!1}function Bv(e){var t=e.key,r=e.keyCode,n=r>=37&&r<=40&&t.indexOf("Arrow")!==0,i=n?"Arrow"+t:t;return i}function Nv(e){return e.button!==0}var zv=function(t){return t.hasAttribute("tabindex")},Mb=function(t){return zv(t)&&t.tabIndex===-1};function Ob(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function Lb(e){return $o(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function xd(e){var t=$o(e)?Bn(e):document;return t.activeElement===e}function Hv(e){return e.parentElement&&Hv(e.parentElement)?!0:e.hidden}function Ab(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function jv(e){if(!$o(e)||Hv(e)||Ob(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]():Ab(e)?!0:zv(e)}function Fb(e){return e?$o(e)&&jv(e)&&!Mb(e):!1}var Ib=["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]"],Db=Ib.join();function Rb(e){var t=Array.from(e.querySelectorAll(Db));return t.unshift(e),t.filter(jv).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function Wv(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 Vb(e,t){if(!!e){if(typeof e=="string")return Wv(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 Wv(e,t)}}function $b(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=Vb(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 Mt(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 qr(e)?e.apply(void 0,r):e}function yt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.some(function(o){return o==null||o(i),i==null?void 0:i.defaultPrevented})}}function Bb(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(i){t.forEach(function(o){o==null||o(i)})}}function Nb(e){var t;return function(){if(e){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];t=e.apply(this,i),e=null}return t}}var Bo=function(){},Uv=Nb(function(e){return function(){var t=e.condition,r=e.message;t&&_r&&console.warn(r)}}),zb=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(o,a){return a(o)},i)}};function ki(e,t){t===void 0&&(t={});var r=t,n=r.isActive,i=n===void 0?xd:n,o=r.nextTick,a=r.preventScroll,l=a===void 0?!0:a,s=r.selectTextIfInput,u=s===void 0?!0:s;if(!e||i(e))return-1;function c(){if(!e){Uv({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}if(Hb())e.focus({preventScroll:l});else if(e.focus(),l){var p=jb(e);Wb(p)}Lb(e)&&u&&e.select()}return o?requestAnimationFrame(c):(c(),-1)}var vs=null;function Hb(){if(vs==null){vs=!1;try{var e=document.createElement("div");e.focus({get preventScroll(){return vs=!0,!0}})}catch{}}return vs}function jb(e){for(var t,r=Bn(e),n=(t=r.defaultView)!=null?t:window,i=e.parentNode,o=[],a=r.scrollingElement||r.documentElement;i instanceof n.HTMLElement&&i!==a;)(i.offsetHeight<i.scrollHeight||i.offsetWidth<i.scrollWidth)&&o.push({element:i,scrollTop:i.scrollTop,scrollLeft:i.scrollLeft}),i=i.parentNode;return a instanceof n.HTMLElement&&o.push({element:a,scrollTop:a.scrollTop,scrollLeft:a.scrollLeft}),o}function Wb(e){for(var t=$b(e),r;!(r=t()).done;){var n=r.value,i=n.element,o=n.scrollTop,a=n.scrollLeft;i.scrollTop=o,i.scrollLeft=a}}function wd(e,t){return t===void 0&&(t=1/0),!gt(e)&&!Array.isArray(e)||!t?e:Object.entries(e).reduce(function(r,n){var i=n[0],o=n[1];return gt(o)||vd(o)?Object.entries(wd(o,t-1)).forEach(function(a){var l=a[0],s=a[1];r[i+"."+l]=s}):r[i]=o,r},{})}function Ub(e){var t=e.hasBeenSelected,r=e.isLazy,n=e.isSelected,i=e.lazyBehavior,o=i===void 0?"unmount":i;return!!(!r||n||o==="keepMounted"&&t)}function Zb(e,t,r){return(e-t)*100/(r-t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function Zv(e,t){return vd(e)?e.map(function(r){return r===null?null:t(r)}):gt(e)?gd(e).reduce(function(r,n){return r[n]=t(e[n]),r},{}):e!=null?t(e):null}function Gb(e,t){if(e!=null){if(qr(e)){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function dr(){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 Gb(i,n)})}}function Pr(e){e===void 0&&(e={});var t=e,r=t.strict,n=r===void 0?!0:r,i=t.errorMessage,o=i===void 0?"useContext: `context` is undefined. Seems you forgot to wrap component within the Provider":i,a=t.name,l=x.createContext(void 0);l.displayName=a;function s(){var u=x.useContext(l);if(!u&&n){var c=new Error(o);throw c.name="ContextError",Error.captureStackTrace==null||Error.captureStackTrace(c,s),c}return u}return[l.Provider,s,l]}function Gv(e){return x.Children.toArray(e).filter(function(t){return x.isValidElement(t)})}var No=Xr?x.useLayoutEffect:x.useEffect;function ms(e,t){t===void 0&&(t=[]);var r=x.useRef(e);return No(function(){r.current=e}),x.useCallback(function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r.current==null?void 0:r.current.apply(r,i)},t)}function Cd(e,t,r,n){var i=ms(t);return x.useEffect(function(){var o,a=(o=Mt(r))!=null?o:document;if(!!t)return a.addEventListener(e,i,n),function(){a.removeEventListener(e,i,n)}},[e,r,n,i,t]),function(){var o,a=(o=Mt(r))!=null?o:document;a.removeEventListener(e,i,n)}}function Yb(e){var t=e.isOpen,r=e.ref,n=A.useState(t),i=n[0],o=n[1],a=A.useState(!1),l=a[0],s=a[1];A.useEffect(function(){l||(o(t),s(!0))},[t,l,i]),Cd("animationend",function(){o(t)},function(){return r.current});var u=t?!1:!i;return{present:!u,onComplete:function(){var p,f=Eb(r.current),h=new f.CustomEvent("animationend",{bubbles:!0});(p=r.current)==null||p.dispatchEvent(h)}}}function Kb(e,t){var r=e!==void 0,n=r&&typeof e!="undefined"?e:t;return[r,n]}function gs(){return gs=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},gs.apply(this,arguments)}var qb={current:1},Yv=x.createContext(qb),Xb=x.memo(function(e){var t=e.children;return x.createElement(Yv.Provider,{value:{current:1}},t)}),Qb=function(t){return t.current++};function ys(e,t){var r=x.useContext(Yv),n=x.useState(r.current),i=n[0],o=n[1];return x.useEffect(function(){o(Qb(r))},[r]),x.useMemo(function(){return e||[t,i].filter(Boolean).join("-")},[e,t,i])}function Kv(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=ys(e);return x.useMemo(function(){return r.map(function(o){return o+"-"+i})},[i,r])}function Sd(e){e===void 0&&(e={});var t=e,r=t.onClose,n=t.onOpen,i=t.isOpen,o=t.id,a=ms(n),l=ms(r),s=x.useState(e.defaultIsOpen||!1),u=s[0],c=s[1],p=Kb(i,u),f=p[0],h=p[1],m=ys(o,"disclosure"),y=x.useCallback(function(){f||c(!1),l==null||l()},[f,l]),v=x.useCallback(function(){f||c(!0),a==null||a()},[f,a]),g=x.useCallback(function(){var b=h?y:v;b()},[h,v,y]);return{isOpen:!!h,onOpen:v,onClose:y,onToggle:g,isControlled:f,getButtonProps:function(w){return w===void 0&&(w={}),gs({},w,{"aria-expanded":"true","aria-controls":m,onClick:yt(w.onClick,g)})},getDisclosureProps:function(w){return w===void 0&&(w={}),gs({},w,{hidden:!h,id:m})}}}var kd=function(t,r){var n=x.useRef(!1);return x.useEffect(function(){if(n.current)return t();n.current=!0},r),n.current};function Jb(e){var t=e.current;if(!t)return!1;var r=Pb(t);return!r||Tb(t,r)?!1:!!Fb(r)}function ex(e,t){var r=t.shouldFocus,n=t.visible,i=t.focusRef,o=r&&!n;kd(function(){if(!!o&&!Jb(e)){var a=(i==null?void 0:i.current)||e.current;a&&ki(a,{nextTick:!0})}},[o,e,i])}function qv(e,t){return t===void 0&&(t=[]),x.useEffect(function(){return function(){return e()}},t)}function Xv(){var e=x.useRef(!1),t=x.useState(0),r=t[0],n=t[1];return qv(function(){e.current=!0}),x.useCallback(function(){e.current||n(r+1)},[r])}function tx(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 rx(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return x.useMemo(function(){return t.every(function(n){return n==null})?null:function(n){t.forEach(function(i){i&&tx(i,n)})}},t)}function nx(e){var t=e.ref,r=e.handler,n=e.enabled,i=n===void 0?!0:n,o=ms(r),a=A.useRef({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),l=a.current;A.useEffect(function(){if(!!i){var s=function(h){Ed(h,t)&&(l.isPointerDown=!0)},u=function(h){if(l.ignoreEmulatedMouseEvents){l.ignoreEmulatedMouseEvents=!1;return}l.isPointerDown&&r&&Ed(h,t)&&(l.isPointerDown=!1,o(h))},c=function(h){l.ignoreEmulatedMouseEvents=!0,r&&l.isPointerDown&&Ed(h,t)&&(l.isPointerDown=!1,o(h))},p=Bn(t.current);return p.addEventListener("mousedown",s,!0),p.addEventListener("mouseup",u,!0),p.addEventListener("touchstart",s,!0),p.addEventListener("touchend",c,!0),function(){p.removeEventListener("mousedown",s,!0),p.removeEventListener("mouseup",u,!0),p.removeEventListener("touchstart",s,!0),p.removeEventListener("touchend",c,!0)}}},[r,t,o,l,i])}function Ed(e,t){var r,n=e.target;if(e.button>0)return!1;if(n){var i=Bn(n);if(!i.body.contains(n))return!1}return!((r=t.current)!=null&&r.contains(n))}function ix(e){var t=e.key;return t.length===1||t.length>1&&/[^a-zA-Z0-9]/.test(t)}function ox(e){e===void 0&&(e={});var t=e,r=t.timeout,n=r===void 0?300:r,i=t.preventDefault,o=i===void 0?function(){return!0}:i,a=x.useState([]),l=a[0],s=a[1],u=x.useRef(),c=function(){u.current&&(clearTimeout(u.current),u.current=null)},p=function(){c(),u.current=setTimeout(function(){s([]),u.current=null},n)};x.useEffect(function(){return c},[]);function f(h){return function(m){if(m.key==="Backspace"){var y=[].concat(l);y.pop(),s(y);return}if(ix(m)){var v=l.concat(m.key);o(m)&&(m.preventDefault(),m.stopPropagation()),s(v),h(v.join("")),p()}}}return f}var _d={exports:{}},$t={};/*
286
286
  object-assign
287
287
  (c) Sindre Sorhus
288
288
  @license MIT
289
- */var xv=Object.getOwnPropertySymbols,nb=Object.prototype.hasOwnProperty,ib=Object.prototype.propertyIsEnumerable;function ob(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ab(){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(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var lb=ab()?Object.assign:function(e,t){for(var r,n=ob(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)nb.call(r,a)&&(n[a]=r[a]);if(xv){i=xv(r);for(var l=0;l<i.length;l++)ib.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},wv={exports:{}},Cv={};/** @license React v0.20.2
289
+ */var Qv=Object.getOwnPropertySymbols,ax=Object.prototype.hasOwnProperty,lx=Object.prototype.propertyIsEnumerable;function sx(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ux(){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(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var cx=ux()?Object.assign:function(e,t){for(var r,n=sx(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)ax.call(r,a)&&(n[a]=r[a]);if(Qv){i=Qv(r);for(var l=0;l<i.length;l++)lx.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n},Jv={exports:{}},em={};/** @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 o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var s=null,u=null,c=function(){if(s!==null)try{var F=e.unstable_now();s(!0,F),s=null}catch(H){throw setTimeout(c,0),H}};t=function(F){s!==null?setTimeout(t,0,F):(s=F,setTimeout(c,0))},r=function(F,H){u=setTimeout(F,H)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if(typeof console!="undefined"){var h=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 h!="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,g=5,b=0;e.unstable_shouldYield=function(){return e.unstable_now()>=b},i=function(){},e.unstable_forceFrameRate=function(F){0>F||125<F?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<F?Math.floor(1e3/F):5};var x=new MessageChannel,w=x.port2;x.port1.onmessage=function(){if(y!==null){var F=e.unstable_now();b=F+g;try{y(!0,F)?w.postMessage(null):(m=!1,y=null)}catch(H){throw w.postMessage(null),H}}else m=!1},t=function(F){y=F,m||(m=!0,w.postMessage(null))},r=function(F,H){v=p(function(){F(e.unstable_now())},H)},n=function(){f(v),v=-1}}function k(F,H){var I=F.length;F.push(H);e:for(;;){var $=I-1>>>1,N=F[$];if(N!==void 0&&0<L(N,H))F[$]=H,F[I]=N,I=$;else break e}}function E(F){return F=F[0],F===void 0?null:F}function P(F){var H=F[0];if(H!==void 0){var I=F.pop();if(I!==H){F[0]=I;e:for(var $=0,N=F.length;$<N;){var te=2*($+1)-1,ve=F[te],xe=te+1,Ue=F[xe];if(ve!==void 0&&0>L(ve,I))Ue!==void 0&&0>L(Ue,ve)?(F[$]=Ue,F[xe]=I,$=xe):(F[$]=ve,F[te]=I,$=te);else if(Ue!==void 0&&0>L(Ue,I))F[$]=Ue,F[xe]=I,$=xe;else break e}}return H}return null}function L(F,H){var I=F.sortIndex-H.sortIndex;return I!==0?I:F.id-H.id}var M=[],B=[],G=1,U=null,Z=3,X=!1,K=!1,ne=!1;function ie(F){for(var H=E(B);H!==null;){if(H.callback===null)P(B);else if(H.startTime<=F)P(B),H.sortIndex=H.expirationTime,k(M,H);else break;H=E(B)}}function Be(F){if(ne=!1,ie(F),!K)if(E(M)!==null)K=!0,t(be);else{var H=E(B);H!==null&&r(Be,H.startTime-F)}}function be(F,H){K=!1,ne&&(ne=!1,n()),X=!0;var I=Z;try{for(ie(H),U=E(M);U!==null&&(!(U.expirationTime>H)||F&&!e.unstable_shouldYield());){var $=U.callback;if(typeof $=="function"){U.callback=null,Z=U.priorityLevel;var N=$(U.expirationTime<=H);H=e.unstable_now(),typeof N=="function"?U.callback=N:U===E(M)&&P(M),ie(H)}else P(M);U=E(M)}if(U!==null)var te=!0;else{var ve=E(B);ve!==null&&r(Be,ve.startTime-H),te=!1}return te}finally{U=null,Z=I,X=!1}}var $e=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(F){F.callback=null},e.unstable_continueExecution=function(){K||X||(K=!0,t(be))},e.unstable_getCurrentPriorityLevel=function(){return Z},e.unstable_getFirstCallbackNode=function(){return E(M)},e.unstable_next=function(F){switch(Z){case 1:case 2:case 3:var H=3;break;default:H=Z}var I=Z;Z=H;try{return F()}finally{Z=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=$e,e.unstable_runWithPriority=function(F,H){switch(F){case 1:case 2:case 3:case 4:case 5:break;default:F=3}var I=Z;Z=F;try{return H()}finally{Z=I}},e.unstable_scheduleCallback=function(F,H,I){var $=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?$+I:$):I=$,F){case 1:var N=-1;break;case 2:N=250;break;case 5:N=1073741823;break;case 4:N=1e4;break;default:N=5e3}return N=I+N,F={id:G++,callback:H,priorityLevel:F,startTime:I,expirationTime:N,sortIndex:-1},I>$?(F.sortIndex=I,k(B,F),E(M)===null&&F===E(B)&&(ne?n():ne=!0,r(Be,I-$))):(F.sortIndex=N,k(M,F),K||X||(K=!0,t(be))),F},e.unstable_wrapCallback=function(F){var H=Z;return function(){var I=Z;Z=H;try{return F.apply(this,arguments)}finally{Z=I}}}})(Cv),wv.exports=Cv;/** @license React v17.0.2
296
+ */(function(e){var t,r,n,i;if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if(typeof window=="undefined"||typeof MessageChannel!="function"){var s=null,u=null,c=function(){if(s!==null)try{var I=e.unstable_now();s(!0,I),s=null}catch(L){throw setTimeout(c,0),L}};t=function(I){s!==null?setTimeout(t,0,I):(s=I,setTimeout(c,0))},r=function(I,L){u=setTimeout(I,L)},n=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},i=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,f=window.clearTimeout;if(typeof console!="undefined"){var h=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 h!="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,g=5,b=0;e.unstable_shouldYield=function(){return e.unstable_now()>=b},i=function(){},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<I?Math.floor(1e3/I):5};var w=new MessageChannel,C=w.port2;w.port1.onmessage=function(){if(y!==null){var I=e.unstable_now();b=I+g;try{y(!0,I)?C.postMessage(null):(m=!1,y=null)}catch(L){throw C.postMessage(null),L}}else m=!1},t=function(I){y=I,m||(m=!0,C.postMessage(null))},r=function(I,L){v=p(function(){I(e.unstable_now())},L)},n=function(){f(v),v=-1}}function k(I,L){var D=I.length;I.push(L);e:for(;;){var N=D-1>>>1,H=I[N];if(H!==void 0&&0<M(H,L))I[N]=L,I[D]=H,D=N;else break e}}function _(I){return I=I[0],I===void 0?null:I}function E(I){var L=I[0];if(L!==void 0){var D=I.pop();if(D!==L){I[0]=D;e:for(var N=0,H=I.length;N<H;){var ne=2*(N+1)-1,ce=I[ne],be=ne+1,je=I[be];if(ce!==void 0&&0>M(ce,D))je!==void 0&&0>M(je,ce)?(I[N]=je,I[be]=D,N=be):(I[N]=ce,I[ne]=D,N=ne);else if(je!==void 0&&0>M(je,D))I[N]=je,I[be]=D,N=be;else break e}}return L}return null}function M(I,L){var D=I.sortIndex-L.sortIndex;return D!==0?D:I.id-L.id}var O=[],R=[],Z=1,G=null,U=3,Y=!1,Q=!1,J=!1;function ie(I){for(var L=_(R);L!==null;){if(L.callback===null)E(R);else if(L.startTime<=I)E(R),L.sortIndex=L.expirationTime,k(O,L);else break;L=_(R)}}function we(I){if(J=!1,ie(I),!Q)if(_(O)!==null)Q=!0,t(he);else{var L=_(R);L!==null&&r(we,L.startTime-I)}}function he(I,L){Q=!1,J&&(J=!1,n()),Y=!0;var D=U;try{for(ie(L),G=_(O);G!==null&&(!(G.expirationTime>L)||I&&!e.unstable_shouldYield());){var N=G.callback;if(typeof N=="function"){G.callback=null,U=G.priorityLevel;var H=N(G.expirationTime<=L);L=e.unstable_now(),typeof H=="function"?G.callback=H:G===_(O)&&E(O),ie(L)}else E(O);G=_(O)}if(G!==null)var ne=!0;else{var ce=_(R);ce!==null&&r(we,ce.startTime-L),ne=!1}return ne}finally{G=null,U=D,Y=!1}}var ye=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(I){I.callback=null},e.unstable_continueExecution=function(){Q||Y||(Q=!0,t(he))},e.unstable_getCurrentPriorityLevel=function(){return U},e.unstable_getFirstCallbackNode=function(){return _(O)},e.unstable_next=function(I){switch(U){case 1:case 2:case 3:var L=3;break;default:L=U}var D=U;U=L;try{return I()}finally{U=D}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=ye,e.unstable_runWithPriority=function(I,L){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var D=U;U=I;try{return L()}finally{U=D}},e.unstable_scheduleCallback=function(I,L,D){var N=e.unstable_now();switch(typeof D=="object"&&D!==null?(D=D.delay,D=typeof D=="number"&&0<D?N+D:N):D=N,I){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=D+H,I={id:Z++,callback:L,priorityLevel:I,startTime:D,expirationTime:H,sortIndex:-1},D>N?(I.sortIndex=D,k(R,I),_(O)===null&&I===_(R)&&(J?n():J=!0,r(we,D-N))):(I.sortIndex=H,k(O,I),Q||Y||(Q=!0,t(he))),I},e.unstable_wrapCallback=function(I){var L=U;return function(){var D=U;U=L;try{return I.apply(this,arguments)}finally{U=D}}}})(em),Jv.exports=em;/** @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 os=zr.default,Pe=lb,Ge=wv.exports;function W(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(!os)throw Error(W(227));var Sv=new Set,Ro={};function Fn(e,t){yi(e,t),yi(e+"Capture",t)}function yi(e,t){for(Ro[e]=t,e=0;e<t.length;e++)Sv.add(t[e])}var Cr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),sb=/^[: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]*$/,kv=Object.prototype.hasOwnProperty,Ev={},Pv={};function ub(e){return kv.call(Pv,e)?!0:kv.call(Ev,e)?!1:sb.test(e)?Pv[e]=!0:(Ev[e]=!0,!1)}function cb(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 db(e,t,r,n){if(t===null||typeof t=="undefined"||cb(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 ct(e,t,r,n,i,o,a){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=o,this.removeEmptyString=a}var Xe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Xe[e]=new ct(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Xe[t]=new ct(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Xe[e]=new ct(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Xe[e]=new ct(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){Xe[e]=new ct(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Xe[e]=new ct(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Xe[e]=new ct(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Xe[e]=new ct(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Xe[e]=new ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var ld=/[\-:]([a-z])/g;function sd(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(ld,sd);Xe[t]=new ct(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(ld,sd);Xe[t]=new ct(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(ld,sd);Xe[t]=new ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Xe[e]=new ct(e,1,!1,e.toLowerCase(),null,!1,!1)}),Xe.xlinkHref=new ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Xe[e]=new ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function ud(e,t,r,n){var i=Xe.hasOwnProperty(t)?Xe[t]:null,o=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(db(t,r,i,n)&&(r=null),n||i===null?ub(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=os.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Vo=60103,Vn=60106,jr=60107,cd=60108,Io=60114,dd=60109,fd=60110,as=60112,Bo=60113,ls=60120,ss=60115,pd=60116,hd=60121,vd=60128,Tv=60129,md=60130,gd=60131;if(typeof Symbol=="function"&&Symbol.for){var qe=Symbol.for;Vo=qe("react.element"),Vn=qe("react.portal"),jr=qe("react.fragment"),cd=qe("react.strict_mode"),Io=qe("react.profiler"),dd=qe("react.provider"),fd=qe("react.context"),as=qe("react.forward_ref"),Bo=qe("react.suspense"),ls=qe("react.suspense_list"),ss=qe("react.memo"),pd=qe("react.lazy"),hd=qe("react.block"),qe("react.scope"),vd=qe("react.opaque.id"),Tv=qe("react.debug_trace_mode"),md=qe("react.offscreen"),gd=qe("react.legacy_hidden")}var _v=typeof Symbol=="function"&&Symbol.iterator;function $o(e){return e===null||typeof e!="object"?null:(e=_v&&e[_v]||e["@@iterator"],typeof e=="function"?e:null)}var yd;function Do(e){if(yd===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);yd=t&&t[1]||""}return`
304
- `+yd+e}var bd=!1;function us(e,t){if(!e||bd)return"";bd=!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(`
303
+ */var bs=Kr.default,Oe=cx,Ke=Jv.exports;function W(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(!bs)throw Error(W(227));var tm=new Set,zo={};function Nn(e,t){Ei(e,t),Ei(e+"Capture",t)}function Ei(e,t){for(zo[e]=t,e=0;e<t.length;e++)tm.add(t[e])}var Tr=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),dx=/^[: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]*$/,rm=Object.prototype.hasOwnProperty,nm={},im={};function fx(e){return rm.call(im,e)?!0:rm.call(nm,e)?!1:dx.test(e)?im[e]=!0:(nm[e]=!0,!1)}function px(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 hx(e,t,r,n){if(t===null||typeof t=="undefined"||px(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 ft(e,t,r,n,i,o,a){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=o,this.removeEmptyString=a}var Je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Je[e]=new ft(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Je[t]=new ft(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Je[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Je[e]=new ft(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){Je[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Je[e]=new ft(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Je[e]=new ft(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Je[e]=new ft(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Je[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var Pd=/[\-:]([a-z])/g;function Td(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(Pd,Td);Je[t]=new ft(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(Pd,Td);Je[t]=new ft(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(Pd,Td);Je[t]=new ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Je[e]=new ft(e,1,!1,e.toLowerCase(),null,!1,!1)}),Je.xlinkHref=new ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Je[e]=new ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Md(e,t,r,n){var i=Je.hasOwnProperty(t)?Je[t]:null,o=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(hx(t,r,i,n)&&(r=null),n||i===null?fx(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 zn=bs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ho=60103,Hn=60106,Qr=60107,Od=60108,jo=60114,Ld=60109,Ad=60110,xs=60112,Wo=60113,ws=60120,Cs=60115,Fd=60116,Id=60121,Dd=60128,om=60129,Rd=60130,Vd=60131;if(typeof Symbol=="function"&&Symbol.for){var qe=Symbol.for;Ho=qe("react.element"),Hn=qe("react.portal"),Qr=qe("react.fragment"),Od=qe("react.strict_mode"),jo=qe("react.profiler"),Ld=qe("react.provider"),Ad=qe("react.context"),xs=qe("react.forward_ref"),Wo=qe("react.suspense"),ws=qe("react.suspense_list"),Cs=qe("react.memo"),Fd=qe("react.lazy"),Id=qe("react.block"),qe("react.scope"),Dd=qe("react.opaque.id"),om=qe("react.debug_trace_mode"),Rd=qe("react.offscreen"),Vd=qe("react.legacy_hidden")}var am=typeof Symbol=="function"&&Symbol.iterator;function Uo(e){return e===null||typeof e!="object"?null:(e=am&&e[am]||e["@@iterator"],typeof e=="function"?e:null)}var $d;function Zo(e){if($d===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);$d=t&&t[1]||""}return`
304
+ `+$d+e}var Bd=!1;function Ss(e,t){if(!e||Bd)return"";Bd=!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
  `),o=n.stack.split(`
306
306
  `),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l])return`
307
- `+i[a].replace(" at new "," at ");while(1<=a&&0<=l);break}}}finally{bd=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Do(e):""}function fb(e){switch(e.tag){case 5:return Do(e.type);case 16:return Do("Lazy");case 13:return Do("Suspense");case 19:return Do("SuspenseList");case 0:case 2:case 15:return e=us(e.type,!1),e;case 11:return e=us(e.type.render,!1),e;case 22:return e=us(e.type._render,!1),e;case 1:return e=us(e.type,!0),e;default:return""}}function bi(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jr:return"Fragment";case Vn:return"Portal";case Io:return"Profiler";case cd:return"StrictMode";case Bo:return"Suspense";case ls:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fd:return(e.displayName||"Context")+".Consumer";case dd:return(e._context.displayName||"Context")+".Provider";case as:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case ss:return bi(e.type);case hd:return bi(e._render);case pd:t=e._payload,e=e._init;try{return bi(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 Mv(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function pb(e){var t=Mv(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,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function cs(e){e._valueTracker||(e._valueTracker=pb(e))}function Lv(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Mv(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function ds(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 xd(e,t){var r=t.checked;return Pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Av(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 Ov(e,t){t=t.checked,t!=null&&ud(e,"checked",t,!1)}function wd(e,t){Ov(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")?Cd(e,t.type,r):t.hasOwnProperty("defaultValue")&&Cd(e,t.type,Wr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Fv(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 Cd(e,t,r){(t!=="number"||ds(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function hb(e){var t="";return os.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function Sd(e,t){return e=Pe({children:void 0},t),(t=hb(t.children))&&(e.children=t),e}function xi(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 kd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return Pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Rv(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(W(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(W(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Wr(r)}}function Vv(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 Iv(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ed={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Bv(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 Pd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Bv(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fs,$v=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!==Ed.svg||"innerHTML"in e)e.innerHTML=t;else{for(fs=fs||document.createElement("div"),fs.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fs.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zo(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Ho={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},vb=["Webkit","ms","Moz","O"];Object.keys(Ho).forEach(function(e){vb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ho[t]=Ho[e]})});function Dv(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Ho.hasOwnProperty(e)&&Ho[e]?(""+t).trim():t+"px"}function zv(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Dv(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var mb=Pe({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 Td(e,t){if(t){if(mb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function _d(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 Md(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ld=null,wi=null,Ci=null;function Hv(e){if(e=aa(e)){if(typeof Ld!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Ls(t),Ld(e.stateNode,e.type,t))}}function Nv(e){wi?Ci?Ci.push(e):Ci=[e]:wi=e}function jv(){if(wi){var e=wi,t=Ci;if(Ci=wi=null,Hv(e),t)for(e=0;e<t.length;e++)Hv(t[e])}}function Ad(e,t){return e(t)}function Wv(e,t,r,n,i){return e(t,r,n,i)}function Od(){}var Uv=Ad,In=!1,Fd=!1;function Rd(){(wi!==null||Ci!==null)&&(Od(),jv())}function gb(e,t,r){if(Fd)return e(t,r);Fd=!0;try{return Uv(e,t,r)}finally{Fd=!1,Rd()}}function No(e,t){var r=e.stateNode;if(r===null)return null;var n=Ls(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(W(231,t,typeof r));return r}var Vd=!1;if(Cr)try{var jo={};Object.defineProperty(jo,"passive",{get:function(){Vd=!0}}),window.addEventListener("test",jo,jo),window.removeEventListener("test",jo,jo)}catch{Vd=!1}function yb(e,t,r,n,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Wo=!1,ps=null,hs=!1,Id=null,bb={onError:function(e){Wo=!0,ps=e}};function xb(e,t,r,n,i,o,a,l,s){Wo=!1,ps=null,yb.apply(bb,arguments)}function wb(e,t,r,n,i,o,a,l,s){if(xb.apply(this,arguments),Wo){if(Wo){var u=ps;Wo=!1,ps=null}else throw Error(W(198));hs||(hs=!0,Id=u)}}function Bn(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 Zv(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 Gv(e){if(Bn(e)!==e)throw Error(W(188))}function Cb(e){var t=e.alternate;if(!t){if(t=Bn(e),t===null)throw Error(W(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Gv(i),e;if(o===n)return Gv(i),t;o=o.sibling}throw Error(W(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=o;break}if(l===n){a=!0,n=i,r=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===r){a=!0,r=o,n=i;break}if(l===n){a=!0,n=o,r=i;break}l=l.sibling}if(!a)throw Error(W(189))}}if(r.alternate!==n)throw Error(W(190))}if(r.tag!==3)throw Error(W(188));return r.stateNode.current===r?e:t}function qv(e){if(e=Cb(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 Yv(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Xv,Bd,Kv,Qv,$d=!1,sr=[],Ur=null,Zr=null,Gr=null,Uo=new Map,Zo=new Map,Go=[],Jv="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 Dd(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function em(e,t){switch(e){case"focusin":case"focusout":Ur=null;break;case"dragenter":case"dragleave":Zr=null;break;case"mouseover":case"mouseout":Gr=null;break;case"pointerover":case"pointerout":Uo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zo.delete(t.pointerId)}}function qo(e,t,r,n,i,o){return e===null||e.nativeEvent!==o?(e=Dd(t,r,n,i,o),t!==null&&(t=aa(t),t!==null&&Bd(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Sb(e,t,r,n,i){switch(t){case"focusin":return Ur=qo(Ur,e,t,r,n,i),!0;case"dragenter":return Zr=qo(Zr,e,t,r,n,i),!0;case"mouseover":return Gr=qo(Gr,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return Uo.set(o,qo(Uo.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Zo.set(o,qo(Zo.get(o)||null,e,t,r,n,i)),!0}return!1}function kb(e){var t=$n(e.target);if(t!==null){var r=Bn(t);if(r!==null){if(t=r.tag,t===13){if(t=Zv(r),t!==null){e.blockedOn=t,Qv(e.lanePriority,function(){Ge.unstable_runWithPriority(e.priority,function(){Kv(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Ud(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=aa(r),t!==null&&Bd(t),e.blockedOn=r,!1;t.shift()}return!0}function tm(e,t,r){vs(e)&&r.delete(t)}function Eb(){for($d=!1;0<sr.length;){var e=sr[0];if(e.blockedOn!==null){e=aa(e.blockedOn),e!==null&&Xv(e);break}for(var t=e.targetContainers;0<t.length;){var r=Ud(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&sr.shift()}Ur!==null&&vs(Ur)&&(Ur=null),Zr!==null&&vs(Zr)&&(Zr=null),Gr!==null&&vs(Gr)&&(Gr=null),Uo.forEach(tm),Zo.forEach(tm)}function Yo(e,t){e.blockedOn===t&&(e.blockedOn=null,$d||($d=!0,Ge.unstable_scheduleCallback(Ge.unstable_NormalPriority,Eb)))}function rm(e){function t(i){return Yo(i,e)}if(0<sr.length){Yo(sr[0],e);for(var r=1;r<sr.length;r++){var n=sr[r];n.blockedOn===e&&(n.blockedOn=null)}}for(Ur!==null&&Yo(Ur,e),Zr!==null&&Yo(Zr,e),Gr!==null&&Yo(Gr,e),Uo.forEach(t),Zo.forEach(t),r=0;r<Go.length;r++)n=Go[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<Go.length&&(r=Go[0],r.blockedOn===null);)kb(r),r.blockedOn===null&&Go.shift()}function ms(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Si={animationend:ms("Animation","AnimationEnd"),animationiteration:ms("Animation","AnimationIteration"),animationstart:ms("Animation","AnimationStart"),transitionend:ms("Transition","TransitionEnd")},zd={},nm={};Cr&&(nm=document.createElement("div").style,"AnimationEvent"in window||(delete Si.animationend.animation,delete Si.animationiteration.animation,delete Si.animationstart.animation),"TransitionEvent"in window||delete Si.transitionend.transition);function gs(e){if(zd[e])return zd[e];if(!Si[e])return e;var t=Si[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in nm)return zd[e]=t[r];return e}var im=gs("animationend"),om=gs("animationiteration"),am=gs("animationstart"),lm=gs("transitionend"),sm=new Map,Hd=new Map,Pb=["abort","abort",im,"animationEnd",om,"animationIteration",am,"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",lm,"transitionEnd","waiting","waiting"];function Nd(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)),Hd.set(n,t),sm.set(n,i),Fn(i,[n])}}var Tb=Ge.unstable_now;Tb();var ge=8;function ki(e){if((1&e)!==0)return ge=15,1;if((2&e)!==0)return ge=14,2;if((4&e)!==0)return ge=13,4;var t=24&e;return t!==0?(ge=12,t):(e&32)!==0?(ge=11,32):(t=192&e,t!==0?(ge=10,t):(e&256)!==0?(ge=9,256):(t=3584&e,t!==0?(ge=8,t):(e&4096)!==0?(ge=7,4096):(t=4186112&e,t!==0?(ge=6,t):(t=62914560&e,t!==0?(ge=5,t):e&67108864?(ge=4,67108864):(e&134217728)!==0?(ge=3,134217728):(t=805306368&e,t!==0?(ge=2,t):(1073741824&e)!==0?(ge=1,1073741824):(ge=8,e))))))}function _b(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 Mb(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(W(358,e))}}function Xo(e,t){var r=e.pendingLanes;if(r===0)return ge=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(o!==0)n=o,i=ge=15;else if(o=r&134217727,o!==0){var s=o&~a;s!==0?(n=ki(s),i=ge):(l&=o,l!==0&&(n=ki(l),i=ge))}else o=r&~a,o!==0?(n=ki(o),i=ge):l!==0&&(n=ki(l),i=ge);if(n===0)return 0;if(n=31-qr(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&a)===0){if(ki(t),i<=ge)return t;ge=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-qr(t),i=1<<r,n|=e[r],t&=~i;return n}function um(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function ys(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Ei(24&~t),e===0?ys(10,t):e;case 10:return e=Ei(192&~t),e===0?ys(8,t):e;case 8:return e=Ei(3584&~t),e===0&&(e=Ei(4186112&~t),e===0&&(e=512)),e;case 2:return t=Ei(805306368&~t),t===0&&(t=268435456),t}throw Error(W(358,e))}function Ei(e){return e&-e}function jd(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function bs(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-qr(t),e[t]=r}var qr=Math.clz32?Math.clz32:Ob,Lb=Math.log,Ab=Math.LN2;function Ob(e){return e===0?32:31-(Lb(e)/Ab|0)|0}var Fb=Ge.unstable_UserBlockingPriority,Rb=Ge.unstable_runWithPriority,xs=!0;function Vb(e,t,r,n){In||Od();var i=Wd,o=In;In=!0;try{Wv(i,e,t,r,n)}finally{(In=o)||Rd()}}function Ib(e,t,r,n){Rb(Fb,Wd.bind(null,e,t,r,n))}function Wd(e,t,r,n){if(xs){var i;if((i=(t&4)===0)&&0<sr.length&&-1<Jv.indexOf(e))e=Dd(null,e,t,r,n),sr.push(e);else{var o=Ud(e,t,r,n);if(o===null)i&&em(e,n);else{if(i){if(-1<Jv.indexOf(e)){e=Dd(o,e,t,r,n),sr.push(e);return}if(Sb(o,e,t,r,n))return;em(e,n)}Dm(e,t,n,null,r)}}}}function Ud(e,t,r,n){var i=Md(n);if(i=$n(i),i!==null){var o=Bn(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=Zv(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return Dm(e,t,n,i,r),null}var Yr=null,Zd=null,ws=null;function cm(){if(ws)return ws;var e,t=Zd,r=t.length,n,i="value"in Yr?Yr.value:Yr.textContent,o=i.length;for(e=0;e<r&&t[e]===i[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===i[o-n];n++);return ws=i.slice(e,1<n?1-n:void 0)}function Cs(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 Ss(){return!0}function dm(){return!1}function Et(e){function t(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ss:dm,this.isPropagationStopped=dm,this}return Pe(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=Ss)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ss)},persist:function(){},isPersistent:Ss}),t}var Pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Gd=Et(Pi),Ko=Pe({},Pi,{view:0,detail:0}),Bb=Et(Ko),qd,Yd,Qo,ks=Pe({},Ko,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Kd,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!==Qo&&(Qo&&e.type==="mousemove"?(qd=e.screenX-Qo.screenX,Yd=e.screenY-Qo.screenY):Yd=qd=0,Qo=e),qd)},movementY:function(e){return"movementY"in e?e.movementY:Yd}}),fm=Et(ks),$b=Pe({},ks,{dataTransfer:0}),Db=Et($b),zb=Pe({},Ko,{relatedTarget:0}),Xd=Et(zb),Hb=Pe({},Pi,{animationName:0,elapsedTime:0,pseudoElement:0}),Nb=Et(Hb),jb=Pe({},Pi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wb=Et(jb),Ub=Pe({},Pi,{data:0}),pm=Et(Ub),Zb={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Gb={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"},qb={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yb(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=qb[e])?!!t[e]:!1}function Kd(){return Yb}var Xb=Pe({},Ko,{key:function(e){if(e.key){var t=Zb[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Cs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Gb[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Kd,charCode:function(e){return e.type==="keypress"?Cs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Kb=Et(Xb),Qb=Pe({},ks,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),hm=Et(Qb),Jb=Pe({},Ko,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Kd}),e9=Et(Jb),t9=Pe({},Pi,{propertyName:0,elapsedTime:0,pseudoElement:0}),r9=Et(t9),n9=Pe({},ks,{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}),i9=Et(n9),o9=[9,13,27,32],Qd=Cr&&"CompositionEvent"in window,Jo=null;Cr&&"documentMode"in document&&(Jo=document.documentMode);var a9=Cr&&"TextEvent"in window&&!Jo,vm=Cr&&(!Qd||Jo&&8<Jo&&11>=Jo),mm=String.fromCharCode(32),gm=!1;function ym(e,t){switch(e){case"keyup":return o9.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ti=!1;function l9(e,t){switch(e){case"compositionend":return bm(t);case"keypress":return t.which!==32?null:(gm=!0,mm);case"textInput":return e=t.data,e===mm&&gm?null:e;default:return null}}function s9(e,t){if(Ti)return e==="compositionend"||!Qd&&ym(e,t)?(e=cm(),ws=Zd=Yr=null,Ti=!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 vm&&t.locale!=="ko"?null:t.data;default:return null}}var u9={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 xm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!u9[e.type]:t==="textarea"}function wm(e,t,r,n){Nv(n),t=Ps(t,"onChange"),0<t.length&&(r=new Gd("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var ea=null,ta=null;function c9(e){Rm(e,0)}function Es(e){var t=Oi(e);if(Lv(t))return e}function d9(e,t){if(e==="change")return t}var Cm=!1;if(Cr){var Jd;if(Cr){var ef="oninput"in document;if(!ef){var Sm=document.createElement("div");Sm.setAttribute("oninput","return;"),ef=typeof Sm.oninput=="function"}Jd=ef}else Jd=!1;Cm=Jd&&(!document.documentMode||9<document.documentMode)}function km(){ea&&(ea.detachEvent("onpropertychange",Em),ta=ea=null)}function Em(e){if(e.propertyName==="value"&&Es(ta)){var t=[];if(wm(t,ta,e,Md(e)),e=c9,In)e(t);else{In=!0;try{Ad(e,t)}finally{In=!1,Rd()}}}}function f9(e,t,r){e==="focusin"?(km(),ea=t,ta=r,ea.attachEvent("onpropertychange",Em)):e==="focusout"&&km()}function p9(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Es(ta)}function h9(e,t){if(e==="click")return Es(t)}function v9(e,t){if(e==="input"||e==="change")return Es(t)}function m9(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Vt=typeof Object.is=="function"?Object.is:m9,g9=Object.prototype.hasOwnProperty;function ra(e,t){if(Vt(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(!g9.call(t,r[n])||!Vt(e[r[n]],t[r[n]]))return!1;return!0}function Pm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Tm(e,t){var r=Pm(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=Pm(r)}}function _m(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?_m(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mm(){for(var e=window,t=ds();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=ds(e.document)}return t}function tf(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 y9=Cr&&"documentMode"in document&&11>=document.documentMode,_i=null,rf=null,na=null,nf=!1;function Lm(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;nf||_i==null||_i!==ds(n)||(n=_i,"selectionStart"in n&&tf(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}),na&&ra(na,n)||(na=n,n=Ps(rf,"onSelect"),0<n.length&&(t=new Gd("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=_i)))}Nd("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),Nd("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),Nd(Pb,2);for(var Am="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),of=0;of<Am.length;of++)Hd.set(Am[of],0);yi("onMouseEnter",["mouseout","mouseover"]),yi("onMouseLeave",["mouseout","mouseover"]),yi("onPointerEnter",["pointerout","pointerover"]),yi("onPointerLeave",["pointerout","pointerover"]),Fn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Fn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Fn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Fn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Fn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Fn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ia="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Om=new Set("cancel close invalid load scroll toggle".split(" ").concat(ia));function Fm(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,wb(n,t,void 0,e),e.currentTarget=null}function Rm(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 o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var l=n[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;Fm(i,l,u),o=s}else for(a=0;a<n.length;a++){if(l=n[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;Fm(i,l,u),o=s}}}if(hs)throw e=Id,hs=!1,Id=null,e}function we(e,t){var r=Um(t),n=e+"__bubble";r.has(n)||($m(t,e,2,!1),r.add(n))}var Vm="_reactListening"+Math.random().toString(36).slice(2);function Im(e){e[Vm]||(e[Vm]=!0,Sv.forEach(function(t){Om.has(t)||Bm(t,!1,e,null),Bm(t,!0,e,null)}))}function Bm(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=r;if(e==="selectionchange"&&r.nodeType!==9&&(o=r.ownerDocument),n!==null&&!t&&Om.has(e)){if(e!=="scroll")return;i|=2,o=n}var a=Um(o),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(i|=4),$m(o,e,i,t),a.add(l))}function $m(e,t,r,n){var i=Hd.get(t);switch(i===void 0?2:i){case 0:i=Vb;break;case 1:i=Ib;break;default:i=Wd}r=i.bind(null,t,r,e),i=void 0,!Vd||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 Dm(e,t,r,n,i){var o=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;a=a.return}for(;l!==null;){if(a=$n(l),a===null)return;if(s=a.tag,s===5||s===6){n=o=a;continue e}l=l.parentNode}}n=n.return}gb(function(){var u=o,c=Md(r),p=[];e:{var f=sm.get(e);if(f!==void 0){var h=Gd,m=e;switch(e){case"keypress":if(Cs(r)===0)break e;case"keydown":case"keyup":h=Kb;break;case"focusin":m="focus",h=Xd;break;case"focusout":m="blur",h=Xd;break;case"beforeblur":case"afterblur":h=Xd;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":h=fm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Db;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=e9;break;case im:case om:case am:h=Nb;break;case lm:h=r9;break;case"scroll":h=Bb;break;case"wheel":h=i9;break;case"copy":case"cut":case"paste":h=Wb;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=hm}var y=(t&4)!==0,v=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var b=u,x;b!==null;){x=b;var w=x.stateNode;if(x.tag===5&&w!==null&&(x=w,g!==null&&(w=No(b,g),w!=null&&y.push(oa(b,w,x)))),v)break;b=b.return}0<y.length&&(f=new h(f,m,null,r,c),p.push({event:f,listeners:y}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&(t&16)===0&&(m=r.relatedTarget||r.fromElement)&&($n(m)||m[Ai]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(m=r.relatedTarget||r.toElement,h=u,m=m?$n(m):null,m!==null&&(v=Bn(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(h=null,m=u),h!==m)){if(y=fm,w="onMouseLeave",g="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(y=hm,w="onPointerLeave",g="onPointerEnter",b="pointer"),v=h==null?f:Oi(h),x=m==null?f:Oi(m),f=new y(w,b+"leave",h,r,c),f.target=v,f.relatedTarget=x,w=null,$n(c)===u&&(y=new y(g,b+"enter",m,r,c),y.target=x,y.relatedTarget=v,w=y),v=w,h&&m)t:{for(y=h,g=m,b=0,x=y;x;x=Mi(x))b++;for(x=0,w=g;w;w=Mi(w))x++;for(;0<b-x;)y=Mi(y),b--;for(;0<x-b;)g=Mi(g),x--;for(;b--;){if(y===g||g!==null&&y===g.alternate)break t;y=Mi(y),g=Mi(g)}y=null}else y=null;h!==null&&zm(p,f,h,y,!1),m!==null&&v!==null&&zm(p,v,m,y,!0)}}e:{if(f=u?Oi(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var k=d9;else if(xm(f))if(Cm)k=v9;else{k=p9;var E=f9}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=h9);if(k&&(k=k(e,u))){wm(p,k,r,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&Cd(f,"number",f.value)}switch(E=u?Oi(u):window,e){case"focusin":(xm(E)||E.contentEditable==="true")&&(_i=E,rf=u,na=null);break;case"focusout":na=rf=_i=null;break;case"mousedown":nf=!0;break;case"contextmenu":case"mouseup":case"dragend":nf=!1,Lm(p,r,c);break;case"selectionchange":if(y9)break;case"keydown":case"keyup":Lm(p,r,c)}var P;if(Qd)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else Ti?ym(e,r)&&(L="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(L="onCompositionStart");L&&(vm&&r.locale!=="ko"&&(Ti||L!=="onCompositionStart"?L==="onCompositionEnd"&&Ti&&(P=cm()):(Yr=c,Zd="value"in Yr?Yr.value:Yr.textContent,Ti=!0)),E=Ps(u,L),0<E.length&&(L=new pm(L,e,null,r,c),p.push({event:L,listeners:E}),P?L.data=P:(P=bm(r),P!==null&&(L.data=P)))),(P=a9?l9(e,r):s9(e,r))&&(u=Ps(u,"onBeforeInput"),0<u.length&&(c=new pm("onBeforeInput","beforeinput",null,r,c),p.push({event:c,listeners:u}),c.data=P))}Rm(p,t)})}function oa(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ps(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=No(e,r),o!=null&&n.unshift(oa(e,o,i)),o=No(e,t),o!=null&&n.push(oa(e,o,i))),e=e.return}return n}function Mi(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zm(e,t,r,n,i){for(var o=t._reactName,a=[];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=No(r,o),s!=null&&a.unshift(oa(r,s,l))):i||(s=No(r,o),s!=null&&a.push(oa(r,s,l)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}function Ts(){}var af=null,lf=null;function Hm(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function sf(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 Nm=typeof setTimeout=="function"?setTimeout:void 0,b9=typeof clearTimeout=="function"?clearTimeout:void 0;function uf(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Li(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function jm(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 cf=0;function x9(e){return{$$typeof:vd,toString:e,valueOf:e}}var _s=Math.random().toString(36).slice(2),Xr="__reactFiber$"+_s,Ms="__reactProps$"+_s,Ai="__reactContainer$"+_s,Wm="__reactEvents$"+_s;function $n(e){var t=e[Xr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Ai]||r[Xr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=jm(e);e!==null;){if(r=e[Xr])return r;e=jm(e)}return t}e=r,r=e.parentNode}return null}function aa(e){return e=e[Xr]||e[Ai],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Oi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function Ls(e){return e[Ms]||null}function Um(e){var t=e[Wm];return t===void 0&&(t=e[Wm]=new Set),t}var df=[],Fi=-1;function Kr(e){return{current:e}}function Ce(e){0>Fi||(e.current=df[Fi],df[Fi]=null,Fi--)}function Ae(e,t){Fi++,df[Fi]=e.current,e.current=t}var Qr={},it=Kr(Qr),mt=Kr(!1),Dn=Qr;function Ri(e,t){var r=e.type.contextTypes;if(!r)return Qr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function gt(e){return e=e.childContextTypes,e!=null}function As(){Ce(mt),Ce(it)}function Zm(e,t,r){if(it.current!==Qr)throw Error(W(168));Ae(it,t),Ae(mt,r)}function Gm(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(W(108,bi(t)||"Unknown",i));return Pe({},r,n)}function Os(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Qr,Dn=it.current,Ae(it,e),Ae(mt,mt.current),!0}function qm(e,t,r){var n=e.stateNode;if(!n)throw Error(W(169));r?(e=Gm(e,t,Dn),n.__reactInternalMemoizedMergedChildContext=e,Ce(mt),Ce(it),Ae(it,e)):Ce(mt),Ae(mt,r)}var ff=null,zn=null,w9=Ge.unstable_runWithPriority,pf=Ge.unstable_scheduleCallback,hf=Ge.unstable_cancelCallback,C9=Ge.unstable_shouldYield,Ym=Ge.unstable_requestPaint,vf=Ge.unstable_now,S9=Ge.unstable_getCurrentPriorityLevel,Fs=Ge.unstable_ImmediatePriority,Xm=Ge.unstable_UserBlockingPriority,Km=Ge.unstable_NormalPriority,Qm=Ge.unstable_LowPriority,Jm=Ge.unstable_IdlePriority,mf={},k9=Ym!==void 0?Ym:function(){},Sr=null,Rs=null,gf=!1,e2=vf(),ot=1e4>e2?vf:function(){return vf()-e2};function Vi(){switch(S9()){case Fs:return 99;case Xm:return 98;case Km:return 97;case Qm:return 96;case Jm:return 95;default:throw Error(W(332))}}function t2(e){switch(e){case 99:return Fs;case 98:return Xm;case 97:return Km;case 96:return Qm;case 95:return Jm;default:throw Error(W(332))}}function Hn(e,t){return e=t2(e),w9(e,t)}function la(e,t,r){return e=t2(e),pf(e,t,r)}function ur(){if(Rs!==null){var e=Rs;Rs=null,hf(e)}r2()}function r2(){if(!gf&&Sr!==null){gf=!0;var e=0;try{var t=Sr;Hn(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Sr=null}catch(r){throw Sr!==null&&(Sr=Sr.slice(e+1)),pf(Fs,ur),r}finally{gf=!1}}}var E9=Rn.ReactCurrentBatchConfig;function Xt(e,t){if(e&&e.defaultProps){t=Pe({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Vs=Kr(null),Is=null,Ii=null,Bs=null;function yf(){Bs=Ii=Is=null}function bf(e){var t=Vs.current;Ce(Vs),e.type._context._currentValue=t}function n2(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 Bi(e,t){Is=e,Bs=Ii=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Kt=!0),e.firstContext=null)}function It(e,t){if(Bs!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Bs=e,t=1073741823),t={context:e,observedBits:t,next:null},Ii===null){if(Is===null)throw Error(W(308));Ii=t,Is.dependencies={lanes:0,firstContext:t,responders:null}}else Ii=Ii.next=t;return e._currentValue}var Jr=!1;function xf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function i2(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 en(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function tn(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 o2(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 sa(e,t,r,n){var i=e.updateQueue;Jr=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?o=u:a.next=u,a=s;var c=e.alternate;if(c!==null){c=c.updateQueue;var p=c.lastBaseUpdate;p!==a&&(p===null?c.firstBaseUpdate=u:p.next=u,c.lastBaseUpdate=s)}}if(o!==null){p=i.baseState,a=0,c=u=s=null;do{l=o.lane;var f=o.eventTime;if((n&l)===l){c!==null&&(c=c.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,m=o;switch(l=t,f=r,m.tag){case 1:if(h=m.payload,typeof h=="function"){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=h.flags&-4097|64;case 0:if(h=m.payload,l=typeof h=="function"?h.call(f,p,l):h,l==null)break e;p=Pe({},p,l);break e;case 2:Jr=!0}}o.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[o]:l.push(o))}else f={eventTime:f,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(u=c=f,s=p):c=c.next=f,a|=l;if(o=o.next,o===null){if(l=i.shared.pending,l===null)break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);c===null&&(s=p),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,xa|=a,e.lanes=a,e.memoizedState=p}}function a2(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(W(191,i));i.call(n)}}}var l2=new os.Component().refs;function $s(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Pe({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Ds={isMounted:function(e){return(e=e._reactInternals)?Bn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Pt(),i=on(e),o=en(n,i);o.payload=t,r!=null&&(o.callback=r),tn(e,o),an(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Pt(),i=on(e),o=en(n,i);o.tag=1,o.payload=t,r!=null&&(o.callback=r),tn(e,o),an(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Pt(),n=on(e),i=en(r,n);i.tag=2,t!=null&&(i.callback=t),tn(e,i),an(e,n,r)}};function s2(e,t,r,n,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,a):t.prototype&&t.prototype.isPureReactComponent?!ra(r,n)||!ra(i,o):!0}function u2(e,t,r){var n=!1,i=Qr,o=t.contextType;return typeof o=="object"&&o!==null?o=It(o):(i=gt(t)?Dn:it.current,n=t.contextTypes,o=(n=n!=null)?Ri(e,i):Qr),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ds,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function c2(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&&Ds.enqueueReplaceState(t,t.state,null)}function wf(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=l2,xf(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=It(o):(o=gt(t)?Dn:it.current,i.context=Ri(e,o)),sa(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&($s(e,t,o,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&&Ds.enqueueReplaceState(i,i.state,null),sa(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var zs=Array.isArray;function ua(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(W(309));var n=r.stateNode}if(!n)throw Error(W(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=n.refs;a===l2&&(a=n.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(W(284));if(!r._owner)throw Error(W(290,e))}return e}function Hs(e,t){if(e.type!=="textarea")throw Error(W(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function d2(e){function t(v,g){if(e){var b=v.lastEffect;b!==null?(b.nextEffect=g,v.lastEffect=g):v.firstEffect=v.lastEffect=g,g.nextEffect=null,g.flags=8}}function r(v,g){if(!e)return null;for(;g!==null;)t(v,g),g=g.sibling;return null}function n(v,g){for(v=new Map;g!==null;)g.key!==null?v.set(g.key,g):v.set(g.index,g),g=g.sibling;return v}function i(v,g){return v=un(v,g),v.index=0,v.sibling=null,v}function o(v,g,b){return v.index=b,e?(b=v.alternate,b!==null?(b=b.index,b<g?(v.flags=2,g):b):(v.flags=2,g)):g}function a(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,g,b,x){return g===null||g.tag!==6?(g=n0(b,v.mode,x),g.return=v,g):(g=i(g,b),g.return=v,g)}function s(v,g,b,x){return g!==null&&g.elementType===b.type?(x=i(g,b.props),x.ref=ua(v,g,b),x.return=v,x):(x=ou(b.type,b.key,b.props,null,v.mode,x),x.ref=ua(v,g,b),x.return=v,x)}function u(v,g,b,x){return g===null||g.tag!==4||g.stateNode.containerInfo!==b.containerInfo||g.stateNode.implementation!==b.implementation?(g=i0(b,v.mode,x),g.return=v,g):(g=i(g,b.children||[]),g.return=v,g)}function c(v,g,b,x,w){return g===null||g.tag!==7?(g=Ui(b,v.mode,x,w),g.return=v,g):(g=i(g,b),g.return=v,g)}function p(v,g,b){if(typeof g=="string"||typeof g=="number")return g=n0(""+g,v.mode,b),g.return=v,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Vo:return b=ou(g.type,g.key,g.props,null,v.mode,b),b.ref=ua(v,null,g),b.return=v,b;case Vn:return g=i0(g,v.mode,b),g.return=v,g}if(zs(g)||$o(g))return g=Ui(g,v.mode,b,null),g.return=v,g;Hs(v,g)}return null}function f(v,g,b,x){var w=g!==null?g.key:null;if(typeof b=="string"||typeof b=="number")return w!==null?null:l(v,g,""+b,x);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Vo:return b.key===w?b.type===jr?c(v,g,b.props.children,x,w):s(v,g,b,x):null;case Vn:return b.key===w?u(v,g,b,x):null}if(zs(b)||$o(b))return w!==null?null:c(v,g,b,x,null);Hs(v,b)}return null}function h(v,g,b,x,w){if(typeof x=="string"||typeof x=="number")return v=v.get(b)||null,l(g,v,""+x,w);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Vo:return v=v.get(x.key===null?b:x.key)||null,x.type===jr?c(g,v,x.props.children,w,x.key):s(g,v,x,w);case Vn:return v=v.get(x.key===null?b:x.key)||null,u(g,v,x,w)}if(zs(x)||$o(x))return v=v.get(b)||null,c(g,v,x,w,null);Hs(g,x)}return null}function m(v,g,b,x){for(var w=null,k=null,E=g,P=g=0,L=null;E!==null&&P<b.length;P++){E.index>P?(L=E,E=null):L=E.sibling;var M=f(v,E,b[P],x);if(M===null){E===null&&(E=L);break}e&&E&&M.alternate===null&&t(v,E),g=o(M,g,P),k===null?w=M:k.sibling=M,k=M,E=L}if(P===b.length)return r(v,E),w;if(E===null){for(;P<b.length;P++)E=p(v,b[P],x),E!==null&&(g=o(E,g,P),k===null?w=E:k.sibling=E,k=E);return w}for(E=n(v,E);P<b.length;P++)L=h(E,v,P,b[P],x),L!==null&&(e&&L.alternate!==null&&E.delete(L.key===null?P:L.key),g=o(L,g,P),k===null?w=L:k.sibling=L,k=L);return e&&E.forEach(function(B){return t(v,B)}),w}function y(v,g,b,x){var w=$o(b);if(typeof w!="function")throw Error(W(150));if(b=w.call(b),b==null)throw Error(W(151));for(var k=w=null,E=g,P=g=0,L=null,M=b.next();E!==null&&!M.done;P++,M=b.next()){E.index>P?(L=E,E=null):L=E.sibling;var B=f(v,E,M.value,x);if(B===null){E===null&&(E=L);break}e&&E&&B.alternate===null&&t(v,E),g=o(B,g,P),k===null?w=B:k.sibling=B,k=B,E=L}if(M.done)return r(v,E),w;if(E===null){for(;!M.done;P++,M=b.next())M=p(v,M.value,x),M!==null&&(g=o(M,g,P),k===null?w=M:k.sibling=M,k=M);return w}for(E=n(v,E);!M.done;P++,M=b.next())M=h(E,v,P,M.value,x),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?P:M.key),g=o(M,g,P),k===null?w=M:k.sibling=M,k=M);return e&&E.forEach(function(G){return t(v,G)}),w}return function(v,g,b,x){var w=typeof b=="object"&&b!==null&&b.type===jr&&b.key===null;w&&(b=b.props.children);var k=typeof b=="object"&&b!==null;if(k)switch(b.$$typeof){case Vo:e:{for(k=b.key,w=g;w!==null;){if(w.key===k){switch(w.tag){case 7:if(b.type===jr){r(v,w.sibling),g=i(w,b.props.children),g.return=v,v=g;break e}break;default:if(w.elementType===b.type){r(v,w.sibling),g=i(w,b.props),g.ref=ua(v,w,b),g.return=v,v=g;break e}}r(v,w);break}else t(v,w);w=w.sibling}b.type===jr?(g=Ui(b.props.children,v.mode,x,b.key),g.return=v,v=g):(x=ou(b.type,b.key,b.props,null,v.mode,x),x.ref=ua(v,g,b),x.return=v,v=x)}return a(v);case Vn:e:{for(w=b.key;g!==null;){if(g.key===w)if(g.tag===4&&g.stateNode.containerInfo===b.containerInfo&&g.stateNode.implementation===b.implementation){r(v,g.sibling),g=i(g,b.children||[]),g.return=v,v=g;break e}else{r(v,g);break}else t(v,g);g=g.sibling}g=i0(b,v.mode,x),g.return=v,v=g}return a(v)}if(typeof b=="string"||typeof b=="number")return b=""+b,g!==null&&g.tag===6?(r(v,g.sibling),g=i(g,b),g.return=v,v=g):(r(v,g),g=n0(b,v.mode,x),g.return=v,v=g),a(v);if(zs(b))return m(v,g,b,x);if($o(b))return y(v,g,b,x);if(k&&Hs(v,b),typeof b=="undefined"&&!w)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(W(152,bi(v.type)||"Component"))}return r(v,g)}}var Ns=d2(!0),f2=d2(!1),ca={},cr=Kr(ca),da=Kr(ca),fa=Kr(ca);function Nn(e){if(e===ca)throw Error(W(174));return e}function Cf(e,t){switch(Ae(fa,t),Ae(da,e),Ae(cr,ca),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Pd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Pd(t,e)}Ce(cr),Ae(cr,t)}function $i(){Ce(cr),Ce(da),Ce(fa)}function p2(e){Nn(fa.current);var t=Nn(cr.current),r=Pd(t,e.type);t!==r&&(Ae(da,e),Ae(cr,r))}function Sf(e){da.current===e&&(Ce(cr),Ce(da))}var Oe=Kr(0);function js(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 kr=null,rn=null,dr=!1;function h2(e,t){var r=Dt(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 v2(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 kf(e){if(dr){var t=rn;if(t){var r=t;if(!v2(e,t)){if(t=Li(r.nextSibling),!t||!v2(e,t)){e.flags=e.flags&-1025|2,dr=!1,kr=e;return}h2(kr,r)}kr=e,rn=Li(t.firstChild)}else e.flags=e.flags&-1025|2,dr=!1,kr=e}}function m2(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;kr=e}function Ws(e){if(e!==kr)return!1;if(!dr)return m2(e),dr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!sf(t,e.memoizedProps))for(t=rn;t;)h2(e,t),t=Li(t.nextSibling);if(m2(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){rn=Li(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}rn=null}}else rn=kr?Li(e.stateNode.nextSibling):null;return!0}function Ef(){rn=kr=null,dr=!1}var Di=[];function Pf(){for(var e=0;e<Di.length;e++)Di[e]._workInProgressVersionPrimary=null;Di.length=0}var pa=Rn.ReactCurrentDispatcher,Bt=Rn.ReactCurrentBatchConfig,ha=0,De=null,at=null,Ke=null,Us=!1,va=!1;function yt(){throw Error(W(321))}function Tf(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Vt(e[r],t[r]))return!1;return!0}function _f(e,t,r,n,i,o){if(ha=o,De=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pa.current=e===null||e.memoizedState===null?T9:_9,e=r(n,i),va){o=0;do{if(va=!1,!(25>o))throw Error(W(301));o+=1,Ke=at=null,t.updateQueue=null,pa.current=M9,e=r(n,i)}while(va)}if(pa.current=Ys,t=at!==null&&at.next!==null,ha=0,Ke=at=De=null,Us=!1,t)throw Error(W(300));return e}function jn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ke===null?De.memoizedState=Ke=e:Ke=Ke.next=e,Ke}function Wn(){if(at===null){var e=De.alternate;e=e!==null?e.memoizedState:null}else e=at.next;var t=Ke===null?De.memoizedState:Ke.next;if(t!==null)Ke=t,at=e;else{if(e===null)throw Error(W(310));at=e,e={memoizedState:at.memoizedState,baseState:at.baseState,baseQueue:at.baseQueue,queue:at.queue,next:null},Ke===null?De.memoizedState=Ke=e:Ke=Ke.next=e}return Ke}function fr(e,t){return typeof t=="function"?t(e):t}function ma(e){var t=Wn(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var n=at,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=a=o=null,s=i;do{var u=s.lane;if((ha&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?(a=l=c,o=n):l=l.next=c,De.lanes|=u,xa|=u}s=s.next}while(s!==null&&s!==i);l===null?o=n:l.next=a,Vt(n,t.memoizedState)||(Kt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function ga(e){var t=Wn(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Vt(o,t.memoizedState)||(Kt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function g2(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=(ha&e)===e)&&(t._workInProgressVersionPrimary=n,Di.push(t))),e)return r(t._source);throw Di.push(t),Error(W(350))}function y2(e,t,r,n){var i=dt;if(i===null)throw Error(W(349));var o=t._getVersion,a=o(t._source),l=pa.current,s=l.useState(function(){return g2(i,t,r)}),u=s[1],c=s[0];s=Ke;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,m=p.source;p=p.subscribe;var y=De;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect(function(){f.getSnapshot=r,f.setSnapshot=u;var v=o(t._source);if(!Vt(a,v)){v=r(t._source),Vt(c,v)||(u(v),v=on(y),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var g=i.entanglements,b=v;0<b;){var x=31-qr(b),w=1<<x;g[x]|=v,b&=~w}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var v=f.getSnapshot,g=f.setSnapshot;try{g(v(t._source));var b=on(y);i.mutableReadLanes|=b&i.pendingLanes}catch(x){g(function(){throw x})}})},[t,n]),Vt(h,r)&&Vt(m,t)&&Vt(p,n)||(e={pending:null,dispatch:null,lastRenderedReducer:fr,lastRenderedState:c},e.dispatch=u=Of.bind(null,De,e),s.queue=e,s.baseQueue=null,c=g2(i,t,r),s.memoizedState=s.baseState=c),c}function b2(e,t,r){var n=Wn();return y2(n,e,t,r)}function ya(e){var t=jn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:fr,lastRenderedState:e},e=e.dispatch=Of.bind(null,De,e),[t.memoizedState,e]}function Zs(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=De.updateQueue,t===null?(t={lastEffect:null},De.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 x2(e){var t=jn();return e={current:e},t.memoizedState=e}function Gs(){return Wn().memoizedState}function Mf(e,t,r,n){var i=jn();De.flags|=e,i.memoizedState=Zs(1|t,r,void 0,n===void 0?null:n)}function Lf(e,t,r,n){var i=Wn();n=n===void 0?null:n;var o=void 0;if(at!==null){var a=at.memoizedState;if(o=a.destroy,n!==null&&Tf(n,a.deps)){Zs(t,r,o,n);return}}De.flags|=e,i.memoizedState=Zs(1|t,r,o,n)}function w2(e,t){return Mf(516,4,e,t)}function qs(e,t){return Lf(516,4,e,t)}function C2(e,t){return Lf(4,2,e,t)}function S2(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 k2(e,t,r){return r=r!=null?r.concat([e]):null,Lf(4,2,S2.bind(null,t,e),r)}function Af(){}function E2(e,t){var r=Wn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Tf(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function P2(e,t){var r=Wn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Tf(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function P9(e,t){var r=Vi();Hn(98>r?98:r,function(){e(!0)}),Hn(97<r?97:r,function(){var n=Bt.transition;Bt.transition=1;try{e(!1),t()}finally{Bt.transition=n}})}function Of(e,t,r){var n=Pt(),i=on(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===De||a!==null&&a===De)va=Us=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,s=a(l,r);if(o.eagerReducer=a,o.eagerState=s,Vt(s,l))return}catch{}finally{}an(e,i,n)}}var Ys={readContext:It,useCallback:yt,useContext:yt,useEffect:yt,useImperativeHandle:yt,useLayoutEffect:yt,useMemo:yt,useReducer:yt,useRef:yt,useState:yt,useDebugValue:yt,useDeferredValue:yt,useTransition:yt,useMutableSource:yt,useOpaqueIdentifier:yt,unstable_isNewReconciler:!1},T9={readContext:It,useCallback:function(e,t){return jn().memoizedState=[e,t===void 0?null:t],e},useContext:It,useEffect:w2,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Mf(4,2,S2.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Mf(4,2,e,t)},useMemo:function(e,t){var r=jn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=jn();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=Of.bind(null,De,e),[n.memoizedState,e]},useRef:x2,useState:ya,useDebugValue:Af,useDeferredValue:function(e){var t=ya(e),r=t[0],n=t[1];return w2(function(){var i=Bt.transition;Bt.transition=1;try{n(e)}finally{Bt.transition=i}},[e]),r},useTransition:function(){var e=ya(!1),t=e[0];return e=P9.bind(null,e[1]),x2(e),[e,t]},useMutableSource:function(e,t,r){var n=jn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},y2(n,e,t,r)},useOpaqueIdentifier:function(){if(dr){var e=!1,t=x9(function(){throw e||(e=!0,r("r:"+(cf++).toString(36))),Error(W(355))}),r=ya(t)[1];return(De.mode&2)===0&&(De.flags|=516,Zs(5,function(){r("r:"+(cf++).toString(36))},void 0,null)),t}return t="r:"+(cf++).toString(36),ya(t),t},unstable_isNewReconciler:!1},_9={readContext:It,useCallback:E2,useContext:It,useEffect:qs,useImperativeHandle:k2,useLayoutEffect:C2,useMemo:P2,useReducer:ma,useRef:Gs,useState:function(){return ma(fr)},useDebugValue:Af,useDeferredValue:function(e){var t=ma(fr),r=t[0],n=t[1];return qs(function(){var i=Bt.transition;Bt.transition=1;try{n(e)}finally{Bt.transition=i}},[e]),r},useTransition:function(){var e=ma(fr)[0];return[Gs().current,e]},useMutableSource:b2,useOpaqueIdentifier:function(){return ma(fr)[0]},unstable_isNewReconciler:!1},M9={readContext:It,useCallback:E2,useContext:It,useEffect:qs,useImperativeHandle:k2,useLayoutEffect:C2,useMemo:P2,useReducer:ga,useRef:Gs,useState:function(){return ga(fr)},useDebugValue:Af,useDeferredValue:function(e){var t=ga(fr),r=t[0],n=t[1];return qs(function(){var i=Bt.transition;Bt.transition=1;try{n(e)}finally{Bt.transition=i}},[e]),r},useTransition:function(){var e=ga(fr)[0];return[Gs().current,e]},useMutableSource:b2,useOpaqueIdentifier:function(){return ga(fr)[0]},unstable_isNewReconciler:!1},L9=Rn.ReactCurrentOwner,Kt=!1;function bt(e,t,r,n){t.child=e===null?f2(t,null,r,n):Ns(t,e.child,r,n)}function T2(e,t,r,n,i){r=r.render;var o=t.ref;return Bi(t,i),n=_f(e,t,r,n,o,i),e!==null&&!Kt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Er(e,t,i)):(t.flags|=1,bt(e,t,n,i),t.child)}function _2(e,t,r,n,i,o){if(e===null){var a=r.type;return typeof a=="function"&&!t0(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,M2(e,t,a,n,i,o)):(e=ou(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,(i&o)===0&&(i=a.memoizedProps,r=r.compare,r=r!==null?r:ra,r(i,n)&&e.ref===t.ref)?Er(e,t,o):(t.flags|=1,e=un(a,n),e.ref=t.ref,e.return=t,t.child=e)}function M2(e,t,r,n,i,o){if(e!==null&&ra(e.memoizedProps,n)&&e.ref===t.ref)if(Kt=!1,(o&i)!==0)(e.flags&16384)!==0&&(Kt=!0);else return t.lanes=e.lanes,Er(e,t,o);return Rf(e,t,r,n,o)}function Ff(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},iu(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},iu(t,o!==null?o.baseLanes:r);else return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},iu(t,e),null;else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,iu(t,n);return bt(e,t,i,r),t.child}function L2(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Rf(e,t,r,n,i){var o=gt(r)?Dn:it.current;return o=Ri(t,o),Bi(t,i),r=_f(e,t,r,n,o,i),e!==null&&!Kt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Er(e,t,i)):(t.flags|=1,bt(e,t,r,i),t.child)}function A2(e,t,r,n,i){if(gt(r)){var o=!0;Os(t)}else o=!1;if(Bi(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),u2(t,r,n),wf(t,r,n,i),n=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=r.contextType;typeof u=="object"&&u!==null?u=It(u):(u=gt(r)?Dn:it.current,u=Ri(t,u));var c=r.getDerivedStateFromProps,p=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==n||s!==u)&&c2(t,a,n,u),Jr=!1;var f=t.memoizedState;a.state=f,sa(t,n,a,i),s=t.memoizedState,l!==n||f!==s||mt.current||Jr?(typeof c=="function"&&($s(t,r,c,n),s=t.memoizedState),(l=Jr||s2(t,r,l,n,f,s,u))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),a.props=n,a.state=s,a.context=u,n=l):(typeof a.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{a=t.stateNode,i2(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Xt(t.type,l),a.props=u,p=t.pendingProps,f=a.context,s=r.contextType,typeof s=="object"&&s!==null?s=It(s):(s=gt(r)?Dn:it.current,s=Ri(t,s));var h=r.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==p||f!==s)&&c2(t,a,n,s),Jr=!1,f=t.memoizedState,a.state=f,sa(t,n,a,i);var m=t.memoizedState;l!==p||f!==m||mt.current||Jr?(typeof h=="function"&&($s(t,r,h,n),m=t.memoizedState),(u=Jr||s2(t,r,u,n,f,m,s))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=m),a.props=n,a.state=m,a.context=s,n=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return Vf(e,t,r,n,o,i)}function Vf(e,t,r,n,i,o){L2(e,t);var a=(t.flags&64)!==0;if(!n&&!a)return i&&qm(t,r,!1),Er(e,t,o);n=t.stateNode,L9.current=t;var l=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=Ns(t,e.child,null,o),t.child=Ns(t,null,l,o)):bt(e,t,l,o),t.memoizedState=n.state,i&&qm(t,r,!0),t.child}function O2(e){var t=e.stateNode;t.pendingContext?Zm(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Zm(e,t.context,!1),Cf(e,t.containerInfo)}var Xs={dehydrated:null,retryLane:0};function F2(e,t,r){var n=t.pendingProps,i=Oe.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),Ae(Oe,i&1),e===null?(n.fallback!==void 0&&kf(t),e=n.children,i=n.fallback,o?(e=R2(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Xs,e):typeof n.unstable_expectedLoadTime=="number"?(e=R2(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=Xs,t.lanes=33554432,e):(r=r0({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?o?(n=I2(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=Xs,n):(r=V2(e,t,n.children,r),t.memoizedState=null,r):o?(n=I2(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=Xs,n):(r=V2(e,t,n.children,r),t.memoizedState=null,r)}function R2(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},(i&2)===0&&o!==null?(o.childLanes=0,o.pendingProps=t):o=r0(t,i,0,null),r=Ui(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function V2(e,t,r,n){var i=e.child;return e=i.sibling,r=un(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 I2(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:r};return(o&2)===0&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,a=r.lastEffect,a!==null?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=un(a,l),e!==null?n=un(e,n):(n=Ui(n,o,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function B2(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),n2(e.return,t)}function If(e,t,r,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function $2(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(bt(e,t,n.children,r),n=Oe.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&&B2(e,r);else if(e.tag===19)B2(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(Ae(Oe,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&&js(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),If(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&js(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}If(t,!0,r,null,o,t.lastEffect);break;case"together":If(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Er(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),xa|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,r=un(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=un(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var D2,Bf,z2,H2;D2=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}},Bf=function(){},z2=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Nn(cr.current);var o=null;switch(r){case"input":i=xd(e,i),n=xd(e,n),o=[];break;case"option":i=Sd(e,i),n=Sd(e,n),o=[];break;case"select":i=Pe({},i,{value:void 0}),n=Pe({},n,{value:void 0}),o=[];break;case"textarea":i=kd(e,i),n=kd(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Ts)}Td(r,n);var a;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ro.hasOwnProperty(u)?o||(o=[]):(o=o||[]).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(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(r||(r={}),r[a]=s[a])}else r||(o||(o=[]),o.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ro.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&we("scroll",e),o||l===s||(o=[])):typeof s=="object"&&s!==null&&s.$$typeof===vd?s.toString():(o=o||[]).push(u,s))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},H2=function(e,t,r,n){r!==n&&(t.flags|=4)};function ba(e,t){if(!dr)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 A9(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 gt(t.type)&&As(),null;case 3:return $i(),Ce(mt),Ce(it),Pf(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ws(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Bf(t),null;case 5:Sf(t);var i=Nn(fa.current);if(r=t.type,e!==null&&t.stateNode!=null)z2(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(W(166));return null}if(e=Nn(cr.current),Ws(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[Xr]=t,n[Ms]=o,r){case"dialog":we("cancel",n),we("close",n);break;case"iframe":case"object":case"embed":we("load",n);break;case"video":case"audio":for(e=0;e<ia.length;e++)we(ia[e],n);break;case"source":we("error",n);break;case"img":case"image":case"link":we("error",n),we("load",n);break;case"details":we("toggle",n);break;case"input":Av(n,o),we("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},we("invalid",n);break;case"textarea":Rv(n,o),we("invalid",n)}Td(r,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):Ro.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&we("scroll",n));switch(r){case"input":cs(n),Fv(n,o,!0);break;case"textarea":cs(n),Iv(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=Ts)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===Ed.html&&(e=Bv(r)),e===Ed.html?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[Xr]=t,e[Ms]=n,D2(e,t,!1,!1),t.stateNode=e,a=_d(r,n),r){case"dialog":we("cancel",e),we("close",e),i=n;break;case"iframe":case"object":case"embed":we("load",e),i=n;break;case"video":case"audio":for(i=0;i<ia.length;i++)we(ia[i],e);i=n;break;case"source":we("error",e),i=n;break;case"img":case"image":case"link":we("error",e),we("load",e),i=n;break;case"details":we("toggle",e),i=n;break;case"input":Av(e,n),i=xd(e,n),we("invalid",e);break;case"option":i=Sd(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Pe({},n,{value:void 0}),we("invalid",e);break;case"textarea":Rv(e,n),i=kd(e,n),we("invalid",e);break;default:i=n}Td(r,i);var l=i;for(o in l)if(l.hasOwnProperty(o)){var s=l[o];o==="style"?zv(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&$v(e,s)):o==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&zo(e,s):typeof s=="number"&&zo(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Ro.hasOwnProperty(o)?s!=null&&o==="onScroll"&&we("scroll",e):s!=null&&ud(e,o,s,a))}switch(r){case"input":cs(e),Fv(e,n,!1);break;case"textarea":cs(e),Iv(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Wr(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?xi(e,!!n.multiple,o,!1):n.defaultValue!=null&&xi(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ts)}Hm(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)H2(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(W(166));r=Nn(fa.current),Nn(cr.current),Ws(t)?(n=t.stateNode,r=t.memoizedProps,n[Xr]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Xr]=t,t.stateNode=n)}return null;case 13:return Ce(Oe),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&Ws(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Oe.current&1)!==0?Qe===0&&(Qe=3):((Qe===0||Qe===3)&&(Qe=4),dt===null||(xa&134217727)===0&&(Hi&134217727)===0||ji(dt,lt))),(n||r)&&(t.flags|=4),null);case 4:return $i(),Bf(t),e===null&&Im(t.stateNode.containerInfo),null;case 10:return bf(t),null;case 17:return gt(t.type)&&As(),null;case 19:if(Ce(Oe),n=t.memoizedState,n===null)return null;if(o=(t.flags&64)!==0,a=n.rendering,a===null)if(o)ba(n,!1);else{if(Qe!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(a=js(e),a!==null){for(t.flags|=64,ba(n,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Ae(Oe,Oe.current&1|2),t.child}e=e.sibling}n.tail!==null&&ot()>qf&&(t.flags|=64,o=!0,ba(n,!1),t.lanes=33554432)}else{if(!o)if(e=js(a),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ba(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!dr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*ot()-n.renderingStartTime>qf&&r!==1073741824&&(t.flags|=64,o=!0,ba(n,!1),t.lanes=33554432);n.isBackwards?(a.sibling=t.child,t.child=a):(r=n.last,r!==null?r.sibling=a:t.child=a,n.last=a)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=ot(),r.sibling=null,t=Oe.current,Ae(Oe,o?t&1|2:t&1),r):null;case 23:case 24:return e0(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(W(156,t.tag))}function O9(e){switch(e.tag){case 1:gt(e.type)&&As();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if($i(),Ce(mt),Ce(it),Pf(),t=e.flags,(t&64)!==0)throw Error(W(285));return e.flags=t&-4097|64,e;case 5:return Sf(e),null;case 13:return Ce(Oe),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Ce(Oe),null;case 4:return $i(),null;case 10:return bf(e),null;case 23:case 24:return e0(),null;default:return null}}function $f(e,t){try{var r="",n=t;do r+=fb(n),n=n.return;while(n);var i=r}catch(o){i=`
307
+ `+i[a].replace(" at new "," at ");while(1<=a&&0<=l);break}}}finally{Bd=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Zo(e):""}function vx(e){switch(e.tag){case 5:return Zo(e.type);case 16:return Zo("Lazy");case 13:return Zo("Suspense");case 19:return Zo("SuspenseList");case 0:case 2:case 15:return e=Ss(e.type,!1),e;case 11:return e=Ss(e.type.render,!1),e;case 22:return e=Ss(e.type._render,!1),e;case 1:return e=Ss(e.type,!0),e;default:return""}}function _i(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 Qr:return"Fragment";case Hn:return"Portal";case jo:return"Profiler";case Od:return"StrictMode";case Wo:return"Suspense";case ws:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ad:return(e.displayName||"Context")+".Consumer";case Ld:return(e._context.displayName||"Context")+".Provider";case xs:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Cs:return _i(e.type);case Id:return _i(e._render);case Fd:t=e._payload,e=e._init;try{return _i(e(t))}catch{}}return null}function Jr(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function lm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mx(e){var t=lm(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,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ks(e){e._valueTracker||(e._valueTracker=mx(e))}function sm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=lm(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Es(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 Nd(e,t){var r=t.checked;return Oe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function um(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Jr(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 cm(e,t){t=t.checked,t!=null&&Md(e,"checked",t,!1)}function zd(e,t){cm(e,t);var r=Jr(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")?Hd(e,t.type,r):t.hasOwnProperty("defaultValue")&&Hd(e,t.type,Jr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dm(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 Hd(e,t,r){(t!=="number"||Es(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function gx(e){var t="";return bs.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function jd(e,t){return e=Oe({children:void 0},t),(t=gx(t.children))&&(e.children=t),e}function Pi(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=""+Jr(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 Wd(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(W(91));return Oe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function fm(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(W(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(W(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Jr(r)}}function pm(e,t){var r=Jr(t.value),n=Jr(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 hm(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ud={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function vm(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 Zd(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?vm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var _s,mm=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!==Ud.svg||"innerHTML"in e)e.innerHTML=t;else{for(_s=_s||document.createElement("div"),_s.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_s.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Go(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Yo={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},yx=["Webkit","ms","Moz","O"];Object.keys(Yo).forEach(function(e){yx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yo[t]=Yo[e]})});function gm(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Yo.hasOwnProperty(e)&&Yo[e]?(""+t).trim():t+"px"}function ym(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=gm(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var bx=Oe({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 Gd(e,t){if(t){if(bx[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(W(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(W(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(W(61))}if(t.style!=null&&typeof t.style!="object")throw Error(W(62))}}function Yd(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 Kd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var qd=null,Ti=null,Mi=null;function bm(e){if(e=pa(e)){if(typeof qd!="function")throw Error(W(280));var t=e.stateNode;t&&(t=Ws(t),qd(e.stateNode,e.type,t))}}function xm(e){Ti?Mi?Mi.push(e):Mi=[e]:Ti=e}function wm(){if(Ti){var e=Ti,t=Mi;if(Mi=Ti=null,bm(e),t)for(e=0;e<t.length;e++)bm(t[e])}}function Xd(e,t){return e(t)}function Cm(e,t,r,n,i){return e(t,r,n,i)}function Qd(){}var Sm=Xd,jn=!1,Jd=!1;function ef(){(Ti!==null||Mi!==null)&&(Qd(),wm())}function xx(e,t,r){if(Jd)return e(t,r);Jd=!0;try{return Sm(e,t,r)}finally{Jd=!1,ef()}}function Ko(e,t){var r=e.stateNode;if(r===null)return null;var n=Ws(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(W(231,t,typeof r));return r}var tf=!1;if(Tr)try{var qo={};Object.defineProperty(qo,"passive",{get:function(){tf=!0}}),window.addEventListener("test",qo,qo),window.removeEventListener("test",qo,qo)}catch{tf=!1}function wx(e,t,r,n,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(c){this.onError(c)}}var Xo=!1,Ps=null,Ts=!1,rf=null,Cx={onError:function(e){Xo=!0,Ps=e}};function Sx(e,t,r,n,i,o,a,l,s){Xo=!1,Ps=null,wx.apply(Cx,arguments)}function kx(e,t,r,n,i,o,a,l,s){if(Sx.apply(this,arguments),Xo){if(Xo){var u=Ps;Xo=!1,Ps=null}else throw Error(W(198));Ts||(Ts=!0,rf=u)}}function Wn(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 km(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 Em(e){if(Wn(e)!==e)throw Error(W(188))}function Ex(e){var t=e.alternate;if(!t){if(t=Wn(e),t===null)throw Error(W(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Em(i),e;if(o===n)return Em(i),t;o=o.sibling}throw Error(W(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=o;break}if(l===n){a=!0,n=i,r=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===r){a=!0,r=o,n=i;break}if(l===n){a=!0,n=o,r=i;break}l=l.sibling}if(!a)throw Error(W(189))}}if(r.alternate!==n)throw Error(W(190))}if(r.tag!==3)throw Error(W(188));return r.stateNode.current===r?e:t}function _m(e){if(e=Ex(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 Pm(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Tm,nf,Mm,Om,of=!1,fr=[],en=null,tn=null,rn=null,Qo=new Map,Jo=new Map,ea=[],Lm="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 af(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function Am(e,t){switch(e){case"focusin":case"focusout":en=null;break;case"dragenter":case"dragleave":tn=null;break;case"mouseover":case"mouseout":rn=null;break;case"pointerover":case"pointerout":Qo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Jo.delete(t.pointerId)}}function ta(e,t,r,n,i,o){return e===null||e.nativeEvent!==o?(e=af(t,r,n,i,o),t!==null&&(t=pa(t),t!==null&&nf(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function _x(e,t,r,n,i){switch(t){case"focusin":return en=ta(en,e,t,r,n,i),!0;case"dragenter":return tn=ta(tn,e,t,r,n,i),!0;case"mouseover":return rn=ta(rn,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return Qo.set(o,ta(Qo.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,Jo.set(o,ta(Jo.get(o)||null,e,t,r,n,i)),!0}return!1}function Px(e){var t=Un(e.target);if(t!==null){var r=Wn(t);if(r!==null){if(t=r.tag,t===13){if(t=km(r),t!==null){e.blockedOn=t,Om(e.lanePriority,function(){Ke.unstable_runWithPriority(e.priority,function(){Mm(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ms(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ff(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=pa(r),t!==null&&nf(t),e.blockedOn=r,!1;t.shift()}return!0}function Fm(e,t,r){Ms(e)&&r.delete(t)}function Tx(){for(of=!1;0<fr.length;){var e=fr[0];if(e.blockedOn!==null){e=pa(e.blockedOn),e!==null&&Tm(e);break}for(var t=e.targetContainers;0<t.length;){var r=ff(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&fr.shift()}en!==null&&Ms(en)&&(en=null),tn!==null&&Ms(tn)&&(tn=null),rn!==null&&Ms(rn)&&(rn=null),Qo.forEach(Fm),Jo.forEach(Fm)}function ra(e,t){e.blockedOn===t&&(e.blockedOn=null,of||(of=!0,Ke.unstable_scheduleCallback(Ke.unstable_NormalPriority,Tx)))}function Im(e){function t(i){return ra(i,e)}if(0<fr.length){ra(fr[0],e);for(var r=1;r<fr.length;r++){var n=fr[r];n.blockedOn===e&&(n.blockedOn=null)}}for(en!==null&&ra(en,e),tn!==null&&ra(tn,e),rn!==null&&ra(rn,e),Qo.forEach(t),Jo.forEach(t),r=0;r<ea.length;r++)n=ea[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<ea.length&&(r=ea[0],r.blockedOn===null);)Px(r),r.blockedOn===null&&ea.shift()}function Os(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Oi={animationend:Os("Animation","AnimationEnd"),animationiteration:Os("Animation","AnimationIteration"),animationstart:Os("Animation","AnimationStart"),transitionend:Os("Transition","TransitionEnd")},lf={},Dm={};Tr&&(Dm=document.createElement("div").style,"AnimationEvent"in window||(delete Oi.animationend.animation,delete Oi.animationiteration.animation,delete Oi.animationstart.animation),"TransitionEvent"in window||delete Oi.transitionend.transition);function Ls(e){if(lf[e])return lf[e];if(!Oi[e])return e;var t=Oi[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Dm)return lf[e]=t[r];return e}var Rm=Ls("animationend"),Vm=Ls("animationiteration"),$m=Ls("animationstart"),Bm=Ls("transitionend"),Nm=new Map,sf=new Map,Mx=["abort","abort",Rm,"animationEnd",Vm,"animationIteration",$m,"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",Bm,"transitionEnd","waiting","waiting"];function uf(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)),sf.set(n,t),Nm.set(n,i),Nn(i,[n])}}var Ox=Ke.unstable_now;Ox();var Se=8;function Li(e){if((1&e)!==0)return Se=15,1;if((2&e)!==0)return Se=14,2;if((4&e)!==0)return Se=13,4;var t=24&e;return t!==0?(Se=12,t):(e&32)!==0?(Se=11,32):(t=192&e,t!==0?(Se=10,t):(e&256)!==0?(Se=9,256):(t=3584&e,t!==0?(Se=8,t):(e&4096)!==0?(Se=7,4096):(t=4186112&e,t!==0?(Se=6,t):(t=62914560&e,t!==0?(Se=5,t):e&67108864?(Se=4,67108864):(e&134217728)!==0?(Se=3,134217728):(t=805306368&e,t!==0?(Se=2,t):(1073741824&e)!==0?(Se=1,1073741824):(Se=8,e))))))}function Lx(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 Ax(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(W(358,e))}}function na(e,t){var r=e.pendingLanes;if(r===0)return Se=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(o!==0)n=o,i=Se=15;else if(o=r&134217727,o!==0){var s=o&~a;s!==0?(n=Li(s),i=Se):(l&=o,l!==0&&(n=Li(l),i=Se))}else o=r&~a,o!==0?(n=Li(o),i=Se):l!==0&&(n=Li(l),i=Se);if(n===0)return 0;if(n=31-nn(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&a)===0){if(Li(t),i<=Se)return t;Se=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-nn(t),i=1<<r,n|=e[r],t&=~i;return n}function zm(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function As(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=Ai(24&~t),e===0?As(10,t):e;case 10:return e=Ai(192&~t),e===0?As(8,t):e;case 8:return e=Ai(3584&~t),e===0&&(e=Ai(4186112&~t),e===0&&(e=512)),e;case 2:return t=Ai(805306368&~t),t===0&&(t=268435456),t}throw Error(W(358,e))}function Ai(e){return e&-e}function cf(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Fs(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-nn(t),e[t]=r}var nn=Math.clz32?Math.clz32:Dx,Fx=Math.log,Ix=Math.LN2;function Dx(e){return e===0?32:31-(Fx(e)/Ix|0)|0}var Rx=Ke.unstable_UserBlockingPriority,Vx=Ke.unstable_runWithPriority,Is=!0;function $x(e,t,r,n){jn||Qd();var i=df,o=jn;jn=!0;try{Cm(i,e,t,r,n)}finally{(jn=o)||ef()}}function Bx(e,t,r,n){Vx(Rx,df.bind(null,e,t,r,n))}function df(e,t,r,n){if(Is){var i;if((i=(t&4)===0)&&0<fr.length&&-1<Lm.indexOf(e))e=af(null,e,t,r,n),fr.push(e);else{var o=ff(e,t,r,n);if(o===null)i&&Am(e,n);else{if(i){if(-1<Lm.indexOf(e)){e=af(o,e,t,r,n),fr.push(e);return}if(_x(o,e,t,r,n))return;Am(e,n)}g2(e,t,n,null,r)}}}}function ff(e,t,r,n){var i=Kd(n);if(i=Un(i),i!==null){var o=Wn(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=km(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return g2(e,t,n,i,r),null}var on=null,pf=null,Ds=null;function Hm(){if(Ds)return Ds;var e,t=pf,r=t.length,n,i="value"in on?on.value:on.textContent,o=i.length;for(e=0;e<r&&t[e]===i[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===i[o-n];n++);return Ds=i.slice(e,1<n?1-n:void 0)}function Rs(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 Vs(){return!0}function jm(){return!1}function Ot(e){function t(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Vs:jm,this.isPropagationStopped=jm,this}return Oe(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=Vs)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Vs)},persist:function(){},isPersistent:Vs}),t}var Fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hf=Ot(Fi),ia=Oe({},Fi,{view:0,detail:0}),Nx=Ot(ia),vf,mf,oa,$s=Oe({},ia,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yf,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!==oa&&(oa&&e.type==="mousemove"?(vf=e.screenX-oa.screenX,mf=e.screenY-oa.screenY):mf=vf=0,oa=e),vf)},movementY:function(e){return"movementY"in e?e.movementY:mf}}),Wm=Ot($s),zx=Oe({},$s,{dataTransfer:0}),Hx=Ot(zx),jx=Oe({},ia,{relatedTarget:0}),gf=Ot(jx),Wx=Oe({},Fi,{animationName:0,elapsedTime:0,pseudoElement:0}),Ux=Ot(Wx),Zx=Oe({},Fi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gx=Ot(Zx),Yx=Oe({},Fi,{data:0}),Um=Ot(Yx),Kx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qx={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"},Xx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Qx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Xx[e])?!!t[e]:!1}function yf(){return Qx}var Jx=Oe({},ia,{key:function(e){if(e.key){var t=Kx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Rs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yf,charCode:function(e){return e.type==="keypress"?Rs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Rs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),e9=Ot(Jx),t9=Oe({},$s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Zm=Ot(t9),r9=Oe({},ia,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yf}),n9=Ot(r9),i9=Oe({},Fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),o9=Ot(i9),a9=Oe({},$s,{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}),l9=Ot(a9),s9=[9,13,27,32],bf=Tr&&"CompositionEvent"in window,aa=null;Tr&&"documentMode"in document&&(aa=document.documentMode);var u9=Tr&&"TextEvent"in window&&!aa,Gm=Tr&&(!bf||aa&&8<aa&&11>=aa),Ym=String.fromCharCode(32),Km=!1;function qm(e,t){switch(e){case"keyup":return s9.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ii=!1;function c9(e,t){switch(e){case"compositionend":return Xm(t);case"keypress":return t.which!==32?null:(Km=!0,Ym);case"textInput":return e=t.data,e===Ym&&Km?null:e;default:return null}}function d9(e,t){if(Ii)return e==="compositionend"||!bf&&qm(e,t)?(e=Hm(),Ds=pf=on=null,Ii=!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 Gm&&t.locale!=="ko"?null:t.data;default:return null}}var f9={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 Qm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f9[e.type]:t==="textarea"}function Jm(e,t,r,n){xm(n),t=Ns(t,"onChange"),0<t.length&&(r=new hf("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var la=null,sa=null;function p9(e){f2(e,0)}function Bs(e){var t=Bi(e);if(sm(t))return e}function h9(e,t){if(e==="change")return t}var e2=!1;if(Tr){var xf;if(Tr){var wf="oninput"in document;if(!wf){var t2=document.createElement("div");t2.setAttribute("oninput","return;"),wf=typeof t2.oninput=="function"}xf=wf}else xf=!1;e2=xf&&(!document.documentMode||9<document.documentMode)}function r2(){la&&(la.detachEvent("onpropertychange",n2),sa=la=null)}function n2(e){if(e.propertyName==="value"&&Bs(sa)){var t=[];if(Jm(t,sa,e,Kd(e)),e=p9,jn)e(t);else{jn=!0;try{Xd(e,t)}finally{jn=!1,ef()}}}}function v9(e,t,r){e==="focusin"?(r2(),la=t,sa=r,la.attachEvent("onpropertychange",n2)):e==="focusout"&&r2()}function m9(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bs(sa)}function g9(e,t){if(e==="click")return Bs(t)}function y9(e,t){if(e==="input"||e==="change")return Bs(t)}function b9(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:b9,x9=Object.prototype.hasOwnProperty;function ua(e,t){if(Bt(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(!x9.call(t,r[n])||!Bt(e[r[n]],t[r[n]]))return!1;return!0}function i2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o2(e,t){var r=i2(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=i2(r)}}function a2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?a2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function l2(){for(var e=window,t=Es();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Es(e.document)}return t}function Cf(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 w9=Tr&&"documentMode"in document&&11>=document.documentMode,Di=null,Sf=null,ca=null,kf=!1;function s2(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;kf||Di==null||Di!==Es(n)||(n=Di,"selectionStart"in n&&Cf(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}),ca&&ua(ca,n)||(ca=n,n=Ns(Sf,"onSelect"),0<n.length&&(t=new hf("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=Di)))}uf("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),uf("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),uf(Mx,2);for(var u2="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ef=0;Ef<u2.length;Ef++)sf.set(u2[Ef],0);Ei("onMouseEnter",["mouseout","mouseover"]),Ei("onMouseLeave",["mouseout","mouseover"]),Ei("onPointerEnter",["pointerout","pointerover"]),Ei("onPointerLeave",["pointerout","pointerover"]),Nn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var da="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),c2=new Set("cancel close invalid load scroll toggle".split(" ").concat(da));function d2(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,kx(n,t,void 0,e),e.currentTarget=null}function f2(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 o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var l=n[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;d2(i,l,u),o=s}else for(a=0;a<n.length;a++){if(l=n[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;d2(i,l,u),o=s}}}if(Ts)throw e=rf,Ts=!1,rf=null,e}function _e(e,t){var r=S2(t),n=e+"__bubble";r.has(n)||(m2(t,e,2,!1),r.add(n))}var p2="_reactListening"+Math.random().toString(36).slice(2);function h2(e){e[p2]||(e[p2]=!0,tm.forEach(function(t){c2.has(t)||v2(t,!1,e,null),v2(t,!0,e,null)}))}function v2(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=r;if(e==="selectionchange"&&r.nodeType!==9&&(o=r.ownerDocument),n!==null&&!t&&c2.has(e)){if(e!=="scroll")return;i|=2,o=n}var a=S2(o),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(i|=4),m2(o,e,i,t),a.add(l))}function m2(e,t,r,n){var i=sf.get(t);switch(i===void 0?2:i){case 0:i=$x;break;case 1:i=Bx;break;default:i=df}r=i.bind(null,t,r,e),i=void 0,!tf||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 g2(e,t,r,n,i){var o=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;a=a.return}for(;l!==null;){if(a=Un(l),a===null)return;if(s=a.tag,s===5||s===6){n=o=a;continue e}l=l.parentNode}}n=n.return}xx(function(){var u=o,c=Kd(r),p=[];e:{var f=Nm.get(e);if(f!==void 0){var h=hf,m=e;switch(e){case"keypress":if(Rs(r)===0)break e;case"keydown":case"keyup":h=e9;break;case"focusin":m="focus",h=gf;break;case"focusout":m="blur",h=gf;break;case"beforeblur":case"afterblur":h=gf;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":h=Wm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Hx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=n9;break;case Rm:case Vm:case $m:h=Ux;break;case Bm:h=o9;break;case"scroll":h=Nx;break;case"wheel":h=l9;break;case"copy":case"cut":case"paste":h=Gx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=Zm}var y=(t&4)!==0,v=!y&&e==="scroll",g=y?f!==null?f+"Capture":null:f;y=[];for(var b=u,w;b!==null;){w=b;var C=w.stateNode;if(w.tag===5&&C!==null&&(w=C,g!==null&&(C=Ko(b,g),C!=null&&y.push(fa(b,C,w)))),v)break;b=b.return}0<y.length&&(f=new h(f,m,null,r,c),p.push({event:f,listeners:y}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&(t&16)===0&&(m=r.relatedTarget||r.fromElement)&&(Un(m)||m[$i]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(m=r.relatedTarget||r.toElement,h=u,m=m?Un(m):null,m!==null&&(v=Wn(m),m!==v||m.tag!==5&&m.tag!==6)&&(m=null)):(h=null,m=u),h!==m)){if(y=Wm,C="onMouseLeave",g="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(y=Zm,C="onPointerLeave",g="onPointerEnter",b="pointer"),v=h==null?f:Bi(h),w=m==null?f:Bi(m),f=new y(C,b+"leave",h,r,c),f.target=v,f.relatedTarget=w,C=null,Un(c)===u&&(y=new y(g,b+"enter",m,r,c),y.target=w,y.relatedTarget=v,C=y),v=C,h&&m)t:{for(y=h,g=m,b=0,w=y;w;w=Ri(w))b++;for(w=0,C=g;C;C=Ri(C))w++;for(;0<b-w;)y=Ri(y),b--;for(;0<w-b;)g=Ri(g),w--;for(;b--;){if(y===g||g!==null&&y===g.alternate)break t;y=Ri(y),g=Ri(g)}y=null}else y=null;h!==null&&y2(p,f,h,y,!1),m!==null&&v!==null&&y2(p,v,m,y,!0)}}e:{if(f=u?Bi(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var k=h9;else if(Qm(f))if(e2)k=y9;else{k=m9;var _=v9}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(k=g9);if(k&&(k=k(e,u))){Jm(p,k,r,c);break e}_&&_(e,f,u),e==="focusout"&&(_=f._wrapperState)&&_.controlled&&f.type==="number"&&Hd(f,"number",f.value)}switch(_=u?Bi(u):window,e){case"focusin":(Qm(_)||_.contentEditable==="true")&&(Di=_,Sf=u,ca=null);break;case"focusout":ca=Sf=Di=null;break;case"mousedown":kf=!0;break;case"contextmenu":case"mouseup":case"dragend":kf=!1,s2(p,r,c);break;case"selectionchange":if(w9)break;case"keydown":case"keyup":s2(p,r,c)}var E;if(bf)e:{switch(e){case"compositionstart":var M="onCompositionStart";break e;case"compositionend":M="onCompositionEnd";break e;case"compositionupdate":M="onCompositionUpdate";break e}M=void 0}else Ii?qm(e,r)&&(M="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(M="onCompositionStart");M&&(Gm&&r.locale!=="ko"&&(Ii||M!=="onCompositionStart"?M==="onCompositionEnd"&&Ii&&(E=Hm()):(on=c,pf="value"in on?on.value:on.textContent,Ii=!0)),_=Ns(u,M),0<_.length&&(M=new Um(M,e,null,r,c),p.push({event:M,listeners:_}),E?M.data=E:(E=Xm(r),E!==null&&(M.data=E)))),(E=u9?c9(e,r):d9(e,r))&&(u=Ns(u,"onBeforeInput"),0<u.length&&(c=new Um("onBeforeInput","beforeinput",null,r,c),p.push({event:c,listeners:u}),c.data=E))}f2(p,t)})}function fa(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ns(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Ko(e,r),o!=null&&n.unshift(fa(e,o,i)),o=Ko(e,t),o!=null&&n.push(fa(e,o,i))),e=e.return}return n}function Ri(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function y2(e,t,r,n,i){for(var o=t._reactName,a=[];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=Ko(r,o),s!=null&&a.unshift(fa(r,s,l))):i||(s=Ko(r,o),s!=null&&a.push(fa(r,s,l)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}function zs(){}var _f=null,Pf=null;function b2(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Tf(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 x2=typeof setTimeout=="function"?setTimeout:void 0,C9=typeof clearTimeout=="function"?clearTimeout:void 0;function Mf(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Vi(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function w2(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 Of=0;function S9(e){return{$$typeof:Dd,toString:e,valueOf:e}}var Hs=Math.random().toString(36).slice(2),an="__reactFiber$"+Hs,js="__reactProps$"+Hs,$i="__reactContainer$"+Hs,C2="__reactEvents$"+Hs;function Un(e){var t=e[an];if(t)return t;for(var r=e.parentNode;r;){if(t=r[$i]||r[an]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=w2(e);e!==null;){if(r=e[an])return r;e=w2(e)}return t}e=r,r=e.parentNode}return null}function pa(e){return e=e[an]||e[$i],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Bi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(W(33))}function Ws(e){return e[js]||null}function S2(e){var t=e[C2];return t===void 0&&(t=e[C2]=new Set),t}var Lf=[],Ni=-1;function ln(e){return{current:e}}function Pe(e){0>Ni||(e.current=Lf[Ni],Lf[Ni]=null,Ni--)}function De(e,t){Ni++,Lf[Ni]=e.current,e.current=t}var sn={},lt=ln(sn),bt=ln(!1),Zn=sn;function zi(e,t){var r=e.type.contextTypes;if(!r)return sn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xt(e){return e=e.childContextTypes,e!=null}function Us(){Pe(bt),Pe(lt)}function k2(e,t,r){if(lt.current!==sn)throw Error(W(168));De(lt,t),De(bt,r)}function E2(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(W(108,_i(t)||"Unknown",i));return Oe({},r,n)}function Zs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sn,Zn=lt.current,De(lt,e),De(bt,bt.current),!0}function _2(e,t,r){var n=e.stateNode;if(!n)throw Error(W(169));r?(e=E2(e,t,Zn),n.__reactInternalMemoizedMergedChildContext=e,Pe(bt),Pe(lt),De(lt,e)):Pe(bt),De(bt,r)}var Af=null,Gn=null,k9=Ke.unstable_runWithPriority,Ff=Ke.unstable_scheduleCallback,If=Ke.unstable_cancelCallback,E9=Ke.unstable_shouldYield,P2=Ke.unstable_requestPaint,Df=Ke.unstable_now,_9=Ke.unstable_getCurrentPriorityLevel,Gs=Ke.unstable_ImmediatePriority,T2=Ke.unstable_UserBlockingPriority,M2=Ke.unstable_NormalPriority,O2=Ke.unstable_LowPriority,L2=Ke.unstable_IdlePriority,Rf={},P9=P2!==void 0?P2:function(){},Mr=null,Ys=null,Vf=!1,A2=Df(),st=1e4>A2?Df:function(){return Df()-A2};function Hi(){switch(_9()){case Gs:return 99;case T2:return 98;case M2:return 97;case O2:return 96;case L2:return 95;default:throw Error(W(332))}}function F2(e){switch(e){case 99:return Gs;case 98:return T2;case 97:return M2;case 96:return O2;case 95:return L2;default:throw Error(W(332))}}function Yn(e,t){return e=F2(e),k9(e,t)}function ha(e,t,r){return e=F2(e),Ff(e,t,r)}function pr(){if(Ys!==null){var e=Ys;Ys=null,If(e)}I2()}function I2(){if(!Vf&&Mr!==null){Vf=!0;var e=0;try{var t=Mr;Yn(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Mr=null}catch(r){throw Mr!==null&&(Mr=Mr.slice(e+1)),Ff(Gs,pr),r}finally{Vf=!1}}}var T9=zn.ReactCurrentBatchConfig;function Qt(e,t){if(e&&e.defaultProps){t=Oe({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ks=ln(null),qs=null,ji=null,Xs=null;function $f(){Xs=ji=qs=null}function Bf(e){var t=Ks.current;Pe(Ks),e.type._context._currentValue=t}function D2(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 Wi(e,t){qs=e,Xs=ji=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Jt=!0),e.firstContext=null)}function Nt(e,t){if(Xs!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Xs=e,t=1073741823),t={context:e,observedBits:t,next:null},ji===null){if(qs===null)throw Error(W(308));ji=t,qs.dependencies={lanes:0,firstContext:t,responders:null}}else ji=ji.next=t;return e._currentValue}var un=!1;function Nf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function R2(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function dn(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 V2(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 va(e,t,r,n){var i=e.updateQueue;un=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?o=u:a.next=u,a=s;var c=e.alternate;if(c!==null){c=c.updateQueue;var p=c.lastBaseUpdate;p!==a&&(p===null?c.firstBaseUpdate=u:p.next=u,c.lastBaseUpdate=s)}}if(o!==null){p=i.baseState,a=0,c=u=s=null;do{l=o.lane;var f=o.eventTime;if((n&l)===l){c!==null&&(c=c.next={eventTime:f,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var h=e,m=o;switch(l=t,f=r,m.tag){case 1:if(h=m.payload,typeof h=="function"){p=h.call(f,p,l);break e}p=h;break e;case 3:h.flags=h.flags&-4097|64;case 0:if(h=m.payload,l=typeof h=="function"?h.call(f,p,l):h,l==null)break e;p=Oe({},p,l);break e;case 2:un=!0}}o.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[o]:l.push(o))}else f={eventTime:f,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},c===null?(u=c=f,s=p):c=c.next=f,a|=l;if(o=o.next,o===null){if(l=i.shared.pending,l===null)break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);c===null&&(s=p),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,Pa|=a,e.lanes=a,e.memoizedState=p}}function $2(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(W(191,i));i.call(n)}}}var B2=new bs.Component().refs;function Qs(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:Oe({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Js={isMounted:function(e){return(e=e._reactInternals)?Wn(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Lt(),i=hn(e),o=cn(n,i);o.payload=t,r!=null&&(o.callback=r),dn(e,o),vn(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Lt(),i=hn(e),o=cn(n,i);o.tag=1,o.payload=t,r!=null&&(o.callback=r),dn(e,o),vn(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Lt(),n=hn(e),i=cn(r,n);i.tag=2,t!=null&&(i.callback=t),dn(e,i),vn(e,n,r)}};function N2(e,t,r,n,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,a):t.prototype&&t.prototype.isPureReactComponent?!ua(r,n)||!ua(i,o):!0}function z2(e,t,r){var n=!1,i=sn,o=t.contextType;return typeof o=="object"&&o!==null?o=Nt(o):(i=xt(t)?Zn:lt.current,n=t.contextTypes,o=(n=n!=null)?zi(e,i):sn),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Js,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function H2(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&&Js.enqueueReplaceState(t,t.state,null)}function zf(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=B2,Nf(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=Nt(o):(o=xt(t)?Zn:lt.current,i.context=zi(e,o)),va(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Qs(e,t,o,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&&Js.enqueueReplaceState(i,i.state,null),va(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var eu=Array.isArray;function ma(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(W(309));var n=r.stateNode}if(!n)throw Error(W(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=n.refs;a===B2&&(a=n.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(W(284));if(!r._owner)throw Error(W(290,e))}return e}function tu(e,t){if(e.type!=="textarea")throw Error(W(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function j2(e){function t(v,g){if(e){var b=v.lastEffect;b!==null?(b.nextEffect=g,v.lastEffect=g):v.firstEffect=v.lastEffect=g,g.nextEffect=null,g.flags=8}}function r(v,g){if(!e)return null;for(;g!==null;)t(v,g),g=g.sibling;return null}function n(v,g){for(v=new Map;g!==null;)g.key!==null?v.set(g.key,g):v.set(g.index,g),g=g.sibling;return v}function i(v,g){return v=yn(v,g),v.index=0,v.sibling=null,v}function o(v,g,b){return v.index=b,e?(b=v.alternate,b!==null?(b=b.index,b<g?(v.flags=2,g):b):(v.flags=2,g)):g}function a(v){return e&&v.alternate===null&&(v.flags=2),v}function l(v,g,b,w){return g===null||g.tag!==6?(g=S0(b,v.mode,w),g.return=v,g):(g=i(g,b),g.return=v,g)}function s(v,g,b,w){return g!==null&&g.elementType===b.type?(w=i(g,b.props),w.ref=ma(v,g,b),w.return=v,w):(w=bu(b.type,b.key,b.props,null,v.mode,w),w.ref=ma(v,g,b),w.return=v,w)}function u(v,g,b,w){return g===null||g.tag!==4||g.stateNode.containerInfo!==b.containerInfo||g.stateNode.implementation!==b.implementation?(g=k0(b,v.mode,w),g.return=v,g):(g=i(g,b.children||[]),g.return=v,g)}function c(v,g,b,w,C){return g===null||g.tag!==7?(g=Qi(b,v.mode,w,C),g.return=v,g):(g=i(g,b),g.return=v,g)}function p(v,g,b){if(typeof g=="string"||typeof g=="number")return g=S0(""+g,v.mode,b),g.return=v,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Ho:return b=bu(g.type,g.key,g.props,null,v.mode,b),b.ref=ma(v,null,g),b.return=v,b;case Hn:return g=k0(g,v.mode,b),g.return=v,g}if(eu(g)||Uo(g))return g=Qi(g,v.mode,b,null),g.return=v,g;tu(v,g)}return null}function f(v,g,b,w){var C=g!==null?g.key:null;if(typeof b=="string"||typeof b=="number")return C!==null?null:l(v,g,""+b,w);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Ho:return b.key===C?b.type===Qr?c(v,g,b.props.children,w,C):s(v,g,b,w):null;case Hn:return b.key===C?u(v,g,b,w):null}if(eu(b)||Uo(b))return C!==null?null:c(v,g,b,w,null);tu(v,b)}return null}function h(v,g,b,w,C){if(typeof w=="string"||typeof w=="number")return v=v.get(b)||null,l(g,v,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case Ho:return v=v.get(w.key===null?b:w.key)||null,w.type===Qr?c(g,v,w.props.children,C,w.key):s(g,v,w,C);case Hn:return v=v.get(w.key===null?b:w.key)||null,u(g,v,w,C)}if(eu(w)||Uo(w))return v=v.get(b)||null,c(g,v,w,C,null);tu(g,w)}return null}function m(v,g,b,w){for(var C=null,k=null,_=g,E=g=0,M=null;_!==null&&E<b.length;E++){_.index>E?(M=_,_=null):M=_.sibling;var O=f(v,_,b[E],w);if(O===null){_===null&&(_=M);break}e&&_&&O.alternate===null&&t(v,_),g=o(O,g,E),k===null?C=O:k.sibling=O,k=O,_=M}if(E===b.length)return r(v,_),C;if(_===null){for(;E<b.length;E++)_=p(v,b[E],w),_!==null&&(g=o(_,g,E),k===null?C=_:k.sibling=_,k=_);return C}for(_=n(v,_);E<b.length;E++)M=h(_,v,E,b[E],w),M!==null&&(e&&M.alternate!==null&&_.delete(M.key===null?E:M.key),g=o(M,g,E),k===null?C=M:k.sibling=M,k=M);return e&&_.forEach(function(R){return t(v,R)}),C}function y(v,g,b,w){var C=Uo(b);if(typeof C!="function")throw Error(W(150));if(b=C.call(b),b==null)throw Error(W(151));for(var k=C=null,_=g,E=g=0,M=null,O=b.next();_!==null&&!O.done;E++,O=b.next()){_.index>E?(M=_,_=null):M=_.sibling;var R=f(v,_,O.value,w);if(R===null){_===null&&(_=M);break}e&&_&&R.alternate===null&&t(v,_),g=o(R,g,E),k===null?C=R:k.sibling=R,k=R,_=M}if(O.done)return r(v,_),C;if(_===null){for(;!O.done;E++,O=b.next())O=p(v,O.value,w),O!==null&&(g=o(O,g,E),k===null?C=O:k.sibling=O,k=O);return C}for(_=n(v,_);!O.done;E++,O=b.next())O=h(_,v,E,O.value,w),O!==null&&(e&&O.alternate!==null&&_.delete(O.key===null?E:O.key),g=o(O,g,E),k===null?C=O:k.sibling=O,k=O);return e&&_.forEach(function(Z){return t(v,Z)}),C}return function(v,g,b,w){var C=typeof b=="object"&&b!==null&&b.type===Qr&&b.key===null;C&&(b=b.props.children);var k=typeof b=="object"&&b!==null;if(k)switch(b.$$typeof){case Ho:e:{for(k=b.key,C=g;C!==null;){if(C.key===k){switch(C.tag){case 7:if(b.type===Qr){r(v,C.sibling),g=i(C,b.props.children),g.return=v,v=g;break e}break;default:if(C.elementType===b.type){r(v,C.sibling),g=i(C,b.props),g.ref=ma(v,C,b),g.return=v,v=g;break e}}r(v,C);break}else t(v,C);C=C.sibling}b.type===Qr?(g=Qi(b.props.children,v.mode,w,b.key),g.return=v,v=g):(w=bu(b.type,b.key,b.props,null,v.mode,w),w.ref=ma(v,g,b),w.return=v,v=w)}return a(v);case Hn:e:{for(C=b.key;g!==null;){if(g.key===C)if(g.tag===4&&g.stateNode.containerInfo===b.containerInfo&&g.stateNode.implementation===b.implementation){r(v,g.sibling),g=i(g,b.children||[]),g.return=v,v=g;break e}else{r(v,g);break}else t(v,g);g=g.sibling}g=k0(b,v.mode,w),g.return=v,v=g}return a(v)}if(typeof b=="string"||typeof b=="number")return b=""+b,g!==null&&g.tag===6?(r(v,g.sibling),g=i(g,b),g.return=v,v=g):(r(v,g),g=S0(b,v.mode,w),g.return=v,v=g),a(v);if(eu(b))return m(v,g,b,w);if(Uo(b))return y(v,g,b,w);if(k&&tu(v,b),typeof b=="undefined"&&!C)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(W(152,_i(v.type)||"Component"))}return r(v,g)}}var ru=j2(!0),W2=j2(!1),ga={},hr=ln(ga),ya=ln(ga),ba=ln(ga);function Kn(e){if(e===ga)throw Error(W(174));return e}function Hf(e,t){switch(De(ba,t),De(ya,e),De(hr,ga),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Zd(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Zd(t,e)}Pe(hr),De(hr,t)}function Ui(){Pe(hr),Pe(ya),Pe(ba)}function U2(e){Kn(ba.current);var t=Kn(hr.current),r=Zd(t,e.type);t!==r&&(De(ya,e),De(hr,r))}function jf(e){ya.current===e&&(Pe(hr),Pe(ya))}var Re=ln(0);function nu(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 Or=null,fn=null,vr=!1;function Z2(e,t){var r=jt(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 G2(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 Wf(e){if(vr){var t=fn;if(t){var r=t;if(!G2(e,t)){if(t=Vi(r.nextSibling),!t||!G2(e,t)){e.flags=e.flags&-1025|2,vr=!1,Or=e;return}Z2(Or,r)}Or=e,fn=Vi(t.firstChild)}else e.flags=e.flags&-1025|2,vr=!1,Or=e}}function Y2(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Or=e}function iu(e){if(e!==Or)return!1;if(!vr)return Y2(e),vr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Tf(t,e.memoizedProps))for(t=fn;t;)Z2(e,t),t=Vi(t.nextSibling);if(Y2(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(W(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){fn=Vi(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}fn=null}}else fn=Or?Vi(e.stateNode.nextSibling):null;return!0}function Uf(){fn=Or=null,vr=!1}var Zi=[];function Zf(){for(var e=0;e<Zi.length;e++)Zi[e]._workInProgressVersionPrimary=null;Zi.length=0}var xa=zn.ReactCurrentDispatcher,zt=zn.ReactCurrentBatchConfig,wa=0,ze=null,ut=null,et=null,ou=!1,Ca=!1;function wt(){throw Error(W(321))}function Gf(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Bt(e[r],t[r]))return!1;return!0}function Yf(e,t,r,n,i,o){if(wa=o,ze=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,xa.current=e===null||e.memoizedState===null?O9:L9,e=r(n,i),Ca){o=0;do{if(Ca=!1,!(25>o))throw Error(W(301));o+=1,et=ut=null,t.updateQueue=null,xa.current=A9,e=r(n,i)}while(Ca)}if(xa.current=uu,t=ut!==null&&ut.next!==null,wa=0,et=ut=ze=null,ou=!1,t)throw Error(W(300));return e}function qn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?ze.memoizedState=et=e:et=et.next=e,et}function Xn(){if(ut===null){var e=ze.alternate;e=e!==null?e.memoizedState:null}else e=ut.next;var t=et===null?ze.memoizedState:et.next;if(t!==null)et=t,ut=e;else{if(e===null)throw Error(W(310));ut=e,e={memoizedState:ut.memoizedState,baseState:ut.baseState,baseQueue:ut.baseQueue,queue:ut.queue,next:null},et===null?ze.memoizedState=et=e:et=et.next=e}return et}function mr(e,t){return typeof t=="function"?t(e):t}function Sa(e){var t=Xn(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var n=ut,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=a=o=null,s=i;do{var u=s.lane;if((wa&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?(a=l=c,o=n):l=l.next=c,ze.lanes|=u,Pa|=u}s=s.next}while(s!==null&&s!==i);l===null?o=n:l.next=a,Bt(n,t.memoizedState)||(Jt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function ka(e){var t=Xn(),r=t.queue;if(r===null)throw Error(W(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Bt(o,t.memoizedState)||(Jt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function K2(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=(wa&e)===e)&&(t._workInProgressVersionPrimary=n,Zi.push(t))),e)return r(t._source);throw Zi.push(t),Error(W(350))}function q2(e,t,r,n){var i=pt;if(i===null)throw Error(W(349));var o=t._getVersion,a=o(t._source),l=xa.current,s=l.useState(function(){return K2(i,t,r)}),u=s[1],c=s[0];s=et;var p=e.memoizedState,f=p.refs,h=f.getSnapshot,m=p.source;p=p.subscribe;var y=ze;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect(function(){f.getSnapshot=r,f.setSnapshot=u;var v=o(t._source);if(!Bt(a,v)){v=r(t._source),Bt(c,v)||(u(v),v=hn(y),i.mutableReadLanes|=v&i.pendingLanes),v=i.mutableReadLanes,i.entangledLanes|=v;for(var g=i.entanglements,b=v;0<b;){var w=31-nn(b),C=1<<w;g[w]|=v,b&=~C}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var v=f.getSnapshot,g=f.setSnapshot;try{g(v(t._source));var b=hn(y);i.mutableReadLanes|=b&i.pendingLanes}catch(w){g(function(){throw w})}})},[t,n]),Bt(h,r)&&Bt(m,t)&&Bt(p,n)||(e={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:c},e.dispatch=u=Qf.bind(null,ze,e),s.queue=e,s.baseQueue=null,c=K2(i,t,r),s.memoizedState=s.baseState=c),c}function X2(e,t,r){var n=Xn();return q2(n,e,t,r)}function Ea(e){var t=qn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:mr,lastRenderedState:e},e=e.dispatch=Qf.bind(null,ze,e),[t.memoizedState,e]}function au(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=ze.updateQueue,t===null?(t={lastEffect:null},ze.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 Q2(e){var t=qn();return e={current:e},t.memoizedState=e}function lu(){return Xn().memoizedState}function Kf(e,t,r,n){var i=qn();ze.flags|=e,i.memoizedState=au(1|t,r,void 0,n===void 0?null:n)}function qf(e,t,r,n){var i=Xn();n=n===void 0?null:n;var o=void 0;if(ut!==null){var a=ut.memoizedState;if(o=a.destroy,n!==null&&Gf(n,a.deps)){au(t,r,o,n);return}}ze.flags|=e,i.memoizedState=au(1|t,r,o,n)}function J2(e,t){return Kf(516,4,e,t)}function su(e,t){return qf(516,4,e,t)}function eg(e,t){return qf(4,2,e,t)}function tg(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 rg(e,t,r){return r=r!=null?r.concat([e]):null,qf(4,2,tg.bind(null,t,e),r)}function Xf(){}function ng(e,t){var r=Xn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Gf(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function ig(e,t){var r=Xn();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Gf(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function M9(e,t){var r=Hi();Yn(98>r?98:r,function(){e(!0)}),Yn(97<r?97:r,function(){var n=zt.transition;zt.transition=1;try{e(!1),t()}finally{zt.transition=n}})}function Qf(e,t,r){var n=Lt(),i=hn(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===ze||a!==null&&a===ze)Ca=ou=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,s=a(l,r);if(o.eagerReducer=a,o.eagerState=s,Bt(s,l))return}catch{}finally{}vn(e,i,n)}}var uu={readContext:Nt,useCallback:wt,useContext:wt,useEffect:wt,useImperativeHandle:wt,useLayoutEffect:wt,useMemo:wt,useReducer:wt,useRef:wt,useState:wt,useDebugValue:wt,useDeferredValue:wt,useTransition:wt,useMutableSource:wt,useOpaqueIdentifier:wt,unstable_isNewReconciler:!1},O9={readContext:Nt,useCallback:function(e,t){return qn().memoizedState=[e,t===void 0?null:t],e},useContext:Nt,useEffect:J2,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Kf(4,2,tg.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Kf(4,2,e,t)},useMemo:function(e,t){var r=qn();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=qn();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=Qf.bind(null,ze,e),[n.memoizedState,e]},useRef:Q2,useState:Ea,useDebugValue:Xf,useDeferredValue:function(e){var t=Ea(e),r=t[0],n=t[1];return J2(function(){var i=zt.transition;zt.transition=1;try{n(e)}finally{zt.transition=i}},[e]),r},useTransition:function(){var e=Ea(!1),t=e[0];return e=M9.bind(null,e[1]),Q2(e),[e,t]},useMutableSource:function(e,t,r){var n=qn();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},q2(n,e,t,r)},useOpaqueIdentifier:function(){if(vr){var e=!1,t=S9(function(){throw e||(e=!0,r("r:"+(Of++).toString(36))),Error(W(355))}),r=Ea(t)[1];return(ze.mode&2)===0&&(ze.flags|=516,au(5,function(){r("r:"+(Of++).toString(36))},void 0,null)),t}return t="r:"+(Of++).toString(36),Ea(t),t},unstable_isNewReconciler:!1},L9={readContext:Nt,useCallback:ng,useContext:Nt,useEffect:su,useImperativeHandle:rg,useLayoutEffect:eg,useMemo:ig,useReducer:Sa,useRef:lu,useState:function(){return Sa(mr)},useDebugValue:Xf,useDeferredValue:function(e){var t=Sa(mr),r=t[0],n=t[1];return su(function(){var i=zt.transition;zt.transition=1;try{n(e)}finally{zt.transition=i}},[e]),r},useTransition:function(){var e=Sa(mr)[0];return[lu().current,e]},useMutableSource:X2,useOpaqueIdentifier:function(){return Sa(mr)[0]},unstable_isNewReconciler:!1},A9={readContext:Nt,useCallback:ng,useContext:Nt,useEffect:su,useImperativeHandle:rg,useLayoutEffect:eg,useMemo:ig,useReducer:ka,useRef:lu,useState:function(){return ka(mr)},useDebugValue:Xf,useDeferredValue:function(e){var t=ka(mr),r=t[0],n=t[1];return su(function(){var i=zt.transition;zt.transition=1;try{n(e)}finally{zt.transition=i}},[e]),r},useTransition:function(){var e=ka(mr)[0];return[lu().current,e]},useMutableSource:X2,useOpaqueIdentifier:function(){return ka(mr)[0]},unstable_isNewReconciler:!1},F9=zn.ReactCurrentOwner,Jt=!1;function Ct(e,t,r,n){t.child=e===null?W2(t,null,r,n):ru(t,e.child,r,n)}function og(e,t,r,n,i){r=r.render;var o=t.ref;return Wi(t,i),n=Yf(e,t,r,n,o,i),e!==null&&!Jt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Lr(e,t,i)):(t.flags|=1,Ct(e,t,n,i),t.child)}function ag(e,t,r,n,i,o){if(e===null){var a=r.type;return typeof a=="function"&&!w0(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,lg(e,t,a,n,i,o)):(e=bu(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,(i&o)===0&&(i=a.memoizedProps,r=r.compare,r=r!==null?r:ua,r(i,n)&&e.ref===t.ref)?Lr(e,t,o):(t.flags|=1,e=yn(a,n),e.ref=t.ref,e.return=t,t.child=e)}function lg(e,t,r,n,i,o){if(e!==null&&ua(e.memoizedProps,n)&&e.ref===t.ref)if(Jt=!1,(o&i)!==0)(e.flags&16384)!==0&&(Jt=!0);else return t.lanes=e.lanes,Lr(e,t,o);return e0(e,t,r,n,o)}function Jf(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)===0)t.memoizedState={baseLanes:0},yu(t,r);else if((r&1073741824)!==0)t.memoizedState={baseLanes:0},yu(t,o!==null?o.baseLanes:r);else return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},yu(t,e),null;else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,yu(t,n);return Ct(e,t,i,r),t.child}function sg(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function e0(e,t,r,n,i){var o=xt(r)?Zn:lt.current;return o=zi(t,o),Wi(t,i),r=Yf(e,t,r,n,o,i),e!==null&&!Jt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Lr(e,t,i)):(t.flags|=1,Ct(e,t,r,i),t.child)}function ug(e,t,r,n,i){if(xt(r)){var o=!0;Zs(t)}else o=!1;if(Wi(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),z2(t,r,n),zf(t,r,n,i),n=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=r.contextType;typeof u=="object"&&u!==null?u=Nt(u):(u=xt(r)?Zn:lt.current,u=zi(t,u));var c=r.getDerivedStateFromProps,p=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==n||s!==u)&&H2(t,a,n,u),un=!1;var f=t.memoizedState;a.state=f,va(t,n,a,i),s=t.memoizedState,l!==n||f!==s||bt.current||un?(typeof c=="function"&&(Qs(t,r,c,n),s=t.memoizedState),(l=un||N2(t,r,l,n,f,s,u))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=s),a.props=n,a.state=s,a.context=u,n=l):(typeof a.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{a=t.stateNode,R2(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Qt(t.type,l),a.props=u,p=t.pendingProps,f=a.context,s=r.contextType,typeof s=="object"&&s!==null?s=Nt(s):(s=xt(r)?Zn:lt.current,s=zi(t,s));var h=r.getDerivedStateFromProps;(c=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==p||f!==s)&&H2(t,a,n,s),un=!1,f=t.memoizedState,a.state=f,va(t,n,a,i);var m=t.memoizedState;l!==p||f!==m||bt.current||un?(typeof h=="function"&&(Qs(t,r,h,n),m=t.memoizedState),(u=un||N2(t,r,u,n,f,m,s))?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,m,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,m,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=m),a.props=n,a.state=m,a.context=s,n=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return t0(e,t,r,n,o,i)}function t0(e,t,r,n,i,o){sg(e,t);var a=(t.flags&64)!==0;if(!n&&!a)return i&&_2(t,r,!1),Lr(e,t,o);n=t.stateNode,F9.current=t;var l=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=ru(t,e.child,null,o),t.child=ru(t,null,l,o)):Ct(e,t,l,o),t.memoizedState=n.state,i&&_2(t,r,!0),t.child}function cg(e){var t=e.stateNode;t.pendingContext?k2(e,t.pendingContext,t.pendingContext!==t.context):t.context&&k2(e,t.context,!1),Hf(e,t.containerInfo)}var cu={dehydrated:null,retryLane:0};function dg(e,t,r){var n=t.pendingProps,i=Re.current,o=!1,a;return(a=(t.flags&64)!==0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),De(Re,i&1),e===null?(n.fallback!==void 0&&Wf(t),e=n.children,i=n.fallback,o?(e=fg(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=cu,e):typeof n.unstable_expectedLoadTime=="number"?(e=fg(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=cu,t.lanes=33554432,e):(r=C0({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?o?(n=hg(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=cu,n):(r=pg(e,t,n.children,r),t.memoizedState=null,r):o?(n=hg(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=cu,n):(r=pg(e,t,n.children,r),t.memoizedState=null,r)}function fg(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},(i&2)===0&&o!==null?(o.childLanes=0,o.pendingProps=t):o=C0(t,i,0,null),r=Qi(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function pg(e,t,r,n){var i=e.child;return e=i.sibling,r=yn(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 hg(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:r};return(o&2)===0&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,a=r.lastEffect,a!==null?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=yn(a,l),e!==null?n=yn(e,n):(n=Qi(n,o,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function vg(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),D2(e.return,t)}function r0(e,t,r,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function mg(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Ct(e,t,n.children,r),n=Re.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&&vg(e,r);else if(e.tag===19)vg(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(De(Re,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&&nu(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),r0(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&nu(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}r0(t,!0,r,null,o,t.lastEffect);break;case"together":r0(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Lr(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Pa|=t.lanes,(r&t.childLanes)!==0){if(e!==null&&t.child!==e.child)throw Error(W(153));if(t.child!==null){for(e=t.child,r=yn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=yn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var gg,n0,yg,bg;gg=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}},n0=function(){},yg=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Kn(hr.current);var o=null;switch(r){case"input":i=Nd(e,i),n=Nd(e,n),o=[];break;case"option":i=jd(e,i),n=jd(e,n),o=[];break;case"select":i=Oe({},i,{value:void 0}),n=Oe({},n,{value:void 0}),o=[];break;case"textarea":i=Wd(e,i),n=Wd(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=zs)}Gd(r,n);var a;r=null;for(u in i)if(!n.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(zo.hasOwnProperty(u)?o||(o=[]):(o=o||[]).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(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(r||(r={}),r[a]=s[a])}else r||(o||(o=[]),o.push(u,r)),r=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(zo.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&_e("scroll",e),o||l===s||(o=[])):typeof s=="object"&&s!==null&&s.$$typeof===Dd?s.toString():(o=o||[]).push(u,s))}r&&(o=o||[]).push("style",r);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},bg=function(e,t,r,n){r!==n&&(t.flags|=4)};function _a(e,t){if(!vr)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 I9(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 xt(t.type)&&Us(),null;case 3:return Ui(),Pe(bt),Pe(lt),Zf(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(iu(t)?t.flags|=4:n.hydrate||(t.flags|=256)),n0(t),null;case 5:jf(t);var i=Kn(ba.current);if(r=t.type,e!==null&&t.stateNode!=null)yg(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(W(166));return null}if(e=Kn(hr.current),iu(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[an]=t,n[js]=o,r){case"dialog":_e("cancel",n),_e("close",n);break;case"iframe":case"object":case"embed":_e("load",n);break;case"video":case"audio":for(e=0;e<da.length;e++)_e(da[e],n);break;case"source":_e("error",n);break;case"img":case"image":case"link":_e("error",n),_e("load",n);break;case"details":_e("toggle",n);break;case"input":um(n,o),_e("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},_e("invalid",n);break;case"textarea":fm(n,o),_e("invalid",n)}Gd(r,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):zo.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&_e("scroll",n));switch(r){case"input":ks(n),dm(n,o,!0);break;case"textarea":ks(n),hm(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=zs)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===Ud.html&&(e=vm(r)),e===Ud.html?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[an]=t,e[js]=n,gg(e,t,!1,!1),t.stateNode=e,a=Yd(r,n),r){case"dialog":_e("cancel",e),_e("close",e),i=n;break;case"iframe":case"object":case"embed":_e("load",e),i=n;break;case"video":case"audio":for(i=0;i<da.length;i++)_e(da[i],e);i=n;break;case"source":_e("error",e),i=n;break;case"img":case"image":case"link":_e("error",e),_e("load",e),i=n;break;case"details":_e("toggle",e),i=n;break;case"input":um(e,n),i=Nd(e,n),_e("invalid",e);break;case"option":i=jd(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=Oe({},n,{value:void 0}),_e("invalid",e);break;case"textarea":fm(e,n),i=Wd(e,n),_e("invalid",e);break;default:i=n}Gd(r,i);var l=i;for(o in l)if(l.hasOwnProperty(o)){var s=l[o];o==="style"?ym(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&mm(e,s)):o==="children"?typeof s=="string"?(r!=="textarea"||s!=="")&&Go(e,s):typeof s=="number"&&Go(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(zo.hasOwnProperty(o)?s!=null&&o==="onScroll"&&_e("scroll",e):s!=null&&Md(e,o,s,a))}switch(r){case"input":ks(e),dm(e,n,!1);break;case"textarea":ks(e),hm(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Jr(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?Pi(e,!!n.multiple,o,!1):n.defaultValue!=null&&Pi(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=zs)}b2(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)bg(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(W(166));r=Kn(ba.current),Kn(hr.current),iu(t)?(n=t.stateNode,r=t.memoizedProps,n[an]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[an]=t,t.stateNode=n)}return null;case 13:return Pe(Re),n=t.memoizedState,(t.flags&64)!==0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&iu(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!==0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Re.current&1)!==0?tt===0&&(tt=3):((tt===0||tt===3)&&(tt=4),pt===null||(Pa&134217727)===0&&(Yi&134217727)===0||qi(pt,ct))),(n||r)&&(t.flags|=4),null);case 4:return Ui(),n0(t),e===null&&h2(t.stateNode.containerInfo),null;case 10:return Bf(t),null;case 17:return xt(t.type)&&Us(),null;case 19:if(Pe(Re),n=t.memoizedState,n===null)return null;if(o=(t.flags&64)!==0,a=n.rendering,a===null)if(o)_a(n,!1);else{if(tt!==0||e!==null&&(e.flags&64)!==0)for(e=t.child;e!==null;){if(a=nu(e),a!==null){for(t.flags|=64,_a(n,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return De(Re,Re.current&1|2),t.child}e=e.sibling}n.tail!==null&&st()>h0&&(t.flags|=64,o=!0,_a(n,!1),t.lanes=33554432)}else{if(!o)if(e=nu(a),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),_a(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!vr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*st()-n.renderingStartTime>h0&&r!==1073741824&&(t.flags|=64,o=!0,_a(n,!1),t.lanes=33554432);n.isBackwards?(a.sibling=t.child,t.child=a):(r=n.last,r!==null?r.sibling=a:t.child=a,n.last=a)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=st(),r.sibling=null,t=Re.current,De(Re,o?t&1|2:t&1),r):null;case 23:case 24:return x0(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(W(156,t.tag))}function D9(e){switch(e.tag){case 1:xt(e.type)&&Us();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Ui(),Pe(bt),Pe(lt),Zf(),t=e.flags,(t&64)!==0)throw Error(W(285));return e.flags=t&-4097|64,e;case 5:return jf(e),null;case 13:return Pe(Re),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Pe(Re),null;case 4:return Ui(),null;case 10:return Bf(e),null;case 23:case 24:return x0(),null;default:return null}}function i0(e,t){try{var r="",n=t;do r+=vx(n),n=n.return;while(n);var i=r}catch(o){i=`
308
308
  Error generating stack: `+o.message+`
309
- `+o.stack}return{value:e,source:t,stack:i}}function Df(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var F9=typeof WeakMap=="function"?WeakMap:Map;function N2(e,t,r){r=en(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Js||(Js=!0,Yf=n),Df(e,t)},r}function j2(e,t,r){r=en(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return Df(e,t),n(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(pr===null?pr=new Set([this]):pr.add(this),Df(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}var R9=typeof WeakSet=="function"?WeakSet:Set;function W2(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){sn(e,r)}else t.current=null}function V9(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:Xt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&uf(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(W(163))}function I9(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&&(o5(r,e),W9(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:Xt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&a2(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}a2(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&Hm(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&&rm(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(W(163))}function U2(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=Dv("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 Z2(e,t){if(zn&&typeof zn.onCommitFiberUnmount=="function")try{zn.onCommitFiberUnmount(ff,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)o5(t,r);else{n=t;try{i()}catch(o){sn(n,o)}}r=r.next}while(r!==e)}break;case 1:if(W2(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){sn(t,o)}break;case 5:W2(t);break;case 4:X2(e,t)}}function G2(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 q2(e){return e.tag===5||e.tag===3||e.tag===4}function Y2(e){e:{for(var t=e.return;t!==null;){if(q2(t))break e;t=t.return}throw Error(W(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(W(161))}r.flags&16&&(zo(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||q2(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?zf(e,r,t):Hf(e,r,t)}function zf(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=Ts));else if(n!==4&&(e=e.child,e!==null))for(zf(e,t,r),e=e.sibling;e!==null;)zf(e,t,r),e=e.sibling}function Hf(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(Hf(e,t,r),e=e.sibling;e!==null;)Hf(e,t,r),e=e.sibling}function X2(e,t){for(var r=t,n=!1,i,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(W(160));switch(i=n.stateNode,n.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var a=e,l=r,s=l;;)if(Z2(a,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}o?(a=i,l=r.stateNode,a.nodeType===8?a.parentNode.removeChild(l):a.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(Z2(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 Nf(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 o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[Ms]=n,e==="input"&&n.type==="radio"&&n.name!=null&&Ov(r,n),_d(e,i),t=_d(e,n),i=0;i<o.length;i+=2){var a=o[i],l=o[i+1];a==="style"?zv(r,l):a==="dangerouslySetInnerHTML"?$v(r,l):a==="children"?zo(r,l):ud(r,a,l,t)}switch(e){case"input":wd(r,n);break;case"textarea":Vv(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,o=n.value,o!=null?xi(r,!!n.multiple,o,!1):e!==!!n.multiple&&(n.defaultValue!=null?xi(r,!!n.multiple,n.defaultValue,!0):xi(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(W(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,rm(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(Gf=ot(),U2(t.child,!0)),K2(t);return;case 19:K2(t);return;case 17:return;case 23:case 24:U2(t,t.memoizedState!==null);return}throw Error(W(163))}function K2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new R9),t.forEach(function(n){var i=G9.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function B9(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var $9=Math.ceil,Ks=Rn.ReactCurrentDispatcher,jf=Rn.ReactCurrentOwner,J=0,dt=null,je=null,lt=0,Un=0,Wf=Kr(0),Qe=0,Qs=null,zi=0,xa=0,Hi=0,Uf=0,Zf=null,Gf=0,qf=1/0;function Ni(){qf=ot()+500}var Y=null,Js=!1,Yf=null,pr=null,nn=!1,wa=null,Ca=90,Xf=[],Kf=[],Pr=null,Sa=0,Qf=null,eu=-1,Tr=0,tu=0,ka=null,ru=!1;function Pt(){return(J&48)!==0?ot():eu!==-1?eu:eu=ot()}function on(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Vi()===99?1:2;if(Tr===0&&(Tr=zi),E9.transition!==0){tu!==0&&(tu=Zf!==null?Zf.pendingLanes:0),e=Tr;var t=4186112&~tu;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Vi(),(J&4)!==0&&e===98?e=ys(12,Tr):(e=_b(e),e=ys(e,Tr)),e}function an(e,t,r){if(50<Sa)throw Sa=0,Qf=null,Error(W(185));if(e=nu(e,t),e===null)return null;bs(e,t,r),e===dt&&(Hi|=t,Qe===4&&ji(e,lt));var n=Vi();t===1?(J&8)!==0&&(J&48)===0?Jf(e):($t(e,r),J===0&&(Ni(),ur())):((J&4)===0||n!==98&&n!==99||(Pr===null?Pr=new Set([e]):Pr.add(e)),$t(e,r)),Zf=e}function nu(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 $t(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-qr(a),s=1<<l,u=o[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,ki(s);var c=ge;o[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(n=Xo(e,e===dt?lt:0),t=ge,n===0)r!==null&&(r!==mf&&hf(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==mf&&hf(r)}t===15?(r=Jf.bind(null,e),Sr===null?(Sr=[r],Rs=pf(Fs,r2)):Sr.push(r),r=mf):t===14?r=la(99,Jf.bind(null,e)):(r=Mb(t),r=la(r,Q2.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Q2(e){if(eu=-1,tu=Tr=0,(J&48)!==0)throw Error(W(327));var t=e.callbackNode;if(ln()&&e.callbackNode!==t)return null;var r=Xo(e,e===dt?lt:0);if(r===0)return null;var n=r,i=J;J|=16;var o=r5();(dt!==e||lt!==n)&&(Ni(),Wi(e,n));do try{H9();break}catch(l){t5(e,l)}while(1);if(yf(),Ks.current=o,J=i,je!==null?n=0:(dt=null,lt=0,n=Qe),(zi&Hi)!==0)Wi(e,0);else if(n!==0){if(n===2&&(J|=64,e.hydrate&&(e.hydrate=!1,uf(e.containerInfo)),r=um(e),r!==0&&(n=Ea(e,r))),n===1)throw t=Qs,Wi(e,0),ji(e,r),$t(e,ot()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(W(345));case 2:Zn(e);break;case 3:if(ji(e,r),(r&62914560)===r&&(n=Gf+500-ot(),10<n)){if(Xo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Pt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Nm(Zn.bind(null,e),n);break}Zn(e);break;case 4:if(ji(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var a=31-qr(r);o=1<<a,a=n[a],a>i&&(i=a),r&=~o}if(r=i,r=ot()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*$9(r/1960))-r,10<r){e.timeoutHandle=Nm(Zn.bind(null,e),r);break}Zn(e);break;case 5:Zn(e);break;default:throw Error(W(329))}}return $t(e,ot()),e.callbackNode===t?Q2.bind(null,e):null}function ji(e,t){for(t&=~Uf,t&=~Hi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-qr(t),n=1<<r;e[r]=-1,t&=~n}}function Jf(e){if((J&48)!==0)throw Error(W(327));if(ln(),e===dt&&(e.expiredLanes&lt)!==0){var t=lt,r=Ea(e,t);(zi&Hi)!==0&&(t=Xo(e,t),r=Ea(e,t))}else t=Xo(e,0),r=Ea(e,t);if(e.tag!==0&&r===2&&(J|=64,e.hydrate&&(e.hydrate=!1,uf(e.containerInfo)),t=um(e),t!==0&&(r=Ea(e,t))),r===1)throw r=Qs,Wi(e,0),ji(e,t),$t(e,ot()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Zn(e),$t(e,ot()),null}function D9(){if(Pr!==null){var e=Pr;Pr=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,$t(t,ot())})}ur()}function J2(e,t){var r=J;J|=1;try{return e(t)}finally{J=r,J===0&&(Ni(),ur())}}function e5(e,t){var r=J;J&=-2,J|=8;try{return e(t)}finally{J=r,J===0&&(Ni(),ur())}}function iu(e,t){Ae(Wf,Un),Un|=t,zi|=t}function e0(){Un=Wf.current,Ce(Wf)}function Wi(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,b9(r)),je!==null)for(r=je.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&As();break;case 3:$i(),Ce(mt),Ce(it),Pf();break;case 5:Sf(n);break;case 4:$i();break;case 13:Ce(Oe);break;case 19:Ce(Oe);break;case 10:bf(n);break;case 23:case 24:e0()}r=r.return}dt=e,je=un(e.current,null),lt=Un=zi=t,Qe=0,Qs=null,Uf=Hi=xa=0}function t5(e,t){do{var r=je;try{if(yf(),pa.current=Ys,Us){for(var n=De.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Us=!1}if(ha=0,Ke=at=De=null,va=!1,jf.current=null,r===null||r.return===null){Qe=1,Qs=t,je=null;break}e:{var o=e,a=r.return,l=r,s=t;if(t=lt,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 p=(Oe.current&1)!==0,f=a;do{var h;if(h=f.tag===13){var m=f.memoizedState;if(m!==null)h=m.dehydrated!==null;else{var y=f.memoizedProps;h=y.fallback===void 0?!1:y.unstable_avoidThisFallback!==!0?!0:!p}}if(h){var v=f.updateQueue;if(v===null){var g=new Set;g.add(u),f.updateQueue=g}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 b=en(-1,1);b.tag=2,tn(l,b)}l.lanes|=1;break e}s=void 0,l=t;var x=o.pingCache;if(x===null?(x=o.pingCache=new F9,s=new Set,x.set(u,s)):(s=x.get(u),s===void 0&&(s=new Set,x.set(u,s))),!s.has(l)){s.add(l);var w=Z9.bind(null,o,u,l);u.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);s=Error((bi(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
309
+ `+o.stack}return{value:e,source:t,stack:i}}function o0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var R9=typeof WeakMap=="function"?WeakMap:Map;function xg(e,t,r){r=cn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){pu||(pu=!0,v0=n),o0(e,t)},r}function wg(e,t,r){r=cn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return o0(e,t),n(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(gr===null?gr=new Set([this]):gr.add(this),o0(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}var V9=typeof WeakSet=="function"?WeakSet:Set;function Cg(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){gn(e,r)}else t.current=null}function $9(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:Qt(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Mf(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(W(163))}function B9(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&&(Vg(r,e),G9(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:Qt(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&$2(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}$2(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&b2(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&&Im(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(W(163))}function Sg(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=gm("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 kg(e,t){if(Gn&&typeof Gn.onCommitFiberUnmount=="function")try{Gn.onCommitFiberUnmount(Af,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)Vg(t,r);else{n=t;try{i()}catch(o){gn(n,o)}}r=r.next}while(r!==e)}break;case 1:if(Cg(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){gn(t,o)}break;case 5:Cg(t);break;case 4:Tg(e,t)}}function Eg(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 _g(e){return e.tag===5||e.tag===3||e.tag===4}function Pg(e){e:{for(var t=e.return;t!==null;){if(_g(t))break e;t=t.return}throw Error(W(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(W(161))}r.flags&16&&(Go(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||_g(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?a0(e,r,t):l0(e,r,t)}function a0(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=zs));else if(n!==4&&(e=e.child,e!==null))for(a0(e,t,r),e=e.sibling;e!==null;)a0(e,t,r),e=e.sibling}function l0(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(l0(e,t,r),e=e.sibling;e!==null;)l0(e,t,r),e=e.sibling}function Tg(e,t){for(var r=t,n=!1,i,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(W(160));switch(i=n.stateNode,n.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var a=e,l=r,s=l;;)if(kg(a,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}o?(a=i,l=r.stateNode,a.nodeType===8?a.parentNode.removeChild(l):a.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(kg(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 s0(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 o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[js]=n,e==="input"&&n.type==="radio"&&n.name!=null&&cm(r,n),Yd(e,i),t=Yd(e,n),i=0;i<o.length;i+=2){var a=o[i],l=o[i+1];a==="style"?ym(r,l):a==="dangerouslySetInnerHTML"?mm(r,l):a==="children"?Go(r,l):Md(r,a,l,t)}switch(e){case"input":zd(r,n);break;case"textarea":pm(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,o=n.value,o!=null?Pi(r,!!n.multiple,o,!1):e!==!!n.multiple&&(n.defaultValue!=null?Pi(r,!!n.multiple,n.defaultValue,!0):Pi(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(W(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,Im(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(p0=st(),Sg(t.child,!0)),Mg(t);return;case 19:Mg(t);return;case 17:return;case 23:case 24:Sg(t,t.memoizedState!==null);return}throw Error(W(163))}function Mg(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new V9),t.forEach(function(n){var i=q9.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function N9(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var z9=Math.ceil,du=zn.ReactCurrentDispatcher,u0=zn.ReactCurrentOwner,re=0,pt=null,Ze=null,ct=0,Qn=0,c0=ln(0),tt=0,fu=null,Gi=0,Pa=0,Yi=0,d0=0,f0=null,p0=0,h0=1/0;function Ki(){h0=st()+500}var q=null,pu=!1,v0=null,gr=null,pn=!1,Ta=null,Ma=90,m0=[],g0=[],Ar=null,Oa=0,y0=null,hu=-1,Fr=0,vu=0,La=null,mu=!1;function Lt(){return(re&48)!==0?st():hu!==-1?hu:hu=st()}function hn(e){if(e=e.mode,(e&2)===0)return 1;if((e&4)===0)return Hi()===99?1:2;if(Fr===0&&(Fr=Gi),T9.transition!==0){vu!==0&&(vu=f0!==null?f0.pendingLanes:0),e=Fr;var t=4186112&~vu;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=Hi(),(re&4)!==0&&e===98?e=As(12,Fr):(e=Lx(e),e=As(e,Fr)),e}function vn(e,t,r){if(50<Oa)throw Oa=0,y0=null,Error(W(185));if(e=gu(e,t),e===null)return null;Fs(e,t,r),e===pt&&(Yi|=t,tt===4&&qi(e,ct));var n=Hi();t===1?(re&8)!==0&&(re&48)===0?b0(e):(Ht(e,r),re===0&&(Ki(),pr())):((re&4)===0||n!==98&&n!==99||(Ar===null?Ar=new Set([e]):Ar.add(e)),Ht(e,r)),f0=e}function gu(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 Ht(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-nn(a),s=1<<l,u=o[l];if(u===-1){if((s&n)===0||(s&i)!==0){u=t,Li(s);var c=Se;o[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(n=na(e,e===pt?ct:0),t=Se,n===0)r!==null&&(r!==Rf&&If(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==Rf&&If(r)}t===15?(r=b0.bind(null,e),Mr===null?(Mr=[r],Ys=Ff(Gs,I2)):Mr.push(r),r=Rf):t===14?r=ha(99,b0.bind(null,e)):(r=Ax(t),r=ha(r,Og.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Og(e){if(hu=-1,vu=Fr=0,(re&48)!==0)throw Error(W(327));var t=e.callbackNode;if(mn()&&e.callbackNode!==t)return null;var r=na(e,e===pt?ct:0);if(r===0)return null;var n=r,i=re;re|=16;var o=Ig();(pt!==e||ct!==n)&&(Ki(),Xi(e,n));do try{W9();break}catch(l){Fg(e,l)}while(1);if($f(),du.current=o,re=i,Ze!==null?n=0:(pt=null,ct=0,n=tt),(Gi&Yi)!==0)Xi(e,0);else if(n!==0){if(n===2&&(re|=64,e.hydrate&&(e.hydrate=!1,Mf(e.containerInfo)),r=zm(e),r!==0&&(n=Aa(e,r))),n===1)throw t=fu,Xi(e,0),qi(e,r),Ht(e,st()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(W(345));case 2:Jn(e);break;case 3:if(qi(e,r),(r&62914560)===r&&(n=p0+500-st(),10<n)){if(na(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Lt(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=x2(Jn.bind(null,e),n);break}Jn(e);break;case 4:if(qi(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var a=31-nn(r);o=1<<a,a=n[a],a>i&&(i=a),r&=~o}if(r=i,r=st()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*z9(r/1960))-r,10<r){e.timeoutHandle=x2(Jn.bind(null,e),r);break}Jn(e);break;case 5:Jn(e);break;default:throw Error(W(329))}}return Ht(e,st()),e.callbackNode===t?Og.bind(null,e):null}function qi(e,t){for(t&=~d0,t&=~Yi,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-nn(t),n=1<<r;e[r]=-1,t&=~n}}function b0(e){if((re&48)!==0)throw Error(W(327));if(mn(),e===pt&&(e.expiredLanes&ct)!==0){var t=ct,r=Aa(e,t);(Gi&Yi)!==0&&(t=na(e,t),r=Aa(e,t))}else t=na(e,0),r=Aa(e,t);if(e.tag!==0&&r===2&&(re|=64,e.hydrate&&(e.hydrate=!1,Mf(e.containerInfo)),t=zm(e),t!==0&&(r=Aa(e,t))),r===1)throw r=fu,Xi(e,0),qi(e,t),Ht(e,st()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Jn(e),Ht(e,st()),null}function H9(){if(Ar!==null){var e=Ar;Ar=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,Ht(t,st())})}pr()}function Lg(e,t){var r=re;re|=1;try{return e(t)}finally{re=r,re===0&&(Ki(),pr())}}function Ag(e,t){var r=re;re&=-2,re|=8;try{return e(t)}finally{re=r,re===0&&(Ki(),pr())}}function yu(e,t){De(c0,Qn),Qn|=t,Gi|=t}function x0(){Qn=c0.current,Pe(c0)}function Xi(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,C9(r)),Ze!==null)for(r=Ze.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Us();break;case 3:Ui(),Pe(bt),Pe(lt),Zf();break;case 5:jf(n);break;case 4:Ui();break;case 13:Pe(Re);break;case 19:Pe(Re);break;case 10:Bf(n);break;case 23:case 24:x0()}r=r.return}pt=e,Ze=yn(e.current,null),ct=Qn=Gi=t,tt=0,fu=null,d0=Yi=Pa=0}function Fg(e,t){do{var r=Ze;try{if($f(),xa.current=uu,ou){for(var n=ze.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}ou=!1}if(wa=0,et=ut=ze=null,Ca=!1,u0.current=null,r===null||r.return===null){tt=1,fu=t,Ze=null;break}e:{var o=e,a=r.return,l=r,s=t;if(t=ct,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 p=(Re.current&1)!==0,f=a;do{var h;if(h=f.tag===13){var m=f.memoizedState;if(m!==null)h=m.dehydrated!==null;else{var y=f.memoizedProps;h=y.fallback===void 0?!1:y.unstable_avoidThisFallback!==!0?!0:!p}}if(h){var v=f.updateQueue;if(v===null){var g=new Set;g.add(u),f.updateQueue=g}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 b=cn(-1,1);b.tag=2,dn(l,b)}l.lanes|=1;break e}s=void 0,l=t;var w=o.pingCache;if(w===null?(w=o.pingCache=new R9,s=new Set,w.set(u,s)):(s=w.get(u),s===void 0&&(s=new Set,w.set(u,s))),!s.has(l)){s.add(l);var C=K9.bind(null,o,u,l);u.then(C,C)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(f!==null);s=Error((_i(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.`)}Qe!==5&&(Qe=2),s=$f(s,l),f=a;do{switch(f.tag){case 3:o=s,f.flags|=4096,t&=-t,f.lanes|=t;var k=N2(f,o,t);o2(f,k);break e;case 1:o=s;var E=f.type,P=f.stateNode;if((f.flags&64)===0&&(typeof E.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(pr===null||!pr.has(P)))){f.flags|=4096,t&=-t,f.lanes|=t;var L=j2(f,o,t);o2(f,L);break e}}f=f.return}while(f!==null)}i5(r)}catch(M){t=M,je===r&&r!==null&&(je=r=r.return);continue}break}while(1)}function r5(){var e=Ks.current;return Ks.current=Ys,e===null?Ys:e}function Ea(e,t){var r=J;J|=16;var n=r5();dt===e&&lt===t||Wi(e,t);do try{z9();break}catch(i){t5(e,i)}while(1);if(yf(),J=r,Ks.current=n,je!==null)throw Error(W(261));return dt=null,lt=0,Qe}function z9(){for(;je!==null;)n5(je)}function H9(){for(;je!==null&&!C9();)n5(je)}function n5(e){var t=l5(e.alternate,e,Un);e.memoizedProps=e.pendingProps,t===null?i5(e):je=t,jf.current=null}function i5(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=A9(r,t,Un),r!==null){je=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Un&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=O9(t),r!==null){r.flags&=2047,je=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){je=t;return}je=t=e}while(t!==null);Qe===0&&(Qe=5)}function Zn(e){var t=Vi();return Hn(99,N9.bind(null,e,t)),null}function N9(e,t){do ln();while(wa!==null);if((J&48)!==0)throw Error(W(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(W(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=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 a=e.eventTimes,l=e.expirationTimes;0<o;){var s=31-qr(o),u=1<<s;i[s]=0,a[s]=-1,l[s]=-1,o&=~u}if(Pr!==null&&(n&24)===0&&Pr.has(e)&&Pr.delete(e),e===dt&&(je=dt=null,lt=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=J,J|=32,jf.current=null,af=xs,a=Mm(),tf(a)){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,o=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var c=0,p=-1,f=-1,h=0,m=0,y=a,v=null;t:for(;;){for(var g;y!==l||o!==0&&y.nodeType!==3||(p=c+o),y!==s||u!==0&&y.nodeType!==3||(f=c+u),y.nodeType===3&&(c+=y.nodeValue.length),(g=y.firstChild)!==null;)v=y,y=g;for(;;){if(y===a)break t;if(v===l&&++h===o&&(p=c),v===s&&++m===u&&(f=c),(g=y.nextSibling)!==null)break;y=v,v=y.parentNode}y=g}l=p===-1||f===-1?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;lf={focusedElem:a,selectionRange:l},xs=!1,ka=null,ru=!1,Y=n;do try{j9()}catch(M){if(Y===null)throw Error(W(330));sn(Y,M),Y=Y.nextEffect}while(Y!==null);ka=null,Y=n;do try{for(a=e;Y!==null;){var b=Y.flags;if(b&16&&zo(Y.stateNode,""),b&128){var x=Y.alternate;if(x!==null){var w=x.ref;w!==null&&(typeof w=="function"?w(null):w.current=null)}}switch(b&1038){case 2:Y2(Y),Y.flags&=-3;break;case 6:Y2(Y),Y.flags&=-3,Nf(Y.alternate,Y);break;case 1024:Y.flags&=-1025;break;case 1028:Y.flags&=-1025,Nf(Y.alternate,Y);break;case 4:Nf(Y.alternate,Y);break;case 8:l=Y,X2(a,l);var k=l.alternate;G2(l),k!==null&&G2(k)}Y=Y.nextEffect}}catch(M){if(Y===null)throw Error(W(330));sn(Y,M),Y=Y.nextEffect}while(Y!==null);if(w=lf,x=Mm(),b=w.focusedElem,a=w.selectionRange,x!==b&&b&&b.ownerDocument&&_m(b.ownerDocument.documentElement,b)){for(a!==null&&tf(b)&&(x=a.start,w=a.end,w===void 0&&(w=x),"selectionStart"in b?(b.selectionStart=x,b.selectionEnd=Math.min(w,b.value.length)):(w=(x=b.ownerDocument||document)&&x.defaultView||window,w.getSelection&&(w=w.getSelection(),l=b.textContent.length,k=Math.min(a.start,l),a=a.end===void 0?k:Math.min(a.end,l),!w.extend&&k>a&&(l=a,a=k,k=l),l=Tm(b,k),o=Tm(b,a),l&&o&&(w.rangeCount!==1||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&(x=x.createRange(),x.setStart(l.node,l.offset),w.removeAllRanges(),k>a?(w.addRange(x),w.extend(o.node,o.offset)):(x.setEnd(o.node,o.offset),w.addRange(x)))))),x=[],w=b;w=w.parentNode;)w.nodeType===1&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<x.length;b++)w=x[b],w.element.scrollLeft=w.left,w.element.scrollTop=w.top}xs=!!af,lf=af=null,e.current=r,Y=n;do try{for(b=e;Y!==null;){var E=Y.flags;if(E&36&&I9(b,Y.alternate,Y),E&128){x=void 0;var P=Y.ref;if(P!==null){var L=Y.stateNode;switch(Y.tag){case 5:x=L;break;default:x=L}typeof P=="function"?P(x):P.current=x}}Y=Y.nextEffect}}catch(M){if(Y===null)throw Error(W(330));sn(Y,M),Y=Y.nextEffect}while(Y!==null);Y=null,k9(),J=i}else e.current=r;if(nn)nn=!1,wa=e,Ca=t;else for(Y=n;Y!==null;)t=Y.nextEffect,Y.nextEffect=null,Y.flags&8&&(E=Y,E.sibling=null,E.stateNode=null),Y=t;if(n=e.pendingLanes,n===0&&(pr=null),n===1?e===Qf?Sa++:(Sa=0,Qf=e):Sa=0,r=r.stateNode,zn&&typeof zn.onCommitFiberRoot=="function")try{zn.onCommitFiberRoot(ff,r,void 0,(r.current.flags&64)===64)}catch{}if($t(e,ot()),Js)throw Js=!1,e=Yf,Yf=null,e;return(J&8)!==0||ur(),null}function j9(){for(;Y!==null;){var e=Y.alternate;ru||ka===null||((Y.flags&8)!==0?Yv(Y,ka)&&(ru=!0):Y.tag===13&&B9(e,Y)&&Yv(Y,ka)&&(ru=!0));var t=Y.flags;(t&256)!==0&&V9(e,Y),(t&512)===0||nn||(nn=!0,la(97,function(){return ln(),null})),Y=Y.nextEffect}}function ln(){if(Ca!==90){var e=97<Ca?97:Ca;return Ca=90,Hn(e,U9)}return!1}function W9(e,t){Xf.push(t,e),nn||(nn=!0,la(97,function(){return ln(),null}))}function o5(e,t){Kf.push(t,e),nn||(nn=!0,la(97,function(){return ln(),null}))}function U9(){if(wa===null)return!1;var e=wa;if(wa=null,(J&48)!==0)throw Error(W(331));var t=J;J|=32;var r=Kf;Kf=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(s){if(o===null)throw Error(W(330));sn(o,s)}}for(r=Xf,Xf=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(o===null)throw Error(W(330));sn(o,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 J=t,ur(),!0}function a5(e,t,r){t=$f(r,t),t=N2(e,t,1),tn(e,t),t=Pt(),e=nu(e,1),e!==null&&(bs(e,1,t),$t(e,t))}function sn(e,t){if(e.tag===3)a5(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){a5(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(pr===null||!pr.has(n))){e=$f(t,e);var i=j2(r,e,1);if(tn(r,i),i=Pt(),r=nu(r,1),r!==null)bs(r,1,i),$t(r,i);else if(typeof n.componentDidCatch=="function"&&(pr===null||!pr.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function Z9(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Pt(),e.pingedLanes|=e.suspendedLanes&r,dt===e&&(lt&r)===r&&(Qe===4||Qe===3&&(lt&62914560)===lt&&500>ot()-Gf?Wi(e,0):Uf|=r),$t(e,t)}function G9(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=Vi()===99?1:2:(Tr===0&&(Tr=zi),t=Ei(62914560&~Tr),t===0&&(t=4194304))),r=Pt(),e=nu(e,t),e!==null&&(bs(e,t,r),$t(e,r))}var l5;l5=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||mt.current)Kt=!0;else if((r&n)!==0)Kt=(e.flags&16384)!==0;else{switch(Kt=!1,t.tag){case 3:O2(t),Ef();break;case 5:p2(t);break;case 1:gt(t.type)&&Os(t);break;case 4:Cf(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;Ae(Vs,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?F2(e,t,r):(Ae(Oe,Oe.current&1),t=Er(e,t,r),t!==null?t.sibling:null);Ae(Oe,Oe.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return $2(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ae(Oe,Oe.current),n)break;return null;case 23:case 24:return t.lanes=0,Ff(e,t,r)}return Er(e,t,r)}else Kt=!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,it.current),Bi(t,r),i=_f(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,gt(n)){var o=!0;Os(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,xf(t);var a=n.getDerivedStateFromProps;typeof a=="function"&&$s(t,n,a,e),i.updater=Ds,t.stateNode=i,i._reactInternals=t,wf(t,n,e,r),t=Vf(null,t,n,!0,o,r)}else t.tag=0,bt(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,o=i._init,i=o(i._payload),t.type=i,o=t.tag=Y9(i),e=Xt(i,e),o){case 0:t=Rf(null,t,i,e,r);break e;case 1:t=A2(null,t,i,e,r);break e;case 11:t=T2(null,t,i,e,r);break e;case 14:t=_2(null,t,i,Xt(i.type,e),n,r);break e}throw Error(W(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xt(n,i),Rf(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xt(n,i),A2(e,t,n,i,r);case 3:if(O2(t),n=t.updateQueue,e===null||n===null)throw Error(W(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,i2(e,t),sa(t,n,null,r),n=t.memoizedState.element,n===i)Ef(),t=Er(e,t,r);else{if(i=t.stateNode,(o=i.hydrate)&&(rn=Li(t.stateNode.containerInfo.firstChild),kr=t,o=dr=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],Di.push(o);for(r=f2(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else bt(e,t,n,r),Ef();t=t.child}return t;case 5:return p2(t),e===null&&kf(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,sf(n,i)?a=null:o!==null&&sf(n,o)&&(t.flags|=16),L2(e,t),bt(e,t,a,r),t.child;case 6:return e===null&&kf(t),null;case 13:return F2(e,t,r);case 4:return Cf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ns(t,null,n,r):bt(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xt(n,i),T2(e,t,n,i,r);case 7:return bt(e,t,t.pendingProps,r),t.child;case 8:return bt(e,t,t.pendingProps.children,r),t.child;case 12:return bt(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var l=t.type._context;if(Ae(Vs,l._currentValue),l._currentValue=o,a!==null)if(l=a.value,o=Vt(l,o)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,o):1073741823)|0,o===0){if(a.children===i.children&&!mt.current){t=Er(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){a=l.child;for(var u=s.firstContext;u!==null;){if(u.context===n&&(u.observedBits&o)!==0){l.tag===1&&(u=en(-1,r&-r),u.tag=2,tn(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),n2(l.return,r),s.lanes|=r;break}u=u.next}}else a=l.tag===10&&l.type===t.type?null:l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}bt(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,Bi(t,r),i=It(i,o.unstable_observedBits),n=n(i),t.flags|=1,bt(e,t,n,r),t.child;case 14:return i=t.type,o=Xt(i,t.pendingProps),o=Xt(i.type,o),_2(e,t,i,o,n,r);case 15:return M2(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Xt(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,gt(n)?(e=!0,Os(t)):e=!1,Bi(t,r),u2(t,n,i),wf(t,n,i,r),Vf(null,t,n,!0,e,r);case 19:return $2(e,t,r);case 23:return Ff(e,t,r);case 24:return Ff(e,t,r)}throw Error(W(156,t.tag))};function q9(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 Dt(e,t,r,n){return new q9(e,t,r,n)}function t0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Y9(e){if(typeof e=="function")return t0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===as)return 11;if(e===ss)return 14}return 2}function un(e,t){var r=e.alternate;return r===null?(r=Dt(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 ou(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")t0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case jr:return Ui(r.children,i,o,t);case Tv:a=8,i|=16;break;case cd:a=8,i|=1;break;case Io:return e=Dt(12,r,t,i|8),e.elementType=Io,e.type=Io,e.lanes=o,e;case Bo:return e=Dt(13,r,t,i),e.type=Bo,e.elementType=Bo,e.lanes=o,e;case ls:return e=Dt(19,r,t,i),e.elementType=ls,e.lanes=o,e;case md:return r0(r,i,o,t);case gd:return e=Dt(24,r,t,i),e.elementType=gd,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dd:a=10;break e;case fd:a=9;break e;case as:a=11;break e;case ss:a=14;break e;case pd:a=16,n=null;break e;case hd:a=22;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=Dt(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Ui(e,t,r,n){return e=Dt(7,e,n,t),e.lanes=r,e}function r0(e,t,r,n){return e=Dt(23,e,n,t),e.elementType=md,e.lanes=r,e}function n0(e,t,r){return e=Dt(6,e,null,t),e.lanes=r,e}function i0(e,t,r){return t=Dt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function X9(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=jd(0),this.expirationTimes=jd(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jd(0),this.mutableSourceEagerHydrationData=null}function K9(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Vn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function au(e,t,r,n){var i=t.current,o=Pt(),a=on(i);e:if(r){r=r._reactInternals;t:{if(Bn(r)!==r||r.tag!==1)throw Error(W(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(gt(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(W(171))}if(r.tag===1){var s=r.type;if(gt(s)){r=Gm(r,s,l);break e}}r=l}else r=Qr;return t.context===null?t.context=r:t.pendingContext=r,t=en(o,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),tn(i,t),an(i,a,o),a}function o0(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 s5(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function a0(e,t){s5(e,t),(e=e.alternate)&&s5(e,t)}function Q9(){return null}function l0(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new X9(e,t,r!=null&&r.hydrate===!0),t=Dt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,xf(t),e[Ai]=r.current,Im(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}l0.prototype.render=function(e){au(e,this._internalRoot,null,null)},l0.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;au(null,e,null,function(){t[Ai]=null})};function Pa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function J9(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 l0(e,0,t?{hydrate:!0}:void 0)}function lu(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var l=i;i=function(){var u=o0(a);l.call(u)}}au(t,a,e,i)}else{if(o=r._reactRootContainer=J9(r,n),a=o._internalRoot,typeof i=="function"){var s=i;i=function(){var u=o0(a);s.call(u)}}e5(function(){au(t,a,e,i)})}return o0(a)}Xv=function(e){if(e.tag===13){var t=Pt();an(e,4,t),a0(e,4)}},Bd=function(e){if(e.tag===13){var t=Pt();an(e,67108864,t),a0(e,67108864)}},Kv=function(e){if(e.tag===13){var t=Pt(),r=on(e);an(e,r,t),a0(e,r)}},Qv=function(e,t){return t()},Ld=function(e,t,r){switch(t){case"input":if(wd(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=Ls(n);if(!i)throw Error(W(90));Lv(n),wd(n,i)}}}break;case"textarea":Vv(e,r);break;case"select":t=r.value,t!=null&&xi(e,!!r.multiple,t,!1)}},Ad=J2,Wv=function(e,t,r,n,i){var o=J;J|=4;try{return Hn(98,e.bind(null,t,r,n,i))}finally{J=o,J===0&&(Ni(),ur())}},Od=function(){(J&49)===0&&(D9(),ln())},Uv=function(e,t){var r=J;J|=2;try{return e(t)}finally{J=r,J===0&&(Ni(),ur())}};function u5(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Pa(t))throw Error(W(200));return K9(e,t,null,r)}var ex={Events:[aa,Oi,Ls,Nv,jv,ln,{current:!1}]},Ta={findFiberByHostInstance:$n,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},tx={bundleType:Ta.bundleType,version:Ta.version,rendererPackageName:Ta.rendererPackageName,rendererConfig:Ta.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Rn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=qv(e),e===null?null:e.stateNode},findFiberByHostInstance:Ta.findFiberByHostInstance||Q9,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var su=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!su.isDisabled&&su.supportsFiber)try{ff=su.inject(tx),zn=su}catch{}}Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ex,Rt.createPortal=u5,Rt.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(W(188)):Error(W(268,Object.keys(e)));return e=qv(t),e=e===null?null:e.stateNode,e},Rt.flushSync=function(e,t){var r=J;if((r&48)!==0)return e(t);J|=1;try{if(e)return Hn(99,e.bind(null,t))}finally{J=r,ur()}},Rt.hydrate=function(e,t,r){if(!Pa(t))throw Error(W(200));return lu(null,e,t,!0,r)},Rt.render=function(e,t,r){if(!Pa(t))throw Error(W(200));return lu(null,e,t,!1,r)},Rt.unmountComponentAtNode=function(e){if(!Pa(e))throw Error(W(40));return e._reactRootContainer?(e5(function(){lu(null,null,e,!1,function(){e._reactRootContainer=null,e[Ai]=null})}),!0):!1},Rt.unstable_batchedUpdates=J2,Rt.unstable_createPortal=function(e,t){return u5(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},Rt.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Pa(r))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return lu(e,t,r,!1,n)},Rt.version="17.0.2";function c5(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c5)}catch(e){console.error(e)}}c5(),ad.exports=Rt;var d5=On({strict:!1,name:"PortalManagerContext"}),rx=d5[0],nx=d5[1];function ix(e){var t=e.children,r=e.zIndex;return C.createElement(rx,{value:{zIndex:r}},t)}function s0(){return s0=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},s0.apply(this,arguments)}function ox(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ax=["containerRef"],f5=On({strict:!1,name:"PortalContext"}),p5=f5[0],lx=f5[1],u0="chakra-portal",sx=".chakra-portal",ux=function(t){return C.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},cx=function(t){var r=t.appendToParentPortal,n=t.children,i=C.useRef(null),o=C.useRef(null),a=bv(),l=lx(),s=nx();Fo(function(){if(!!i.current){var c=i.current.ownerDocument,p=r&&l!=null?l:c.body;if(!!p){o.current=c.createElement("div"),o.current.className=u0,p.appendChild(o.current),a();var f=o.current;return function(){p.contains(f)&&p.removeChild(f)}}}},[]);var u=s!=null&&s.zIndex?C.createElement(ux,{zIndex:s==null?void 0:s.zIndex},n):n;return o.current?ad.exports.createPortal(C.createElement(p5,{value:o.current},u),o.current):C.createElement("span",{ref:i})},dx=function(t){var r=t.children,n=t.containerRef,i=t.appendToParentPortal,o=n.current,a=o!=null?o:Nr?document.body:void 0,l=C.useMemo(function(){var u=o==null?void 0:o.ownerDocument.createElement("div");return u&&(u.className=u0),u},[o]),s=bv();return Fo(function(){s()},[]),Fo(function(){if(!(!l||!a))return a.appendChild(l),function(){a.removeChild(l)}},[l,a]),a&&l?ad.exports.createPortal(C.createElement(p5,{value:i?l:null},r),l):null};function _a(e){var t=e.containerRef,r=ox(e,ax);return t?C.createElement(dx,s0({containerRef:t},r)):C.createElement(cx,r)}_a.defaultProps={appendToParentPortal:!0},_a.className=u0,_a.selector=sx;var uu={exports:{}},Ma={};/** @license React v17.0.2
311
+ Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}tt!==5&&(tt=2),s=i0(s,l),f=a;do{switch(f.tag){case 3:o=s,f.flags|=4096,t&=-t,f.lanes|=t;var k=xg(f,o,t);V2(f,k);break e;case 1:o=s;var _=f.type,E=f.stateNode;if((f.flags&64)===0&&(typeof _.getDerivedStateFromError=="function"||E!==null&&typeof E.componentDidCatch=="function"&&(gr===null||!gr.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t;var M=wg(f,o,t);V2(f,M);break e}}f=f.return}while(f!==null)}Rg(r)}catch(O){t=O,Ze===r&&r!==null&&(Ze=r=r.return);continue}break}while(1)}function Ig(){var e=du.current;return du.current=uu,e===null?uu:e}function Aa(e,t){var r=re;re|=16;var n=Ig();pt===e&&ct===t||Xi(e,t);do try{j9();break}catch(i){Fg(e,i)}while(1);if($f(),re=r,du.current=n,Ze!==null)throw Error(W(261));return pt=null,ct=0,tt}function j9(){for(;Ze!==null;)Dg(Ze)}function W9(){for(;Ze!==null&&!E9();)Dg(Ze)}function Dg(e){var t=Bg(e.alternate,e,Qn);e.memoizedProps=e.pendingProps,t===null?Rg(e):Ze=t,u0.current=null}function Rg(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=I9(r,t,Qn),r!==null){Ze=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Qn&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=D9(t),r!==null){r.flags&=2047,Ze=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Ze=t;return}Ze=t=e}while(t!==null);tt===0&&(tt=5)}function Jn(e){var t=Hi();return Yn(99,U9.bind(null,e,t)),null}function U9(e,t){do mn();while(Ta!==null);if((re&48)!==0)throw Error(W(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(W(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=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 a=e.eventTimes,l=e.expirationTimes;0<o;){var s=31-nn(o),u=1<<s;i[s]=0,a[s]=-1,l[s]=-1,o&=~u}if(Ar!==null&&(n&24)===0&&Ar.has(e)&&Ar.delete(e),e===pt&&(Ze=pt=null,ct=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=re,re|=32,u0.current=null,_f=Is,a=l2(),Cf(a)){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&u.rangeCount!==0){l=u.anchorNode,o=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch{l=null;break e}var c=0,p=-1,f=-1,h=0,m=0,y=a,v=null;t:for(;;){for(var g;y!==l||o!==0&&y.nodeType!==3||(p=c+o),y!==s||u!==0&&y.nodeType!==3||(f=c+u),y.nodeType===3&&(c+=y.nodeValue.length),(g=y.firstChild)!==null;)v=y,y=g;for(;;){if(y===a)break t;if(v===l&&++h===o&&(p=c),v===s&&++m===u&&(f=c),(g=y.nextSibling)!==null)break;y=v,v=y.parentNode}y=g}l=p===-1||f===-1?null:{start:p,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;Pf={focusedElem:a,selectionRange:l},Is=!1,La=null,mu=!1,q=n;do try{Z9()}catch(O){if(q===null)throw Error(W(330));gn(q,O),q=q.nextEffect}while(q!==null);La=null,q=n;do try{for(a=e;q!==null;){var b=q.flags;if(b&16&&Go(q.stateNode,""),b&128){var w=q.alternate;if(w!==null){var C=w.ref;C!==null&&(typeof C=="function"?C(null):C.current=null)}}switch(b&1038){case 2:Pg(q),q.flags&=-3;break;case 6:Pg(q),q.flags&=-3,s0(q.alternate,q);break;case 1024:q.flags&=-1025;break;case 1028:q.flags&=-1025,s0(q.alternate,q);break;case 4:s0(q.alternate,q);break;case 8:l=q,Tg(a,l);var k=l.alternate;Eg(l),k!==null&&Eg(k)}q=q.nextEffect}}catch(O){if(q===null)throw Error(W(330));gn(q,O),q=q.nextEffect}while(q!==null);if(C=Pf,w=l2(),b=C.focusedElem,a=C.selectionRange,w!==b&&b&&b.ownerDocument&&a2(b.ownerDocument.documentElement,b)){for(a!==null&&Cf(b)&&(w=a.start,C=a.end,C===void 0&&(C=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(C,b.value.length)):(C=(w=b.ownerDocument||document)&&w.defaultView||window,C.getSelection&&(C=C.getSelection(),l=b.textContent.length,k=Math.min(a.start,l),a=a.end===void 0?k:Math.min(a.end,l),!C.extend&&k>a&&(l=a,a=k,k=l),l=o2(b,k),o=o2(b,a),l&&o&&(C.rangeCount!==1||C.anchorNode!==l.node||C.anchorOffset!==l.offset||C.focusNode!==o.node||C.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(l.node,l.offset),C.removeAllRanges(),k>a?(C.addRange(w),C.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),C.addRange(w)))))),w=[],C=b;C=C.parentNode;)C.nodeType===1&&w.push({element:C,left:C.scrollLeft,top:C.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;b<w.length;b++)C=w[b],C.element.scrollLeft=C.left,C.element.scrollTop=C.top}Is=!!_f,Pf=_f=null,e.current=r,q=n;do try{for(b=e;q!==null;){var _=q.flags;if(_&36&&B9(b,q.alternate,q),_&128){w=void 0;var E=q.ref;if(E!==null){var M=q.stateNode;switch(q.tag){case 5:w=M;break;default:w=M}typeof E=="function"?E(w):E.current=w}}q=q.nextEffect}}catch(O){if(q===null)throw Error(W(330));gn(q,O),q=q.nextEffect}while(q!==null);q=null,P9(),re=i}else e.current=r;if(pn)pn=!1,Ta=e,Ma=t;else for(q=n;q!==null;)t=q.nextEffect,q.nextEffect=null,q.flags&8&&(_=q,_.sibling=null,_.stateNode=null),q=t;if(n=e.pendingLanes,n===0&&(gr=null),n===1?e===y0?Oa++:(Oa=0,y0=e):Oa=0,r=r.stateNode,Gn&&typeof Gn.onCommitFiberRoot=="function")try{Gn.onCommitFiberRoot(Af,r,void 0,(r.current.flags&64)===64)}catch{}if(Ht(e,st()),pu)throw pu=!1,e=v0,v0=null,e;return(re&8)!==0||pr(),null}function Z9(){for(;q!==null;){var e=q.alternate;mu||La===null||((q.flags&8)!==0?Pm(q,La)&&(mu=!0):q.tag===13&&N9(e,q)&&Pm(q,La)&&(mu=!0));var t=q.flags;(t&256)!==0&&$9(e,q),(t&512)===0||pn||(pn=!0,ha(97,function(){return mn(),null})),q=q.nextEffect}}function mn(){if(Ma!==90){var e=97<Ma?97:Ma;return Ma=90,Yn(e,Y9)}return!1}function G9(e,t){m0.push(t,e),pn||(pn=!0,ha(97,function(){return mn(),null}))}function Vg(e,t){g0.push(t,e),pn||(pn=!0,ha(97,function(){return mn(),null}))}function Y9(){if(Ta===null)return!1;var e=Ta;if(Ta=null,(re&48)!==0)throw Error(W(331));var t=re;re|=32;var r=g0;g0=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(s){if(o===null)throw Error(W(330));gn(o,s)}}for(r=m0,m0=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var l=i.create;i.destroy=l()}catch(s){if(o===null)throw Error(W(330));gn(o,s)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return re=t,pr(),!0}function $g(e,t,r){t=i0(r,t),t=xg(e,t,1),dn(e,t),t=Lt(),e=gu(e,1),e!==null&&(Fs(e,1,t),Ht(e,t))}function gn(e,t){if(e.tag===3)$g(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){$g(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n))){e=i0(t,e);var i=wg(r,e,1);if(dn(r,i),i=Lt(),r=gu(r,1),r!==null)Fs(r,1,i),Ht(r,i);else if(typeof n.componentDidCatch=="function"&&(gr===null||!gr.has(n)))try{n.componentDidCatch(t,e)}catch{}break}}r=r.return}}function K9(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Lt(),e.pingedLanes|=e.suspendedLanes&r,pt===e&&(ct&r)===r&&(tt===4||tt===3&&(ct&62914560)===ct&&500>st()-p0?Xi(e,0):d0|=r),Ht(e,t)}function q9(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=Hi()===99?1:2:(Fr===0&&(Fr=Gi),t=Ai(62914560&~Fr),t===0&&(t=4194304))),r=Lt(),e=gu(e,t),e!==null&&(Fs(e,t,r),Ht(e,r))}var Bg;Bg=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)Jt=!0;else if((r&n)!==0)Jt=(e.flags&16384)!==0;else{switch(Jt=!1,t.tag){case 3:cg(t),Uf();break;case 5:U2(t);break;case 1:xt(t.type)&&Zs(t);break;case 4:Hf(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;De(Ks,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?dg(e,t,r):(De(Re,Re.current&1),t=Lr(e,t,r),t!==null?t.sibling:null);De(Re,Re.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return mg(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),De(Re,Re.current),n)break;return null;case 23:case 24:return t.lanes=0,Jf(e,t,r)}return Lr(e,t,r)}else Jt=!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=zi(t,lt.current),Wi(t,r),i=Yf(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,xt(n)){var o=!0;Zs(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Nf(t);var a=n.getDerivedStateFromProps;typeof a=="function"&&Qs(t,n,a,e),i.updater=Js,t.stateNode=i,i._reactInternals=t,zf(t,n,e,r),t=t0(null,t,n,!0,o,r)}else t.tag=0,Ct(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,o=i._init,i=o(i._payload),t.type=i,o=t.tag=Q9(i),e=Qt(i,e),o){case 0:t=e0(null,t,i,e,r);break e;case 1:t=ug(null,t,i,e,r);break e;case 11:t=og(null,t,i,e,r);break e;case 14:t=ag(null,t,i,Qt(i.type,e),n,r);break e}throw Error(W(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),e0(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),ug(e,t,n,i,r);case 3:if(cg(t),n=t.updateQueue,e===null||n===null)throw Error(W(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,R2(e,t),va(t,n,null,r),n=t.memoizedState.element,n===i)Uf(),t=Lr(e,t,r);else{if(i=t.stateNode,(o=i.hydrate)&&(fn=Vi(t.stateNode.containerInfo.firstChild),Or=t,o=vr=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],Zi.push(o);for(r=W2(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Ct(e,t,n,r),Uf();t=t.child}return t;case 5:return U2(t),e===null&&Wf(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Tf(n,i)?a=null:o!==null&&Tf(n,o)&&(t.flags|=16),sg(e,t),Ct(e,t,a,r),t.child;case 6:return e===null&&Wf(t),null;case 13:return dg(e,t,r);case 4:return Hf(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ru(t,null,n,r):Ct(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),og(e,t,n,i,r);case 7:return Ct(e,t,t.pendingProps,r),t.child;case 8:return Ct(e,t,t.pendingProps.children,r),t.child;case 12:return Ct(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var l=t.type._context;if(De(Ks,l._currentValue),l._currentValue=o,a!==null)if(l=a.value,o=Bt(l,o)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,o):1073741823)|0,o===0){if(a.children===i.children&&!bt.current){t=Lr(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var s=l.dependencies;if(s!==null){a=l.child;for(var u=s.firstContext;u!==null;){if(u.context===n&&(u.observedBits&o)!==0){l.tag===1&&(u=cn(-1,r&-r),u.tag=2,dn(l,u)),l.lanes|=r,u=l.alternate,u!==null&&(u.lanes|=r),D2(l.return,r),s.lanes|=r;break}u=u.next}}else a=l.tag===10&&l.type===t.type?null:l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}Ct(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,Wi(t,r),i=Nt(i,o.unstable_observedBits),n=n(i),t.flags|=1,Ct(e,t,n,r),t.child;case 14:return i=t.type,o=Qt(i,t.pendingProps),o=Qt(i.type,o),ag(e,t,i,o,n,r);case 15:return lg(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Qt(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,xt(n)?(e=!0,Zs(t)):e=!1,Wi(t,r),z2(t,n,i),zf(t,n,i,r),t0(null,t,n,!0,e,r);case 19:return mg(e,t,r);case 23:return Jf(e,t,r);case 24:return Jf(e,t,r)}throw Error(W(156,t.tag))};function X9(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 jt(e,t,r,n){return new X9(e,t,r,n)}function w0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Q9(e){if(typeof e=="function")return w0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===xs)return 11;if(e===Cs)return 14}return 2}function yn(e,t){var r=e.alternate;return r===null?(r=jt(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 bu(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")w0(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Qr:return Qi(r.children,i,o,t);case om:a=8,i|=16;break;case Od:a=8,i|=1;break;case jo:return e=jt(12,r,t,i|8),e.elementType=jo,e.type=jo,e.lanes=o,e;case Wo:return e=jt(13,r,t,i),e.type=Wo,e.elementType=Wo,e.lanes=o,e;case ws:return e=jt(19,r,t,i),e.elementType=ws,e.lanes=o,e;case Rd:return C0(r,i,o,t);case Vd:return e=jt(24,r,t,i),e.elementType=Vd,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ld:a=10;break e;case Ad:a=9;break e;case xs:a=11;break e;case Cs:a=14;break e;case Fd:a=16,n=null;break e;case Id:a=22;break e}throw Error(W(130,e==null?e:typeof e,""))}return t=jt(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function Qi(e,t,r,n){return e=jt(7,e,n,t),e.lanes=r,e}function C0(e,t,r,n){return e=jt(23,e,n,t),e.elementType=Rd,e.lanes=r,e}function S0(e,t,r){return e=jt(6,e,null,t),e.lanes=r,e}function k0(e,t,r){return t=jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function J9(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=cf(0),this.expirationTimes=cf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=cf(0),this.mutableSourceEagerHydrationData=null}function ew(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Hn,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function xu(e,t,r,n){var i=t.current,o=Lt(),a=hn(i);e:if(r){r=r._reactInternals;t:{if(Wn(r)!==r||r.tag!==1)throw Error(W(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(xt(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(W(171))}if(r.tag===1){var s=r.type;if(xt(s)){r=E2(r,s,l);break e}}r=l}else r=sn;return t.context===null?t.context=r:t.pendingContext=r,t=cn(o,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),dn(i,t),vn(i,a,o),a}function E0(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 Ng(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function _0(e,t){Ng(e,t),(e=e.alternate)&&Ng(e,t)}function tw(){return null}function P0(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new J9(e,t,r!=null&&r.hydrate===!0),t=jt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,Nf(t),e[$i]=r.current,h2(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}P0.prototype.render=function(e){xu(e,this._internalRoot,null,null)},P0.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;xu(null,e,null,function(){t[$i]=null})};function Fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function rw(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 P0(e,0,t?{hydrate:!0}:void 0)}function wu(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var l=i;i=function(){var u=E0(a);l.call(u)}}xu(t,a,e,i)}else{if(o=r._reactRootContainer=rw(r,n),a=o._internalRoot,typeof i=="function"){var s=i;i=function(){var u=E0(a);s.call(u)}}Ag(function(){xu(t,a,e,i)})}return E0(a)}Tm=function(e){if(e.tag===13){var t=Lt();vn(e,4,t),_0(e,4)}},nf=function(e){if(e.tag===13){var t=Lt();vn(e,67108864,t),_0(e,67108864)}},Mm=function(e){if(e.tag===13){var t=Lt(),r=hn(e);vn(e,r,t),_0(e,r)}},Om=function(e,t){return t()},qd=function(e,t,r){switch(t){case"input":if(zd(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=Ws(n);if(!i)throw Error(W(90));sm(n),zd(n,i)}}}break;case"textarea":pm(e,r);break;case"select":t=r.value,t!=null&&Pi(e,!!r.multiple,t,!1)}},Xd=Lg,Cm=function(e,t,r,n,i){var o=re;re|=4;try{return Yn(98,e.bind(null,t,r,n,i))}finally{re=o,re===0&&(Ki(),pr())}},Qd=function(){(re&49)===0&&(H9(),mn())},Sm=function(e,t){var r=re;re|=2;try{return e(t)}finally{re=r,re===0&&(Ki(),pr())}};function zg(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fa(t))throw Error(W(200));return ew(e,t,null,r)}var nw={Events:[pa,Bi,Ws,xm,wm,mn,{current:!1}]},Ia={findFiberByHostInstance:Un,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},iw={bundleType:Ia.bundleType,version:Ia.version,rendererPackageName:Ia.rendererPackageName,rendererConfig:Ia.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:zn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=_m(e),e===null?null:e.stateNode},findFiberByHostInstance:Ia.findFiberByHostInstance||tw,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cu.isDisabled&&Cu.supportsFiber)try{Af=Cu.inject(iw),Gn=Cu}catch{}}$t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nw,$t.createPortal=zg,$t.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(W(188)):Error(W(268,Object.keys(e)));return e=_m(t),e=e===null?null:e.stateNode,e},$t.flushSync=function(e,t){var r=re;if((r&48)!==0)return e(t);re|=1;try{if(e)return Yn(99,e.bind(null,t))}finally{re=r,pr()}},$t.hydrate=function(e,t,r){if(!Fa(t))throw Error(W(200));return wu(null,e,t,!0,r)},$t.render=function(e,t,r){if(!Fa(t))throw Error(W(200));return wu(null,e,t,!1,r)},$t.unmountComponentAtNode=function(e){if(!Fa(e))throw Error(W(40));return e._reactRootContainer?(Ag(function(){wu(null,null,e,!1,function(){e._reactRootContainer=null,e[$i]=null})}),!0):!1},$t.unstable_batchedUpdates=Lg,$t.unstable_createPortal=function(e,t){return zg(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},$t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Fa(r))throw Error(W(200));if(e==null||e._reactInternals===void 0)throw Error(W(38));return wu(e,t,r,!1,n)},$t.version="17.0.2";function Hg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Hg)}catch(e){console.error(e)}}Hg(),_d.exports=$t;var jg=Pr({strict:!1,name:"PortalManagerContext"}),ow=jg[0],aw=jg[1];function lw(e){var t=e.children,r=e.zIndex;return x.createElement(ow,{value:{zIndex:r}},t)}function T0(){return T0=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},T0.apply(this,arguments)}function sw(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var uw=["containerRef"],Wg=Pr({strict:!1,name:"PortalContext"}),Ug=Wg[0],cw=Wg[1],M0="chakra-portal",dw=".chakra-portal",fw=function(t){return x.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},pw=function(t){var r=t.appendToParentPortal,n=t.children,i=x.useRef(null),o=x.useRef(null),a=Xv(),l=cw(),s=aw();No(function(){if(!!i.current){var c=i.current.ownerDocument,p=r&&l!=null?l:c.body;if(!!p){o.current=c.createElement("div"),o.current.className=M0,p.appendChild(o.current),a();var f=o.current;return function(){p.contains(f)&&p.removeChild(f)}}}},[]);var u=s!=null&&s.zIndex?x.createElement(fw,{zIndex:s==null?void 0:s.zIndex},n):n;return o.current?_d.exports.createPortal(x.createElement(Ug,{value:o.current},u),o.current):x.createElement("span",{ref:i})},hw=function(t){var r=t.children,n=t.containerRef,i=t.appendToParentPortal,o=n.current,a=o!=null?o:Xr?document.body:void 0,l=x.useMemo(function(){var u=o==null?void 0:o.ownerDocument.createElement("div");return u&&(u.className=M0),u},[o]),s=Xv();return No(function(){s()},[]),No(function(){if(!(!l||!a))return a.appendChild(l),function(){a.removeChild(l)}},[l,a]),a&&l?_d.exports.createPortal(x.createElement(Ug,{value:i?l:null},r),l):null};function Da(e){var t=e.containerRef,r=sw(e,uw);return t?x.createElement(hw,T0({containerRef:t},r)):x.createElement(pw,r)}Da.defaultProps={appendToParentPortal:!0},Da.className=M0,Da.selector=dw;var Su={exports:{}},Ra={};/** @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 fx=zr.default,h5=60103;if(Ma.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var v5=Symbol.for;h5=v5("react.element"),Ma.Fragment=v5("react.fragment")}var px=fx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,hx=Object.prototype.hasOwnProperty,vx={key:!0,ref:!0,__self:!0,__source:!0};function m5(e,t,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)hx.call(t,n)&&!vx.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:h5,type:e,key:o,ref:a,props:i,_owner:px.current}}Ma.jsx=m5,Ma.jsxs=m5,uu.exports=Ma;const d=uu.exports.jsx,D=uu.exports.jsxs,Zi=uu.exports.Fragment;var mx={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[]}}}},g5=mx,Gi=function(){},gx={document:g5,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Gi,removeEventListener:Gi,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Gi,removeListener:Gi}},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:Gi,setInterval:function(){return 0},clearInterval:Gi},yx=gx,bx={window:yx,document:g5},y5=Nr?{window,document}:bx,b5=O.createContext(y5);function x5(){return O.useContext(b5)}function xx(e){var t=e.children,r=e.environment,n=O.useState(null),i=n[0],o=n[1],a=O.useMemo(function(){var s,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,p=u?{document:u,window:c}:void 0,f=(s=r!=null?r:p)!=null?s:y5;return f},[i,r]),l=!i&&!r;return D(b5.Provider,{value:a,children:[t,l&&d("span",{ref:function(u){u&&o(u)}})]})}var cu={light:"chakra-ui-light",dark:"chakra-ui-dark"},wx={classList:{add:Ao,remove:Ao}},Cx=function(t){return Nr?t.body:wx};function Sx(e,t){var r=Cx(t);r.classList.add(e?cu.dark:cu.light),r.classList.remove(e?cu.light:cu.dark)}function kx(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var w5={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function Ex(e){var t,r=(t=kx(w5.dark))!=null?t:e==="dark";return r?"dark":"light"}function Px(e){if(!("matchMedia"in window))return Ao;var t=window.matchMedia(w5.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var C5={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){Nr&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},S5=function(){return typeof Storage!="undefined"},k5="chakra-ui-color-mode",Tx={get:function(t){if(!S5())return t;try{var r=localStorage.getItem(k5);return r!=null?r:t}catch{return t}},set:function(t){if(!!S5())try{localStorage.setItem(k5,t)}catch{}},type:"localStorage"},E5=C.createContext({}),P5=function(){var t=C.useContext(E5);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function _x(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,o=n.initialColorMode,a=e.colorModeManager,l=a===void 0?Tx:a,s=o==="dark"?"dark":"light",u=C.useState(l.type==="cookie"?l.get(s):s),c=u[0],p=u[1],f=x5(),h=f.document;C.useEffect(function(){if(Nr&&l.type==="localStorage"){var g=Ex(s);if(i)return p(g);var b=C5.get(),x=l.get();return p(b||x||(o==="system"?g:s))}},[l,i,s,o]),C.useEffect(function(){var g=c==="dark";Sx(g,h),C5.set(g?"dark":"light")},[c,h]);var m=C.useCallback(function(g,b){if(b===void 0&&(b=!1),!b)l.set(g);else if(l.get()&&!i)return;p(g)},[l,i]),y=C.useCallback(function(){m(c==="light"?"dark":"light")},[c,m]);C.useEffect(function(){var g=i||o==="system",b;return g&&(b=Px(m)),function(){b&&g&&b()}},[m,i,o]);var v=C.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Ao:y,setColorMode:t?Ao:m}},[c,m,y,t]);return C.createElement(E5.Provider,{value:v},r)}function La(){return La=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},La.apply(this,arguments)}var Mx=function(t,r){return function(n){var i=String(r),o=t?t+"."+i:i;return vt(n.__cssMap)&&o in n.__cssMap?n.__cssMap[o].varRef:r}};function Aa(e){var t=e.scale,r=e.transform,n=e.compose,i=function(a,l){var s,u=Mx(t,a)(l),c=(s=r==null?void 0:r(u,l))!=null?s:u;return n&&(c=n(c,l)),c};return i}function Qt(e,t){return function(r){var n={property:r,scale:e};return n.transform=Aa({scale:e,transform:t}),n}}var Lx=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function Ax(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:Lx(t),transform:r?Aa({scale:r,compose:n}):n}}var c0,d0,T5=["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 Ox(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(T5).join(" ")}function Fx(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(T5).join(" ")}var Rx={"--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(" ")},Vx={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 Ix(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 Bx={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},_5="& > :not(style) ~ :not(style)",$x=(c0={},c0[_5]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},c0),Dx=(d0={},d0[_5]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},d0);function du(e,t){return du=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},du(e,t)}function zx(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&&du(e,t)}function f0(){f0=function(i,o){return new r(i,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(i,o,a){var l=new RegExp(i,o);return t.set(l,a||t.get(i)),du(l,r.prototype)}zx(r,RegExp),r.prototype.exec=function(i){var o=e.exec.call(this,i);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(i,o){if(typeof o=="string"){var a=t.get(this);return e[Symbol.replace].call(this,i,o.replace(/\$<([^>]+)>/g,function(s,u){return"$"+a[u]}))}else if(typeof o=="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))),o.apply(this,s)})}else return e[Symbol.replace].call(this,i,o)};function n(i,o){var a=t.get(o);return Object.keys(a).reduce(function(l,s){return l[s]=i[a[s]],l},Object.create(null))}return f0.apply(this,arguments)}var p0={"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"},Hx=new Set(Object.values(p0)),M5=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Nx=function(t){return t.trim()};function jx(e,t){var r,n;if(e==null||M5.has(e))return e;var i=f0(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},a=o.type,l=o.values;if(!a||!l)return e;var s=a.includes("-gradient")?a:a+"-gradient",u=l.split(",").map(Nx).filter(Boolean),c=u[0],p=u.slice(1);if((p==null?void 0:p.length)===0)return e;var f=c in p0?p0[c]:c;p.unshift(f);var h=p.map(function(m){if(Hx.has(m))return m;var y=m.indexOf(" "),v=y!==-1?[m.substr(0,y),m.substr(y+1)]:[m],g=v[0],b=v[1],x=L5(b)?b:b&&b.split(" "),w="colors."+g,k=w in t.__cssMap?t.__cssMap[w].varRef:g;return x?[k].concat(Array.isArray(x)?x:[x]).join(" "):k});return s+"("+h.join(", ")+")"}var L5=function(t){return Kl(t)&&t.includes("(")&&t.includes(")")},Wx=function(t,r){return jx(t,r!=null?r:{})},Ux=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},hr=function(t){return function(r){return t+"("+r+")"}},pe={filter:function(t){return t!=="auto"?t:Rx},backdropFilter:function(t){return t!=="auto"?t:Vx},ring:function(t){return Ix(pe.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?Ox():t==="auto-gpu"?Fx():t},px:function(t){if(t==null)return t;var r=Ux(t),n=r.unitless;return n||An(t)?t+"px":t},fraction:function(t){return!An(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(nv(t)||t==null)return t;var r=Kl(t)&&!t.endsWith("deg");return An(t)||r?t+"deg":t},gradient:Wx,blur:hr("blur"),opacity:hr("opacity"),brightness:hr("brightness"),contrast:hr("contrast"),dropShadow:hr("drop-shadow"),grayscale:hr("grayscale"),hueRotate:hr("hue-rotate"),invert:hr("invert"),saturate:hr("saturate"),sepia:hr("sepia"),bgImage:function(t){if(t==null)return t;var r=L5(t)||M5.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=Bx[t])!=null?r:{},i=n.space,o=n.divide,a={flexDirection:t};return i&&(a[i]=1),o&&(a[o]=1),a}},T={borderWidths:Qt("borderWidths"),borderStyles:Qt("borderStyles"),colors:Qt("colors"),borders:Qt("borders"),radii:Qt("radii",pe.px),space:Qt("space",pe.px),spaceT:Qt("space",pe.px),degreeT:function(t){return{property:t,transform:pe.degree}},prop:function(t,r,n){return La({property:t,scale:r},r&&{transform:Aa({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:Qt("sizes",pe.px),sizesT:Qt("sizes",pe.fraction),shadows:Qt("shadows"),logical:Ax,blur:Qt("blur",pe.blur)},fu={background:T.colors("background"),backgroundColor:T.colors("backgroundColor"),backgroundImage:T.propT("backgroundImage",pe.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:pe.bgClip},bgSize:T.prop("backgroundSize"),bgPosition:T.prop("backgroundPosition"),bg:T.colors("background"),bgColor:T.colors("backgroundColor"),bgPos:T.prop("backgroundPosition"),bgRepeat:T.prop("backgroundRepeat"),bgAttachment:T.prop("backgroundAttachment"),bgGradient:T.propT("backgroundImage",pe.gradient),bgClip:{transform:pe.bgClip}};Object.assign(fu,{bgImage:fu.backgroundImage,bgImg:fu.backgroundImage});var de={border:T.borders("border"),borderWidth:T.borderWidths("borderWidth"),borderStyle:T.borderStyles("borderStyle"),borderColor:T.colors("borderColor"),borderRadius:T.radii("borderRadius"),borderTop:T.borders("borderTop"),borderBlockStart:T.borders("borderBlockStart"),borderTopLeftRadius:T.radii("borderTopLeftRadius"),borderStartStartRadius:T.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:T.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:T.radii("borderTopRightRadius"),borderStartEndRadius:T.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:T.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:T.borders("borderRight"),borderInlineEnd:T.borders("borderInlineEnd"),borderBottom:T.borders("borderBottom"),borderBlockEnd:T.borders("borderBlockEnd"),borderBottomLeftRadius:T.radii("borderBottomLeftRadius"),borderBottomRightRadius:T.radii("borderBottomRightRadius"),borderLeft:T.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:T.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:T.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:T.borders(["borderLeft","borderRight"]),borderInline:T.borders("borderInline"),borderY:T.borders(["borderTop","borderBottom"]),borderBlock:T.borders("borderBlock"),borderTopWidth:T.borderWidths("borderTopWidth"),borderBlockStartWidth:T.borderWidths("borderBlockStartWidth"),borderTopColor:T.colors("borderTopColor"),borderBlockStartColor:T.colors("borderBlockStartColor"),borderTopStyle:T.borderStyles("borderTopStyle"),borderBlockStartStyle:T.borderStyles("borderBlockStartStyle"),borderBottomWidth:T.borderWidths("borderBottomWidth"),borderBlockEndWidth:T.borderWidths("borderBlockEndWidth"),borderBottomColor:T.colors("borderBottomColor"),borderBlockEndColor:T.colors("borderBlockEndColor"),borderBottomStyle:T.borderStyles("borderBottomStyle"),borderBlockEndStyle:T.borderStyles("borderBlockEndStyle"),borderLeftWidth:T.borderWidths("borderLeftWidth"),borderInlineStartWidth:T.borderWidths("borderInlineStartWidth"),borderLeftColor:T.colors("borderLeftColor"),borderInlineStartColor:T.colors("borderInlineStartColor"),borderLeftStyle:T.borderStyles("borderLeftStyle"),borderInlineStartStyle:T.borderStyles("borderInlineStartStyle"),borderRightWidth:T.borderWidths("borderRightWidth"),borderInlineEndWidth:T.borderWidths("borderInlineEndWidth"),borderRightColor:T.colors("borderRightColor"),borderInlineEndColor:T.colors("borderInlineEndColor"),borderRightStyle:T.borderStyles("borderRightStyle"),borderInlineEndStyle:T.borderStyles("borderInlineEndStyle"),borderTopRadius:T.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:T.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:T.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:T.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(de,{rounded:de.borderRadius,roundedTop:de.borderTopRadius,roundedTopLeft:de.borderTopLeftRadius,roundedTopRight:de.borderTopRightRadius,roundedTopStart:de.borderStartStartRadius,roundedTopEnd:de.borderStartEndRadius,roundedBottom:de.borderBottomRadius,roundedBottomLeft:de.borderBottomLeftRadius,roundedBottomRight:de.borderBottomRightRadius,roundedBottomStart:de.borderEndStartRadius,roundedBottomEnd:de.borderEndEndRadius,roundedLeft:de.borderLeftRadius,roundedRight:de.borderRightRadius,roundedStart:de.borderInlineStartRadius,roundedEnd:de.borderInlineEndRadius,borderStart:de.borderInlineStart,borderEnd:de.borderInlineEnd,borderTopStartRadius:de.borderStartStartRadius,borderTopEndRadius:de.borderStartEndRadius,borderBottomStartRadius:de.borderEndStartRadius,borderBottomEndRadius:de.borderEndEndRadius,borderStartRadius:de.borderInlineStartRadius,borderEndRadius:de.borderInlineEndRadius,borderStartWidth:de.borderInlineStartWidth,borderEndWidth:de.borderInlineEndWidth,borderStartColor:de.borderInlineStartColor,borderEndColor:de.borderInlineEndColor,borderStartStyle:de.borderInlineStartStyle,borderEndStyle:de.borderInlineEndStyle});var Zx={color:T.colors("color"),textColor:T.colors("color"),fill:T.colors("fill"),stroke:T.colors("stroke")},h0={boxShadow:T.shadows("boxShadow"),mixBlendMode:!0,blendMode:T.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:T.prop("backgroundBlendMode"),opacity:!0};Object.assign(h0,{shadow:h0.boxShadow});var Gx={filter:{transform:pe.filter},blur:T.blur("--chakra-blur"),brightness:T.propT("--chakra-brightness",pe.brightness),contrast:T.propT("--chakra-contrast",pe.contrast),hueRotate:T.degreeT("--chakra-hue-rotate"),invert:T.propT("--chakra-invert",pe.invert),saturate:T.propT("--chakra-saturate",pe.saturate),dropShadow:T.propT("--chakra-drop-shadow",pe.dropShadow),backdropFilter:{transform:pe.backdropFilter},backdropBlur:T.blur("--chakra-backdrop-blur"),backdropBrightness:T.propT("--chakra-backdrop-brightness",pe.brightness),backdropContrast:T.propT("--chakra-backdrop-contrast",pe.contrast),backdropHueRotate:T.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:T.propT("--chakra-backdrop-invert",pe.invert),backdropSaturate:T.propT("--chakra-backdrop-saturate",pe.saturate)},pu={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:pe.flexDirection},experimental_spaceX:{static:$x,transform:Aa({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:Dx,transform:Aa({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:T.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:T.space("gap"),rowGap:T.space("rowGap"),columnGap:T.space("columnGap")};Object.assign(pu,{flexDir:pu.flexDirection});var A5={gridGap:T.space("gridGap"),gridColumnGap:T.space("gridColumnGap"),gridRowGap:T.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},qx={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:pe.outline},outlineOffset:!0,outlineColor:T.colors("outlineColor")},zt={width:T.sizesT("width"),inlineSize:T.sizesT("inlineSize"),height:T.sizes("height"),blockSize:T.sizes("blockSize"),boxSize:T.sizes(["width","height"]),minWidth:T.sizes("minWidth"),minInlineSize:T.sizes("minInlineSize"),minHeight:T.sizes("minHeight"),minBlockSize:T.sizes("minBlockSize"),maxWidth:T.sizes("maxWidth"),maxInlineSize:T.sizes("maxInlineSize"),maxHeight:T.sizes("maxHeight"),maxBlockSize:T.sizes("maxBlockSize"),d:T.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:T.propT("float",pe.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(zt,{w:zt.width,h:zt.height,minW:zt.minWidth,maxW:zt.maxWidth,minH:zt.minHeight,maxH:zt.maxHeight,overscroll:zt.overscrollBehavior,overscrollX:zt.overscrollBehaviorX,overscrollY:zt.overscrollBehaviorY});var Yx={listStyleType:!0,listStylePosition:!0,listStylePos:T.prop("listStylePosition"),listStyleImage:!0,listStyleImg:T.prop("listStyleImage")},Xx={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Kx={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},v0=function(t,r,n){var i={},o=Jl(t,r,{});for(var a in o){var l=a in n&&n[a]!=null;l||(i[a]=o[a])}return i},Qx={srOnly:{transform:function(t){return t===!0?Xx:t==="focusable"?Kx:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return v0(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return v0(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return v0(r,t,n)}}},Oa={position:!0,pos:T.prop("position"),zIndex:T.prop("zIndex","zIndices"),inset:T.spaceT("inset"),insetX:T.spaceT(["left","right"]),insetInline:T.spaceT("insetInline"),insetY:T.spaceT(["top","bottom"]),insetBlock:T.spaceT("insetBlock"),top:T.spaceT("top"),insetBlockStart:T.spaceT("insetBlockStart"),bottom:T.spaceT("bottom"),insetBlockEnd:T.spaceT("insetBlockEnd"),left:T.spaceT("left"),insetInlineStart:T.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:T.spaceT("right"),insetInlineEnd:T.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Oa,{insetStart:Oa.insetInlineStart,insetEnd:Oa.insetInlineEnd});var Jx={ring:{transform:pe.ring},ringColor:T.colors("--chakra-ring-color"),ringOffset:T.prop("--chakra-ring-offset-width"),ringOffsetColor:T.colors("--chakra-ring-offset-color"),ringInset:T.prop("--chakra-ring-inset")},Se={margin:T.spaceT("margin"),marginTop:T.spaceT("marginTop"),marginBlockStart:T.spaceT("marginBlockStart"),marginRight:T.spaceT("marginRight"),marginInlineEnd:T.spaceT("marginInlineEnd"),marginBottom:T.spaceT("marginBottom"),marginBlockEnd:T.spaceT("marginBlockEnd"),marginLeft:T.spaceT("marginLeft"),marginInlineStart:T.spaceT("marginInlineStart"),marginX:T.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:T.spaceT("marginInline"),marginY:T.spaceT(["marginTop","marginBottom"]),marginBlock:T.spaceT("marginBlock"),padding:T.space("padding"),paddingTop:T.space("paddingTop"),paddingBlockStart:T.space("paddingBlockStart"),paddingRight:T.space("paddingRight"),paddingBottom:T.space("paddingBottom"),paddingBlockEnd:T.space("paddingBlockEnd"),paddingLeft:T.space("paddingLeft"),paddingInlineStart:T.space("paddingInlineStart"),paddingInlineEnd:T.space("paddingInlineEnd"),paddingX:T.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:T.space("paddingInline"),paddingY:T.space(["paddingTop","paddingBottom"]),paddingBlock:T.space("paddingBlock")};Object.assign(Se,{m:Se.margin,mt:Se.marginTop,mr:Se.marginRight,me:Se.marginInlineEnd,marginEnd:Se.marginInlineEnd,mb:Se.marginBottom,ml:Se.marginLeft,ms:Se.marginInlineStart,marginStart:Se.marginInlineStart,mx:Se.marginX,my:Se.marginY,p:Se.padding,pt:Se.paddingTop,py:Se.paddingY,px:Se.paddingX,pb:Se.paddingBottom,pl:Se.paddingLeft,ps:Se.paddingInlineStart,paddingStart:Se.paddingInlineStart,pr:Se.paddingRight,pe:Se.paddingInlineEnd,paddingEnd:Se.paddingInlineEnd});var ew={textDecorationColor:T.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:T.shadows("textShadow")},tw={clipPath:!0,transform:T.propT("transform",pe.transform),transformOrigin:!0,translateX:T.spaceT("--chakra-translate-x"),translateY:T.spaceT("--chakra-translate-y"),skewX:T.degreeT("--chakra-skew-x"),skewY:T.degreeT("--chakra-skew-y"),scaleX:T.prop("--chakra-scale-x"),scaleY:T.prop("--chakra-scale-y"),scale:T.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:T.degreeT("--chakra-rotate")},rw={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:T.prop("transitionDuration","transition.duration"),transitionProperty:T.prop("transitionProperty","transition.property"),transitionTimingFunction:T.prop("transitionTimingFunction","transition.easing")},nw={fontFamily:T.prop("fontFamily","fonts"),fontSize:T.prop("fontSize","fontSizes",pe.px),fontWeight:T.prop("fontWeight","fontWeights"),lineHeight:T.prop("lineHeight","lineHeights"),letterSpacing:T.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"}}}},iw={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:T.spaceT("scrollMargin"),scrollMarginTop:T.spaceT("scrollMarginTop"),scrollMarginBottom:T.spaceT("scrollMarginBottom"),scrollMarginLeft:T.spaceT("scrollMarginLeft"),scrollMarginRight:T.spaceT("scrollMarginRight"),scrollMarginX:T.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:T.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:T.spaceT("scrollPadding"),scrollPaddingTop:T.spaceT("scrollPaddingTop"),scrollPaddingBottom:T.spaceT("scrollPaddingBottom"),scrollPaddingLeft:T.spaceT("scrollPaddingLeft"),scrollPaddingRight:T.spaceT("scrollPaddingRight"),scrollPaddingX:T.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:T.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function O5(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 ow(e,t){if(!!e){if(typeof e=="string")return O5(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 O5(e,t)}}function aw(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=ow(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 Je={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}},cn=function(t){return F5(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},_r=function(t){return F5(function(r){return t(r,"~ &")},"[data-peer]",".peer")},F5=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(", ")},Fa={_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:cn(Je.hover),_peerHover:_r(Je.hover),_groupFocus:cn(Je.focus),_peerFocus:_r(Je.focus),_groupFocusVisible:cn(Je.focusVisible),_peerFocusVisible:_r(Je.focusVisible),_groupActive:cn(Je.active),_peerActive:_r(Je.active),_groupDisabled:cn(Je.disabled),_peerDisabled:_r(Je.disabled),_groupInvalid:cn(Je.invalid),_peerInvalid:_r(Je.invalid),_groupChecked:cn(Je.checked),_peerChecked:_r(Je.checked),_groupFocusWithin:cn(Je.focusWithin),_peerFocusWithin:_r(Je.focusWithin),_peerPlaceholderShown:_r(Je.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]"},lw=ed(Fa),m0=Ot({},fu,de,Zx,pu,zt,Gx,Jx,qx,A5,Qx,Oa,h0,Se,iw,nw,ew,tw,Yx,rw);Object.assign({},Se,zt,pu,A5,Oa);var sw=[].concat(ed(m0),lw),uw=La({},m0,Fa),cw=function(t){return t in uw},dw=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,o=n.toArrayValue,a=n.media,l={};for(var s in t){var u=Ft(t[s],r);if(u!=null){if(u=vt(u)&&i(u)?o(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,a.length).length,p=0;p<c;p+=1){var f=a==null?void 0:a[p];if(!f){l[s]=u[p];continue}l[f]=l[f]||{},u[p]!=null&&(l[f][s]=u[p])}}}return l}},fw=function(t,r){return t.startsWith("--")&&Kl(r)&&!nv(r)},pw=function(t,r){var n,i;if(r==null)return r;var o=function(p){var f,h;return(f=t.__cssMap)==null||(h=f[p])==null?void 0:h.varRef},a=function(p){var f;return(f=o(p))!=null?f:p},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=o(s))!=null?i:a(u))!=null?n:a(r),r};function hw(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,o=e.theme,a=function l(s,u){u===void 0&&(u=!1);var c=Ft(s,o),p=dw(c)(o),f={};for(var h in p){var m,y,v,g,b,x=p[h],w=Ft(x,o);h in i&&(h=i[h]),fw(h,w)&&(w=pw(o,w));var k=r[h];if(k===!0&&(k={property:h}),vt(w)){var E;f[h]=(E=f[h])!=null?E:{},f[h]=Ot({},f[h],l(w,!0));continue}var P=(m=(y=k)==null||y.transform==null?void 0:y.transform(w,o,c))!=null?m:w;P=(v=k)!=null&&v.processResult?l(P,!0):P;var L=Ft((g=k)==null?void 0:g.property,o);if(!u&&(b=k)!=null&&b.static){var M=Ft(k.static,o);f=Ot({},f,M)}if(L&&Array.isArray(L)){for(var B=aw(L),G;!(G=B()).done;){var U=G.value;f[U]=P}continue}if(L){L==="&"&&vt(P)?f=Ot({},f,P):f[L]=P;continue}if(vt(P)){f=Ot({},f,P);continue}f[h]=P}return f};return a}var R5=function(t){return function(r){var n=hw({theme:r,pseudos:Fa,configs:m0});return n(t)}};function V5(e){return vt(e)&&e.reference?e.reference:String(e)}var hu=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(V5).join(" "+t+" ").replace(/calc/g,"")},I5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+hu.apply(void 0,["+"].concat(r))+")"},B5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+hu.apply(void 0,["-"].concat(r))+")"},g0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+hu.apply(void 0,["*"].concat(r))+")"},$5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+hu.apply(void 0,["/"].concat(r))+")"},D5=function(t){var r=V5(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:g0(r,-1)},Gn=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 Gn(I5.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 Gn(B5.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 Gn(g0.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 Gn($5.apply(void 0,[e].concat(n)))},negate:function(){return Gn(D5(e))},toString:function(){return e.toString()}}},{add:I5,subtract:B5,multiply:g0,divide:$5,negate:D5});function vw(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function z5(e){var t=vw(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function mw(e,t){return t===void 0&&(t=""),[t,z5(e)].filter(Boolean).join("-")}function gw(e,t){return"var("+z5(e)+(t?", "+t:"")+")"}function yw(e,t){return t===void 0&&(t=""),"--"+mw(e,t)}function bw(e,t,r){var n=yw(e,r);return{variable:n,reference:gw(n,t)}}function H5(e,t){return bw(String(e).replace(/\./g,"-"),void 0,t)}function xw(e,t){for(var r={},n={},i=function(){var u=a[o],c=u[0],p=u[1],f=p.isSemantic,h=p.value,m=H5(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!f){if(c.startsWith("space")){var g=c.split("."),b=g[0],x=g.slice(1),w=b+".-"+x.join("."),k=Gn.negate(h),E=Gn.negate(v);n[w]={value:k,var:y,varRef:E}}return r[y]=h,n[c]={value:h,var:y,varRef:v},"continue"}var P=function(B){var G=String(c).split(".")[0],U=[G,B].join("."),Z=e[U];if(!Z)return B;var X=H5(U,t==null?void 0:t.cssVarPrefix),K=X.reference;return K},L=vt(h)?h:{default:h};r=Ot(r,Object.entries(L).reduce(function(M,B){var G,U,Z=B[0],X=B[1],K=P(X);if(Z==="default")return M[y]=K,M;var ne=(G=Fa==null?void 0:Fa[Z])!=null?G:Z;return M[ne]=(U={},U[y]=K,U),M},{})),n[c]={value:v,var:y,varRef:v}},o=0,a=Object.entries(e);o<a.length;o++)var l=i();return{cssVars:r,cssMap:n}}function ww(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var Cw=["__cssMap","__cssVars","__breakpoints"],Sw=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function kw(e){var t=Sw;return iv(e,t)}function Ew(e){return e.semanticTokens}function Pw(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=ww(e,Cw);return t}function Tw(e){var t,r,n=e.tokens,i=e.semanticTokens,o=Object.entries((t=nd(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),a=Object.entries((r=nd(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return es([].concat(o,a))}function _w(e){var t,r=Pw(e),n=kw(r),i=Ew(r),o=Tw({tokens:n,semanticTokens:i}),a=(t=r.config)==null?void 0:t.cssVarPrefix,l=xw(o,{cssVarPrefix:a}),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:La({},c,u),__cssMap:s,__breakpoints:_7(r.breakpoints)}),r}var Mw=typeof Element!="undefined",Lw=typeof Map=="function",Aw=typeof Set=="function",Ow=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function vu(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(!vu(e[n],t[n]))return!1;return!0}var o;if(Lw&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!vu(n.value[1],t.get(n.value[0])))return!1;return!0}if(Aw&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Ow&&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(Mw&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!vu(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var Fw=function(t,r){try{return vu(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},Rw=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,Vw=zh(function(e){return Rw.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Iw=Vw,Bw=function(t){return t!=="theme"},N5=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Iw:Bw},j5=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},$w=C["useInsertionEffect"]?C["useInsertionEffect"]:function(t){t()};function Dw(e){$w(e)}var zw=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return qh(r,n,i),Dw(function(){return Yh(r,n,i)}),null},Hw=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var l=j5(t,r,n),s=l||N5(i),u=!s("as");return function(){var c=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{p.push(c[0][0]);for(var f=c.length,h=1;h<f;h++)p.push(c[h],c[0][h])}var m=tv(function(y,v,g){var b=u&&y.as||i,x="",w=[],k=y;if(y.theme==null){k={};for(var E in y)k[E]=y[E];k.theme=O.useContext(Lo)}typeof y.className=="string"?x=o7(v.registered,w,y.className):y.className!=null&&(x=y.className+" ");var P=Yc(p.concat(w),v.registered,k);x+=v.key+"-"+P.name,a!==void 0&&(x+=" "+a);var L=u&&l===void 0?N5(b):s,M={};for(var B in y)u&&B==="as"||L(B)&&(M[B]=y[B]);return M.className=x,M.ref=g,O.createElement(O.Fragment,null,O.createElement(zw,{cache:v,serialized:P,isStringTag:typeof b=="string"}),O.createElement(b,M))});return m.displayName=o!==void 0?o:"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=p,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(y,v){return e(y,Ln({},r,v,{shouldForwardProp:j5(m,v,!0)})).apply(void 0,p)},m}},Nw=["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"],y0=Hw.bind();Nw.forEach(function(e){y0[e]=y0(e)});function b0(){return b0=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},b0.apply(this,arguments)}var jw=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,o=C.useMemo(function(){return _w(n)},[n]);return C.createElement(v7,{theme:o},C.createElement(Ww,{root:r}),i)},Ww=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return C.createElement(Xc,{styles:function(a){var l;return l={},l[i]=a.__cssVars,l}})};function W5(){var e=C.useContext(Lo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var U5=On({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),Uw=U5[0],qn=U5[1],Zw=function(){var t=P5(),r=t.colorMode;return C.createElement(Xc,{styles:function(i){var o=Jl(i,"styles.global"),a=Ft(o,{theme:i,colorMode:r});if(!!a){var l=R5(a)(i);return l}}})};function dn(e){return Ql(e,["styleConfig","size","variant","colorScheme"])}function Gw(){var e=P5(),t=W5();return b0({},e,{theme:t})}function x0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var qw=new Set([].concat(sw,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),Yw=new Set(["htmlWidth","htmlHeight","htmlSize"]),Xw=function(t){return Yw.has(t)||!qw.has(t)},Kw=["theme","css","__css","sx"],Qw=["baseStyle"],Jw=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,o=n.__css,a=n.sx,l=x0(n,Kw),s=ov(l,function(f,h){return cw(h)}),u=Ft(r,n),c=Object.assign({},o,u,Jc(s),a),p=R5(c)(n.theme);return i?[p,i]:p}};function w0(e,t){var r=t!=null?t:{},n=r.baseStyle,i=x0(r,Qw);i.shouldForwardProp||(i.shouldForwardProp=Xw);var o=Jw({baseStyle:n});return y0(e,i)(o)}function Le(e){return C.forwardRef(e)}var eC=["styleConfig"];function fn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,o=i.styleConfig,a=x0(i,eC),l=Gw(),s=l.theme,u=l.colorMode,c=Jl(s,"components."+e),p=o||c,f=Ot({theme:s,colorMode:u},(n=p==null?void 0:p.defaultProps)!=null?n:{},Jc(Ql(a,["children"]))),h=O.useRef({});if(p){var m,y,v,g,b,x,w=Ft((m=p.baseStyle)!=null?m:{},f),k=Ft((y=(v=p.variants)==null?void 0:v[f.variant])!=null?y:{},f),E=Ft((g=(b=p.sizes)==null?void 0:b[f.size])!=null?g:{},f),P=Ot({},w,E,k);(x=r)!=null&&x.isMultiPart&&p.parts&&p.parts.forEach(function(M){var B;P[M]=(B=P[M])!=null?B:{}});var L=Fw(h.current,P);L||(h.current=P)}return h.current}function Z5(e,t){return fn(e,t,{isMultiPart:!0})}function tC(){var e=new Map;return new Proxy(w0,{apply:function(r,n,i){return w0.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,w0(n)),e.get(n)}})}var re=tC(),rC=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,o=t.resetCSS,a=o===void 0?!0:o,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,p=C.createElement(xx,{environment:u},r);return C.createElement(K7,null,C.createElement(jw,{theme:s,cssVarsRoot:c},C.createElement(_x,{colorModeManager:n,options:s.config},a&&C.createElement(y7,null),C.createElement(Zw,null),i?C.createElement(ix,{zIndex:i},p):p)))},G5={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 ze(){return ze=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},ze.apply(this,arguments)}var nC={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"},iC={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},q5=ze({},G5,nC,{container:iC});function et(e,t){oC(e)&&(e="100%");var r=aC(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 mu(e){return Math.min(1,Math.max(0,e))}function oC(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function aC(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Y5(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function gu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Yn(e){return e.length===1?"0"+e:String(e)}function lC(e,t,r){return{r:et(e,255)*255,g:et(t,255)*255,b:et(r,255)*255}}function X5(e,t,r){e=et(e,255),t=et(t,255),r=et(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,l=(n+i)/2;if(n===i)a=0,o=0;else{var s=n-i;switch(a=l>.5?s/(2-n-i):s/(n+i),n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:a,l}}function C0(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 sC(e,t,r){var n,i,o;if(e=et(e,360),t=et(t,100),r=et(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;n=C0(l,a,e+1/3),i=C0(l,a,e),o=C0(l,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function K5(e,t,r){e=et(e,255),t=et(t,255),r=et(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,l=n-i,s=n===0?0:l/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4;break}o/=6}return{h:o,s,v:a}}function uC(e,t,r){e=et(e,360)*6,t=et(t,100),r=et(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,a,o,o,l,r][s],c=[l,r,r,a,o,o][s],p=[o,o,l,r,r,a][s];return{r:u*255,g:c*255,b:p*255}}function Q5(e,t,r,n){var i=[Yn(Math.round(e).toString(16)),Yn(Math.round(t).toString(16)),Yn(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 cC(e,t,r,n,i){var o=[Yn(Math.round(e).toString(16)),Yn(Math.round(t).toString(16)),Yn(Math.round(r).toString(16)),Yn(dC(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function dC(e){return Math.round(parseFloat(e)*255).toString(16)}function J5(e){return Tt(e)/255}function Tt(e){return parseInt(e,16)}function fC(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var S0={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 pC(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=mC(e)),typeof e=="object"&&(Mr(e.r)&&Mr(e.g)&&Mr(e.b)?(t=lC(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Mr(e.h)&&Mr(e.s)&&Mr(e.v)?(n=gu(e.s),i=gu(e.v),t=uC(e.h,n,i),a=!0,l="hsv"):Mr(e.h)&&Mr(e.s)&&Mr(e.l)&&(n=gu(e.s),o=gu(e.l),t=sC(e.h,n,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Y5(r),{ok:a,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 hC="[-\\+]?\\d+%?",vC="[-\\+]?\\d*\\.\\d+%?",pn="(?:".concat(vC,")|(?:").concat(hC,")"),k0="[\\s|\\(]+(".concat(pn,")[,|\\s]+(").concat(pn,")[,|\\s]+(").concat(pn,")\\s*\\)?"),E0="[\\s|\\(]+(".concat(pn,")[,|\\s]+(").concat(pn,")[,|\\s]+(").concat(pn,")[,|\\s]+(").concat(pn,")\\s*\\)?"),Jt={CSS_UNIT:new RegExp(pn),rgb:new RegExp("rgb"+k0),rgba:new RegExp("rgba"+E0),hsl:new RegExp("hsl"+k0),hsla:new RegExp("hsla"+E0),hsv:new RegExp("hsv"+k0),hsva:new RegExp("hsva"+E0),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 mC(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(S0[e])e=S0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Jt.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Jt.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Jt.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Jt.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Jt.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Jt.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Jt.hex8.exec(e),r?{r:Tt(r[1]),g:Tt(r[2]),b:Tt(r[3]),a:J5(r[4]),format:t?"name":"hex8"}:(r=Jt.hex6.exec(e),r?{r:Tt(r[1]),g:Tt(r[2]),b:Tt(r[3]),format:t?"name":"hex"}:(r=Jt.hex4.exec(e),r?{r:Tt(r[1]+r[1]),g:Tt(r[2]+r[2]),b:Tt(r[3]+r[3]),a:J5(r[4]+r[4]),format:t?"name":"hex8"}:(r=Jt.hex3.exec(e),r?{r:Tt(r[1]+r[1]),g:Tt(r[2]+r[2]),b:Tt(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Mr(e){return Boolean(Jt.CSS_UNIT.exec(String(e)))}var Ra=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=fC(t)),this.originalInput=t;var i=pC(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,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.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=Y5(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=K5(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=K5(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(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=X5(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=X5(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(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Q5(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),cC(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.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(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(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(et(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(et(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Q5(this.r,this.g,this.b,!1),r=0,n=Object.entries(S0);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}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,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?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=mu(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=mu(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=mu(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=mu(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(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},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,o=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+l)%1;return a},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(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},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],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function eg(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(eg(e));return e.count=t,r}var n=gC(e.hue,e.seed),i=yC(n,e),o=bC(n,i,e),a={h:n,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new Ra(a)}function gC(e,t){var r=wC(e),n=yu(r,t);return n<0&&(n=360+n),n}function yC(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return yu([0,100],t.seed);var r=tg(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 yu([n,i],t.seed)}function bC(e,t,r){var n=xC(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 yu([n,i],r.seed)}function xC(e,t){for(var r=tg(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],o=r[n][1],a=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function wC(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=ng.find(function(a){return a.name===e});if(r){var n=rg(r);if(n.hueRange)return n.hueRange}var i=new Ra(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function tg(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=ng;t<r.length;t++){var n=r[t],i=rg(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function yu(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 rg(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 ng=[{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]]}],We=function(t,r,n){var i=Jl(t,"colors."+r,r),o=new Ra(i),a=o.isValid;return a?i:n},CC=function(t){return function(r){var n=We(r,t),i=new Ra(n).isDark();return i?"dark":"light"}},SC=function(t){return function(r){return CC(t)(r)==="dark"}},qi=function(t,r){return function(n){var i=We(n,t);return new Ra(i).setAlpha(r).toRgbString()}};function ig(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient(
318
+ */var vw=Kr.default,Zg=60103;if(Ra.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var Gg=Symbol.for;Zg=Gg("react.element"),Ra.Fragment=Gg("react.fragment")}var mw=vw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,gw=Object.prototype.hasOwnProperty,yw={key:!0,ref:!0,__self:!0,__source:!0};function Yg(e,t,r){var n,i={},o=null,a=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(n in t)gw.call(t,n)&&!yw.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:Zg,type:e,key:o,ref:a,props:i,_owner:mw.current}}Ra.jsx=Yg,Ra.jsxs=Yg,Su.exports=Ra;const d=Su.exports.jsx,V=Su.exports.jsxs,Ir=Su.exports.Fragment;var bw={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[]}}}},Kg=bw,Ji=function(){},xw={document:Kg,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Ji,removeEventListener:Ji,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Ji,removeListener:Ji}},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:Ji,setInterval:function(){return 0},clearInterval:Ji},ww=xw,Cw={window:ww,document:Kg},qg=Xr?{window,document}:Cw,Xg=A.createContext(qg);function Qg(){return A.useContext(Xg)}function Sw(e){var t=e.children,r=e.environment,n=A.useState(null),i=n[0],o=n[1],a=A.useMemo(function(){var s,u=i==null?void 0:i.ownerDocument,c=i==null?void 0:i.ownerDocument.defaultView,p=u?{document:u,window:c}:void 0,f=(s=r!=null?r:p)!=null?s:qg;return f},[i,r]),l=!i&&!r;return V(Xg.Provider,{value:a,children:[t,l&&d("span",{ref:function(u){u&&o(u)}})]})}var ku={light:"chakra-ui-light",dark:"chakra-ui-dark"},kw={classList:{add:Bo,remove:Bo}},Ew=function(t){return Xr?t.body:kw};function _w(e,t){var r=Ew(t);r.classList.add(e?ku.dark:ku.light),r.classList.remove(e?ku.light:ku.dark)}function Pw(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var Jg={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function Tw(e){var t,r=(t=Pw(Jg.dark))!=null?t:e==="dark";return r?"dark":"light"}function Mw(e){if(!("matchMedia"in window))return Bo;var t=window.matchMedia(Jg.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var e5={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")||document.documentElement.dataset.theme},set:function(t){Xr&&(document.documentElement.style.setProperty("--chakra-ui-color-mode",t),document.documentElement.setAttribute("data-theme",t))}},t5=function(){return typeof Storage!="undefined"},r5="chakra-ui-color-mode",Ow={get:function(t){if(!t5())return t;try{var r=localStorage.getItem(r5);return r!=null?r:t}catch{return t}},set:function(t){if(!!t5())try{localStorage.setItem(r5,t)}catch{}},type:"localStorage"},n5=x.createContext({}),i5=function(){var t=x.useContext(n5);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function Lw(e){var t=e.value,r=e.children,n=e.options,i=n.useSystemColorMode,o=n.initialColorMode,a=e.colorModeManager,l=a===void 0?Ow:a,s=o==="dark"?"dark":"light",u=x.useState(l.type==="cookie"?l.get(s):s),c=u[0],p=u[1],f=Qg(),h=f.document;x.useEffect(function(){if(Xr&&l.type==="localStorage"){var g=Tw(s);if(i)return p(g);var b=e5.get(),w=l.get();return p(b||w||(o==="system"?g:s))}},[l,i,s,o]),x.useEffect(function(){var g=c==="dark";_w(g,h),e5.set(g?"dark":"light")},[c,h]);var m=x.useCallback(function(g,b){if(b===void 0&&(b=!1),!b)l.set(g);else if(l.get()&&!i)return;p(g)},[l,i]),y=x.useCallback(function(){m(c==="light"?"dark":"light")},[c,m]);x.useEffect(function(){var g=i||o==="system",b;return g&&(b=Mw(m)),function(){b&&g&&b()}},[m,i,o]);var v=x.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Bo:y,setColorMode:t?Bo:m}},[c,m,y,t]);return x.createElement(n5.Provider,{value:v},r)}function Va(){return Va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Va.apply(this,arguments)}var Aw=function(t,r){return function(n){var i=String(r),o=t?t+"."+i:i;return gt(n.__cssMap)&&o in n.__cssMap?n.__cssMap[o].varRef:r}};function $a(e){var t=e.scale,r=e.transform,n=e.compose,i=function(a,l){var s,u=Aw(t,a)(l),c=(s=r==null?void 0:r(u,l))!=null?s:u;return n&&(c=n(c,l)),c};return i}function er(e,t){return function(r){var n={property:r,scale:e};return n.transform=$a({scale:e,transform:t}),n}}var Fw=function(t){var r=t.rtl,n=t.ltr;return function(i){return i.direction==="rtl"?r:n}};function Iw(e){var t=e.property,r=e.scale,n=e.transform;return{scale:r,property:Fw(t),transform:r?$a({scale:r,compose:n}):n}}var O0,L0,o5=["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 Dw(){return["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))"].concat(o5).join(" ")}function Rw(){return["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)"].concat(o5).join(" ")}var Vw={"--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(" ")},$w={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 Bw(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 Nw={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},a5="& > :not(style) ~ :not(style)",zw=(O0={},O0[a5]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},O0),Hw=(L0={},L0[a5]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},L0);function Eu(e,t){return Eu=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Eu(e,t)}function jw(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&&Eu(e,t)}function A0(){A0=function(i,o){return new r(i,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(i,o,a){var l=new RegExp(i,o);return t.set(l,a||t.get(i)),Eu(l,r.prototype)}jw(r,RegExp),r.prototype.exec=function(i){var o=e.exec.call(this,i);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(i,o){if(typeof o=="string"){var a=t.get(this);return e[Symbol.replace].call(this,i,o.replace(/\$<([^>]+)>/g,function(s,u){return"$"+a[u]}))}else if(typeof o=="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))),o.apply(this,s)})}else return e[Symbol.replace].call(this,i,o)};function n(i,o){var a=t.get(o);return Object.keys(a).reduce(function(l,s){return l[s]=i[a[s]],l},Object.create(null))}return A0.apply(this,arguments)}var F0={"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"},Ww=new Set(Object.values(F0)),l5=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),Uw=function(t){return t.trim()};function Zw(e,t){var r,n;if(e==null||l5.has(e))return e;var i=A0(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=i.exec(e))==null?void 0:n.groups)!=null?r:{},a=o.type,l=o.values;if(!a||!l)return e;var s=a.includes("-gradient")?a:a+"-gradient",u=l.split(",").map(Uw).filter(Boolean),c=u[0],p=u.slice(1);if((p==null?void 0:p.length)===0)return e;var f=c in F0?F0[c]:c;p.unshift(f);var h=p.map(function(m){if(Ww.has(m))return m;var y=m.indexOf(" "),v=y!==-1?[m.substr(0,y),m.substr(y+1)]:[m],g=v[0],b=v[1],w=s5(b)?b:b&&b.split(" "),C="colors."+g,k=C in t.__cssMap?t.__cssMap[C].varRef:g;return w?[k].concat(Array.isArray(w)?w:[w]).join(" "):k});return s+"("+h.join(", ")+")"}var s5=function(t){return ss(t)&&t.includes("(")&&t.includes(")")},Gw=function(t,r){return Zw(t,r!=null?r:{})},Yw=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},yr=function(t){return function(r){return t+"("+r+")"}},me={filter:function(t){return t!=="auto"?t:Vw},backdropFilter:function(t){return t!=="auto"?t:$w},ring:function(t){return Bw(me.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?Dw():t==="auto-gpu"?Rw():t},px:function(t){if(t==null)return t;var r=Yw(t),n=r.unitless;return n||$n(t)?t+"px":t},fraction:function(t){return!$n(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(Iv(t)||t==null)return t;var r=ss(t)&&!t.endsWith("deg");return $n(t)||r?t+"deg":t},gradient:Gw,blur:yr("blur"),opacity:yr("opacity"),brightness:yr("brightness"),contrast:yr("contrast"),dropShadow:yr("drop-shadow"),grayscale:yr("grayscale"),hueRotate:yr("hue-rotate"),invert:yr("invert"),saturate:yr("saturate"),sepia:yr("sepia"),bgImage:function(t){if(t==null)return t;var r=s5(t)||l5.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=Nw[t])!=null?r:{},i=n.space,o=n.divide,a={flexDirection:t};return i&&(a[i]=1),o&&(a[o]=1),a}},P={borderWidths:er("borderWidths"),borderStyles:er("borderStyles"),colors:er("colors"),borders:er("borders"),radii:er("radii",me.px),space:er("space",me.px),spaceT:er("space",me.px),degreeT:function(t){return{property:t,transform:me.degree}},prop:function(t,r,n){return Va({property:t,scale:r},r&&{transform:$a({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:er("sizes",me.px),sizesT:er("sizes",me.fraction),shadows:er("shadows"),logical:Iw,blur:er("blur",me.blur)},_u={background:P.colors("background"),backgroundColor:P.colors("backgroundColor"),backgroundImage:P.propT("backgroundImage",me.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:me.bgClip},bgSize:P.prop("backgroundSize"),bgPosition:P.prop("backgroundPosition"),bg:P.colors("background"),bgColor:P.colors("backgroundColor"),bgPos:P.prop("backgroundPosition"),bgRepeat:P.prop("backgroundRepeat"),bgAttachment:P.prop("backgroundAttachment"),bgGradient:P.propT("backgroundImage",me.gradient),bgClip:{transform:me.bgClip}};Object.assign(_u,{bgImage:_u.backgroundImage,bgImg:_u.backgroundImage});var pe={border:P.borders("border"),borderWidth:P.borderWidths("borderWidth"),borderStyle:P.borderStyles("borderStyle"),borderColor:P.colors("borderColor"),borderRadius:P.radii("borderRadius"),borderTop:P.borders("borderTop"),borderBlockStart:P.borders("borderBlockStart"),borderTopLeftRadius:P.radii("borderTopLeftRadius"),borderStartStartRadius:P.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:P.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:P.radii("borderTopRightRadius"),borderStartEndRadius:P.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:P.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:P.borders("borderRight"),borderInlineEnd:P.borders("borderInlineEnd"),borderBottom:P.borders("borderBottom"),borderBlockEnd:P.borders("borderBlockEnd"),borderBottomLeftRadius:P.radii("borderBottomLeftRadius"),borderBottomRightRadius:P.radii("borderBottomRightRadius"),borderLeft:P.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:P.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:P.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:P.borders(["borderLeft","borderRight"]),borderInline:P.borders("borderInline"),borderY:P.borders(["borderTop","borderBottom"]),borderBlock:P.borders("borderBlock"),borderTopWidth:P.borderWidths("borderTopWidth"),borderBlockStartWidth:P.borderWidths("borderBlockStartWidth"),borderTopColor:P.colors("borderTopColor"),borderBlockStartColor:P.colors("borderBlockStartColor"),borderTopStyle:P.borderStyles("borderTopStyle"),borderBlockStartStyle:P.borderStyles("borderBlockStartStyle"),borderBottomWidth:P.borderWidths("borderBottomWidth"),borderBlockEndWidth:P.borderWidths("borderBlockEndWidth"),borderBottomColor:P.colors("borderBottomColor"),borderBlockEndColor:P.colors("borderBlockEndColor"),borderBottomStyle:P.borderStyles("borderBottomStyle"),borderBlockEndStyle:P.borderStyles("borderBlockEndStyle"),borderLeftWidth:P.borderWidths("borderLeftWidth"),borderInlineStartWidth:P.borderWidths("borderInlineStartWidth"),borderLeftColor:P.colors("borderLeftColor"),borderInlineStartColor:P.colors("borderInlineStartColor"),borderLeftStyle:P.borderStyles("borderLeftStyle"),borderInlineStartStyle:P.borderStyles("borderInlineStartStyle"),borderRightWidth:P.borderWidths("borderRightWidth"),borderInlineEndWidth:P.borderWidths("borderInlineEndWidth"),borderRightColor:P.colors("borderRightColor"),borderInlineEndColor:P.colors("borderInlineEndColor"),borderRightStyle:P.borderStyles("borderRightStyle"),borderInlineEndStyle:P.borderStyles("borderInlineEndStyle"),borderTopRadius:P.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:P.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:P.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:P.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(pe,{rounded:pe.borderRadius,roundedTop:pe.borderTopRadius,roundedTopLeft:pe.borderTopLeftRadius,roundedTopRight:pe.borderTopRightRadius,roundedTopStart:pe.borderStartStartRadius,roundedTopEnd:pe.borderStartEndRadius,roundedBottom:pe.borderBottomRadius,roundedBottomLeft:pe.borderBottomLeftRadius,roundedBottomRight:pe.borderBottomRightRadius,roundedBottomStart:pe.borderEndStartRadius,roundedBottomEnd:pe.borderEndEndRadius,roundedLeft:pe.borderLeftRadius,roundedRight:pe.borderRightRadius,roundedStart:pe.borderInlineStartRadius,roundedEnd:pe.borderInlineEndRadius,borderStart:pe.borderInlineStart,borderEnd:pe.borderInlineEnd,borderTopStartRadius:pe.borderStartStartRadius,borderTopEndRadius:pe.borderStartEndRadius,borderBottomStartRadius:pe.borderEndStartRadius,borderBottomEndRadius:pe.borderEndEndRadius,borderStartRadius:pe.borderInlineStartRadius,borderEndRadius:pe.borderInlineEndRadius,borderStartWidth:pe.borderInlineStartWidth,borderEndWidth:pe.borderInlineEndWidth,borderStartColor:pe.borderInlineStartColor,borderEndColor:pe.borderInlineEndColor,borderStartStyle:pe.borderInlineStartStyle,borderEndStyle:pe.borderInlineEndStyle});var Kw={color:P.colors("color"),textColor:P.colors("color"),fill:P.colors("fill"),stroke:P.colors("stroke")},I0={boxShadow:P.shadows("boxShadow"),mixBlendMode:!0,blendMode:P.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:P.prop("backgroundBlendMode"),opacity:!0};Object.assign(I0,{shadow:I0.boxShadow});var qw={filter:{transform:me.filter},blur:P.blur("--chakra-blur"),brightness:P.propT("--chakra-brightness",me.brightness),contrast:P.propT("--chakra-contrast",me.contrast),hueRotate:P.degreeT("--chakra-hue-rotate"),invert:P.propT("--chakra-invert",me.invert),saturate:P.propT("--chakra-saturate",me.saturate),dropShadow:P.propT("--chakra-drop-shadow",me.dropShadow),backdropFilter:{transform:me.backdropFilter},backdropBlur:P.blur("--chakra-backdrop-blur"),backdropBrightness:P.propT("--chakra-backdrop-brightness",me.brightness),backdropContrast:P.propT("--chakra-backdrop-contrast",me.contrast),backdropHueRotate:P.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:P.propT("--chakra-backdrop-invert",me.invert),backdropSaturate:P.propT("--chakra-backdrop-saturate",me.saturate)},Pu={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:me.flexDirection},experimental_spaceX:{static:zw,transform:$a({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:Hw,transform:$a({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:P.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:P.space("gap"),rowGap:P.space("rowGap"),columnGap:P.space("columnGap")};Object.assign(Pu,{flexDir:Pu.flexDirection});var u5={gridGap:P.space("gridGap"),gridColumnGap:P.space("gridColumnGap"),gridRowGap:P.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},Xw={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:me.outline},outlineOffset:!0,outlineColor:P.colors("outlineColor")},Wt={width:P.sizesT("width"),inlineSize:P.sizesT("inlineSize"),height:P.sizes("height"),blockSize:P.sizes("blockSize"),boxSize:P.sizes(["width","height"]),minWidth:P.sizes("minWidth"),minInlineSize:P.sizes("minInlineSize"),minHeight:P.sizes("minHeight"),minBlockSize:P.sizes("minBlockSize"),maxWidth:P.sizes("maxWidth"),maxInlineSize:P.sizes("maxInlineSize"),maxHeight:P.sizes("maxHeight"),maxBlockSize:P.sizes("maxBlockSize"),d:P.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:P.propT("float",me.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Wt,{w:Wt.width,h:Wt.height,minW:Wt.minWidth,maxW:Wt.maxWidth,minH:Wt.minHeight,maxH:Wt.maxHeight,overscroll:Wt.overscrollBehavior,overscrollX:Wt.overscrollBehaviorX,overscrollY:Wt.overscrollBehaviorY});var Qw={listStyleType:!0,listStylePosition:!0,listStylePos:P.prop("listStylePosition"),listStyleImage:!0,listStyleImg:P.prop("listStyleImage")},Jw={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},eC={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},D0=function(t,r,n){var i={},o=cs(t,r,{});for(var a in o){var l=a in n&&n[a]!=null;l||(i[a]=o[a])}return i},tC={srOnly:{transform:function(t){return t===!0?Jw:t==="focusable"?eC:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return D0(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return D0(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return D0(r,t,n)}}},Ba={position:!0,pos:P.prop("position"),zIndex:P.prop("zIndex","zIndices"),inset:P.spaceT("inset"),insetX:P.spaceT(["left","right"]),insetInline:P.spaceT("insetInline"),insetY:P.spaceT(["top","bottom"]),insetBlock:P.spaceT("insetBlock"),top:P.spaceT("top"),insetBlockStart:P.spaceT("insetBlockStart"),bottom:P.spaceT("bottom"),insetBlockEnd:P.spaceT("insetBlockEnd"),left:P.spaceT("left"),insetInlineStart:P.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:P.spaceT("right"),insetInlineEnd:P.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ba,{insetStart:Ba.insetInlineStart,insetEnd:Ba.insetInlineEnd});var rC={ring:{transform:me.ring},ringColor:P.colors("--chakra-ring-color"),ringOffset:P.prop("--chakra-ring-offset-width"),ringOffsetColor:P.colors("--chakra-ring-offset-color"),ringInset:P.prop("--chakra-ring-inset")},Te={margin:P.spaceT("margin"),marginTop:P.spaceT("marginTop"),marginBlockStart:P.spaceT("marginBlockStart"),marginRight:P.spaceT("marginRight"),marginInlineEnd:P.spaceT("marginInlineEnd"),marginBottom:P.spaceT("marginBottom"),marginBlockEnd:P.spaceT("marginBlockEnd"),marginLeft:P.spaceT("marginLeft"),marginInlineStart:P.spaceT("marginInlineStart"),marginX:P.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:P.spaceT("marginInline"),marginY:P.spaceT(["marginTop","marginBottom"]),marginBlock:P.spaceT("marginBlock"),padding:P.space("padding"),paddingTop:P.space("paddingTop"),paddingBlockStart:P.space("paddingBlockStart"),paddingRight:P.space("paddingRight"),paddingBottom:P.space("paddingBottom"),paddingBlockEnd:P.space("paddingBlockEnd"),paddingLeft:P.space("paddingLeft"),paddingInlineStart:P.space("paddingInlineStart"),paddingInlineEnd:P.space("paddingInlineEnd"),paddingX:P.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:P.space("paddingInline"),paddingY:P.space(["paddingTop","paddingBottom"]),paddingBlock:P.space("paddingBlock")};Object.assign(Te,{m:Te.margin,mt:Te.marginTop,mr:Te.marginRight,me:Te.marginInlineEnd,marginEnd:Te.marginInlineEnd,mb:Te.marginBottom,ml:Te.marginLeft,ms:Te.marginInlineStart,marginStart:Te.marginInlineStart,mx:Te.marginX,my:Te.marginY,p:Te.padding,pt:Te.paddingTop,py:Te.paddingY,px:Te.paddingX,pb:Te.paddingBottom,pl:Te.paddingLeft,ps:Te.paddingInlineStart,paddingStart:Te.paddingInlineStart,pr:Te.paddingRight,pe:Te.paddingInlineEnd,paddingEnd:Te.paddingInlineEnd});var nC={textDecorationColor:P.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:P.shadows("textShadow")},iC={clipPath:!0,transform:P.propT("transform",me.transform),transformOrigin:!0,translateX:P.spaceT("--chakra-translate-x"),translateY:P.spaceT("--chakra-translate-y"),skewX:P.degreeT("--chakra-skew-x"),skewY:P.degreeT("--chakra-skew-y"),scaleX:P.prop("--chakra-scale-x"),scaleY:P.prop("--chakra-scale-y"),scale:P.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:P.degreeT("--chakra-rotate")},oC={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:P.prop("transitionDuration","transition.duration"),transitionProperty:P.prop("transitionProperty","transition.property"),transitionTimingFunction:P.prop("transitionTimingFunction","transition.easing")},aC={fontFamily:P.prop("fontFamily","fonts"),fontSize:P.prop("fontSize","fontSizes",me.px),fontWeight:P.prop("fontWeight","fontWeights"),lineHeight:P.prop("lineHeight","lineHeights"),letterSpacing:P.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"}}}},lC={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:P.spaceT("scrollMargin"),scrollMarginTop:P.spaceT("scrollMarginTop"),scrollMarginBottom:P.spaceT("scrollMarginBottom"),scrollMarginLeft:P.spaceT("scrollMarginLeft"),scrollMarginRight:P.spaceT("scrollMarginRight"),scrollMarginX:P.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:P.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:P.spaceT("scrollPadding"),scrollPaddingTop:P.spaceT("scrollPaddingTop"),scrollPaddingBottom:P.spaceT("scrollPaddingBottom"),scrollPaddingLeft:P.spaceT("scrollPaddingLeft"),scrollPaddingRight:P.spaceT("scrollPaddingRight"),scrollPaddingX:P.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:P.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function c5(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 sC(e,t){if(!!e){if(typeof e=="string")return c5(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 c5(e,t)}}function uC(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=sC(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 rt={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}},bn=function(t){return d5(function(r){return t(r,"&")},"[role=group]","[data-group]",".group")},Dr=function(t){return d5(function(r){return t(r,"~ &")},"[data-peer]",".peer")},d5=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(", ")},Na={_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:bn(rt.hover),_peerHover:Dr(rt.hover),_groupFocus:bn(rt.focus),_peerFocus:Dr(rt.focus),_groupFocusVisible:bn(rt.focusVisible),_peerFocusVisible:Dr(rt.focusVisible),_groupActive:bn(rt.active),_peerActive:Dr(rt.active),_groupDisabled:bn(rt.disabled),_peerDisabled:Dr(rt.disabled),_groupInvalid:bn(rt.invalid),_peerInvalid:Dr(rt.invalid),_groupChecked:bn(rt.checked),_peerChecked:Dr(rt.checked),_groupFocusWithin:bn(rt.focusWithin),_peerFocusWithin:Dr(rt.focusWithin),_peerPlaceholderShown:Dr(rt.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]"},cC=gd(Na),R0=Vt({},_u,pe,Kw,Pu,Wt,qw,rC,Xw,u5,tC,Ba,I0,Te,lC,aC,nC,iC,Qw,oC);Object.assign({},Te,Wt,Pu,u5,Ba);var dC=[].concat(gd(R0),cC),fC=Va({},R0,Na),pC=function(t){return t in fC},hC=function(t){return function(r){if(!r.__breakpoints)return t;var n=r.__breakpoints,i=n.isResponsive,o=n.toArrayValue,a=n.media,l={};for(var s in t){var u=Mt(t[s],r);if(u!=null){if(u=gt(u)&&i(u)?o(u):u,!Array.isArray(u)){l[s]=u;continue}for(var c=u.slice(0,a.length).length,p=0;p<c;p+=1){var f=a==null?void 0:a[p];if(!f){l[s]=u[p];continue}l[f]=l[f]||{},u[p]!=null&&(l[f][s]=u[p])}}}return l}},vC=function(t,r){return t.startsWith("--")&&ss(r)&&!Iv(r)},mC=function(t,r){var n,i;if(r==null)return r;var o=function(p){var f,h;return(f=t.__cssMap)==null||(h=f[p])==null?void 0:h.varRef},a=function(p){var f;return(f=o(p))!=null?f:p},l=r.split(",").map(function(c){return c.trim()}),s=l[0],u=l[1];return r=(n=(i=o(s))!=null?i:a(u))!=null?n:a(r),r};function gC(e){var t=e.configs,r=t===void 0?{}:t,n=e.pseudos,i=n===void 0?{}:n,o=e.theme,a=function l(s,u){u===void 0&&(u=!1);var c=Mt(s,o),p=hC(c)(o),f={};for(var h in p){var m,y,v,g,b,w=p[h],C=Mt(w,o);h in i&&(h=i[h]),vC(h,C)&&(C=mC(o,C));var k=r[h];if(k===!0&&(k={property:h}),gt(C)){var _;f[h]=(_=f[h])!=null?_:{},f[h]=Vt({},f[h],l(C,!0));continue}var E=(m=(y=k)==null||y.transform==null?void 0:y.transform(C,o,c))!=null?m:C;E=(v=k)!=null&&v.processResult?l(E,!0):E;var M=Mt((g=k)==null?void 0:g.property,o);if(!u&&(b=k)!=null&&b.static){var O=Mt(k.static,o);f=Vt({},f,O)}if(M&&Array.isArray(M)){for(var R=uC(M),Z;!(Z=R()).done;){var G=Z.value;f[G]=E}continue}if(M){M==="&"&&gt(E)?f=Vt({},f,E):f[M]=E;continue}if(gt(E)){f=Vt({},f,E);continue}f[h]=E}return f};return a}var f5=function(t){return function(r){var n=gC({theme:r,pseudos:Na,configs:R0});return n(t)}};function p5(e){return gt(e)&&e.reference?e.reference:String(e)}var Tu=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(p5).join(" "+t+" ").replace(/calc/g,"")},h5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Tu.apply(void 0,["+"].concat(r))+")"},v5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Tu.apply(void 0,["-"].concat(r))+")"},V0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Tu.apply(void 0,["*"].concat(r))+")"},m5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Tu.apply(void 0,["/"].concat(r))+")"},g5=function(t){var r=p5(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:V0(r,-1)},ei=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 ei(h5.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 ei(v5.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 ei(V0.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 ei(m5.apply(void 0,[e].concat(n)))},negate:function(){return ei(g5(e))},toString:function(){return e.toString()}}},{add:h5,subtract:v5,multiply:V0,divide:m5,negate:g5});function yC(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function y5(e){var t=yC(e.toString());if(t.includes("\\."))return e;var r=!Number.isInteger(parseFloat(e.toString()));return r?t.replace(".","\\."):e}function bC(e,t){return t===void 0&&(t=""),[t,y5(e)].filter(Boolean).join("-")}function xC(e,t){return"var("+y5(e)+(t?", "+t:"")+")"}function wC(e,t){return t===void 0&&(t=""),"--"+bC(e,t)}function CC(e,t,r){var n=wC(e,r);return{variable:n,reference:xC(n,t)}}function b5(e,t){return CC(String(e).replace(/\./g,"-"),void 0,t)}function SC(e,t){for(var r={},n={},i=function(){var u=a[o],c=u[0],p=u[1],f=p.isSemantic,h=p.value,m=b5(c,t==null?void 0:t.cssVarPrefix),y=m.variable,v=m.reference;if(!f){if(c.startsWith("space")){var g=c.split("."),b=g[0],w=g.slice(1),C=b+".-"+w.join("."),k=ei.negate(h),_=ei.negate(v);n[C]={value:k,var:y,varRef:_}}return r[y]=h,n[c]={value:h,var:y,varRef:v},"continue"}var E=function(R){var Z=String(c).split(".")[0],G=[Z,R].join("."),U=e[G];if(!U)return R;var Y=b5(G,t==null?void 0:t.cssVarPrefix),Q=Y.reference;return Q},M=gt(h)?h:{default:h};r=Vt(r,Object.entries(M).reduce(function(O,R){var Z,G,U=R[0],Y=R[1],Q=E(Y);if(U==="default")return O[y]=Q,O;var J=(Z=Na==null?void 0:Na[U])!=null?Z:U;return O[J]=(G={},G[y]=Q,G),O},{})),n[c]={value:v,var:y,varRef:v}},o=0,a=Object.entries(e);o<a.length;o++)var l=i();return{cssVars:r,cssMap:n}}function kC(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var EC=["__cssMap","__cssVars","__breakpoints"],_C=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function PC(e){var t=_C;return Dv(e,t)}function TC(e){return e.semanticTokens}function MC(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=kC(e,EC);return t}function OC(e){var t,r,n=e.tokens,i=e.semanticTokens,o=Object.entries((t=wd(n))!=null?t:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!1,value:u};return[s,c]}),a=Object.entries((r=wd(i,1))!=null?r:{}).map(function(l){var s=l[0],u=l[1],c={isSemantic:!0,value:u};return[s,c]});return ds([].concat(o,a))}function LC(e){var t,r=MC(e),n=PC(r),i=TC(r),o=OC({tokens:n,semanticTokens:i}),a=(t=r.config)==null?void 0:t.cssVarPrefix,l=SC(o,{cssVarPrefix:a}),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:Va({},c,u),__cssMap:s,__breakpoints:kb(r.breakpoints)}),r}var AC=typeof Element!="undefined",FC=typeof Map=="function",IC=typeof Set=="function",DC=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Mu(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(!Mu(e[n],t[n]))return!1;return!0}var o;if(FC&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!Mu(n.value[1],t.get(n.value[0])))return!1;return!0}if(IC&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(DC&&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(AC&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!Mu(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var RC=function(t,r){try{return Mu(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},VC=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,$C=gv(function(e){return VC.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),BC=$C,NC=function(t){return t!=="theme"},x5=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?BC:NC},w5=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},zC=x["useInsertionEffect"]?x["useInsertionEffect"]:function(t){t()};function HC(e){zC(e)}var jC=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ev(r,n,i),HC(function(){return _v(r,n,i)}),null},WC=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var l=w5(t,r,n),s=l||x5(i),u=!s("as");return function(){var c=arguments,p=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&p.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{p.push(c[0][0]);for(var f=c.length,h=1;h<f;h++)p.push(c[h],c[0][h])}var m=Av(function(y,v,g){var b=u&&y.as||i,w="",C=[],k=y;if(y.theme==null){k={};for(var _ in y)k[_]=y[_];k.theme=A.useContext(Vo)}typeof y.className=="string"?w=eb(v.registered,C,y.className):y.className!=null&&(w=y.className+" ");var E=fd(p.concat(C),v.registered,k);w+=v.key+"-"+E.name,a!==void 0&&(w+=" "+a);var M=u&&l===void 0?x5(b):s,O={};for(var R in y)u&&R==="as"||M(R)&&(O[R]=y[R]);return O.className=w,O.ref=g,A.createElement(A.Fragment,null,A.createElement(jC,{cache:v,serialized:E,isStringTag:typeof b=="string"}),A.createElement(b,O))});return m.displayName=o!==void 0?o:"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=p,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(y,v){return e(y,Vn({},r,v,{shouldForwardProp:w5(m,v,!0)})).apply(void 0,p)},m}},UC=["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"],$0=WC.bind();UC.forEach(function(e){$0[e]=$0(e)});function B0(){return B0=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},B0.apply(this,arguments)}var ZC=function(t){var r=t.cssVarsRoot,n=t.theme,i=t.children,o=x.useMemo(function(){return LC(n)},[n]);return x.createElement(cb,{theme:o},x.createElement(GC,{root:r}),i)},GC=function(t){var r=t.root,n=r===void 0?":host, :root":r,i=[n,"[data-theme]"].join(",");return x.createElement(pd,{styles:function(a){var l;return l={},l[i]=a.__cssVars,l}})};function N0(){var e=x.useContext(Vo);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return e}var C5=Pr({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "}),S5=C5[0],tr=C5[1],YC=function(){var t=i5(),r=t.colorMode;return x.createElement(pd,{styles:function(i){var o=cs(i,"styles.global"),a=Mt(o,{theme:i,colorMode:r});if(!!a){var l=f5(a)(i);return l}}})};function Rr(e){return us(e,["styleConfig","size","variant","colorScheme"])}function KC(){var e=i5(),t=N0();return B0({},e,{theme:t})}function z0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var qC=new Set([].concat(dC,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),XC=new Set(["htmlWidth","htmlHeight","htmlSize"]),QC=function(t){return XC.has(t)||!qC.has(t)},JC=["theme","css","__css","sx"],eS=["baseStyle"],tS=function(t){var r=t.baseStyle;return function(n){n.theme;var i=n.css,o=n.__css,a=n.sx,l=z0(n,JC),s=Rv(l,function(f,h){return pC(h)}),u=Mt(r,n),c=Object.assign({},o,u,md(s),a),p=f5(c)(n.theme);return i?[p,i]:p}};function H0(e,t){var r=t!=null?t:{},n=r.baseStyle,i=z0(r,eS);i.shouldForwardProp||(i.shouldForwardProp=QC);var o=tS({baseStyle:n});return $0(e,i)(o)}function ge(e){return x.forwardRef(e)}var rS=["styleConfig"];function xn(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var i=t,o=i.styleConfig,a=z0(i,rS),l=KC(),s=l.theme,u=l.colorMode,c=cs(s,"components."+e),p=o||c,f=Vt({theme:s,colorMode:u},(n=p==null?void 0:p.defaultProps)!=null?n:{},md(us(a,["children"]))),h=A.useRef({});if(p){var m,y,v,g,b,w,C=Mt((m=p.baseStyle)!=null?m:{},f),k=Mt((y=(v=p.variants)==null?void 0:v[f.variant])!=null?y:{},f),_=Mt((g=(b=p.sizes)==null?void 0:b[f.size])!=null?g:{},f),E=Vt({},C,_,k);(w=r)!=null&&w.isMultiPart&&p.parts&&p.parts.forEach(function(O){var R;E[O]=(R=E[O])!=null?R:{}});var M=RC(h.current,E);M||(h.current=E)}return h.current}function j0(e,t){return xn(e,t,{isMultiPart:!0})}function nS(){var e=new Map;return new Proxy(H0,{apply:function(r,n,i){return H0.apply(void 0,i)},get:function(r,n){return e.has(n)||e.set(n,H0(n)),e.get(n)}})}var ee=nS(),iS=function(t){var r=t.children,n=t.colorModeManager,i=t.portalZIndex,o=t.resetCSS,a=o===void 0?!0:o,l=t.theme,s=l===void 0?{}:l,u=t.environment,c=t.cssVarsRoot,p=x.createElement(Sw,{environment:u},r);return x.createElement(Xb,null,x.createElement(ZC,{theme:s,cssVarsRoot:c},x.createElement(Lw,{colorModeManager:n,options:s.config},a&&x.createElement(pb,null),x.createElement(YC,null),i?x.createElement(lw,{zIndex:i},p):p)))},k5={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 He(){return He=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},He.apply(this,arguments)}var oS={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"},aS={sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},E5=He({},k5,oS,{container:aS});function nt(e,t){lS(e)&&(e="100%");var r=sS(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 Ou(e){return Math.min(1,Math.max(0,e))}function lS(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function sS(e){return typeof e=="string"&&e.indexOf("%")!==-1}function _5(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Lu(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ti(e){return e.length===1?"0"+e:String(e)}function uS(e,t,r){return{r:nt(e,255)*255,g:nt(t,255)*255,b:nt(r,255)*255}}function P5(e,t,r){e=nt(e,255),t=nt(t,255),r=nt(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=0,l=(n+i)/2;if(n===i)a=0,o=0;else{var s=n-i;switch(a=l>.5?s/(2-n-i):s/(n+i),n){case e:o=(t-r)/s+(t<r?6:0);break;case t:o=(r-e)/s+2;break;case r:o=(e-t)/s+4;break}o/=6}return{h:o,s:a,l}}function W0(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 cS(e,t,r){var n,i,o;if(e=nt(e,360),t=nt(t,100),r=nt(r,100),t===0)i=r,o=r,n=r;else{var a=r<.5?r*(1+t):r+t-r*t,l=2*r-a;n=W0(l,a,e+1/3),i=W0(l,a,e),o=W0(l,a,e-1/3)}return{r:n*255,g:i*255,b:o*255}}function T5(e,t,r){e=nt(e,255),t=nt(t,255),r=nt(r,255);var n=Math.max(e,t,r),i=Math.min(e,t,r),o=0,a=n,l=n-i,s=n===0?0:l/n;if(n===i)o=0;else{switch(n){case e:o=(t-r)/l+(t<r?6:0);break;case t:o=(r-e)/l+2;break;case r:o=(e-t)/l+4;break}o/=6}return{h:o,s,v:a}}function dS(e,t,r){e=nt(e,360)*6,t=nt(t,100),r=nt(r,100);var n=Math.floor(e),i=e-n,o=r*(1-t),a=r*(1-i*t),l=r*(1-(1-i)*t),s=n%6,u=[r,a,o,o,l,r][s],c=[l,r,r,a,o,o][s],p=[o,o,l,r,r,a][s];return{r:u*255,g:c*255,b:p*255}}function M5(e,t,r,n){var i=[ti(Math.round(e).toString(16)),ti(Math.round(t).toString(16)),ti(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 fS(e,t,r,n,i){var o=[ti(Math.round(e).toString(16)),ti(Math.round(t).toString(16)),ti(Math.round(r).toString(16)),ti(pS(n))];return i&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}function pS(e){return Math.round(parseFloat(e)*255).toString(16)}function O5(e){return At(e)/255}function At(e){return parseInt(e,16)}function hS(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var U0={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 vS(e){var t={r:0,g:0,b:0},r=1,n=null,i=null,o=null,a=!1,l=!1;return typeof e=="string"&&(e=yS(e)),typeof e=="object"&&(Vr(e.r)&&Vr(e.g)&&Vr(e.b)?(t=uS(e.r,e.g,e.b),a=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Vr(e.h)&&Vr(e.s)&&Vr(e.v)?(n=Lu(e.s),i=Lu(e.v),t=dS(e.h,n,i),a=!0,l="hsv"):Vr(e.h)&&Vr(e.s)&&Vr(e.l)&&(n=Lu(e.s),o=Lu(e.l),t=cS(e.h,n,o),a=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=_5(r),{ok:a,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 mS="[-\\+]?\\d+%?",gS="[-\\+]?\\d*\\.\\d+%?",wn="(?:".concat(gS,")|(?:").concat(mS,")"),Z0="[\\s|\\(]+(".concat(wn,")[,|\\s]+(").concat(wn,")[,|\\s]+(").concat(wn,")\\s*\\)?"),G0="[\\s|\\(]+(".concat(wn,")[,|\\s]+(").concat(wn,")[,|\\s]+(").concat(wn,")[,|\\s]+(").concat(wn,")\\s*\\)?"),rr={CSS_UNIT:new RegExp(wn),rgb:new RegExp("rgb"+Z0),rgba:new RegExp("rgba"+G0),hsl:new RegExp("hsl"+Z0),hsla:new RegExp("hsla"+G0),hsv:new RegExp("hsv"+Z0),hsva:new RegExp("hsva"+G0),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 yS(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(U0[e])e=U0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=rr.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=rr.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=rr.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=rr.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=rr.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=rr.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=rr.hex8.exec(e),r?{r:At(r[1]),g:At(r[2]),b:At(r[3]),a:O5(r[4]),format:t?"name":"hex8"}:(r=rr.hex6.exec(e),r?{r:At(r[1]),g:At(r[2]),b:At(r[3]),format:t?"name":"hex"}:(r=rr.hex4.exec(e),r?{r:At(r[1]+r[1]),g:At(r[2]+r[2]),b:At(r[3]+r[3]),a:O5(r[4]+r[4]),format:t?"name":"hex8"}:(r=rr.hex3.exec(e),r?{r:At(r[1]+r[1]),g:At(r[2]+r[2]),b:At(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Vr(e){return Boolean(rr.CSS_UNIT.exec(String(e)))}var za=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=hS(t)),this.originalInput=t;var i=vS(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,o=t.r/255,a=t.g/255,l=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?n=a/12.92:n=Math.pow((a+.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=_5(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=T5(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=T5(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(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsva(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=P5(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=P5(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(".concat(r,", ").concat(n,"%, ").concat(i,"%)"):"hsla(".concat(r,", ").concat(n,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),M5(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),fS(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.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(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(".concat(t,", ").concat(r,", ").concat(n,")"):"rgba(".concat(t,", ").concat(r,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(nt(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(nt(r,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+M5(this.r,this.g,this.b,!1),r=0,n=Object.entries(U0);r<n.length;r++){var i=n[r],o=i[0],a=i[1];if(t===a)return o}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,o=!r&&i&&(t.startsWith("hex")||t==="name");return o?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=Ou(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=Ou(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=Ou(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=Ou(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(),o=r/100,a={r:(i.r-n.r)*o+n.r,g:(i.g-n.g)*o+n.g,b:(i.b-n.b)*o+n.b,a:(i.a-n.a)*o+n.a};return new e(a)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),i=360/r,o=[this];for(n.h=(n.h-(i*t>>1)+720)%360;--t;)n.h=(n.h+i)%360,o.push(new e(n));return o},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,o=r.v,a=[],l=1/t;t--;)a.push(new e({h:n,s:i,v:o})),o=(o+l)%1;return a},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(),i=r.a+n.a*(1-r.a);return new e({r:(r.r*r.a+n.r*n.a*(1-r.a))/i,g:(r.g*r.a+n.g*n.a*(1-r.a))/i,b:(r.b*r.a+n.b*n.a*(1-r.a))/i,a:i})},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],o=360/t,a=1;a<t;a++)i.push(new e({h:(n+a*o)%360,s:r.s,l:r.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function L5(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(L5(e));return e.count=t,r}var n=bS(e.hue,e.seed),i=xS(n,e),o=wS(n,i,e),a={h:n,s:i,v:o};return e.alpha!==void 0&&(a.a=e.alpha),new za(a)}function bS(e,t){var r=SS(e),n=Au(r,t);return n<0&&(n=360+n),n}function xS(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Au([0,100],t.seed);var r=A5(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 Au([n,i],t.seed)}function wS(e,t,r){var n=CS(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 Au([n,i],r.seed)}function CS(e,t){for(var r=A5(e).lowerBounds,n=0;n<r.length-1;n++){var i=r[n][0],o=r[n][1],a=r[n+1][0],l=r[n+1][1];if(t>=i&&t<=a){var s=(l-o)/(a-i),u=o-s*i;return s*t+u}}return 0}function SS(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=I5.find(function(a){return a.name===e});if(r){var n=F5(r);if(n.hueRange)return n.hueRange}var i=new za(e);if(i.isValid){var o=i.toHsv().h;return[o,o]}}return[0,360]}function A5(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=I5;t<r.length;t++){var n=r[t],i=F5(n);if(i.hueRange&&e>=i.hueRange[0]&&e<=i.hueRange[1])return i}throw Error("Color not found")}function Au(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 F5(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 I5=[{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]]}],Ge=function(t,r,n){var i=cs(t,"colors."+r,r),o=new za(i),a=o.isValid;return a?i:n},kS=function(t){return function(r){var n=Ge(r,t),i=new za(n).isDark();return i?"dark":"light"}},ES=function(t){return function(r){return kS(t)(r)==="dark"}},eo=function(t,r){return function(n){var i=Ge(n,t);return new za(i).setAlpha(r).toRgbString()}};function D5(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 kC(e){var t=eg().toHexString();return!e||w7(e)?t:e.string&&e.colors?PC(e.string,e.colors):e.string&&!e.colors?EC(e.string):e.colors&&!e.string?TC(e.colors):t}function EC(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 o=t>>i*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function PC(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 TC(e){return e[Math.floor(Math.random()*e.length)]}function R(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Va(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function P0(){return P0=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},P0.apply(this,arguments)}var _C=function(t){return pv({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),P0({base:"0em"},t)};function og(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 MC(e,t,r){return t&&og(e.prototype,t),r&&og(e,r),e}var LC=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),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];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],o=i.filter(Boolean).join("__"),a="chakra-"+o,l={className:a,selector:"."+a,toString:function(){return n}};return l},this.__type={}}return MC(e,[{key:"selectors",get:function(){var r=es(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.selector]}));return r}},{key:"classNames",get:function(){var r=es(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function he(e){return new LC(e)}function ag(e){return vt(e)&&e.reference?e.reference:String(e)}var bu=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(ag).join(" "+t+" ").replace(/calc/g,"")},lg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+bu.apply(void 0,["+"].concat(r))+")"},sg=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+bu.apply(void 0,["-"].concat(r))+")"},T0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+bu.apply(void 0,["*"].concat(r))+")"},ug=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+bu.apply(void 0,["/"].concat(r))+")"},cg=function(t){var r=ag(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:T0(r,-1)},Lr=Object.assign(function(e){return{add:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(lg.apply(void 0,[e].concat(n)))},subtract:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(sg.apply(void 0,[e].concat(n)))},multiply:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(T0.apply(void 0,[e].concat(n)))},divide:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return Lr(ug.apply(void 0,[e].concat(n)))},negate:function(){return Lr(cg(e))},toString:function(){return e.toString()}}},{add:lg,subtract:sg,multiply:T0,divide:ug,negate:cg});function AC(e){return!Number.isInteger(parseFloat(e.toString()))}function OC(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function dg(e){var t=OC(e.toString());return t.includes("\\.")?e:AC(e)?t.replace(".","\\."):e}function FC(e,t){return t===void 0&&(t=""),[t,dg(e)].filter(Boolean).join("-")}function RC(e,t){return"var("+dg(e)+(t?", "+t:"")+")"}function VC(e,t){return t===void 0&&(t=""),"--"+FC(e,t)}function _t(e,t){var r=VC(e,t==null?void 0:t.prefix);return{variable:r,reference:RC(r,IC(t==null?void 0:t.fallback))}}function IC(e){return typeof e=="string"?e:e==null?void 0:e.reference}var BC=he("accordion").parts("root","container","button","panel").extend("icon"),$C=he("alert").parts("title","description","container").extend("icon"),DC=he("avatar").parts("label","badge","container").extend("excessLabel","group"),zC=he("breadcrumb").parts("link","item","container").extend("separator");he("button").parts();var HC=he("checkbox").parts("control","icon","container").extend("label");he("progress").parts("track","filledTrack").extend("label");var NC=he("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),jC=he("editable").parts("preview","input","textarea"),WC=he("form").parts("container","requiredIndicator","helperText"),UC=he("formError").parts("text","icon"),ZC=he("input").parts("addon","field","element"),GC=he("list").parts("container","item","icon"),qC=he("menu").parts("button","list","item").extend("groupTitle","command","divider"),YC=he("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),XC=he("numberinput").parts("root","field","stepperGroup","stepper");he("pininput").parts("field");var KC=he("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),QC=he("progress").parts("label","filledTrack","track"),JC=he("radio").parts("container","control","label"),eS=he("select").parts("field","icon"),tS=he("slider").parts("container","track","thumb","filledTrack"),rS=he("stat").parts("container","label","helpText","number","icon"),nS=he("switch").parts("container","track","thumb"),iS=he("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),oS=he("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),aS=he("tag").parts("container","label","closeButton"),fg={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"}},lS={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},sS={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},uS={pt:2,px:4,pb:5},cS={fontSize:"1.25em"},dS={root:{},container:lS,button:sS,panel:uS,icon:cS},fS={parts:BC.keys,baseStyle:dS},pS={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 _0(e){var t=e.theme,r=e.colorScheme,n=We(t,r+".100",r),i=qi(r+".200",.16)(t);return R(n,i)(e)}var hS=function(t){var r=t.colorScheme;return{container:{bg:_0(t)},icon:{color:R(r+".500",r+".200")(t)}}},vS=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:R(r+".500",r+".200")(t),bg:_0(t)},icon:{color:R(r+".500",r+".200")(t)}}},mS=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:R(r+".500",r+".200")(t),bg:_0(t)},icon:{color:R(r+".500",r+".200")(t)}}},gS=function(t){var r=t.colorScheme;return{container:{bg:R(r+".500",r+".200")(t),color:R("white","gray.900")(t)}}},yS={subtle:hS,"left-accent":vS,"top-accent":mS,solid:gS},bS={variant:"subtle",colorScheme:"blue"},xS={parts:$C.keys,baseStyle:pS,variants:yS,defaultProps:bS},wS=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:R("white","gray.800")(t)}},CS=function(t){return{bg:R("gray.200","whiteAlpha.400")(t)}},SS=function(t){var r=t.name,n=t.theme,i=r?kC({string:r}):"gray.400",o=SC(i)(n),a="white";o||(a="gray.800");var l=R("white","gray.800")(t);return{bg:i,color:a,borderColor:l,verticalAlign:"top"}},kS=function(t){return{badge:wS(t),excessLabel:CS(t),container:SS(t)}};function hn(e){var t=q5[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 ES={"2xs":hn("4"),xs:hn("6"),sm:hn("8"),md:hn("12"),lg:hn("16"),xl:hn("24"),"2xl":hn("32"),full:hn("100%")},PS={size:"md"},TS={parts:DC.keys,baseStyle:kS,sizes:ES,defaultProps:PS},_S={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},MS=function(t){var r=t.colorScheme,n=t.theme,i=qi(r+".500",.6)(n);return{bg:R(r+".500",i)(t),color:R("white","whiteAlpha.800")(t)}},LS=function(t){var r=t.colorScheme,n=t.theme,i=qi(r+".200",.16)(n);return{bg:R(r+".100",i)(t),color:R(r+".800",r+".200")(t)}},AS=function(t){var r=t.colorScheme,n=t.theme,i=qi(r+".200",.8)(n),o=We(n,r+".500"),a=R(o,i)(t);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}},OS={solid:MS,subtle:LS,outline:AS},FS={variant:"subtle",colorScheme:"gray"},Yi={baseStyle:_S,variants:OS,defaultProps:FS},RS={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},VS={link:RS},IS={parts:zC.keys,baseStyle:VS},BS={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"}}},pg=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:R("inherit","whiteAlpha.900")(t),_hover:{bg:R("gray.100","whiteAlpha.200")(t)},_active:{bg:R("gray.200","whiteAlpha.300")(t)}};var i=qi(r+".200",.12)(n),o=qi(r+".200",.24)(n);return{color:R(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:R(r+".50",i)(t)},_active:{bg:R(r+".100",o)(t)}}},$S=function(t){var r=t.colorScheme,n=R("gray.200","whiteAlpha.300")(t);return ze({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},pg(t))},DS={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},zS=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=R("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:R("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:R("gray.300","whiteAlpha.400")(t)}}}var o=(r=DS[n])!=null?r:{},a=o.bg,l=a===void 0?n+".500":a,s=o.color,u=s===void 0?"white":s,c=o.hoverBg,p=c===void 0?n+".600":c,f=o.activeBg,h=f===void 0?n+".700":f,m=R(l,n+".200")(t);return{bg:m,color:R(u,"gray.800")(t),_hover:{bg:R(p,n+".300")(t),_disabled:{bg:m}},_active:{bg:R(h,n+".400")(t)}}},HS=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:R(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:R(r+".700",r+".500")(t)}}},NS={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},jS={ghost:pg,outline:$S,solid:zS,link:HS,unstyled:NS},WS={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}},US={variant:"solid",size:"md",colorScheme:"gray"},ZS={baseStyle:BS,variants:jS,sizes:WS,defaultProps:US},GS=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:R(r+".500",r+".200")(t),borderColor:R(r+".500",r+".200")(t),color:R("white","gray.900")(t),_hover:{bg:R(r+".600",r+".300")(t),borderColor:R(r+".600",r+".300")(t)},_disabled:{borderColor:R("gray.200","transparent")(t),bg:R("gray.200","whiteAlpha.300")(t),color:R("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:R(r+".500",r+".200")(t),borderColor:R(r+".500",r+".200")(t),color:R("white","gray.900")(t)},_disabled:{bg:R("gray.100","whiteAlpha.100")(t),borderColor:R("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:R("red.500","red.300")(t)}}},qS={_disabled:{cursor:"not-allowed"}},YS={userSelect:"none",_disabled:{opacity:.4}},XS={transitionProperty:"transform",transitionDuration:"normal"},KS=function(t){return{icon:XS,container:qS,control:GS(t),label:YS}},QS={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"}}},JS={size:"md",colorScheme:"blue"},xu={parts:HC.keys,baseStyle:KS,sizes:QS,defaultProps:JS},wu,Cu,Su,Ia=_t("close-button-size"),ek=function(t){var r=R("blackAlpha.100","whiteAlpha.100")(t),n=R("blackAlpha.200","whiteAlpha.200")(t);return{w:[Ia.reference],h:[Ia.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},tk={lg:(wu={},wu[Ia.variable]="40px",wu.fontSize="16px",wu),md:(Cu={},Cu[Ia.variable]="32px",Cu.fontSize="12px",Cu),sm:(Su={},Su[Ia.variable]="24px",Su.fontSize="10px",Su)},rk={size:"md"},nk={baseStyle:ek,sizes:tk,defaultProps:rk},ik=Yi.variants,ok=Yi.defaultProps,ak={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},lk={baseStyle:ak,variants:ik,defaultProps:ok},sk={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},uk={baseStyle:sk},ck={opacity:.6,borderColor:"inherit"},dk={borderStyle:"solid"},fk={borderStyle:"dashed"},pk={solid:dk,dashed:fk},hk={variant:"solid"},vk={baseStyle:ck,variants:pk,defaultProps:hk};function Xi(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var mk={bg:"blackAlpha.600",zIndex:"overlay"},gk={display:"flex",zIndex:"modal",justifyContent:"center"},yk=function(t){var r=t.isFullHeight;return ze({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:R("white","gray.700")(t),color:"inherit",boxShadow:R("lg","dark-lg")(t)})},bk={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},xk={position:"absolute",top:2,insetEnd:3},wk={px:6,py:2,flex:1,overflow:"auto"},Ck={px:6,py:4},Sk=function(t){return{overlay:mk,dialogContainer:gk,dialog:yk(t),header:bk,closeButton:xk,body:wk,footer:Ck}},kk={xs:Xi("xs"),sm:Xi("md"),md:Xi("lg"),lg:Xi("2xl"),xl:Xi("4xl"),full:Xi("full")},Ek={size:"xs"},Pk={parts:NC.keys,baseStyle:Sk,sizes:kk,defaultProps:Ek},Tk={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},_k={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},Mk={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},Lk={preview:Tk,input:_k,textarea:Mk},Ak={parts:jC.keys,baseStyle:Lk},Ok=function(t){return{marginStart:1,color:R("red.500","red.300")(t)}},Fk=function(t){return{mt:2,color:R("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},Rk=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:Ok(t),helperText:Fk(t)}},Vk={parts:WC.keys,baseStyle:Rk},Ik=function(t){return{color:R("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},Bk=function(t){return{marginEnd:"0.5em",color:R("red.500","red.300")(t)}},$k=function(t){return{text:Ik(t),icon:Bk(t)}},Dk={parts:UC.keys,baseStyle:$k},zk={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},Hk={baseStyle:zk},Nk={fontFamily:"heading",fontWeight:"bold"},jk={"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}},Wk={size:"xl"},Uk={baseStyle:Nk,sizes:jk,defaultProps:Wk},Zk={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},vn={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"}},Gk={lg:{field:vn.lg,addon:vn.lg},md:{field:vn.md,addon:vn.md},sm:{field:vn.sm,addon:vn.sm},xs:{field:vn.xs,addon:vn.xs}};function M0(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||R("blue.500","blue.300")(e),errorBorderColor:r||R("red.500","red.300")(e)}}var qk=function(t){var r=t.theme,n=M0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:R("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:We(r,o),boxShadow:"0 0 0 1px "+We(r,o)},_focus:{zIndex:1,borderColor:We(r,i),boxShadow:"0 0 0 1px "+We(r,i)}},addon:{border:"1px solid",borderColor:R("inherit","whiteAlpha.50")(t),bg:R("gray.100","whiteAlpha.300")(t)}}},Yk=function(t){var r=t.theme,n=M0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:R("gray.100","whiteAlpha.50")(t),_hover:{bg:R("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:We(r,o)},_focus:{bg:"transparent",borderColor:We(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:R("gray.100","whiteAlpha.50")(t)}}},Xk=function(t){var r=t.theme,n=M0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:We(r,o),boxShadow:"0px 1px 0px 0px "+We(r,o)},_focus:{borderColor:We(r,i),boxShadow:"0px 1px 0px 0px "+We(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},Kk={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},Qk={outline:qk,filled:Yk,flushed:Xk,unstyled:Kk},Jk={size:"md",variant:"outline"},Te={parts:ZC.keys,baseStyle:Zk,sizes:Gk,variants:Qk,defaultProps:Jk},eE=function(t){return{bg:R("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},tE={baseStyle:eE},rE={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},nE={baseStyle:rE},iE={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},oE={container:{},item:{},icon:iE},aE={parts:GC.keys,baseStyle:oE},lE=function(t){return{bg:R("#fff","gray.700")(t),boxShadow:R("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},sE=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:R("gray.100","whiteAlpha.100")(t)},_active:{bg:R("gray.200","whiteAlpha.200")(t)},_expanded:{bg:R("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},uE={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},cE={opacity:.6},dE={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},fE={transitionProperty:"common",transitionDuration:"normal"},pE=function(t){return{button:fE,list:lE(t),item:sE(t),groupTitle:uE,command:cE,divider:dE}},hE={parts:qC.keys,baseStyle:pE},vE={bg:"blackAlpha.600",zIndex:"modal"},mE=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"}},gE=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:R("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:R("lg","dark-lg")(t)}},yE={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},bE={position:"absolute",top:2,insetEnd:3},xE=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},wE={px:6,py:4},CE=function(t){return{overlay:vE,dialogContainer:mE(t),dialog:gE(t),header:yE,closeButton:bE,body:xE(t),footer:wE}};function er(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 SE={xs:er("xs"),sm:er("sm"),md:er("md"),lg:er("lg"),xl:er("xl"),"2xl":er("2xl"),"3xl":er("3xl"),"4xl":er("4xl"),"5xl":er("5xl"),"6xl":er("6xl"),full:er("full")},kE={size:"md"},EE={parts:YC.keys,baseStyle:CE,sizes:SE,defaultProps:kE},ku,hg,vg,PE=Te.variants,TE=Te.defaultProps,L0=_t("number-input-stepper-width"),mg=_t("number-input-input-padding"),_E=Lr(L0).add("0.5rem").toString(),ME=(ku={},ku[L0.variable]="24px",ku[mg.variable]=_E,ku),LE=(hg=(vg=Te.baseStyle)==null?void 0:vg.field)!=null?hg:{},AE={width:[L0.reference]},OE=function(t){return{borderStart:"1px solid",borderStartColor:R("inherit","whiteAlpha.300")(t),color:R("inherit","whiteAlpha.800")(t),_active:{bg:R("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},FE=function(t){return{root:ME,field:LE,stepperGroup:AE,stepper:OE(t)}};function Eu(e){var t,r,n=Te.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",a=fg.fontSizes[o.toString()];return{field:ze({},n.field,{paddingInlineEnd:mg.reference,verticalAlign:"top"}),stepper:{fontSize:Lr(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var RE={xs:Eu("xs"),sm:Eu("sm"),md:Eu("md"),lg:Eu("lg")},VE={parts:XC.keys,baseStyle:FE,sizes:RE,variants:PE,defaultProps:TE},gg,IE=ze({},Te.baseStyle.field,{textAlign:"center"}),BE={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"}},$E={outline:function(t){var r;return(r=Te.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Te.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Te.variants.filled(t).field)!=null?r:{}},unstyled:(gg=Te.variants.unstyled.field)!=null?gg:{}},DE=Te.defaultProps,zE={baseStyle:IE,sizes:BE,variants:$E,defaultProps:DE},A0=_t("popper-bg"),HE=_t("popper-arrow-bg"),NE=_t("popper-arrow-shadow-color"),jE={zIndex:10},WE=function(t){var r,n=R("white","gray.700")(t),i=R("gray.200","whiteAlpha.300")(t);return r={},r[A0.variable]="colors."+n,r.bg=A0.reference,r[HE.variable]=A0.reference,r[NE.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},UE={px:3,py:2,borderBottomWidth:"1px"},ZE={px:3,py:2},GE={px:3,py:2,borderTopWidth:"1px"},qE={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},YE=function(t){return{popper:jE,content:WE(t),header:UE,body:ZE,footer:GE,arrow:{},closeButton:qE}},XE={parts:KC.keys,baseStyle:YE};function KE(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,o=R(ig(),ig("1rem","rgba(0,0,0,0.1)"))(e),a=R(t+".500",t+".200")(e),l=`linear-gradient(
328
+ )`,backgroundSize:e+" "+e}}function _S(e){var t=L5().toHexString();return!e||gb(e)?t:e.string&&e.colors?TS(e.string,e.colors):e.string&&!e.colors?PS(e.string):e.colors&&!e.string?MS(e.colors):t}function PS(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 o=t>>i*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function TS(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 MS(e){return e[Math.floor(Math.random()*e.length)]}function $(e,t){return function(r){return r.colorMode==="dark"?t:e}}function Ha(e){var t=e.orientation,r=e.vertical,n=e.horizontal;return t?t==="vertical"?r:n:{}}function Y0(){return Y0=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},Y0.apply(this,arguments)}var OS=function(t){return Uv({condition:!0,message:["[chakra-ui]: createBreakpoints(...) will be deprecated pretty soon","simply pass the breakpoints as an object. Remove the createBreakpoint(..) call"].join("")}),Y0({base:"0em"},t)};function R5(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 LS(e,t,r){return t&&R5(e.prototype,t),r&&R5(e,r),e}var AS=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),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];r.map[s]=r.toPart(s)}return r},this.extend=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];for(var a=0,l=i;a<l.length;a++){var s=l[a];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],o=i.filter(Boolean).join("__"),a="chakra-"+o,l={className:a,selector:"."+a,toString:function(){return n}};return l},this.__type={}}return LS(e,[{key:"selectors",get:function(){var r=ds(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.selector]}));return r}},{key:"classNames",get:function(){var r=ds(Object.entries(this.map).map(function(n){var i=n[0],o=n[1];return[i,o.className]}));return r}},{key:"keys",get:function(){return Object.keys(this.map)}}]),e}();function xe(e){return new AS(e)}function V5(e){return gt(e)&&e.reference?e.reference:String(e)}var Fu=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(V5).join(" "+t+" ").replace(/calc/g,"")},$5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["+"].concat(r))+")"},B5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["-"].concat(r))+")"},K0=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["*"].concat(r))+")"},N5=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return"calc("+Fu.apply(void 0,["/"].concat(r))+")"},z5=function(t){var r=V5(t);return r!=null&&!Number.isNaN(parseFloat(r))?String(r).startsWith("-")?String(r).slice(1):"-"+r:K0(r,-1)},$r=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 $r($5.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 $r(B5.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 $r(K0.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 $r(N5.apply(void 0,[e].concat(n)))},negate:function(){return $r(z5(e))},toString:function(){return e.toString()}}},{add:$5,subtract:B5,multiply:K0,divide:N5,negate:z5});function FS(e){return!Number.isInteger(parseFloat(e.toString()))}function IS(e,t){return t===void 0&&(t="-"),e.replace(/\s+/g,t)}function H5(e){var t=IS(e.toString());return t.includes("\\.")?e:FS(e)?t.replace(".","\\."):e}function DS(e,t){return t===void 0&&(t=""),[t,H5(e)].filter(Boolean).join("-")}function RS(e,t){return"var("+H5(e)+(t?", "+t:"")+")"}function VS(e,t){return t===void 0&&(t=""),"--"+DS(e,t)}function Ft(e,t){var r=VS(e,t==null?void 0:t.prefix);return{variable:r,reference:RS(r,$S(t==null?void 0:t.fallback))}}function $S(e){return typeof e=="string"?e:e==null?void 0:e.reference}var BS=xe("accordion").parts("root","container","button","panel").extend("icon"),NS=xe("alert").parts("title","description","container").extend("icon"),zS=xe("avatar").parts("label","badge","container").extend("excessLabel","group"),HS=xe("breadcrumb").parts("link","item","container").extend("separator");xe("button").parts();var jS=xe("checkbox").parts("control","icon","container").extend("label");xe("progress").parts("track","filledTrack").extend("label");var WS=xe("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),US=xe("editable").parts("preview","input","textarea"),ZS=xe("form").parts("container","requiredIndicator","helperText"),GS=xe("formError").parts("text","icon"),YS=xe("input").parts("addon","field","element"),KS=xe("list").parts("container","item","icon"),qS=xe("menu").parts("button","list","item").extend("groupTitle","command","divider"),XS=xe("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),QS=xe("numberinput").parts("root","field","stepperGroup","stepper");xe("pininput").parts("field");var JS=xe("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),ek=xe("progress").parts("label","filledTrack","track"),tk=xe("radio").parts("container","control","label"),rk=xe("select").parts("field","icon"),nk=xe("slider").parts("container","track","thumb","filledTrack"),ik=xe("stat").parts("container","label","helpText","number","icon"),ok=xe("switch").parts("container","track","thumb"),ak=xe("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),lk=xe("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),sk=xe("tag").parts("container","label","closeButton"),j5={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"}},uk={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},ck={transitionProperty:"common",transitionDuration:"normal",fontSize:"1rem",_focus:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:4,py:2},dk={pt:2,px:4,pb:5},fk={fontSize:"1.25em"},pk={root:{},container:uk,button:ck,panel:dk,icon:fk},hk={parts:BS.keys,baseStyle:pk},vk={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 q0(e){var t=e.theme,r=e.colorScheme,n=Ge(t,r+".100",r),i=eo(r+".200",.16)(t);return $(n,i)(e)}var mk=function(t){var r=t.colorScheme;return{container:{bg:q0(t)},icon:{color:$(r+".500",r+".200")(t)}}},gk=function(t){var r=t.colorScheme;return{container:{paddingStart:3,borderStartWidth:"4px",borderStartColor:$(r+".500",r+".200")(t),bg:q0(t)},icon:{color:$(r+".500",r+".200")(t)}}},yk=function(t){var r=t.colorScheme;return{container:{pt:2,borderTopWidth:"4px",borderTopColor:$(r+".500",r+".200")(t),bg:q0(t)},icon:{color:$(r+".500",r+".200")(t)}}},bk=function(t){var r=t.colorScheme;return{container:{bg:$(r+".500",r+".200")(t),color:$("white","gray.900")(t)}}},xk={subtle:mk,"left-accent":gk,"top-accent":yk,solid:bk},wk={variant:"subtle",colorScheme:"blue"},Ck={parts:NS.keys,baseStyle:vk,variants:xk,defaultProps:wk},Sk=function(t){return{transform:"translate(25%, 25%)",borderRadius:"full",border:"0.2em solid",borderColor:$("white","gray.800")(t)}},kk=function(t){return{bg:$("gray.200","whiteAlpha.400")(t)}},Ek=function(t){var r=t.name,n=t.theme,i=r?_S({string:r}):"gray.400",o=ES(i)(n),a="white";o||(a="gray.800");var l=$("white","gray.800")(t);return{bg:i,color:a,borderColor:l,verticalAlign:"top"}},_k=function(t){return{badge:Sk(t),excessLabel:kk(t),container:Ek(t)}};function Cn(e){var t=E5[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 Pk={"2xs":Cn("4"),xs:Cn("6"),sm:Cn("8"),md:Cn("12"),lg:Cn("16"),xl:Cn("24"),"2xl":Cn("32"),full:Cn("100%")},Tk={size:"md"},Mk={parts:zS.keys,baseStyle:_k,sizes:Pk,defaultProps:Tk},Ok={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},Lk=function(t){var r=t.colorScheme,n=t.theme,i=eo(r+".500",.6)(n);return{bg:$(r+".500",i)(t),color:$("white","whiteAlpha.800")(t)}},Ak=function(t){var r=t.colorScheme,n=t.theme,i=eo(r+".200",.16)(n);return{bg:$(r+".100",i)(t),color:$(r+".800",r+".200")(t)}},Fk=function(t){var r=t.colorScheme,n=t.theme,i=eo(r+".200",.8)(n),o=Ge(n,r+".500"),a=$(o,i)(t);return{color:a,boxShadow:"inset 0 0 0px 1px "+a}},Ik={solid:Lk,subtle:Ak,outline:Fk},Dk={variant:"subtle",colorScheme:"gray"},to={baseStyle:Ok,variants:Ik,defaultProps:Dk},Rk={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},Vk={link:Rk},$k={parts:HS.keys,baseStyle:Vk},Bk={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"}}},W5=function(t){var r=t.colorScheme,n=t.theme;if(r==="gray")return{color:$("inherit","whiteAlpha.900")(t),_hover:{bg:$("gray.100","whiteAlpha.200")(t)},_active:{bg:$("gray.200","whiteAlpha.300")(t)}};var i=eo(r+".200",.12)(n),o=eo(r+".200",.24)(n);return{color:$(r+".600",r+".200")(t),bg:"transparent",_hover:{bg:$(r+".50",i)(t)},_active:{bg:$(r+".100",o)(t)}}},Nk=function(t){var r=t.colorScheme,n=$("gray.200","whiteAlpha.300")(t);return He({border:"1px solid",borderColor:r==="gray"?n:"currentColor"},W5(t))},zk={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Hk=function(t){var r,n=t.colorScheme;if(n==="gray"){var i=$("gray.100","whiteAlpha.200")(t);return{bg:i,_hover:{bg:$("gray.200","whiteAlpha.300")(t),_disabled:{bg:i}},_active:{bg:$("gray.300","whiteAlpha.400")(t)}}}var o=(r=zk[n])!=null?r:{},a=o.bg,l=a===void 0?n+".500":a,s=o.color,u=s===void 0?"white":s,c=o.hoverBg,p=c===void 0?n+".600":c,f=o.activeBg,h=f===void 0?n+".700":f,m=$(l,n+".200")(t);return{bg:m,color:$(u,"gray.800")(t),_hover:{bg:$(p,n+".300")(t),_disabled:{bg:m}},_active:{bg:$(h,n+".400")(t)}}},jk=function(t){var r=t.colorScheme;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:$(r+".500",r+".200")(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:$(r+".700",r+".500")(t)}}},Wk={bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:0,p:0},Uk={ghost:W5,outline:Nk,solid:Hk,link:jk,unstyled:Wk},Zk={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}},Gk={variant:"solid",size:"md",colorScheme:"gray"},Yk={baseStyle:Bk,variants:Uk,sizes:Zk,defaultProps:Gk},Kk=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:$(r+".500",r+".200")(t),borderColor:$(r+".500",r+".200")(t),color:$("white","gray.900")(t),_hover:{bg:$(r+".600",r+".300")(t),borderColor:$(r+".600",r+".300")(t)},_disabled:{borderColor:$("gray.200","transparent")(t),bg:$("gray.200","whiteAlpha.300")(t),color:$("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:$(r+".500",r+".200")(t),borderColor:$(r+".500",r+".200")(t),color:$("white","gray.900")(t)},_disabled:{bg:$("gray.100","whiteAlpha.100")(t),borderColor:$("gray.100","transparent")(t)},_focus:{boxShadow:"outline"},_invalid:{borderColor:$("red.500","red.300")(t)}}},qk={_disabled:{cursor:"not-allowed"}},Xk={userSelect:"none",_disabled:{opacity:.4}},Qk={transitionProperty:"transform",transitionDuration:"normal"},Jk=function(t){return{icon:Qk,container:qk,control:Kk(t),label:Xk}},eE={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"}}},tE={size:"md",colorScheme:"blue"},Iu={parts:jS.keys,baseStyle:Jk,sizes:eE,defaultProps:tE},Du,Ru,Vu,ja=Ft("close-button-size"),rE=function(t){var r=$("blackAlpha.100","whiteAlpha.100")(t),n=$("blackAlpha.200","whiteAlpha.200")(t);return{w:[ja.reference],h:[ja.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{bg:r},_active:{bg:n},_focus:{boxShadow:"outline"}}},nE={lg:(Du={},Du[ja.variable]="40px",Du.fontSize="16px",Du),md:(Ru={},Ru[ja.variable]="32px",Ru.fontSize="12px",Ru),sm:(Vu={},Vu[ja.variable]="24px",Vu.fontSize="10px",Vu)},iE={size:"md"},oE={baseStyle:rE,sizes:nE,defaultProps:iE},aE=to.variants,lE=to.defaultProps,sE={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},uE={baseStyle:sE,variants:aE,defaultProps:lE},cE={w:"100%",mx:"auto",maxW:"60ch",px:"1rem"},dE={baseStyle:cE},fE={opacity:.6,borderColor:"inherit"},pE={borderStyle:"solid"},hE={borderStyle:"dashed"},vE={solid:pE,dashed:hE},mE={variant:"solid"},gE={baseStyle:fE,variants:vE,defaultProps:mE};function ro(e){return e==="full"?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:e}}}var yE={bg:"blackAlpha.600",zIndex:"overlay"},bE={display:"flex",zIndex:"modal",justifyContent:"center"},xE=function(t){var r=t.isFullHeight;return He({},r&&{height:"100vh"},{zIndex:"modal",maxH:"100vh",bg:$("white","gray.700")(t),color:"inherit",boxShadow:$("lg","dark-lg")(t)})},wE={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},CE={position:"absolute",top:2,insetEnd:3},SE={px:6,py:2,flex:1,overflow:"auto"},kE={px:6,py:4},EE=function(t){return{overlay:yE,dialogContainer:bE,dialog:xE(t),header:wE,closeButton:CE,body:SE,footer:kE}},_E={xs:ro("xs"),sm:ro("md"),md:ro("lg"),lg:ro("2xl"),xl:ro("4xl"),full:ro("full")},PE={size:"xs"},TE={parts:WS.keys,baseStyle:EE,sizes:_E,defaultProps:PE},ME={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal"},OE={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},LE={borderRadius:"md",py:"3px",transitionProperty:"common",transitionDuration:"normal",width:"full",_focus:{boxShadow:"outline"},_placeholder:{opacity:.6}},AE={preview:ME,input:OE,textarea:LE},FE={parts:US.keys,baseStyle:AE},IE=function(t){return{marginStart:1,color:$("red.500","red.300")(t)}},DE=function(t){return{mt:2,color:$("gray.500","whiteAlpha.600")(t),lineHeight:"normal",fontSize:"sm"}},RE=function(t){return{container:{width:"100%",position:"relative"},requiredIndicator:IE(t),helperText:DE(t)}},VE={parts:ZS.keys,baseStyle:RE},$E=function(t){return{color:$("red.500","red.300")(t),mt:2,fontSize:"sm",lineHeight:"normal"}},BE=function(t){return{marginEnd:"0.5em",color:$("red.500","red.300")(t)}},NE=function(t){return{text:$E(t),icon:BE(t)}},zE={parts:GS.keys,baseStyle:NE},HE={fontSize:"md",marginEnd:3,mb:2,fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}},jE={baseStyle:HE},WE={fontFamily:"heading",fontWeight:"bold"},UE={"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}},ZE={size:"xl"},GE={baseStyle:WE,sizes:UE,defaultProps:ZE},YE={field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal"}},Sn={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"}},KE={lg:{field:Sn.lg,addon:Sn.lg},md:{field:Sn.md,addon:Sn.md},sm:{field:Sn.sm,addon:Sn.sm},xs:{field:Sn.xs,addon:Sn.xs}};function X0(e){var t=e.focusBorderColor,r=e.errorBorderColor;return{focusBorderColor:t||$("blue.500","blue.300")(e),errorBorderColor:r||$("red.500","red.300")(e)}}var qE=function(t){var r=t.theme,n=X0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:$("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ge(r,o),boxShadow:"0 0 0 1px "+Ge(r,o)},_focus:{zIndex:1,borderColor:Ge(r,i),boxShadow:"0 0 0 1px "+Ge(r,i)}},addon:{border:"1px solid",borderColor:$("inherit","whiteAlpha.50")(t),bg:$("gray.100","whiteAlpha.300")(t)}}},XE=function(t){var r=t.theme,n=X0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{border:"2px solid",borderColor:"transparent",bg:$("gray.100","whiteAlpha.50")(t),_hover:{bg:$("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_disabled:{opacity:.4,cursor:"not-allowed"},_invalid:{borderColor:Ge(r,o)},_focus:{bg:"transparent",borderColor:Ge(r,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:$("gray.100","whiteAlpha.50")(t)}}},QE=function(t){var r=t.theme,n=X0(t),i=n.focusBorderColor,o=n.errorBorderColor;return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ge(r,o),boxShadow:"0px 1px 0px 0px "+Ge(r,o)},_focus:{borderColor:Ge(r,i),boxShadow:"0px 1px 0px 0px "+Ge(r,i)}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:0,px:0,bg:"transparent"}}},JE={field:{bg:"transparent",px:0,height:"auto"},addon:{bg:"transparent",px:0,height:"auto"}},e_={outline:qE,filled:XE,flushed:QE,unstyled:JE},t_={size:"md",variant:"outline"},Le={parts:YS.keys,baseStyle:YE,sizes:KE,variants:e_,defaultProps:t_},r_=function(t){return{bg:$("gray.100","whiteAlpha")(t),borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},n_={baseStyle:r_},i_={transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focus:{boxShadow:"outline"}},o_={baseStyle:i_},a_={marginEnd:"0.5rem",display:"inline",verticalAlign:"text-bottom"},l_={container:{},item:{},icon:a_},s_={parts:KS.keys,baseStyle:l_},u_=function(t){return{bg:$("#fff","gray.700")(t),boxShadow:$("sm","dark-lg")(t),color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px"}},c_=function(t){return{py:"0.4rem",px:"0.8rem",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{bg:$("gray.100","whiteAlpha.100")(t)},_active:{bg:$("gray.200","whiteAlpha.200")(t)},_expanded:{bg:$("gray.100","whiteAlpha.100")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},d_={mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},f_={opacity:.6},p_={border:0,borderBottom:"1px solid",borderColor:"inherit",my:"0.5rem",opacity:.6},h_={transitionProperty:"common",transitionDuration:"normal"},v_=function(t){return{button:h_,list:u_(t),item:c_(t),groupTitle:d_,command:f_,divider:p_}},m_={parts:qS.keys,baseStyle:v_},g_={bg:"blackAlpha.600",zIndex:"modal"},y_=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"}},b_=function(t){var r=t.scrollBehavior;return{borderRadius:"md",bg:$("white","gray.700")(t),color:"inherit",my:"3.75rem",zIndex:"modal",maxH:r==="inside"?"calc(100% - 7.5rem)":void 0,boxShadow:$("lg","dark-lg")(t)}},x_={px:6,py:4,fontSize:"xl",fontWeight:"semibold"},w_={position:"absolute",top:2,insetEnd:3},C_=function(t){var r=t.scrollBehavior;return{px:6,py:2,flex:1,overflow:r==="inside"?"auto":void 0}},S_={px:6,py:4},k_=function(t){return{overlay:g_,dialogContainer:y_(t),dialog:b_(t),header:x_,closeButton:w_,body:C_(t),footer:S_}};function nr(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 E_={xs:nr("xs"),sm:nr("sm"),md:nr("md"),lg:nr("lg"),xl:nr("xl"),"2xl":nr("2xl"),"3xl":nr("3xl"),"4xl":nr("4xl"),"5xl":nr("5xl"),"6xl":nr("6xl"),full:nr("full")},__={size:"md"},P_={parts:XS.keys,baseStyle:k_,sizes:E_,defaultProps:__},$u,U5,Z5,T_=Le.variants,M_=Le.defaultProps,Q0=Ft("number-input-stepper-width"),G5=Ft("number-input-input-padding"),O_=$r(Q0).add("0.5rem").toString(),L_=($u={},$u[Q0.variable]="24px",$u[G5.variable]=O_,$u),A_=(U5=(Z5=Le.baseStyle)==null?void 0:Z5.field)!=null?U5:{},F_={width:[Q0.reference]},I_=function(t){return{borderStart:"1px solid",borderStartColor:$("inherit","whiteAlpha.300")(t),color:$("inherit","whiteAlpha.800")(t),_active:{bg:$("gray.200","whiteAlpha.300")(t)},_disabled:{opacity:.4,cursor:"not-allowed"}}},D_=function(t){return{root:L_,field:A_,stepperGroup:F_,stepper:I_(t)}};function Bu(e){var t,r,n=Le.sizes[e],i={lg:"md",md:"md",sm:"sm",xs:"sm"},o=(t=(r=n.field)==null?void 0:r.fontSize)!=null?t:"md",a=j5.fontSizes[o.toString()];return{field:He({},n.field,{paddingInlineEnd:G5.reference,verticalAlign:"top"}),stepper:{fontSize:$r(a).multiply(.75).toString(),_first:{borderTopEndRadius:i[e]},_last:{borderBottomEndRadius:i[e],mt:"-1px",borderTopWidth:1}}}}var R_={xs:Bu("xs"),sm:Bu("sm"),md:Bu("md"),lg:Bu("lg")},V_={parts:QS.keys,baseStyle:D_,sizes:R_,variants:T_,defaultProps:M_},Y5,$_=He({},Le.baseStyle.field,{textAlign:"center"}),B_={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"}},N_={outline:function(t){var r;return(r=Le.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Le.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Le.variants.filled(t).field)!=null?r:{}},unstyled:(Y5=Le.variants.unstyled.field)!=null?Y5:{}},z_=Le.defaultProps,H_={baseStyle:$_,sizes:B_,variants:N_,defaultProps:z_},J0=Ft("popper-bg"),j_=Ft("popper-arrow-bg"),W_=Ft("popper-arrow-shadow-color"),U_={zIndex:10},Z_=function(t){var r,n=$("white","gray.700")(t),i=$("gray.200","whiteAlpha.300")(t);return r={},r[J0.variable]="colors."+n,r.bg=J0.reference,r[j_.variable]=J0.reference,r[W_.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},G_={px:3,py:2,borderBottomWidth:"1px"},Y_={px:3,py:2},K_={px:3,py:2,borderTopWidth:"1px"},q_={position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2},X_=function(t){return{popper:U_,content:Z_(t),header:G_,body:Y_,footer:K_,arrow:{},closeButton:q_}},Q_={parts:JS.keys,baseStyle:X_};function J_(e){var t=e.colorScheme,r=e.theme,n=e.isIndeterminate,i=e.hasStripe,o=$(D5(),D5("1rem","rgba(0,0,0,0.1)"))(e),a=$(t+".500",t+".200")(e),l=`linear-gradient(
329
329
  to right,
330
330
  transparent 0%,
331
- `+We(r,a)+` 50%,
331
+ `+Ge(r,a)+` 50%,
332
332
  transparent 100%
333
- )`,s=!n&&i;return ze({},s&&o,n?{bgImage:l}:{bgColor:a})}var QE={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},JE=function(t){return{bg:R("gray.100","whiteAlpha.300")(t)}},eP=function(t){return ze({transitionProperty:"common",transitionDuration:"slow"},KE(t))},tP=function(t){return{label:QE,filledTrack:eP(t),track:JE(t)}},rP={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},nP={size:"md",colorScheme:"blue"},iP={parts:QC.keys,sizes:rP,baseStyle:tP,defaultProps:nP},oP=function(t){var r=xu.baseStyle(t),n=r.control,i=n===void 0?{}:n;return ze({},i,{borderRadius:"full",_checked:ze({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},aP=function(t){return{label:xu.baseStyle(t).label,container:xu.baseStyle(t).container,control:oP(t)}},lP={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"}}},sP={size:"md",colorScheme:"blue"},uP={parts:JC.keys,baseStyle:aP,sizes:lP,defaultProps:sP},cP=function(t){return ze({},Te.baseStyle.field,{bg:R("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:R("white","gray.700")(t)}})},dP={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},fP=function(t){return{field:cP(t),icon:dP}},Pu={paddingInlineEnd:"2rem"},pP=Ot({},Te.sizes,{lg:{field:Pu},md:{field:Pu},sm:{field:Pu},xs:{field:Pu,icon:{insetEnd:"0.25rem"}}}),hP={parts:eS.keys,baseStyle:fP,sizes:pP,variants:Te.variants,defaultProps:Te.defaultProps},vP=function(t,r){return gi({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},mP=function(t){var r=R("gray.100","gray.800")(t),n=R("gray.400","gray.600")(t),i=t.startColor,o=i===void 0?r:i,a=t.endColor,l=a===void 0?n:a,s=t.speed,u=t.theme,c=We(u,o),p=We(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:p,animation:s+"s linear infinite alternate "+vP(c,p)}},gP={baseStyle:mP},yP=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:R("white","gray.700")(t)}}},bP={baseStyle:yP};function xP(e){return Va({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 wP=function(t){var r=t.orientation;return ze({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Va({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},CP=function(t){return{overflow:"hidden",borderRadius:"sm",bg:R("gray.200","whiteAlpha.200")(t),_disabled:{bg:R("gray.300","whiteAlpha.300")(t)}}},SP=function(t){return ze({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"}},xP(t))},kP=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:R(r+".500",r+".200")(t)}},EP=function(t){return{container:wP(t),track:CP(t),thumb:SP(t),filledTrack:kP(t)}},PP=function(t){return{thumb:{w:"16px",h:"16px"},track:Va({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},TP=function(t){return{thumb:{w:"14px",h:"14px"},track:Va({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},_P=function(t){return{thumb:{w:"10px",h:"10px"},track:Va({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},MP={lg:PP,md:TP,sm:_P},LP={size:"md",colorScheme:"blue"},AP={parts:tS.keys,sizes:MP,baseStyle:EP,defaultProps:LP},O0,F0,R0,V0,I0,Xn=_t("spinner-size"),OP={width:[Xn.reference],height:[Xn.reference]},FP={xs:(O0={},O0[Xn.variable]="0.75rem",O0),sm:(F0={},F0[Xn.variable]="1rem",F0),md:(R0={},R0[Xn.variable]="1.5rem",R0),lg:(V0={},V0[Xn.variable]="2rem",V0),xl:(I0={},I0[Xn.variable]="3rem",I0)},RP={size:"md"},VP={baseStyle:OP,sizes:FP,defaultProps:RP},IP={fontWeight:"medium"},BP={opacity:.8,marginBottom:2},$P={verticalAlign:"baseline",fontWeight:"semibold"},DP={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},zP={container:{},label:IP,helpText:BP,number:$P,icon:DP},HP={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},NP={size:"md"},jP={parts:rS.keys,baseStyle:zP,sizes:HP,defaultProps:NP},Tu,_u,Mu,Ba=_t("switch-track-width"),Kn=_t("switch-track-height"),B0=_t("switch-track-diff"),WP=Lr.subtract(Ba,Kn),$0=_t("switch-thumb-x"),UP=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Ba.reference],height:[Kn.reference],transitionProperty:"common",transitionDuration:"fast",bg:R("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:R(r+".500",r+".200")(t)}}},ZP={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Kn.reference],height:[Kn.reference],_checked:{transform:"translateX("+$0.reference+")"}},GP=function(t){var r,n;return{container:(n={},n[B0.variable]=WP,n[$0.variable]=B0.reference,n._rtl=(r={},r[$0.variable]=Lr(B0).negate().toString(),r),n),track:UP(t),thumb:ZP}},qP={sm:{container:(Tu={},Tu[Ba.variable]="1.375rem",Tu[Kn.variable]="0.75rem",Tu)},md:{container:(_u={},_u[Ba.variable]="1.875rem",_u[Kn.variable]="1rem",_u)},lg:{container:(Mu={},Mu[Ba.variable]="2.875rem",Mu[Kn.variable]="1.5rem",Mu)}},YP={size:"md",colorScheme:"blue"},XP={parts:nS.keys,baseStyle:GP,sizes:qP,defaultProps:YP},KP={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"}},Lu={"&[data-is-numeric=true]":{textAlign:"end"}},QP=function(t){var r=t.colorScheme;return{th:ze({color:R("gray.600","gray.400")(t),borderBottom:"1px",borderColor:R(r+".100",r+".700")(t)},Lu),td:ze({borderBottom:"1px",borderColor:R(r+".100",r+".700")(t)},Lu),caption:{color:R("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},JP=function(t){var r=t.colorScheme;return{th:ze({color:R("gray.600","gray.400")(t),borderBottom:"1px",borderColor:R(r+".100",r+".700")(t)},Lu),td:ze({borderBottom:"1px",borderColor:R(r+".100",r+".700")(t)},Lu),caption:{color:R("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:R(r+".100",r+".700")(t)},td:{background:R(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},eT={simple:QP,striped:JP,unstyled:{}},tT={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"}}},rT={variant:"simple",size:"md",colorScheme:"gray"},nT={parts:iS.keys,baseStyle:KP,variants:eT,sizes:tT,defaultProps:rT},iT=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},oT=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},aT=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:i==="vertical"?"column":"row"}},lT={p:4},sT=function(t){return{root:iT(t),tab:oT(t),tablist:aT(t),tabpanel:lT}},uT={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},cT=function(t){var r,n,i=t.colorScheme,o=t.orientation,a=o==="vertical",l=o==="vertical"?"borderStart":"borderBottom",s=a?"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:R(i+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:R("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},dT=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:R(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:R("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},fT=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:R("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:R("#fff","gray.800")(t),color:R(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},pT=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:We(n,r+".700"),bg:We(n,r+".100")}}}},hT=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:R("gray.600","inherit")(t),_selected:{color:R("#fff","gray.800")(t),bg:R(r+".600",r+".300")(t)}}}},vT={},mT={line:cT,enclosed:dT,"enclosed-colored":fT,"soft-rounded":pT,"solid-rounded":hT,unstyled:vT},gT={size:"md",variant:"line",colorScheme:"blue"},yT={parts:oS.keys,baseStyle:sT,sizes:uT,variants:mT,defaultProps:gT},bT={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},xT={lineHeight:1.2,overflow:"visible"},wT={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}},CT={container:bT,label:xT,closeButton:wT},ST={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}}},kT={subtle:function(t){return{container:Yi.variants.subtle(t)}},solid:function(t){return{container:Yi.variants.solid(t)}},outline:function(t){return{container:Yi.variants.outline(t)}}},ET={size:"md",variant:"subtle",colorScheme:"gray"},PT={parts:aS.keys,variants:kT,baseStyle:CT,sizes:ST,defaultProps:ET},yg,bg,xg,wg,Cg,TT=ze({},Te.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),_T={outline:function(t){var r;return(r=Te.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Te.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Te.variants.filled(t).field)!=null?r:{}},unstyled:(yg=Te.variants.unstyled.field)!=null?yg:{}},MT={xs:(bg=Te.sizes.xs.field)!=null?bg:{},sm:(xg=Te.sizes.sm.field)!=null?xg:{},md:(wg=Te.sizes.md.field)!=null?wg:{},lg:(Cg=Te.sizes.lg.field)!=null?Cg:{}},LT={size:"md",variant:"outline"},AT={baseStyle:TT,sizes:MT,variants:_T,defaultProps:LT},D0=_t("tooltip-bg"),OT=_t("popper-arrow-bg"),FT=function(t){var r,n=R("gray.700","gray.300")(t);return r={},r[D0.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[D0.reference],r[OT.variable]=[D0.reference],r.color=R("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},RT={baseStyle:FT},VT=Object.freeze({__proto__:null,Accordion:fS,Alert:xS,Avatar:TS,Badge:Yi,Breadcrumb:IS,Button:ZS,Checkbox:xu,CloseButton:nk,Code:lk,Container:uk,Divider:vk,Drawer:Pk,Editable:Ak,Form:Vk,FormError:Dk,FormLabel:Hk,Heading:Uk,Input:Te,Kbd:tE,Link:nE,List:aE,Menu:hE,Modal:EE,NumberInput:VE,PinInput:zE,Popover:XE,Progress:iP,Radio:uP,Select:hP,Skeleton:gP,SkipLink:bP,Slider:AP,Spinner:VP,Stat:jP,Switch:XP,Table:nT,Tabs:yT,Tag:PT,Textarea:AT,Tooltip:RT}),IT={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},BT=_C({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),$T={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"}},DT={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},zT={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"},HT={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"},NT={"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)"},jT={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},WT={property:HT,easing:NT,duration:jT},UT={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},ZT={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},GT=ze({breakpoints:BT,zIndices:UT,radii:DT,blur:ZT,colors:$T},fg,{sizes:q5,shadows:zT,space:G5,borders:IT,transition:WT}),qT={global:function(t){return{body:{fontFamily:"body",color:R("gray.800","whiteAlpha.900")(t),bg:R("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:R("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:R("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},YT=qT,XT=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function KT(e){return vt(e)?XT.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var QT="ltr",JT={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Sg=ze({direction:QT},GT,{components:VT,styles:YT,config:JT});function $a(){return $a=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},$a.apply(this,arguments)}function e_(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var t_=["as","viewBox","color","focusable","children","className","__css"],kg={path:C.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},C.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"}),C.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"}),C.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Fe=Le(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,l=a===void 0?!1:a,s=e.children,u=e.className,c=e.__css,p=e_(e,t_),f=Ne("chakra-icon",u),h=$a({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),m={ref:t,focusable:l,className:f,__css:h},y=n!=null?n:kg.viewBox;if(r&&typeof r!="string")return C.createElement(re.svg,$a({as:r},m,p));var v=s!=null?s:kg.path;return C.createElement(re.svg,$a({verticalAlign:"middle",viewBox:y},m,p),v)}),z0=function(e,t){return z0=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])},z0(e,t)};function Eg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");z0(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var j=function(){return j=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},j.apply(this,arguments)};function Mt(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 r_(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 Re(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function tr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Ar=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Da={measureLayout:Ar(["layout","layoutId","drag"]),animation:Ar(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Ar(["exit"]),drag:Ar(["drag","dragControls"]),focus:Ar(["whileFocus"]),hover:Ar(["whileHover","onHoverStart","onHoverEnd"]),tap:Ar(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Ar(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Ar(["whileInView","onViewportEnter","onViewportLeave"])};function n_(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Da.projectionNodeConstructor=e[t]:Da[t].Component=e[t])}var i_=function(){},Au=function(){},Pg=O.createContext({strict:!1}),Tg=Object.keys(Da),o_=Tg.length;function a_(e,t,r){var n=[];if(O.useContext(Pg),!t)return null;for(var i=0;i<o_;i++){var o=Tg[i],a=Da[o],l=a.isEnabled,s=a.Component;l(e)&&s&&n.push(C.createElement(s,j({key:o},e,{visualElement:t})))}return n}var H0=O.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Ou=O.createContext({});function l_(){return O.useContext(Ou).visualElement}var za=O.createContext(null),Ha=typeof window!="undefined",Fu=Ha?O.useLayoutEffect:O.useEffect,N0={current:null},_g=!1;function s_(){if(_g=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return N0.current=e.matches};e.addListener(t),t()}else N0.current=!1}function u_(){!_g&&s_();var e=Re(O.useState(N0.current),1),t=e[0];return t}function c_(){var e=u_(),t=O.useContext(H0).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function d_(e,t,r,n){var i=O.useContext(Pg),o=l_(),a=O.useContext(za),l=c_(),s=O.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:o,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:l}));var u=s.current;return Fu(function(){u==null||u.syncRender()}),O.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Fu(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function Ki(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function f_(e,t,r){return O.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):Ki(r)&&(r.current=n))},[t])}function Mg(e){return Array.isArray(e)}function rr(e){return typeof e=="string"||Mg(e)}function p_(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function h_(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function Lg(e,t,r,n,i){var o;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=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Ru(e,t,r){var n=e.getProps();return Lg(n,t,r!=null?r:n.custom,p_(e),h_(e))}function Vu(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||rr(e.initial)||rr(e.animate)||rr(e.whileHover)||rr(e.whileDrag)||rr(e.whileTap)||rr(e.whileFocus)||rr(e.exit)}function Ag(e){return Boolean(Vu(e)||e.variants)}function v_(e,t){if(Vu(e)){var r=e.initial,n=e.animate;return{initial:r===!1||rr(r)?r:void 0,animate:rr(n)?n:void 0}}return e.inherit!==!1?t:{}}function m_(e){var t=v_(e,O.useContext(Ou)),r=t.initial,n=t.animate;return O.useMemo(function(){return{initial:r,animate:n}},[Og(r),Og(n)])}function Og(e){return Array.isArray(e)?e.join(" "):e}function Na(e){var t=O.useRef(null);return t.current===null&&(t.current=e()),t.current}const Fg=1/60*1e3,g_=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),Rg=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(g_()),Fg);function y_(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(s),f.indexOf(s)===-1&&(f.push(s),p&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!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),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const b_=40;let j0=!0,ja=!1,W0=!1;const Qi={delta:0,timestamp:0},Wa=["read","update","preRender","render","postRender"],Iu=Wa.reduce((e,t)=>(e[t]=y_(()=>ja=!0),e),{}),vr=Wa.reduce((e,t)=>{const r=Iu[t];return e[t]=(n,i=!1,o=!1)=>(ja||w_(),r.schedule(n,i,o)),e},{}),Ua=Wa.reduce((e,t)=>(e[t]=Iu[t].cancel,e),{}),U0=Wa.reduce((e,t)=>(e[t]=()=>Iu[t].process(Qi),e),{}),x_=e=>Iu[e].process(Qi),Vg=e=>{ja=!1,Qi.delta=j0?Fg:Math.max(Math.min(e-Qi.timestamp,b_),1),Qi.timestamp=e,W0=!0,Wa.forEach(x_),W0=!1,ja&&(j0=!1,Rg(Vg))},w_=()=>{ja=!0,j0=!0,W0||Rg(Vg)},Z0=()=>Qi,Bu=(e,t,r)=>Math.min(Math.max(r,e),t),G0=.001,C_=.01,Ig=10,S_=.05,k_=1;function E_({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;i_(e<=Ig*1e3);let a=1-t;a=Bu(S_,k_,a),e=Bu(C_,Ig,e/1e3),a<1?(i=u=>{const c=u*a,p=c*e,f=c-r,h=q0(u,a),m=Math.exp(-p);return G0-f/h*m},o=u=>{const p=u*a*e,f=p*r+r,h=Math.pow(a,2)*Math.pow(u,2)*e,m=Math.exp(-p),y=q0(Math.pow(u,2),a);return(-i(u)+G0>0?-1:1)*((f-h)*m)/y}):(i=u=>{const c=Math.exp(-u*e),p=(u-r)*e+1;return-G0+c*p},o=u=>{const c=Math.exp(-u*e),p=(r-u)*(e*e);return c*p});const l=5/e,s=T_(i,o,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:a*2*Math.sqrt(n*u),duration:e}}}const P_=12;function T_(e,t,r){let n=r;for(let i=1;i<P_;i++)n=n-e(n)/t(n);return n}function q0(e,t){return e*Math.sqrt(1-t*t)}const __=["duration","bounce"],M_=["stiffness","damping","mass"];function Bg(e,t){return t.some(r=>e[r]!==void 0)}function L_(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Bg(e,M_)&&Bg(e,__)){const r=E_(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Y0(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,o=Mt(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:p,isResolvedFromDuration:f}=L_(o),h=$g,m=$g;function y(){const v=c?-(c/1e3):0,g=r-t,b=s/(2*Math.sqrt(l*u)),x=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),b<1){const w=q0(x,b);h=k=>{const E=Math.exp(-b*x*k);return r-E*((v+b*x*g)/w*Math.sin(w*k)+g*Math.cos(w*k))},m=k=>{const E=Math.exp(-b*x*k);return b*x*E*(Math.sin(w*k)*(v+b*x*g)/w+g*Math.cos(w*k))-E*(Math.cos(w*k)*(v+b*x*g)-w*g*Math.sin(w*k))}}else if(b===1)h=w=>r-Math.exp(-x*w)*(g+(v+x*g)*w);else{const w=x*Math.sqrt(b*b-1);h=k=>{const E=Math.exp(-b*x*k),P=Math.min(w*k,300);return r-E*((v+b*x*g)*Math.sinh(P)+w*g*Math.cosh(P))/w}}}return y(),{next:v=>{const g=h(v);if(f)a.done=v>=p;else{const b=m(v)*1e3,x=Math.abs(b)<=n,w=Math.abs(r-g)<=i;a.done=x&&w}return a.value=a.done?r:g,a},flipTarget:()=>{c=-c,[t,r]=[r,t],y()}}}Y0.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const $g=e=>0,Za=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Ve=(e,t,r)=>-r*e+r*t+e,Dg=(e,t)=>r=>Math.max(Math.min(r,t),e),Ga=e=>e%1?Number(e.toFixed(5)):e,qa=/(-)?([\d]*\.?[\d])+/g,X0=/(#[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,A_=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function Ya(e){return typeof e=="string"}const Qn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Xa=Object.assign(Object.assign({},Qn),{transform:Dg(0,1)}),$u=Object.assign(Object.assign({},Qn),{default:1}),Ka=e=>({test:t=>Ya(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),mn=Ka("deg"),mr=Ka("%"),Q=Ka("px"),O_=Ka("vh"),F_=Ka("vw"),zg=Object.assign(Object.assign({},mr),{parse:e=>mr.parse(e)/100,transform:e=>mr.transform(e*100)}),K0=(e,t)=>r=>Boolean(Ya(r)&&A_.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Hg=(e,t,r)=>n=>{if(!Ya(n))return n;const[i,o,a,l]=n.match(qa);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},Jn={test:K0("hsl","hue"),parse:Hg("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+mr.transform(Ga(t))+", "+mr.transform(Ga(r))+", "+Ga(Xa.transform(n))+")"},R_=Dg(0,255),Q0=Object.assign(Object.assign({},Qn),{transform:e=>Math.round(R_(e))}),gn={test:K0("rgb","red"),parse:Hg("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Q0.transform(e)+", "+Q0.transform(t)+", "+Q0.transform(r)+", "+Ga(Xa.transform(n))+")"};function V_(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 J0={test:K0("#"),parse:V_,transform:gn.transform},ft={test:e=>gn.test(e)||J0.test(e)||Jn.test(e),parse:e=>gn.test(e)?gn.parse(e):Jn.test(e)?Jn.parse(e):J0.parse(e),transform:e=>Ya(e)?e:e.hasOwnProperty("red")?gn.transform(e):Jn.transform(e)},Ng="${c}",jg="${n}";function I_(e){var t,r,n,i;return isNaN(e)&&Ya(e)&&((r=(t=e.match(qa))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(X0))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function Wg(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(X0);n&&(r=n.length,e=e.replace(X0,Ng),t.push(...n.map(ft.parse)));const i=e.match(qa);return i&&(e=e.replace(qa,jg),t.push(...i.map(Qn.parse))),{values:t,numColors:r,tokenised:e}}function Ug(e){return Wg(e).values}function Zg(e){const{values:t,numColors:r,tokenised:n}=Wg(e),i=t.length;return o=>{let a=n;for(let l=0;l<i;l++)a=a.replace(l<r?Ng:jg,l<r?ft.transform(o[l]):Ga(o[l]));return a}}const B_=e=>typeof e=="number"?0:e;function $_(e){const t=Ug(e);return Zg(e)(t.map(B_))}const Or={test:I_,parse:Ug,createTransformer:Zg,getAnimatableNone:$_},D_=new Set(["brightness","contrast","saturate","opacity"]);function z_(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(qa)||[];if(!n)return e;const i=r.replace(n,"");let o=D_.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const H_=/([a-z-]*)\(.*?\)/g,ep=Object.assign(Object.assign({},Or),{getAnimatableNone:e=>{const t=e.match(H_);return t?t.map(z_).join(" "):e}});function tp(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 Gg({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=tp(s,l,e+1/3),o=tp(s,l,e),a=tp(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const N_=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},j_=[J0,gn,Jn],qg=e=>j_.find(t=>t.test(e)),Yg=(e,t)=>{let r=qg(e),n=qg(t),i=r.parse(e),o=n.parse(t);r===Jn&&(i=Gg(i),r=gn),n===Jn&&(o=Gg(o),n=gn);const a=Object.assign({},i);return l=>{for(const s in a)s!=="alpha"&&(a[s]=N_(i[s],o[s],l));return a.alpha=Ve(i.alpha,o.alpha,l),r.transform(a)}},rp=e=>typeof e=="number",W_=(e,t)=>r=>t(e(r)),Du=(...e)=>e.reduce(W_);function Xg(e,t){return rp(e)?r=>Ve(e,t,r):ft.test(e)?Yg(e,t):Jg(e,t)}const Kg=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>Xg(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},U_=(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]=Xg(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}};function Qg(e){const t=Or.parse(e),r=t.length;let n=0,i=0,o=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?o++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:o}}const Jg=(e,t)=>{const r=Or.createTransformer(t),n=Qg(e),i=Qg(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Du(Kg(n.parsed,i.parsed),r):a=>`${a>0?t:e}`},Z_=(e,t)=>r=>Ve(e,t,r);function G_(e){if(typeof e=="number")return Z_;if(typeof e=="string")return ft.test(e)?Yg:Jg;if(Array.isArray(e))return Kg;if(typeof e=="object")return U_}function q_(e,t,r){const n=[],i=r||G_(e[0]),o=e.length-1;for(let a=0;a<o;a++){let l=i(e[a],e[a+1]);if(t){const s=Array.isArray(t)?t[a]:t;l=Du(s,l)}n.push(l)}return n}function Y_([e,t],[r]){return n=>r(Za(e,t,n))}function X_(e,t){const r=e.length,n=r-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[n]&&(o=n-1,a=!0),!a){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);o=s-1}const l=Za(e[o],e[o+1],i);return t[o](l)}}function e4(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;Au(o===t.length),Au(!n||!Array.isArray(n)||n.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=q_(t,n,i),l=o===2?Y_(e,a):X_(e,a);return r?s=>l(Bu(e[0],e[o-1],s)):l}const zu=e=>t=>1-e(1-t),np=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,K_=e=>t=>Math.pow(t,e),t4=e=>t=>t*t*((e+1)*t-e),Q_=e=>{const t=t4(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},r4=1.525,J_=4/11,eM=8/11,tM=9/10,ip=e=>e,op=K_(2),rM=zu(op),n4=np(op),i4=e=>1-Math.sin(Math.acos(e)),ap=zu(i4),nM=np(ap),lp=t4(r4),iM=zu(lp),oM=np(lp),aM=Q_(r4),lM=4356/361,sM=35442/1805,uM=16061/1805,Hu=e=>{if(e===1||e===0)return e;const t=e*e;return e<J_?7.5625*t:e<eM?9.075*t-9.9*e+3.4:e<tM?lM*t-sM*e+uM:10.8*e*e-20.52*e+10.72},cM=zu(Hu),dM=e=>e<.5?.5*(1-Hu(1-e*2)):.5*Hu(e*2-1)+.5;function fM(e,t){return e.map(()=>t||n4).splice(0,e.length-1)}function pM(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function hM(e,t){return e.map(r=>r*t)}function Nu({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=hM(n&&n.length===a.length?n:pM(a),i);function s(){return e4(l,a,{ease:Array.isArray(r)?r:fM(a,r)})}let u=s();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{a.reverse(),u=s()}}}function vM({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let l=r*e;const s=t+l,u=o===void 0?s:o(s);return u!==s&&(l=u-t),{next:c=>{const p=-l*Math.exp(-c/n);return a.done=!(p>i||p<-i),a.value=a.done?u:u+p,a},flipTarget:()=>{}}}const o4={keyframes:Nu,spring:Y0,decay:vM};function mM(e){if(Array.isArray(e.to))return Nu;if(o4[e.type])return o4[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Nu:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Y0:Nu}const a4=1/60*1e3,gM=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),l4=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(gM()),a4);function yM(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(s),f.indexOf(s)===-1&&(f.push(s),p&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!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),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const bM=40;let sp=!0,Qa=!1,up=!1;const Ji={delta:0,timestamp:0},Ja=["read","update","preRender","render","postRender"],ju=Ja.reduce((e,t)=>(e[t]=yM(()=>Qa=!0),e),{}),xM=Ja.reduce((e,t)=>{const r=ju[t];return e[t]=(n,i=!1,o=!1)=>(Qa||SM(),r.schedule(n,i,o)),e},{}),wM=Ja.reduce((e,t)=>(e[t]=ju[t].cancel,e),{});Ja.reduce((e,t)=>(e[t]=()=>ju[t].process(Ji),e),{});const CM=e=>ju[e].process(Ji),s4=e=>{Qa=!1,Ji.delta=sp?a4:Math.max(Math.min(e-Ji.timestamp,bM),1),Ji.timestamp=e,up=!0,Ja.forEach(CM),up=!1,Qa&&(sp=!1,l4(s4))},SM=()=>{Qa=!0,sp=!0,up||l4(s4)},kM=()=>Ji;function u4(e,t,r=0){return e-t-r}function EM(e,t,r=0,n=!0){return n?u4(t+-e,t,r):t-(e-t)+r}function PM(e,t,r,n){return n?e>=t+r:e<=-r}const TM=e=>{const t=({delta:r})=>e(r);return{start:()=>xM.update(t,!0),stop:()=>wM.update(t)}};function c4(e){var t,r,{from:n,autoplay:i=!0,driver:o=TM,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:p,onComplete:f,onRepeat:h,onUpdate:m}=e,y=Mt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,g,b=0,x=y.duration,w,k=!1,E=!0,P;const L=mM(y);!((r=(t=L).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(P=e4([0,100],[n,v],{clamp:!1}),n=0,v=100);const M=L(Object.assign(Object.assign({},y),{from:n,to:v}));function B(){b++,s==="reverse"?(E=b%2===0,a=EM(a,x,u,E)):(a=u4(a,x,u),s==="mirror"&&M.flipTarget()),k=!1,h&&h()}function G(){g.stop(),f&&f()}function U(X){if(E||(X=-X),a+=X,!k){const K=M.next(Math.max(0,a));w=K.value,P&&(w=P(w)),k=E?K.done:a<=0}m==null||m(w),k&&(b===0&&(x!=null||(x=a)),b<l?PM(a,x,u,E)&&B():G())}function Z(){c==null||c(),g=o(U),g.start()}return i&&Z(),{stop:()=>{p==null||p(),g.stop()}}}function d4(e,t){return t?e*(1e3/t):0}function _M({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:p,onComplete:f,onStop:h}){let m;function y(x){return r!==void 0&&x<r||n!==void 0&&x>n}function v(x){return r===void 0?n:n===void 0||Math.abs(r-x)<Math.abs(n-x)?r:n}function g(x){m==null||m.stop(),m=c4(Object.assign(Object.assign({},x),{driver:c,onUpdate:w=>{var k;p==null||p(w),(k=x.onUpdate)===null||k===void 0||k.call(x,w)},onComplete:f,onStop:h}))}function b(x){g(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},x))}if(y(e))b({from:e,velocity:t,to:v(e)});else{let x=i*t+e;typeof u!="undefined"&&(x=u(x));const w=v(x),k=w===r?-1:1;let E,P;const L=M=>{E=P,P=M,t=d4(M-E,kM().delta),(k===1&&M>w||k===-1&&M<w)&&b({from:M,to:w,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:s,modifyTarget:u,onUpdate:y(x)?L:void 0})}return{stop:()=>m==null?void 0:m.stop()}}const cp=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),f4=e=>cp(e)&&e.hasOwnProperty("z"),Wu=(e,t)=>Math.abs(e-t);function p4(e,t){if(rp(e)&&rp(t))return Wu(e,t);if(cp(e)&&cp(t)){const r=Wu(e.x,t.x),n=Wu(e.y,t.y),i=f4(e)&&f4(t)?Wu(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const h4=(e,t)=>1-3*t+3*e,v4=(e,t)=>3*t-6*e,m4=e=>3*e,Uu=(e,t,r)=>((h4(t,r)*e+v4(t,r))*e+m4(t))*e,g4=(e,t,r)=>3*h4(t,r)*e*e+2*v4(t,r)*e+m4(t),MM=1e-7,LM=10;function AM(e,t,r,n,i){let o,a,l=0;do a=t+(r-t)/2,o=Uu(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>MM&&++l<LM);return a}const OM=8,FM=.001;function RM(e,t,r,n){for(let i=0;i<OM;++i){const o=g4(t,r,n);if(o===0)return t;t-=(Uu(t,r,n)-e)/o}return t}const Zu=11,Gu=1/(Zu-1);function VM(e,t,r,n){if(e===t&&r===n)return ip;const i=new Float32Array(Zu);for(let a=0;a<Zu;++a)i[a]=Uu(a*Gu,e,r);function o(a){let l=0,s=1;const u=Zu-1;for(;s!==u&&i[s]<=a;++s)l+=Gu;--s;const c=(a-i[s])/(i[s+1]-i[s]),p=l+c*Gu,f=g4(p,e,r);return f>=FM?RM(a,p,e,r):f===0?p:AM(a,l,l+Gu,e,r)}return a=>a===0||a===1?a:Uu(o(a),t,n)}function dp(e,t){e.indexOf(t)===-1&&e.push(t)}function fp(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var el=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return dp(this.subscriptions,t),function(){return fp(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 o=0;o<i;o++){var a=this.subscriptions[o];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),IM=function(e){return!isNaN(parseFloat(e))},BM=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new el,this.velocityUpdateSubscribers=new el,this.renderSubscribers=new el,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var o=Z0(),a=o.delta,l=o.timestamp;r.lastUpdated!==l&&(r.timeDelta=a,r.lastUpdated=l,vr.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 vr.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=IM(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?d4(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 eo(e){return new BM(e)}var Fr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},qu=function(e){return e*1e3},$M={linear:ip,easeIn:op,easeInOut:n4,easeOut:rM,circIn:i4,circInOut:nM,circOut:ap,backIn:lp,backInOut:oM,backOut:iM,anticipate:aM,bounceIn:cM,bounceInOut:dM,bounceOut:Hu},y4=function(e){if(Array.isArray(e)){Au(e.length===4);var t=Re(e,4),r=t[0],n=t[1],i=t[2],o=t[3];return VM(r,n,i,o)}else if(typeof e=="string")return $M[e];return e},DM=function(e){return Array.isArray(e)&&typeof e[0]!="number"},b4=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Or.test(t)&&!t.startsWith("url("))},tl=function(e){return Array.isArray(e)},ei=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Yu=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},pp=function(){return{type:"keyframes",ease:"linear",duration:.3}},zM=function(e){return{type:"keyframes",duration:.8,values:e}},x4={x:ei,y:ei,z:ei,rotate:ei,rotateX:ei,rotateY:ei,rotateZ:ei,scaleX:Yu,scaleY:Yu,scale:Yu,opacity:pp,backgroundColor:pp,color:pp,default:Yu},HM=function(e,t){var r;return tl(t)?r=zM:r=x4[e]||x4.default,j({to:t},r(t))},w4=j(j({},Qn),{transform:Math.round}),C4={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:mn,rotateX:mn,rotateY:mn,rotateZ:mn,scale:$u,scaleX:$u,scaleY:$u,scaleZ:$u,skew:mn,skewX:mn,skewY:mn,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:Xa,originX:zg,originY:zg,originZ:Q,zIndex:w4,fillOpacity:Xa,strokeOpacity:Xa,numOctaves:w4},NM=j(j({},C4),{color:ft,backgroundColor:ft,outlineColor:ft,fill:ft,stroke:ft,borderColor:ft,borderTopColor:ft,borderRightColor:ft,borderBottomColor:ft,borderLeftColor:ft,filter:ep,WebkitFilter:ep}),hp=function(e){return NM[e]};function vp(e,t){var r,n=hp(e);return n!==ep&&(n=Or),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var jM={current:!1},WM=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},S4=function(e){return tl(e)?e[e.length-1]||0:e};function UM(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Mt(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function ZM(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,o=e.loop,a=Mt(e,["ease","times","yoyo","flip","loop"]),l=j({},a);return r&&(l.offset=r),a.duration&&(l.duration=qu(a.duration)),a.repeatDelay&&(l.repeatDelay=qu(a.repeatDelay)),t&&(l.ease=DM(t)?t.map(y4):y4(t)),a.type==="tween"&&(l.type="keyframes"),(n||o||i)&&(n?l.repeatType="reverse":o?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=o||n||i||a.repeat),a.type!=="spring"&&(l.type="keyframes"),l}function GM(e,t){var r,n,i=mp(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function qM(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=tr([],Re(e.to),!1),e.to[0]=e.from),e}function YM(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),qM(t),UM(e)||(e=j(j({},e),HM(r,t.to))),j(j({},t),ZM(e))}function XM(e,t,r,n,i){var o,a=mp(n,e),l=(o=a.from)!==null&&o!==void 0?o:t.get(),s=b4(e,r);l==="none"&&s&&typeof r=="string"?l=vp(e,r):k4(l)&&typeof r=="string"?l=E4(r):!Array.isArray(r)&&k4(r)&&typeof l=="string"&&(r=E4(l));var u=b4(e,l);function c(){var f={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?_M(j(j({},f),a)):c4(j(j({},YM(a,f,e)),{onUpdate:function(h){var m;f.onUpdate(h),(m=a.onUpdate)===null||m===void 0||m.call(a,h)},onComplete:function(){var h;f.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function p(){var f,h,m=S4(r);return t.set(m),i(),(f=a==null?void 0:a.onUpdate)===null||f===void 0||f.call(a,m),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!s||a.type===!1?p:c}function k4(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function E4(e){return typeof e=="number"?0:vp("",e)}function mp(e,t){return e[t]||e.default||e}function gp(e,t,r,n){return n===void 0&&(n={}),jM.current&&(n={type:!1}),t.start(function(i){var o,a,l=XM(e,t,r,n,i),s=GM(n,e),u=function(){return a=l()};return s?o=window.setTimeout(u,qu(s)):u(),function(){clearTimeout(o),a==null||a.stop()}})}function KM(e,t,r){r===void 0&&(r={});var n=Fr(e)?e:eo(e);return gp("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var P4=["TopLeft","TopRight","BottomLeft","BottomRight"],QM=P4.length,T4=function(e){return typeof e=="string"?parseFloat(e):e},_4=function(e){return typeof e=="number"||Q.test(e)};function JM(e,t,r,n,i,o){var a,l,s,u;i?(e.opacity=Ve(0,(a=r.opacity)!==null&&a!==void 0?a:1,eL(n)),e.opacityExit=Ve((l=t.opacity)!==null&&l!==void 0?l:1,0,tL(n))):o&&(e.opacity=Ve((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<QM;c++){var p="border".concat(P4[c],"Radius"),f=M4(t,p),h=M4(r,p);if(!(f===void 0&&h===void 0)){f||(f=0),h||(h=0);var m=f===0||h===0||_4(f)===_4(h);m?(e[p]=Math.max(Ve(T4(f),T4(h),n),0),(mr.test(h)||mr.test(f))&&(e[p]+="%")):e[p]=h}}(t.rotate||r.rotate)&&(e.rotate=Ve(t.rotate||0,r.rotate||0,n))}function M4(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var eL=L4(0,.5,ap),tL=L4(.5,.95,ip);function L4(e,t,r){return function(n){return n<e?0:n>t?1:r(Za(e,t,n))}}function A4(e,t){e.min=t.min,e.max=t.max}function gr(e,t){A4(e.x,t.x),A4(e.y,t.y)}function yp(e){return e===void 0||e===1}function O4(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!yp(t)||!yp(r)||!yp(n)}function yn(e){return O4(e)||F4(e.x)||F4(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function F4(e){return e&&e!=="0%"}function Xu(e,t,r){var n=e-r,i=t*n;return r+i}function R4(e,t,r,n,i){return i!==void 0&&(e=Xu(e,i,n)),Xu(e,r,n)+t}function bp(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=R4(e.min,t,r,n,i),e.max=R4(e.max,t,r,n,i)}function V4(e,t){var r=t.x,n=t.y;bp(e.x,r.translate,r.scale,r.originPoint),bp(e.y,n.translate,n.scale,n.originPoint)}function rL(e,t,r,n){var i,o;n===void 0&&(n=!1);var a=r.length;if(!!a){t.x=t.y=1;for(var l,s,u=0;u<a;u++)l=r[u],s=l.projectionDelta,((o=(i=l.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&ro(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,V4(e,s)),n&&yn(l.latestValues)&&ro(e,l.latestValues))}}function to(e,t){e.min=e.min+t,e.max=e.max+t}function I4(e,t,r){var n=Re(r,3),i=n[0],o=n[1],a=n[2],l=t[a]!==void 0?t[a]:.5,s=Ve(e.min,e.max,l);bp(e,t[i],t[o],s,t.scale)}var nL=["x","scaleX","originX"],iL=["y","scaleY","originY"];function ro(e,t){I4(e.x,t,nL),I4(e.y,t,iL)}function Rr(e){return e.max-e.min}function B4(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),p4(e,t)<r}function $4(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Ve(t.min,t.max,e.origin),e.scale=Rr(r)/Rr(t),(B4(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ve(r.min,r.max,e.origin)-e.originPoint,(B4(e.translate)||isNaN(e.translate))&&(e.translate=0)}function rl(e,t,r,n){$4(e.x,t.x,r.x,n==null?void 0:n.originX),$4(e.y,t.y,r.y,n==null?void 0:n.originY)}function D4(e,t,r){e.min=r.min+t.min,e.max=e.min+Rr(t)}function oL(e,t,r){D4(e.x,t.x,r.x),D4(e.y,t.y,r.y)}function z4(e,t,r){e.min=t.min-r.min,e.max=e.min+Rr(t)}function nl(e,t,r){z4(e.x,t.x,r.x),z4(e.y,t.y,r.y)}function H4(e,t,r,n,i){return e-=t,e=Xu(e,1/r,n),i!==void 0&&(e=Xu(e,1/i,n)),e}function aL(e,t,r,n,i,o,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),o===void 0&&(o=e),a===void 0&&(a=e),mr.test(t)){t=parseFloat(t);var l=Ve(a.min,a.max,t/100);t=l-a.min}if(typeof t=="number"){var s=Ve(o.min,o.max,n);e===o&&(s-=t),e.min=H4(e.min,t,r,s,i),e.max=H4(e.max,t,r,s,i)}}function N4(e,t,r,n,i){var o=Re(r,3),a=o[0],l=o[1],s=o[2];aL(e,t[a],t[l],t[s],t.scale,n,i)}var lL=["x","scaleX","originX"],sL=["y","scaleY","originY"];function j4(e,t,r,n){N4(e.x,t,lL,r==null?void 0:r.x,n==null?void 0:n.x),N4(e.y,t,sL,r==null?void 0:r.y,n==null?void 0:n.y)}var W4=function(){return{translate:0,scale:1,origin:0,originPoint:0}},il=function(){return{x:W4(),y:W4()}},U4=function(){return{min:0,max:0}},st=function(){return{x:U4(),y:U4()}};function Z4(e){return e.translate===0&&e.scale===1}function G4(e){return Z4(e.x)&&Z4(e.y)}function q4(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 uL=function(){function e(){this.members=[]}return e.prototype.add=function(t){dp(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(fp(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(a){return t===a});if(r===0)return!1;for(var n,i=r;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){n=o;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 o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,o,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})},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}(),Ku={};function cL(e){Object.assign(Ku,e)}var dL="translate3d(0px, 0px, 0) scale(1, 1)";function Y4(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var a=r.rotate,l=r.rotateX,s=r.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),l&&(o+="rotateX(".concat(l,"deg) ")),s&&(o+="rotateY(".concat(s,"deg) "))}return o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),o===dL?"none":o}function yr(e){return[e("x"),e("y")]}var xp=["","X","Y","Z"],fL=["translate","scale","rotate","skew"],ol=["transformPerspective","x","y","z"];fL.forEach(function(e){return xp.forEach(function(t){return ol.push(e+t)})});function pL(e,t){return ol.indexOf(e)-ol.indexOf(t)}var hL=new Set(ol);function al(e){return hL.has(e)}var vL=new Set(["originX","originY","originZ"]);function X4(e){return vL.has(e)}var mL=function(e,t){return e.depth-t.depth},gL=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){dp(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){fp(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(mL),this.isDirty=!1,this.children.forEach(t)},e}();function Qu(e){var t=Fr(e)?e.get():e;return WM(t)?t.toValue():t}var K4=1e3,ll={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Q4(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function o(a,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(SL),u.nodes.forEach(kL)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?tr(tr([],Re(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new gL)}return o.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new el),this.eventHandlers.get(a).add(l)},o.prototype.notifyListeners=function(a){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(a);u==null||u.notify.apply(u,tr([],Re(l),!1))},o.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},o.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},o.prototype.mount=function(a,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var c=this.options,p=c.layoutId,f=c.layout,h=c.visualElement;if(h&&!h.getInstance()&&h.mount(a),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||p)&&(this.isLayoutDirty=!0),t){var m,y=function(){return s.root.updateBlockedByResize=!1};t(a,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),ll.hasAnimatedSinceResize&&(ll.hasAnimatedSinceResize=!1,s.nodes.forEach(CL))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&h&&(p||f)&&this.addEventListener("didUpdate",function(v){var g,b,x,w,k,E=v.delta,P=v.hasLayoutChanged,L=v.hasRelativeTargetChanged,M=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var B=(b=(g=s.options.transition)!==null&&g!==void 0?g:h.getDefaultTransition())!==null&&b!==void 0?b:ML,G=h.getProps().onLayoutAnimationComplete,U=!s.targetLayout||!q4(s.targetLayout,M)||L,Z=!P&&L;if(((x=s.resumeFrom)===null||x===void 0?void 0:x.instance)||Z||P&&(U||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(E,Z);var X=j(j({},mp(B,"layout")),{onComplete:G});h.shouldReduceMotion&&(X.delay=0,X.type=!1),s.startAnimation(X)}else!P&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(w=s.options).onExitComplete)===null||k===void 0||k.call(w));s.targetLayout=M})}},o.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Ua.preRender(this.updateProjection)},o.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},o.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},o.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},o.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},o.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(EL))},o.prototype.willUpdate=function(a){var l,s,u;if(a===void 0&&(a=!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 p=this.path[c];p.shouldResetTransform=!0,p.updateScroll()}var f=this.options,h=f.layoutId,m=f.layout;if(!(h===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(),a&&this.notifyListeners("willUpdate")}}},o.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(J4);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(LL),this.potentialNodes.clear()),this.nodes.forEach(wL),this.nodes.forEach(yL),this.nodes.forEach(bL),this.clearAllSnapshots(),U0.update(),U0.preRender(),U0.render())},o.prototype.clearAllSnapshots=function(){this.nodes.forEach(xL),this.sharedNodes.forEach(PL)},o.prototype.scheduleUpdateProjection=function(){vr.preRender(this.updateProjection,!1,!0)},o.prototype.scheduleCheckAfterUnmount=function(){var a=this;vr.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},o.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));n3(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},o.prototype.updateLayout=function(){var a;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();n3(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=st(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},o.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},o.prototype.resetTransform=function(){var a;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!G4(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),p=c!==this.prevTransformTemplateValue;l&&(s||yn(this.latestValues)||p)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},o.prototype.measure=function(){var a=this.options.visualElement;if(!a)return st();var l=a.measureViewportBox(),s=this.root.scroll;return s&&(to(l.x,s.x),to(l.y,s.y)),l},o.prototype.removeElementScroll=function(a){var l=st();gr(l,a);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,p=u.options;u!==this.root&&c&&p.layoutScroll&&(to(l.x,c.x),to(l.y,c.y))}return l},o.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var s=st();gr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ro(s,{x:-c.scroll.x,y:-c.scroll.y}),yn(c.latestValues)&&ro(s,c.latestValues)}return yn(this.latestValues)&&ro(s,this.latestValues),s},o.prototype.removeTransform=function(a){var l,s=st();gr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!yn(c.latestValues)){O4(c.latestValues)&&c.updateSnapshot();var p=st(),f=c.measure();gr(p,f),j4(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,p)}}return yn(this.latestValues)&&j4(s,this.latestValues),s},o.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},o.prototype.setOptions=function(a){var l;this.options=j(j(j({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},o.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},o.prototype.resolveTargetDelta=function(){var a,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=st(),this.relativeTargetOrigin=st(),nl(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),gr(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=st(),this.targetWithTransforms=st()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?oL(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):gr(this.target,this.layout.actual),V4(this.target,this.targetDelta)):gr(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=st(),this.relativeTargetOrigin=st(),nl(this.relativeTargetOrigin,this.target,this.relativeParent.target),gr(this.relativeTarget,this.relativeTargetOrigin)))))},o.prototype.getClosestProjectingParent=function(){if(!(!this.parent||yn(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},o.prototype.calcProjection=function(){var a,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();gr(this.layoutCorrected,this.layout.actual),rL(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var p=c.target;if(!!p){this.projectionDelta||(this.projectionDelta=il(),this.projectionDeltaWithTransform=il());var f=this.treeScale.x,h=this.treeScale.y,m=this.projectionTransform;rl(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=Y4(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==f||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},o.prototype.hide=function(){this.isVisible=!1},o.prototype.show=function(){this.isVisible=!0},o.prototype.scheduleRender=function(a){var l,s,u;a===void 0&&(a=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},o.prototype.setAnimationOrigin=function(a,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,p=(c==null?void 0:c.latestValues)||{},f=j({},this.latestValues),h=il();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=st(),y=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,g=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(_L));this.animationProgress=0,this.mixTargetDelta=function(b){var x,w=b/1e3;e3(h.x,a.x,w),e3(h.y,a.y,w),s.setTargetDelta(h),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((x=s.relativeParent)===null||x===void 0?void 0:x.layout)&&(nl(m,s.layout.actual,s.relativeParent.layout.actual),TL(s.relativeTarget,s.relativeTargetOrigin,m,w)),y&&(s.animationValues=f,JM(f,p,s.latestValues,w,g,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=w},this.mixTargetDelta(0)},o.prototype.startAnimation=function(a){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&&(Ua.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=vr.update(function(){ll.hasAnimatedSinceResize=!0,l.currentAnimation=KM(0,K4,j(j({},a),{onUpdate:function(c){var p;l.mixTargetDelta(c),(p=a.onUpdate)===null||p===void 0||p.call(a,c)},onComplete:function(){var c;(c=a.onComplete)===null||c===void 0||c.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},o.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},o.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,K4),this.currentAnimation.stop()),this.completeAnimation()},o.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,s=a.target,u=a.layout,c=a.latestValues;!l||!s||!u||(gr(l,s),ro(l,c),rl(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},o.prototype.registerSharedNode=function(a,l){var s,u,c;this.sharedNodes.has(a)||this.sharedNodes.set(a,new uL);var p=this.sharedNodes.get(a);p.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)})},o.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},o.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},o.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},o.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},o.prototype.promote=function(a){var l=a===void 0?{}:a,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},o.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},o.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,s={},u=0;u<xp.length;u++){var c=xp[u],p="rotate"+c;!a.getStaticValue(p)||(l=!0,s[p]=a.getStaticValue(p),a.setStaticValue(p,0))}if(!!l){a==null||a.syncRender();for(var p in s)a.setStaticValue(p,s[p]);a.scheduleRender()}}},o.prototype.getProjectionStyles=function(a){var l,s,u,c,p,f;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.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,h.opacity="",h.pointerEvents=Qu(a.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none",h;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=Qu(a.pointerEvents)||""),this.hasProjected&&!yn(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var g=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=Y4(this.projectionDeltaWithTransform,this.treeScale,g),m&&(h.transform=m(g,h.transform));var b=this.projectionDelta,x=b.x,w=b.y;h.transformOrigin="".concat(x.origin*100,"% ").concat(w.origin*100,"% 0"),y.animationValues?h.opacity=y===this?(c=(u=g.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=y===this?(p=g.opacity)!==null&&p!==void 0?p:"":(f=g.opacityExit)!==null&&f!==void 0?f:0;for(var k in Ku)if(g[k]!==void 0){var E=Ku[k],P=E.correct,L=E.applyTo,M=P(g[k],y);if(L)for(var B=L.length,G=0;G<B;G++)h[L[G]]=M;else h[k]=M}return this.options.layoutId&&(h.pointerEvents=y===this?Qu(a.pointerEvents)||"":"none"),h},o.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},o.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(J4),this.root.sharedNodes.clear()},o}()}function yL(e){e.updateLayout()}function bL(e){var t,r,n,i,o=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;e.options.animationType==="size"?yr(function(b){var x=o.isShared?o.measured[b]:o.layout[b],w=Rr(x);x.min=l[b].min,x.max=x.min+w}):e.options.animationType==="position"&&yr(function(b){var x=o.isShared?o.measured[b]:o.layout[b],w=Rr(l[b]);x.max=x.min+w});var u=il();rl(u,l,o.layout);var c=il();o.isShared?rl(c,e.applyTransform(s,!0),o.measured):rl(c,l,o.layout);var p=!G4(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,m=h.snapshot,y=h.layout;if(m&&y){var v=st();nl(v,o.layout,m.layout);var g=st();nl(g,l,y.actual),q4(v,g)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:p,hasRelativeTargetChanged:f})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function xL(e){e.clearSnapshot()}function J4(e){e.clearMeasurements()}function wL(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function CL(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function SL(e){e.resolveTargetDelta()}function kL(e){e.calcProjection()}function EL(e){e.resetRotation()}function PL(e){e.removeLeadSnapshot()}function e3(e,t,r){e.translate=Ve(t.translate,0,r),e.scale=Ve(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function t3(e,t,r,n){e.min=Ve(t.min,r.min,n),e.max=Ve(t.max,r.max,n)}function TL(e,t,r,n){t3(e.x,t.x,r.x,n),t3(e.y,t.y,r.y,n)}function _L(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var ML={duration:.45,ease:[.4,0,.1,1]};function LL(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,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function r3(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function n3(e){r3(e.x),r3(e.y)}var AL=1;function OL(){return Na(function(){if(ll.hasEverUpdated)return AL++})}var wp=O.createContext({}),i3=O.createContext({});function FL(e,t,r,n){var i,o=t.layoutId,a=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=O.useContext(i3);!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:o,layout:a,alwaysMeasureLayout:Boolean(l)||s&&Ki(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var RL=function(e){Eg(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}(zr.default.Component);function VL(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,a=e.Component;t&&n_(t);function l(s,u){var c=IL(s);s=j(j({},s),{layoutId:c});var p=O.useContext(H0),f=null,h=m_(s),m=p.isStatic?void 0:OL(),y=o(s,p.isStatic);return!p.isStatic&&Ha&&(h.visualElement=d_(a,y,j(j({},p),s),r),FL(m,s,h.visualElement,n||Da.projectionNodeConstructor),f=a_(s,h.visualElement)),C.createElement(RL,{visualElement:h.visualElement,props:j(j({},p),s)},f,C.createElement(Ou.Provider,{value:h},i(a,s,m,f_(y,h.visualElement,u),y,p.isStatic,h.visualElement)))}return O.forwardRef(l)}function IL(e){var t,r=e.layoutId,n=(t=O.useContext(wp))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function BL(e){function t(n,i){return i===void 0&&(i={}),VL(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 $L=["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 Cp(e){return typeof e!="string"||e.includes("-")?!1:!!($L.indexOf(e)>-1||/[A-Z]/.test(e))}function o3(e,t){var r=t.layout,n=t.layoutId;return al(e)||X4(e)||(r||n!==void 0)&&(!!Ku[e]||e==="opacity")}var DL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function zL(e,t,r,n){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,l=a===void 0?!0:a,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(pL);for(var p=!1,f=o.length,h=0;h<f;h++){var m=o[h];c+="".concat(DL[m]||m,"(").concat(i[m],") "),m==="z"&&(p=!0)}return!p&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function HL(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,o=e.originZ,a=o===void 0?0:o;return"".concat(r," ").concat(i," ").concat(a)}function a3(e){return e.startsWith("--")}var NL=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function Sp(e,t,r,n){var i,o=e.style,a=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,p=!1,f=!0;for(var h in t){var m=t[h];if(a3(h)){a[h]=m;continue}var y=C4[h],v=NL(m,y);if(al(h)){if(c=!0,l[h]=v,s.push(h),!f)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(f=!1)}else X4(h)?(u[h]=v,p=!0):o[h]=v}c?o.transform=zL(e,r,f,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),p&&(o.transformOrigin=HL(u))}var kp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function l3(e,t,r){for(var n in t)!Fr(t[n])&&!o3(n,r)&&(e[n]=t[n])}function jL(e,t,r){var n=e.transformTemplate;return O.useMemo(function(){var i=kp();Sp(i,t,{enableHardwareAcceleration:!r},n);var o=i.vars,a=i.style;return j(j({},o),a)},[t])}function WL(e,t,r){var n=e.style||{},i={};return l3(i,n,e),Object.assign(i,jL(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function UL(e,t,r){var n={},i=WL(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 ZL=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 Ju(e){return ZL.has(e)}var s3=function(e){return!Ju(e)};function GL(e){!e||(s3=function(t){return t.startsWith("on")?!Ju(t):e(t)})}try{GL(require("@emotion/is-prop-valid").default)}catch{}function qL(e,t,r){var n={};for(var i in e)(s3(i)||r===!0&&Ju(i)||!t&&!Ju(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function u3(e,t,r){return typeof e=="string"?e:Q.transform(t+r*e)}function YL(e,t,r){var n=u3(t,e.x,e.width),i=u3(r,e.y,e.height);return"".concat(n," ").concat(i)}var XL={offset:"stroke-dashoffset",array:"stroke-dasharray"},KL={offset:"strokeDashoffset",array:"strokeDasharray"};function QL(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?XL:KL;e[o.offset]=Q.transform(-n);var a=Q.transform(t),l=Q.transform(r);e[o.array]="".concat(a," ").concat(l)}function Ep(e,t,r,n){var i=t.attrX,o=t.attrY,a=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,p=t.pathOffset,f=p===void 0?0:p,h=Mt(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Sp(e,h,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&&(a!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=YL(v,a!==void 0?a:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),o!==void 0&&(m.y=o),s!==void 0&&QL(m,s,c,f,!1)}var c3=function(){return j(j({},kp()),{attrs:{}})};function JL(e,t){var r=O.useMemo(function(){var i=c3();return Ep(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),j(j({},i.attrs),{style:j({},i.style)})},[t]);if(e.style){var n={};l3(n,e.style,e),r.style=j(j({},n),r.style)}return r}function eA(e){e===void 0&&(e=!1);var t=function(r,n,i,o,a,l){var s=a.latestValues,u=Cp(r)?JL:UL,c=u(n,s,l),p=qL(n,typeof r=="string",e),f=j(j(j({},p),c),{ref:o});return i&&(f["data-projection-id"]=i),O.createElement(r,f)};return t}var tA=/([a-z])([A-Z])/g,rA="$1-$2",d3=function(e){return e.replace(tA,rA).toLowerCase()};function f3(e,t,r,n){var i=t.style,o=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var a in o)e.style.setProperty(a,o[a])}var p3=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function h3(e,t){f3(e,t);for(var r in t.attrs)e.setAttribute(p3.has(r)?r:d3(r),t.attrs[r])}function Pp(e){var t=e.style,r={};for(var n in t)(Fr(t[n])||o3(n,e))&&(r[n]=t[n]);return r}function v3(e){var t=Pp(e);for(var r in e)if(Fr(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function Tp(e){return typeof e=="object"&&typeof e.start=="function"}function m3(e,t,r,n){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,l={latestValues:nA(t,r,n,i),renderState:o()};return a&&(l.mount=function(s){return a(t,s,l)}),l}var g3=function(e){return function(t,r){var n=O.useContext(Ou),i=O.useContext(za);return r?m3(e,t,n,i):Na(function(){return m3(e,t,n,i)})}};function nA(e,t,r,n){var i={},o=(r==null?void 0:r.initial)===!1,a=n(e);for(var l in a)i[l]=Qu(a[l]);var s=e.initial,u=e.animate,c=Vu(e),p=Ag(e);t&&p&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var f=o||s===!1,h=f?u:s;if(h&&typeof h!="boolean"&&!Tp(h)){var m=Array.isArray(h)?h:[h];m.forEach(function(y){var v=Lg(e,y);if(!!v){var g=v.transitionEnd;v.transition;var b=Mt(v,["transitionEnd","transition"]);for(var x in b){var w=b[x];if(Array.isArray(w)){var k=f?w.length-1:0;w=w[k]}w!==null&&(i[x]=w)}for(var x in g)i[x]=g[x]}})}return i}var iA={useVisualState:g3({scrapeMotionValuesFromProps:v3,createRenderState:c3,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}}Ep(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),h3(t,n)}})},oA={useVisualState:g3({scrapeMotionValuesFromProps:Pp,createRenderState:kp})};function aA(e,t,r,n,i){var o=t.forwardMotionProps,a=o===void 0?!1:o,l=Cp(e)?iA:oA;return j(j({},l),{preloadedFeatures:r,useRender:eA(a),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var ye;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(ye||(ye={}));function _p(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function Mp(e,t,r,n){O.useEffect(function(){var i=e.current;if(r&&i)return _p(i,t,r,n)},[e,t,r,n])}function lA(e){var t=e.whileFocus,r=e.visualElement,n=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ye.Focus,!0)},i=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ye.Focus,!1)};Mp(r,"focus",t?n:void 0),Mp(r,"blur",t?i:void 0)}function y3(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function b3(e){var t=!!e.touches;return t}function sA(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var uA={pageX:0,pageY:0};function cA(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||uA;return{x:n[t+"X"],y:n[t+"Y"]}}function dA(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Lp(e,t){return t===void 0&&(t="page"),{point:b3(e)?cA(e,t):dA(e,t)}}var x3=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,Lp(n))};return t?sA(r):r},fA=function(){return Ha&&window.onpointerdown===null},pA=function(){return Ha&&window.ontouchstart===null},hA=function(){return Ha&&window.onmousedown===null},vA={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},mA={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function w3(e){return fA()?e:pA()?mA[e]:hA()?vA[e]:e}function no(e,t,r,n){return _p(e,w3(t),x3(r,t==="pointerdown"),n)}function ec(e,t,r,n){return Mp(e,w3(t),r&&x3(r,t==="pointerdown"),n)}function C3(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var S3=C3("dragHorizontal"),k3=C3("dragVertical");function E3(e){var t=!1;if(e==="y")t=k3();else if(e==="x")t=S3();else{var r=S3(),n=k3();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function P3(){var e=E3(!0);return e?(e(),!1):!0}function T3(e,t,r){return function(n,i){var o;!y3(n)||P3()||((o=e.animationState)===null||o===void 0||o.setActive(ye.Hover,t),r==null||r(n,i))}}function gA(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;ec(i,"pointerenter",t||n?T3(i,!0,t):void 0),ec(i,"pointerleave",r||n?T3(i,!1,r):void 0)}var _3=function(e,t){return t?e===t?!0:_3(e,t.parentElement):!1};function Ap(e){return O.useEffect(function(){return function(){return e()}},[])}function yA(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,o=e.visualElement,a=t||r||n||i,l=O.useRef(!1),s=O.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=o.animationState)===null||m===void 0||m.setActive(ye.Tap,!1),!P3()}function p(m,y){!c()||(_3(o.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function f(m,y){!c()||n==null||n(m,y)}function h(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Du(no(window,"pointerup",p),no(window,"pointercancel",f)),(v=o.animationState)===null||v===void 0||v.setActive(ye.Tap,!0),r==null||r(m,y))}ec(o,"pointerdown",a?h:void 0),Ap(u)}var Op=new WeakMap,Fp=new WeakMap,bA=function(e){var t;(t=Op.get(e.target))===null||t===void 0||t(e)},xA=function(e){e.forEach(bA)};function wA(e){var t=e.root,r=Mt(e,["root"]),n=t||document;Fp.has(n)||Fp.set(n,{});var i=Fp.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(xA,j({root:t},r))),i[o]}function CA(e,t,r){var n=wA(t);return Op.set(e,r),n.observe(e),function(){Op.delete(e),n.unobserve(e)}}function SA(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,a=o===void 0?{}:o,l=O.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);a.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?PA:EA;u(s,l.current,t,a)}var kA={some:0,all:1};function EA(e,t,r,n){var i=n.root,o=n.margin,a=n.amount,l=a===void 0?"some":a,s=n.once;O.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof l=="number"?l:kA[l]},c=function(p){var f,h=p.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(s&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(f=r.animationState)===null||f===void 0||f.setActive(ye.InView,h);var m=r.getProps(),y=h?m.onViewportEnter:m.onViewportLeave;y==null||y(p)}};return CA(r.getInstance(),u,c)}},[e,i,o,l])}function PA(e,t,r,n){var i=n.fallback,o=i===void 0?!0:i;O.useEffect(function(){!e||!o||requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(a=r.animationState)===null||a===void 0||a.setActive(ye.InView,!0)})},[e])}var bn=function(e){return function(t){return e(t),null}},TA={inView:bn(SA),tap:bn(yA),focus:bn(lA),hover:bn(gA)},_A=0,MA=function(){return _A++},M3=function(){return Na(MA)};function Rp(){var e=O.useContext(za);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=M3();O.useEffect(function(){return n(i)},[]);var o=function(){return r==null?void 0:r(i)};return!t&&r?[!1,o]:[!0]}function L3(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 LA=function(e){return/^\-?\d*\.?\d+$/.test(e)},AA=function(e){return/^0[^.\s]+$/.test(e)},A3=function(e){return function(t){return t.test(e)}},OA={test:function(e){return e==="auto"},parse:function(e){return e}},O3=[Qn,Q,mr,mn,F_,O_,OA],sl=function(e){return O3.find(A3(e))},FA=tr(tr([],Re(O3),!1),[ft,Or],!1),RA=function(e){return FA.find(A3(e))};function VA(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,eo(r))}function IA(e,t){var r=Ru(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,o=i===void 0?{}:i;n.transition;var a=Mt(n,["transitionEnd","transition"]);a=j(j({},a),o);for(var l in a){var s=S4(a[l]);VA(e,l,s)}}function BA(e,t,r){var n,i,o,a,l=Object.keys(t).filter(function(h){return!e.hasValue(h)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],p=t[c],f=null;Array.isArray(p)&&(f=p[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"&&(LA(f)||AA(f))?f=parseFloat(f):!RA(f)&&Or.test(p)&&(f=vp(c,p)),e.addValue(c,eo(f)),(o=(a=r)[c])!==null&&o!==void 0||(a[c]=f),e.setBaseTarget(c,f))}}function $A(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function DA(e,t,r){var n,i,o={};for(var a in e)o[a]=(n=$A(a,t))!==null&&n!==void 0?n:(i=r.getValue(a))===null||i===void 0?void 0:i.get();return o}function zA(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(a){return Vp(e,a,r)});n=Promise.all(i)}else if(typeof t=="string")n=Vp(e,t,r);else{var o=typeof t=="function"?Ru(e,t,r.custom):t;n=F3(e,o,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function Vp(e,t,r){var n;r===void 0&&(r={});var i=Ru(e,t,r.custom),o=(i||{}).transition,a=o===void 0?e.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var l=i?function(){return F3(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(h){h===void 0&&(h=0);var m=a.delayChildren,y=m===void 0?0:m,v=a.staggerChildren,g=a.staggerDirection;return HA(e,t,y+h,v,g,r)}:function(){return Promise.resolve()},u=a.when;if(u){var c=Re(u==="beforeChildren"?[l,s]:[s,l],2),p=c[0],f=c[1];return p().then(f)}else return Promise.all([l(),s(r.delay)])}function F3(e,t,r){var n,i=r===void 0?{}:r,o=i.delay,a=o===void 0?0:o,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,p=c===void 0?e.getDefaultTransition():c,f=u.transitionEnd,h=Mt(u,["transition","transitionEnd"]);l&&(p=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in h){var g=e.getValue(v),b=h[v];if(!(!g||b===void 0||y&&jA(y,v))){var x=j({delay:a},p);e.shouldReduceMotion&&al(v)&&(x=j(j({},x),{type:!1,delay:0}));var w=gp(v,g,b,x);m.push(w)}}return Promise.all(m).then(function(){f&&IA(e,f)})}function HA(e,t,r,n,i,o){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var a=[],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(NA).forEach(function(u,c){a.push(Vp(u,t,j(j({},o),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function NA(e,t){return e.sortNodePosition(t)}function jA(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var Ip=[ye.Animate,ye.InView,ye.Focus,ye.Hover,ye.Tap,ye.Drag,ye.Exit],WA=tr([],Re(Ip),!1).reverse(),UA=Ip.length;function ZA(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return zA(e,n,i)}))}}function GA(e){var t=ZA(e),r=YA(),n={},i=!0,o=function(c,p){var f=Ru(e,p);if(f){f.transition;var h=f.transitionEnd,m=Mt(f,["transition","transitionEnd"]);c=j(j(j({},c),m),h)}return c};function a(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,p){for(var f,h=e.getProps(),m=e.getVariantContext(!0)||{},y=[],v=new Set,g={},b=1/0,x=function(P){var L=WA[P],M=r[L],B=(f=h[L])!==null&&f!==void 0?f:m[L],G=rr(B),U=L===p?M.isActive:null;U===!1&&(b=P);var Z=B===m[L]&&B!==h[L]&&G;if(Z&&i&&e.manuallyAnimateOnMount&&(Z=!1),M.protectedKeys=j({},g),!M.isActive&&U===null||!B&&!M.prevProp||Tp(B)||typeof B=="boolean")return"continue";var X=qA(M.prevProp,B),K=X||L===p&&M.isActive&&!Z&&G||P>b&&G,ne=Array.isArray(B)?B:[B],ie=ne.reduce(o,{});U===!1&&(ie={});var Be=M.prevResolvedValues,be=Be===void 0?{}:Be,$e=j(j({},be),ie),F=function(N){K=!0,v.delete(N),M.needsAnimating[N]=!0};for(var H in $e){var I=ie[H],$=be[H];g.hasOwnProperty(H)||(I!==$?tl(I)&&tl($)?!L3(I,$)||X?F(H):M.protectedKeys[H]=!0:I!==void 0?F(H):v.add(H):I!==void 0&&v.has(H)?F(H):M.protectedKeys[H]=!0)}M.prevProp=B,M.prevResolvedValues=ie,M.isActive&&(g=j(j({},g),ie)),i&&e.blockInitialAnimation&&(K=!1),K&&!Z&&y.push.apply(y,tr([],Re(ne.map(function(N){return{animation:N,options:j({type:L},c)}})),!1))},w=0;w<UA;w++)x(w);if(n=j({},g),v.size){var k={};v.forEach(function(P){var L=e.getBaseTarget(P);L!==void 0&&(k[P]=L)}),y.push({animation:k})}var E=Boolean(y.length);return i&&h.initial===!1&&!e.manuallyAnimateOnMount&&(E=!1),i=!1,E?t(y):Promise.resolve()}function u(c,p,f){var h;if(r[c].isActive===p)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(v){var g;return(g=v.animationState)===null||g===void 0?void 0:g.setActive(c,p)}),r[c].isActive=p;var m=s(f,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:a,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function qA(e,t){return typeof t=="string"?t!==e:Mg(t)?!L3(t,e):!1}function ti(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function YA(){var e;return e={},e[ye.Animate]=ti(!0),e[ye.InView]=ti(),e[ye.Hover]=ti(),e[ye.Tap]=ti(),e[ye.Drag]=ti(),e[ye.Focus]=ti(),e[ye.Exit]=ti(),e}var XA={animation:bn(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=GA(t)),Tp(r)&&O.useEffect(function(){return r.subscribe(t)},[r])}),exit:bn(function(e){var t=e.custom,r=e.visualElement,n=Re(Rp(),2),i=n[0],o=n[1],a=O.useContext(za);O.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(ye.Exit,!i,{custom:(s=a==null?void 0:a.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(o))},[i])})},R3=function(){function e(t,r,n){var i=this,o=n===void 0?{}:n,a=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var f=$p(i.lastMoveEventInfo,i.history),h=i.startEvent!==null,m=p4(f.offset,{x:0,y:0})>=3;if(!(!h&&!m)){var y=f.point,v=Z0().timestamp;i.history.push(j(j({},y),{timestamp:v}));var g=i.handlers,b=g.onStart,x=g.onMove;h||(b&&b(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),x&&x(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,h){if(i.lastMoveEvent=f,i.lastMoveEventInfo=Bp(h,i.transformPagePoint),y3(f)&&f.buttons===0){i.handlePointerUp(f,h);return}vr.update(i.updatePoint,!0)},this.handlePointerUp=function(f,h){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,g=$p(Bp(h,i.transformPagePoint),i.history);i.startEvent&&y&&y(f,g),v&&v(f,g)},!(b3(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var l=Lp(t),s=Bp(l,this.transformPagePoint),u=s.point,c=Z0().timestamp;this.history=[j(j({},u),{timestamp:c})];var p=r.onSessionStart;p&&p(t,$p(s,this.history)),this.removeListeners=Du(no(window,"pointermove",this.handlePointerMove),no(window,"pointerup",this.handlePointerUp),no(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ua.update(this.updatePoint)},e}();function Bp(e,t){return t?{point:t(e.point)}:e}function V3(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $p(e,t){var r=e.point;return{point:r,delta:V3(r,I3(t)),offset:V3(r,KA(t)),velocity:QA(t,.1)}}function KA(e){return e[0]}function I3(e){return e[e.length-1]}function QA(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=I3(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>qu(t)));)r--;if(!n)return{x:0,y:0};var o=(i.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function JA(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Ve(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Ve(i,e,r.max):Math.min(e,i)),e}function B3(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 eO(e,t){var r=t.top,n=t.left,i=t.bottom,o=t.right;return{x:B3(e.x,n,o),y:B3(e.y,r,i)}}function $3(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=Re([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function tO(e,t){return{x:$3(e.x,t.x),y:$3(e.y,t.y)}}function rO(e,t){var r=.5,n=Rr(e),i=Rr(t);return i>n?r=Za(t.min,t.max-n,e.min):n>i&&(r=Za(e.min,e.max-i,t.min)),Bu(0,1,r)}function nO(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 Dp=.35;function iO(e){return e===void 0&&(e=Dp),e===!1?e=0:e===!0&&(e=Dp),{x:D3(e,"left","right"),y:D3(e,"top","bottom")}}function D3(e,t,r){return{min:z3(e,t),max:z3(e,r)}}function z3(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function H3(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 oO(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function aO(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 N3(e,t){return H3(aO(e.getBoundingClientRect(),t))}function lO(e,t,r){var n=N3(e,r),i=t.scroll;return i&&(to(n.x,i.x),to(n.y,i.y)),n}var sO=new WeakMap,uO=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=st(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,o=i.snapToCursor,a=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var l=function(p){n.stopAnimation(),a&&n.snapToCursor(Lp(p,"page").point)},s=function(p,f){var h,m=n.getProps(),y=m.drag,v=m.dragPropagation,g=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=E3(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),yr(function(b){var x,w,k=n.getAxisMotionValue(b).get()||0;if(mr.test(k)){var E=(w=(x=n.visualElement.projection)===null||x===void 0?void 0:x.layout)===null||w===void 0?void 0:w.actual[b];if(E){var P=Rr(E);k=P*(parseFloat(k)/100)}}n.originPoint[b]=k}),g==null||g(p,f),(h=n.visualElement.animationState)===null||h===void 0||h.setActive(ye.Drag,!0))},u=function(p,f){var h=n.getProps(),m=h.dragPropagation,y=h.dragDirectionLock,v=h.onDirectionLock,g=h.onDrag;if(!(!m&&!n.openGlobalLock)){var b=f.offset;if(y&&n.currentDirection===null){n.currentDirection=cO(b),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,b),n.updateAxis("y",f.point,b),n.visualElement.syncRender(),g==null||g(p,f)}},c=function(p,f){return n.stop(p,f)};this.panSession=new R3(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 o=this.getProps().onDragEnd;o==null||o(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(ye.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!tc(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=JA(a,this.constraints[t],this.elastic[t])),o.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&Ki(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=eO(o.actual,n):this.constraints=!1,this.elastic=iO(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&yr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=nO(o.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!Ki(r))return!1;var i=r.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=lO(i,o.root,this.visualElement.getTransformPagePoint()),l=tO(o.layout.actual,a);if(n){var s=n(oO(l));this.hasMutatedConstraints=!!s,s&&(l=H3(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},p=yr(function(f){var h;if(!!tc(f,i,r.currentDirection)){var m=(h=c==null?void 0:c[f])!==null&&h!==void 0?h:{};s&&(m={min:0,max:0});var y=a?200:1e6,v=a?40:1e7,g=j(j({type:"inertia",velocity:o?t[f]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(f,g)}});return Promise.all(p).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return gp(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;yr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||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;yr(function(n){var i=r.getProps().drag;if(!!tc(n,i,r.currentDirection)){var o=r.visualElement.projection,a=r.getAxisMotionValue(n);if(o&&o.layout){var l=o.layout.actual[n],s=l.min,u=l.max;a.set(t[n]-Ve(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(!(!Ki(o)||!a||!this.constraints)){this.stopAnimation();var l={x:0,y:0};yr(function(u){var c=t.getAxisMotionValue(u);if(c){var p=c.get();l[u]=rO({min:p,max:p},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),yr(function(u){if(!!tc(u,i,null)){var c=t.getAxisMotionValue(u),p=t.constraints[u],f=p.min,h=p.max;c.set(Ve(f,h,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;sO.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=no(n,"pointerdown",function(u){var c=t.getProps(),p=c.drag,f=c.dragListener,h=f===void 0?!0:f;p&&h&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;Ki(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,l=a.addEventListener("measure",o);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),o();var s=_p(window,"resize",function(){t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,p=u.hasLayoutChanged;t.isDragging&&p&&(yr(function(f){var h=t.getAxisMotionValue(f);!h||(t.originPoint[f]+=c[f].translate,h.set(h.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,o=i===void 0?!1:i,a=t.dragPropagation,l=a===void 0?!1:a,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,p=c===void 0?Dp:c,f=t.dragMomentum,h=f===void 0?!0:f;return j(j({},t),{drag:n,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:p,dragMomentum:h})},e}();function tc(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function cO(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 dO(e){var t=e.dragControls,r=e.visualElement,n=Na(function(){return new uO(r)});O.useEffect(function(){return t&&t.subscribe(n)},[n,t]),O.useEffect(function(){return n.addListeners()},[n])}function fO(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,a=t||r||n||i,l=O.useRef(null),s=O.useContext(H0).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(p,f){l.current=null,n&&n(p,f)}};O.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(p){l.current=new R3(p,u,{transformPagePoint:s})}ec(o,"pointerdown",a&&c),Ap(function(){return l.current&&l.current.end()})}var pO={pan:bn(fO),drag:bn(dO)},rc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function hO(){var e=rc.map(function(){return new el}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){rc.forEach(function(i){var o,a="on"+i,l=n[a];(o=t[i])===null||o===void 0||o.call(t),l&&(t[i]=r[a](l))})}};return e.forEach(function(n,i){r["on"+rc[i]]=function(o){return n.add(o)},r["notify"+rc[i]]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.notify.apply(n,tr([],Re(o),!1))}}),r}function vO(e,t,r){var n;for(var i in t){var o=t[i],a=r[i];if(Fr(o))e.addValue(i,o);else if(Fr(a))e.addValue(i,eo(o));else if(a!==o)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(o)}else e.addValue(i,eo((n=e.getStaticValue(i))!==null&&n!==void 0?n:o))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var j3=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(f,h){var m=f.parent,y=f.props,v=f.presenceId,g=f.blockInitialAnimation,b=f.visualState,x=f.shouldReduceMotion;h===void 0&&(h={});var w=!1,k=b.latestValues,E=b.renderState,P,L=hO(),M=new Map,B=new Map,G={},U=j({},k),Z;function X(){!P||!w||(K(),l(P,E,y.style,I.projection))}function K(){n(I,E,k,h,y)}function ne(){L.notifyUpdate(k)}function ie($,N){var te=N.onChange(function(xe){k[$]=xe,y.onUpdate&&vr.update(ne,!1,!0)}),ve=N.onRenderRequest(I.scheduleRender);B.set($,function(){te(),ve()})}var Be=p(y);for(var be in Be){var $e=Be[be];k[be]!==void 0&&Fr($e)&&$e.set(k[be],!1)}var F=Vu(y),H=Ag(y),I=j(j({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:x,variantChildren:H?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(P)},mount:function($){w=!0,P=I.current=$,I.projection&&I.projection.mount($),H&&m&&!F&&(Z=m==null?void 0:m.addVariantChild(I)),M.forEach(function(N,te){return ie(te,N)}),m==null||m.children.add(I),I.setProps(y)},unmount:function(){var $;($=I.projection)===null||$===void 0||$.unmount(),Ua.update(ne),Ua.render(X),B.forEach(function(N){return N()}),Z==null||Z(),m==null||m.children.delete(I),L.clearAllListeners(),P=void 0,w=!1},addVariantChild:function($){var N,te=I.getClosestVariantNode();if(te)return(N=te.variantChildren)===null||N===void 0||N.add($),function(){return te.variantChildren.delete($)}},sortNodePosition:function($){return!c||r!==$.treeType?0:c(I.getInstance(),$.getInstance())},getClosestVariantNode:function(){return H?I:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return P},getStaticValue:function($){return k[$]},setStaticValue:function($,N){return k[$]=N},getLatestValues:function(){return k},setVisibility:function($){I.isVisible!==$&&(I.isVisible=$,I.scheduleRender())},makeTargetAnimatable:function($,N){return N===void 0&&(N=!0),o(I,$,y,N)},measureViewportBox:function(){return a(P,y)},addValue:function($,N){I.hasValue($)&&I.removeValue($),M.set($,N),k[$]=N.get(),ie($,N)},removeValue:function($){var N;M.delete($),(N=B.get($))===null||N===void 0||N(),B.delete($),delete k[$],u($,E)},hasValue:function($){return M.has($)},getValue:function($,N){var te=M.get($);return te===void 0&&N!==void 0&&(te=eo(N),I.addValue($,te)),te},forEachValue:function($){return M.forEach($)},readValue:function($){var N;return(N=k[$])!==null&&N!==void 0?N:s(P,$,h)},setBaseTarget:function($,N){U[$]=N},getBaseTarget:function($){if(i){var N=i(y,$);if(N!==void 0&&!Fr(N))return N}return U[$]}},L),{build:function(){return K(),E},scheduleRender:function(){vr.render(X,!1,!0)},syncRender:X,setProps:function($){($.transformTemplate||y.transformTemplate)&&I.scheduleRender(),y=$,L.updatePropListeners($),G=vO(I,p(y),G)},getProps:function(){return y},getVariant:function($){var N;return(N=y.variants)===null||N===void 0?void 0:N[$]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function($){if($===void 0&&($=!1),$)return m==null?void 0:m.getVariantContext();if(!F){var N=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(N.initial=y.initial),N}for(var te={},ve=0;ve<mO;ve++){var xe=W3[ve],Ue=y[xe];(rr(Ue)||Ue===!1)&&(te[xe]=Ue)}return te}});return I}},W3=tr(["initial"],Re(Ip),!1),mO=W3.length;function zp(e){return typeof e=="string"&&e.startsWith("var(--")}var U3=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function gO(e){var t=U3.exec(e);if(!t)return[,];var r=Re(t,3),n=r[1],i=r[2];return[n,i]}function Hp(e,t,r){var n=Re(gO(e),2),i=n[0],o=n[1];if(!!i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():zp(o)?Hp(o,t):o}}function yO(e,t,r){var n,i=Mt(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:r};r&&(r=j({},r)),e.forEachValue(function(u){var c=u.get();if(!!zp(c)){var p=Hp(c,o);p&&u.set(p)}});for(var a in i){var l=i[a];if(!!zp(l)){var s=Hp(l,o);!s||(i[a]=s,r&&((n=r[a])!==null&&n!==void 0||(r[a]=l)))}}return{target:i,transitionEnd:r}}var bO=new Set(["width","height","top","left","right","bottom","x","y"]),Z3=function(e){return bO.has(e)},xO=function(e){return Object.keys(e).some(Z3)},G3=function(e,t){e.set(t,!1),e.set(t)},q3=function(e){return e===Qn||e===Q},Y3;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Y3||(Y3={}));var X3=function(e,t){return parseFloat(e.split(", ")[t])},K3=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return X3(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?X3(a[1],e):0}},wO=new Set(["x","y","z"]),CO=ol.filter(function(e){return!wO.has(e)});function SO(e){var t=[];return CO.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 Q3={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,o=t.paddingRight,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,o=t.paddingBottom,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},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:K3(4,13),y:K3(5,14)},kO=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,l={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=Q3[u](n,o)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);G3(c,l[u]),e[u]=Q3[u](s,o)}),e},EO=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=j({},t),n=j({},n);var i=Object.keys(t).filter(Z3),o=[],a=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var p=r[u],f=sl(p),h=t[u],m;if(tl(h)){var y=h.length,v=h[0]===null?1:0;p=h[v],f=sl(p);for(var g=v;g<y;g++)m?Au(sl(h[g])===m):m=sl(h[g])}else m=sl(h);if(f!==m)if(q3(f)&&q3(m)){var b=c.get();typeof b=="string"&&c.set(parseFloat(b)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&m===Q&&(t[u]=h.map(parseFloat))}else(f==null?void 0:f.transform)&&(m==null?void 0:m.transform)&&(p===0||h===0)?p===0?c.set(m.transform(p)):t[u]=f.transform(h):(a||(o=SO(e),a=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],G3(c,h))}}),l.length){var s=kO(t,e,l);return o.length&&o.forEach(function(u){var c=Re(u,2),p=c[0],f=c[1];e.getValue(p).set(f)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function PO(e,t,r,n){return xO(t)?EO(e,t,r,n):{target:t,transitionEnd:n}}var TO=function(e,t,r,n){var i=yO(e,t,n);return t=i.target,n=i.transitionEnd,PO(e,t,r,n)};function _O(e){return window.getComputedStyle(e)}var J3={treeType:"dom",readValueFromInstance:function(e,t){if(al(t)){var r=hp(t);return r&&r.default||0}else{var n=_O(e);return(a3(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 N3(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 o=t.transition,a=t.transitionEnd,l=Mt(t,["transition","transitionEnd"]),s=DA(l,o||{},e);if(i&&(a&&(a=i(a)),l&&(l=i(l)),s&&(s=i(s))),n){BA(e,l,s);var u=TO(e,l,s,a);a=u.transitionEnd,l=u.target}return j({transition:o,transitionEnd:a},l)},scrapeMotionValuesFromProps:Pp,build:function(e,t,r,n,i){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),Sp(t,r,n,i.transformTemplate)},render:f3},MO=j3(J3),LO=j3(j(j({},J3),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return al(t)?((r=hp(t))===null||r===void 0?void 0:r.default)||0:(t=p3.has(t)?t:d3(t),e.getAttribute(t))},scrapeMotionValuesFromProps:v3,build:function(e,t,r,n,i){Ep(t,r,n,i.transformTemplate)},render:h3})),AO=function(e,t){return Cp(e)?LO(t,{enableHardwareAcceleration:!1}):MO(t,{enableHardwareAcceleration:!0})};function e8(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ul={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;var r=e8(e,t.target.x),n=e8(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},t8="_$css",OO={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(U3,function(y){return a.push(y),t8}));var l=Or.parse(e);if(l.length>5)return i;var s=Or.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,p=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=p;var f=Ve(c,p,.5);typeof l[2+u]=="number"&&(l[2+u]/=f),typeof l[3+u]=="number"&&(l[3+u]/=f);var h=s(l);if(o){var m=0;h=h.replace(t8,function(){var y=a[m];return m++,y})}return h}},FO=function(e){Eg(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,o=n.layoutGroup,a=n.switchLayoutGroup,l=n.layoutId,s=i.projection;cL(VO),s&&(o!=null&&o.group&&o.group.add(s),(a==null?void 0:a.register)&&l&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(j(j({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),ll.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,o=i.layoutDependency,a=i.visualElement,l=i.drag,s=i.isPresent,u=a.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||vr.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,o=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(a),o!=null&&o.deregister&&o.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(zr.default.Component);function RO(e){var t=Re(Rp(),2),r=t[0],n=t[1],i=O.useContext(wp);return d(FO,{...j({},e,{layoutGroup:i,switchLayoutGroup:O.useContext(i3),isPresent:r,safeToRemove:n})})}var VO={borderRadius:j(j({},ul),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ul,borderTopRightRadius:ul,borderBottomLeftRadius:ul,borderBottomRightRadius:ul,boxShadow:OO},IO={measureLayout:RO},BO=Q4({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}}}),Np={current:void 0},$O=Q4({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Np.current){var e=new BO(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Np.current=e}return Np.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),DO=j(j(j(j({},XA),TA),pO),IO),nc=BL(function(e,t){return aA(e,t,DO,AO,$O)});function r8(){var e=O.useRef(!1);return Fu(function(){return e.current=!0,function(){e.current=!1}},[]),e}function zO(){var e=r8(),t=Re(O.useState(0),2),r=t[0],n=t[1],i=O.useCallback(function(){e.current&&n(r+1)},[r]),o=O.useCallback(function(){return vr.postRender(i)},[i]);return[o,r]}var jp=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,l=Na(HO),s=M3(),u=O.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:o,onExitComplete:function(c){var p,f;l.set(c,!0);try{for(var h=r_(l.values()),m=h.next();!m.done;m=h.next()){var y=m.value;if(!y)return}}catch(v){p={error:v}}finally{try{m&&!m.done&&(f=h.return)&&f.call(h)}finally{if(p)throw p.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},a?void 0:[n]);return O.useMemo(function(){l.forEach(function(c,p){return l.set(p,!1)})},[n]),C.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),C.createElement(za.Provider,{value:u},t)};function HO(){return new Map}var io=function(e){return e.key||""};function NO(e,t){e.forEach(function(r){var n=io(r);t.set(n,r)})}function jO(e){var t=[];return O.Children.forEach(e,function(r){O.isValidElement(r)&&t.push(r)}),t}var Wp=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,o=e.onExitComplete,a=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=Re(zO(),1),c=u[0],p=O.useContext(wp).forceRender;p&&(c=p);var f=r8(),h=jO(t),m=h,y=new Set,v=O.useRef(m),g=O.useRef(new Map).current,b=O.useRef(!0);if(Fu(function(){b.current=!1,NO(h,g),v.current=m}),Ap(function(){b.current=!0,g.clear(),y.clear()}),b.current)return C.createElement(C.Fragment,null,m.map(function(L){return C.createElement(jp,{key:io(L),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},L)}));m=tr([],Re(m),!1);for(var x=v.current.map(io),w=h.map(io),k=x.length,E=0;E<k;E++){var P=x[E];w.indexOf(P)===-1&&y.add(P)}return a&&y.size&&(m=[]),y.forEach(function(L){if(w.indexOf(L)===-1){var M=g.get(L);if(!!M){var B=x.indexOf(L),G=function(){g.delete(L),y.delete(L);var U=v.current.findIndex(function(Z){return Z.key===L});if(v.current.splice(U,1),!y.size){if(v.current=h,f.current===!1)return;c(),o&&o()}};m.splice(B,0,C.createElement(jp,{key:io(M),isPresent:!1,onExitComplete:G,custom:r,presenceAffectsLayout:s},M))}}}),m=m.map(function(L){var M=L.key;return y.has(M)?L:C.createElement(jp,{key:io(L),isPresent:!0,presenceAffectsLayout:s},L)}),C.createElement(C.Fragment,null,y.size?m:m.map(function(L){return O.cloneElement(L)}))};function WO(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ht(){return Ht=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},Ht.apply(this,arguments)}var Up={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},cl={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 Zp(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return cl.slideRight;case"left":return cl.slideLeft;case"bottom":return cl.slideDown;case"top":return cl.slideUp;default:return cl.slideRight}}var ri={enter:{duration:.2,ease:Up.easeOut},exit:{duration:.1,ease:Up.easeIn}},Vr={enter:function(t,r){return Ht({},t,{delay:An(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Ht({},t,{delay:An(r)?r:r==null?void 0:r.exit})}},UO={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:Vr.enter(ri.enter,a),transitionEnd:o==null?void 0:o.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:Vr.exit(ri.exit,a),transitionEnd:o==null?void 0:o.exit}}},ZO={initial:"exit",animate:"enter",exit:"exit",variants:UO},GO={exit:function(t){var r,n=t.reverse,i=t.initialScale,o=t.transition,a=t.transitionEnd,l=t.delay;return Ht({opacity:0},n?{scale:i,transitionEnd:a==null?void 0:a.exit}:{transitionEnd:Ht({scale:i},a==null?void 0:a.exit)},{transition:(r=o==null?void 0:o.exit)!=null?r:Vr.exit(ri.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,o=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:Vr.enter(ri.enter,o),transitionEnd:n==null?void 0:n.enter}}},qO={initial:"exit",animate:"enter",exit:"exit",variants:GO},YO=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],n8={exit:{duration:.15,ease:Up.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},XO={exit:function(t){var r,n=t.direction,i=t.transition,o=t.transitionEnd,a=t.delay,l=Zp({direction:n}),s=l.exit;return Ht({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:Vr.exit(n8.exit,a),transitionEnd:o==null?void 0:o.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,o=t.transition,a=t.delay,l=Zp({direction:n}),s=l.enter;return Ht({},s,{transition:(r=o==null?void 0:o.enter)!=null?r:Vr.enter(n8.enter,a),transitionEnd:i==null?void 0:i.enter})}},KO=C.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,o=e.unmountOnExit,a=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,p=WO(e,YO),f=Zp({direction:n}),h=Object.assign({position:"fixed"},f.position,i),m=o?a&&o:!0,y=a||o?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return C.createElement(Wp,{custom:v},m&&C.createElement(nc.div,Ht({},p,{ref:t,initial:"exit",className:Ne("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:XO,style:h})))}),QO={initial:function(t){var r,n=t.offsetX,i=t.offsetY,o=t.transition,a=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=o==null?void 0:o.exit)!=null?r:Vr.exit(ri.exit,l),transitionEnd:a==null?void 0:a.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,o=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:Vr.enter(ri.enter,o),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,o=t.transition,a=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Ht({opacity:0,transition:(r=o==null?void 0:o.exit)!=null?r:Vr.exit(ri.exit,s)},l?Ht({},u,{transitionEnd:a==null?void 0:a.exit}):{transitionEnd:Ht({},u,a==null?void 0:a.exit)})}},i8={initial:"initial",animate:"enter",exit:"exit",variants:QO};function ni(){return ni=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},ni.apply(this,arguments)}function o8(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function JO(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,o=e.onError,a=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=O.useState("pending"),c=u[0],p=u[1];O.useEffect(function(){p(r?"loading":"pending")},[r]);var f=O.useRef(),h=O.useCallback(function(){if(!!r){m();var y=new Image;y.src=r,a&&(y.crossOrigin=a),n&&(y.srcset=n),l&&(y.sizes=l),t&&(y.loading=t),y.onload=function(v){m(),p("loaded"),i==null||i(v)},y.onerror=function(v){m(),p("failed"),o==null||o(v)},f.current=y}},[r,a,n,l,i,o,t]),m=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return Fo(function(){if(!s)return c==="loading"&&h(),function(){m()}},[c,h,s]),s?"loaded":c}var eF=["htmlWidth","htmlHeight","alt"],tF=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],a8=C.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,o=o8(e,eF);return C.createElement("img",ni({width:r,height:n,ref:t,alt:i},o))}),rF=Le(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,o=e.srcSet,a=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,p=o8(e,tF),f=s!=null||u||r===void 0&&n===void 0,h=JO(ni({},e,{ignoreFallback:f})),m=ni({ref:t,objectFit:l,objectPosition:a},f?p:Ql(p,["onError","onLoad"]));return h!=="loaded"?n||C.createElement(re.img,ni({as:a8,className:"chakra-image__placeholder",src:r},m)):C.createElement(re.img,ni({as:a8,src:i,srcSet:o,crossOrigin:c,loading:s,className:"chakra-image"},m))}),l8={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},s8=re("span",{baseStyle:l8});re("input",{baseStyle:l8});function ic(){return ic=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},ic.apply(this,arguments)}function nF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var iF=["label","thickness","speed","emptyColor","className"],oF=gi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),aF=Le(function(e,t){var r=fn("Spinner",e),n=dn(e),i=n.label,o=i===void 0?"Loading...":i,a=n.thickness,l=a===void 0?"2px":a,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,p=c===void 0?"transparent":c,f=n.className,h=nF(n,iF),m=Ne("chakra-spinner",f),y=ic({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:p,borderLeftColor:p,animation:oF+" "+u+" linear infinite"},r);return C.createElement(re.div,ic({ref:t,__css:y,className:m},h),o&&C.createElement(s8,null,o))});function Gp(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function xn(){return xn=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},xn.apply(this,arguments)}var lF=On({strict:!1,name:"ButtonGroupContext"}),sF=lF[1],uF=["label","placement","spacing","children","className","__css"],u8=function(t){var r=t.label,n=t.placement,i=t.spacing,o=i===void 0?"0.5rem":i,a=t.children,l=a===void 0?C.createElement(aF,{color:"currentColor",width:"1em",height:"1em"}):a,s=t.className,u=t.__css,c=Gp(t,uF),p=Ne("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",h=C.useMemo(function(){var m;return xn((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[f]=r?o:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,f,o]);return C.createElement(re.div,xn({className:p},c,{__css:h}),l)},cF=["children","className"],c8=function(t){var r=t.children,n=t.className,i=Gp(t,cF),o=C.isValidElement(r)?C.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,a=Ne("chakra-button__icon",n);return C.createElement(re.span,xn({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:a}),o)};function dF(e){var t=C.useState(!e),r=t[0],n=t[1],i=C.useCallback(function(a){!a||n(a.tagName==="BUTTON")},[]),o=r?"button":void 0;return{ref:i,type:o}}var fF=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],qp=Le(function(e,t){var r=sF(),n=fn("Button",xn({},r,e)),i=dn(e),o=i.isDisabled,a=o===void 0?r==null?void 0:r.isDisabled:o,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,p=i.leftIcon,f=i.rightIcon,h=i.loadingText,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,g=i.spinner,b=i.spinnerPlacement,x=b===void 0?"start":b,w=i.className,k=i.as,E=Gp(i,fF),P=C.useMemo(function(){var U,Z=Ot({},(U=n==null?void 0:n._focus)!=null?U:{},{zIndex:1});return xn({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]),L=dF(k),M=L.ref,B=L.type,G={rightIcon:f,leftIcon:p,iconSpacing:y,children:c};return C.createElement(re.button,xn({disabled:a||l,ref:rb(t,M),as:k,type:v!=null?v:B,"data-active":cv(s),"data-loading":cv(l),__css:P,className:Ne("chakra-button",w)},E),l&&x==="start"&&C.createElement(u8,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:y},g),l?h||C.createElement(re.span,{opacity:0},C.createElement(d8,G)):C.createElement(d8,G),l&&x==="end"&&C.createElement(u8,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:y},g))});function d8(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return C.createElement(C.Fragment,null,t&&C.createElement(c8,{marginEnd:i},t),n,r&&C.createElement(c8,{marginStart:i},r))}function pF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function dl(){return dl=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},dl.apply(this,arguments)}var hF=["children","isDisabled","__css"],vF=function(t){return C.createElement(Fe,dl({focusable:"false","aria-hidden":!0},t),C.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"}))},mF=Le(function(e,t){var r=fn("CloseButton",e),n=dn(e),i=n.children,o=n.isDisabled,a=n.__css,l=pF(n,hF),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return C.createElement(re.button,dl({type:"button","aria-label":"Close",ref:t,disabled:o,__css:dl({},s,r,a)},l),i||C.createElement(vF,{width:"1em",height:"1em"}))});function pt(){return pt=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},pt.apply(this,arguments)}function wn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var ee=re("div"),f8=re("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),gF=["direction","align","justify","wrap","basis","grow","shrink"],fl=Le(function(e,t){var r=e.direction,n=e.align,i=e.justify,o=e.wrap,a=e.basis,l=e.grow,s=e.shrink,u=wn(e,gF),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:o,flexBasis:a,flexGrow:l,flexShrink:s};return C.createElement(re.div,pt({ref:t,__css:c},u))}),yF=["className"],bF=Le(function(e,t){var r=fn("Heading",e),n=dn(e);n.className;var i=wn(n,yF);return C.createElement(re.h2,pt({ref:t,className:Ne("chakra-heading",e.className)},i,{__css:r}))}),xF=["className","isExternal"],oc=Le(function(e,t){var r=fn("Link",e),n=dn(e),i=n.className,o=n.isExternal,a=wn(n,xF);return C.createElement(re.a,pt({target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:Ne("chakra-link",i)},a,{__css:r}))}),wF=["children","styleType","stylePosition","spacing"],p8=On({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),CF=p8[0],SF=p8[1],kF=Le(function(e,t){var r,n=Z5("List",e),i=dn(e),o=i.children,a=i.styleType,l=a===void 0?"none":a,s=i.stylePosition,u=i.spacing,c=wn(i,wF),p=vv(o),f="& > *:not(style) ~ *:not(style)",h=u?(r={},r[f]={mt:u},r):{};return C.createElement(CF,{value:n},C.createElement(re.ul,pt({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:pt({},n.container,h)},c),p))}),EF=Le(function(e,t){var r=SF();return C.createElement(re.li,pt({ref:t},e,{__css:r.item}))});re("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var Yp="& > *:not(style) ~ *:not(style)";function PF(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[Yp]=hv(n,function(o){return i[o]}),t}function TF(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{"&":hv(r,function(i){return n[i]})}}var _F=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],MF=function(t){return C.createElement(re.div,pt({className:"chakra-stack__item"},t,{__css:pt({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},Xp=Le(function(e,t){var r,n=e.isInline,i=e.direction,o=e.align,a=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,p=e.divider,f=e.className,h=e.shouldWrapChildren,m=wn(e,_F),y=n?"row":i!=null?i:"column",v=C.useMemo(function(){return PF({direction:y,spacing:s})},[y,s]),g=C.useMemo(function(){return TF({spacing:s,direction:y})},[s,y]),b=!!p,x=!h&&!b,w=vv(c),k=x?w:w.map(function(P,L){var M=typeof P.key!="undefined"?P.key:L,B=L+1===w.length,G=C.createElement(MF,{key:M},P),U=h?G:P;if(!b)return U;var Z=C.cloneElement(p,{__css:g}),X=B?null:Z;return C.createElement(C.Fragment,{key:M},U,X)}),E=Ne("chakra-stack",f);return C.createElement(re.div,pt({ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:v.flexDirection,flexWrap:u,className:E,__css:b?{}:(r={},r[Yp]=v[Yp],r)},m),k)}),LF=Le(function(e,t){return C.createElement(Xp,pt({align:"center"},e,{direction:"row",ref:t}))}),AF=["className","align","decoration","casing"],tt=Le(function(e,t){var r=fn("Text",e),n=dn(e);n.className,n.align,n.decoration,n.casing;var i=wn(n,AF),o=Jc({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return C.createElement(re.p,pt({ref:t,className:Ne("chakra-text",e.className)},o,i,{__css:r}))}),OF=["isExternal","target","rel","className"],FF=["className"],h8=Le(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,o=e.className,a=wn(e,OF);return C.createElement(re.a,pt({},a,{ref:t,className:Ne("chakra-linkbox__overlay",o),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%"}}}))}),RF=Le(function(e,t){var r=e.className,n=wn(e,FF);return C.createElement(re.div,pt({ref:t,position:"relative"},n,{className:Ne("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))}),VF=Nr?C.useLayoutEffect:C.useEffect;function v8(e){var t=x5(),r=Array.isArray(e)?e:[e],n=Nr&&"matchMedia"in t.window,i=C.useState(r.map(function(l){return n?!!t.window.matchMedia(l).matches:!1})),o=i[0],a=i[1];return VF(function(){if(!!n){var l=r.map(function(u){return t.window.matchMedia(u)}),s=l.map(function(u,c){var p=function(h){var m=l.findIndex(function(y){return y.media===h.media});a(function(y){var v=y.map(function(g){return g});return v[m]=h.matches,v})};return typeof l[c].addEventListener=="function"?l[c].addEventListener("change",p):l[c].addListener(p),p});return function(){l.forEach(function(u,c){typeof l[c].removeEventListener=="function"?l[c].removeEventListener("change",s[c]):l[c].removeListener(s[c])})}}},[]),o}var xt="top",Nt="bottom",jt="right",wt="left",Kp="auto",pl=[xt,Nt,jt,wt],oo="start",hl="end",IF="clippingParents",m8="viewport",vl="popper",BF="reference",g8=pl.reduce(function(e,t){return e.concat([t+"-"+oo,t+"-"+hl])},[]),y8=[].concat(pl,[Kp]).reduce(function(e,t){return e.concat([t,t+"-"+oo,t+"-"+hl])},[]),$F="beforeRead",DF="read",zF="afterRead",HF="beforeMain",NF="main",jF="afterMain",WF="beforeWrite",UF="write",ZF="afterWrite",GF=[$F,DF,zF,HF,NF,jF,WF,UF,ZF];function br(e){return e?(e.nodeName||"").toLowerCase():null}function Lt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ii(e){var t=Lt(e).Element;return e instanceof t||e instanceof Element}function Wt(e){var t=Lt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Qp(e){if(typeof ShadowRoot=="undefined")return!1;var t=Lt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function qF(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!Wt(o)||!br(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function YF(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=a.reduce(function(s,u){return s[u]="",s},{});!Wt(i)||!br(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}var XF={name:"applyStyles",enabled:!0,phase:"write",fn:qF,effect:YF,requires:["computeStyles"]};function xr(e){return e.split("-")[0]}var oi=Math.max,ac=Math.min,ao=Math.round;function Jp(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function b8(){return!/^((?!chrome|android).)*safari/i.test(Jp())}function lo(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Wt(e)&&(i=e.offsetWidth>0&&ao(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&ao(n.height)/e.offsetHeight||1);var a=ii(e)?Lt(e):window,l=a.visualViewport,s=!b8()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,c=(n.top+(s&&l?l.offsetTop:0))/o,p=n.width/i,f=n.height/o;return{width:p,height:f,top:c,right:u+p,bottom:c+f,left:u,x:u,y:c}}function e1(e){var t=lo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function x8(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Qp(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Ir(e){return Lt(e).getComputedStyle(e)}function KF(e){return["table","td","th"].indexOf(br(e))>=0}function Cn(e){return((ii(e)?e.ownerDocument:e.document)||window.document).documentElement}function lc(e){return br(e)==="html"?e:e.assignedSlot||e.parentNode||(Qp(e)?e.host:null)||Cn(e)}function w8(e){return!Wt(e)||Ir(e).position==="fixed"?null:e.offsetParent}function QF(e){var t=/firefox/i.test(Jp()),r=/Trident/i.test(Jp());if(r&&Wt(e)){var n=Ir(e);if(n.position==="fixed")return null}var i=lc(e);for(Qp(i)&&(i=i.host);Wt(i)&&["html","body"].indexOf(br(i))<0;){var o=Ir(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function ml(e){for(var t=Lt(e),r=w8(e);r&&KF(r)&&Ir(r).position==="static";)r=w8(r);return r&&(br(r)==="html"||br(r)==="body"&&Ir(r).position==="static")?t:r||QF(e)||t}function t1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gl(e,t,r){return oi(e,ac(t,r))}function JF(e,t,r){var n=gl(e,t,r);return n>r?r:n}function C8(){return{top:0,right:0,bottom:0,left:0}}function S8(e){return Object.assign({},C8(),e)}function k8(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var eR=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,S8(typeof t!="number"?t:k8(t,pl))};function tR(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,l=xr(r.placement),s=t1(l),u=[wt,jt].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var p=eR(i.padding,r),f=e1(o),h=s==="y"?xt:wt,m=s==="y"?Nt:jt,y=r.rects.reference[c]+r.rects.reference[s]-a[s]-r.rects.popper[c],v=a[s]-r.rects.reference[s],g=ml(o),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,x=y/2-v/2,w=p[h],k=b-f[c]-p[m],E=b/2-f[c]/2+x,P=gl(w,E,k),L=s;r.modifiersData[n]=(t={},t[L]=P,t.centerOffset=P-E,t)}}function rR(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!x8(t.elements.popper,i)||(t.elements.arrow=i))}var nR={name:"arrow",enabled:!0,phase:"main",fn:tR,effect:rR,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function so(e){return e.split("-")[1]}var iR={top:"auto",right:"auto",bottom:"auto",left:"auto"};function oR(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:ao(r*i)/i||0,y:ao(n*i)/i||0}}function E8(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,p=e.isFixed,f=a.x,h=f===void 0?0:f,m=a.y,y=m===void 0?0:m,v=typeof c=="function"?c({x:h,y}):{x:h,y};h=v.x,y=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),x=wt,w=xt,k=window;if(u){var E=ml(r),P="clientHeight",L="clientWidth";if(E===Lt(r)&&(E=Cn(r),Ir(E).position!=="static"&&l==="absolute"&&(P="scrollHeight",L="scrollWidth")),E=E,i===xt||(i===wt||i===jt)&&o===hl){w=Nt;var M=p&&E===k&&k.visualViewport?k.visualViewport.height:E[P];y-=M-n.height,y*=s?1:-1}if(i===wt||(i===xt||i===Nt)&&o===hl){x=jt;var B=p&&E===k&&k.visualViewport?k.visualViewport.width:E[L];h-=B-n.width,h*=s?1:-1}}var G=Object.assign({position:l},u&&iR),U=c===!0?oR({x:h,y},Lt(r)):{x:h,y};if(h=U.x,y=U.y,s){var Z;return Object.assign({},G,(Z={},Z[w]=b?"0":"",Z[x]=g?"0":"",Z.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",Z))}return Object.assign({},G,(t={},t[w]=b?y+"px":"",t[x]=g?h+"px":"",t.transform="",t))}function aR(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:xr(t.placement),variation:so(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,E8(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,E8(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var lR={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aR,data:{}},sc={passive:!0};function sR(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,s=Lt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",r.update,sc)}),l&&s.addEventListener("resize",r.update,sc),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",r.update,sc)}),l&&s.removeEventListener("resize",r.update,sc)}}var uR={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:sR,data:{}},cR={left:"right",right:"left",bottom:"top",top:"bottom"};function uc(e){return e.replace(/left|right|bottom|top/g,function(t){return cR[t]})}var dR={start:"end",end:"start"};function P8(e){return e.replace(/start|end/g,function(t){return dR[t]})}function r1(e){var t=Lt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function n1(e){return lo(Cn(e)).left+r1(e).scrollLeft}function fR(e,t){var r=Lt(e),n=Cn(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=b8();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+n1(e),y:s}}function pR(e){var t,r=Cn(e),n=r1(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=oi(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=oi(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+n1(e),s=-n.scrollTop;return Ir(i||r).direction==="rtl"&&(l+=oi(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function i1(e){var t=Ir(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function T8(e){return["html","body","#document"].indexOf(br(e))>=0?e.ownerDocument.body:Wt(e)&&i1(e)?e:T8(lc(e))}function yl(e,t){var r;t===void 0&&(t=[]);var n=T8(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Lt(n),a=i?[o].concat(o.visualViewport||[],i1(n)?n:[]):n,l=t.concat(a);return i?l:l.concat(yl(lc(a)))}function o1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function hR(e,t){var r=lo(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function _8(e,t,r){return t===m8?o1(fR(e,r)):ii(t)?hR(t,r):o1(pR(Cn(e)))}function vR(e){var t=yl(lc(e)),r=["absolute","fixed"].indexOf(Ir(e).position)>=0,n=r&&Wt(e)?ml(e):e;return ii(n)?t.filter(function(i){return ii(i)&&x8(i,n)&&br(i)!=="body"}):[]}function mR(e,t,r,n){var i=t==="clippingParents"?vR(e):[].concat(t),o=[].concat(i,[r]),a=o[0],l=o.reduce(function(s,u){var c=_8(e,u,n);return s.top=oi(c.top,s.top),s.right=ac(c.right,s.right),s.bottom=ac(c.bottom,s.bottom),s.left=oi(c.left,s.left),s},_8(e,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function M8(e){var t=e.reference,r=e.element,n=e.placement,i=n?xr(n):null,o=n?so(n):null,a=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case xt:s={x:a,y:t.y-r.height};break;case Nt:s={x:a,y:t.y+t.height};break;case jt:s={x:t.x+t.width,y:l};break;case wt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?t1(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case oo:s[u]=s[u]-(t[c]/2-r[c]/2);break;case hl:s[u]=s[u]+(t[c]/2-r[c]/2);break}}return s}function bl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,l=r.boundary,s=l===void 0?IF:l,u=r.rootBoundary,c=u===void 0?m8:u,p=r.elementContext,f=p===void 0?vl:p,h=r.altBoundary,m=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,g=S8(typeof v!="number"?v:k8(v,pl)),b=f===vl?BF:vl,x=e.rects.popper,w=e.elements[m?b:f],k=mR(ii(w)?w:w.contextElement||Cn(e.elements.popper),s,c,a),E=lo(e.elements.reference),P=M8({reference:E,element:x,strategy:"absolute",placement:i}),L=o1(Object.assign({},x,P)),M=f===vl?L:E,B={top:k.top-M.top+g.top,bottom:M.bottom-k.bottom+g.bottom,left:k.left-M.left+g.left,right:M.right-k.right+g.right},G=e.modifiersData.offset;if(f===vl&&G){var U=G[i];Object.keys(B).forEach(function(Z){var X=[jt,Nt].indexOf(Z)>=0?1:-1,K=[xt,Nt].indexOf(Z)>=0?"y":"x";B[Z]+=U[K]*X})}return B}function gR(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?y8:s,c=so(n),p=c?l?g8:g8.filter(function(m){return so(m)===c}):pl,f=p.filter(function(m){return u.indexOf(m)>=0});f.length===0&&(f=p);var h=f.reduce(function(m,y){return m[y]=bl(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[xr(y)],m},{});return Object.keys(h).sort(function(m,y){return h[m]-h[y]})}function yR(e){if(xr(e)===Kp)return[];var t=uc(e);return[P8(e),t,P8(t)]}function bR(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!0:a,s=r.fallbackPlacements,u=r.padding,c=r.boundary,p=r.rootBoundary,f=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,g=xr(v),b=g===v,x=s||(b||!m?[uc(v)]:yR(v)),w=[v].concat(x).reduce(function($,N){return $.concat(xr(N)===Kp?gR(t,{placement:N,boundary:c,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:y}):N)},[]),k=t.rects.reference,E=t.rects.popper,P=new Map,L=!0,M=w[0],B=0;B<w.length;B++){var G=w[B],U=xr(G),Z=so(G)===oo,X=[xt,Nt].indexOf(U)>=0,K=X?"width":"height",ne=bl(t,{placement:G,boundary:c,rootBoundary:p,altBoundary:f,padding:u}),ie=X?Z?jt:wt:Z?Nt:xt;k[K]>E[K]&&(ie=uc(ie));var Be=uc(ie),be=[];if(o&&be.push(ne[U]<=0),l&&be.push(ne[ie]<=0,ne[Be]<=0),be.every(function($){return $})){M=G,L=!1;break}P.set(G,be)}if(L)for(var $e=m?3:1,F=function(N){var te=w.find(function(ve){var xe=P.get(ve);if(xe)return xe.slice(0,N).every(function(Ue){return Ue})});if(te)return M=te,"break"},H=$e;H>0;H--){var I=F(H);if(I==="break")break}t.placement!==M&&(t.modifiersData[n]._skip=!0,t.placement=M,t.reset=!0)}}var xR={name:"flip",enabled:!0,phase:"main",fn:bR,requiresIfExists:["offset"],data:{_skip:!1}};function L8(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function A8(e){return[xt,jt,Nt,wt].some(function(t){return e[t]>=0})}function wR(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=bl(t,{elementContext:"reference"}),l=bl(t,{altBoundary:!0}),s=L8(a,n),u=L8(l,i,o),c=A8(s),p=A8(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var CR={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:wR};function SR(e,t,r){var n=xr(e),i=[wt,xt].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[wt,jt].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function kR(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=y8.reduce(function(c,p){return c[p]=SR(p,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}var ER={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kR};function PR(e){var t=e.state,r=e.name;t.modifiersData[r]=M8({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var TR={name:"popperOffsets",enabled:!0,phase:"read",fn:PR,data:{}};function _R(e){return e==="x"?"y":"x"}function MR(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!1:a,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,p=r.padding,f=r.tether,h=f===void 0?!0:f,m=r.tetherOffset,y=m===void 0?0:m,v=bl(t,{boundary:s,rootBoundary:u,padding:p,altBoundary:c}),g=xr(t.placement),b=so(t.placement),x=!b,w=t1(g),k=_R(w),E=t.modifiersData.popperOffsets,P=t.rects.reference,L=t.rects.popper,M=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,B=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,U={x:0,y:0};if(!!E){if(o){var Z,X=w==="y"?xt:wt,K=w==="y"?Nt:jt,ne=w==="y"?"height":"width",ie=E[w],Be=ie+v[X],be=ie-v[K],$e=h?-L[ne]/2:0,F=b===oo?P[ne]:L[ne],H=b===oo?-L[ne]:-P[ne],I=t.elements.arrow,$=h&&I?e1(I):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:C8(),te=N[X],ve=N[K],xe=gl(0,P[ne],$[ne]),Ue=x?P[ne]/2-$e-xe-te-B.mainAxis:F-xe-te-B.mainAxis,si=x?-P[ne]/2+$e+xe+ve+B.mainAxis:H+xe+ve+B.mainAxis,_n=t.elements.arrow&&ml(t.elements.arrow),Ee=_n?w==="y"?_n.clientTop||0:_n.clientLeft||0:0,ut=(Z=G==null?void 0:G[w])!=null?Z:0,Ut=ie+Ue-ut-Ee,bh=ie+si-ut,Ac=gl(h?ac(Be,Ut):Be,ie,h?oi(be,bh):be);E[w]=Ac,U[w]=Ac-ie}if(l){var Oc,xh=w==="x"?xt:wt,wh=w==="x"?Nt:jt,Zt=E[k],Mn=k==="y"?"height":"width",ui=Zt+v[xh],Gt=Zt-v[wh],Co=[xt,wt].indexOf(g)!==-1,_l=(Oc=G==null?void 0:G[k])!=null?Oc:0,Fc=Co?ui:Zt-P[Mn]-L[Mn]-_l+B.altAxis,Rc=Co?Zt+P[Mn]+L[Mn]-_l-B.altAxis:Gt,ci=h&&Co?JF(Fc,Zt,Rc):gl(h?Fc:ui,Zt,h?Rc:Gt);E[k]=ci,U[k]=ci-Zt}t.modifiersData[n]=U}}var LR={name:"preventOverflow",enabled:!0,phase:"main",fn:MR,requiresIfExists:["offset"]};function AR(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function OR(e){return e===Lt(e)||!Wt(e)?r1(e):AR(e)}function FR(e){var t=e.getBoundingClientRect(),r=ao(t.width)/e.offsetWidth||1,n=ao(t.height)/e.offsetHeight||1;return r!==1||n!==1}function RR(e,t,r){r===void 0&&(r=!1);var n=Wt(t),i=Wt(t)&&FR(t),o=Cn(t),a=lo(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((br(t)!=="body"||i1(o))&&(l=OR(t)),Wt(t)?(s=lo(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=n1(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function VR(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function IR(e){var t=VR(e);return GF.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function BR(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function $R(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var O8={placement:"bottom",modifiers:[],strategy:"absolute"};function F8(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function DR(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?O8:i;return function(l,s,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},O8,o),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},p=[],f=!1,h={state:c,setOptions:function(g){var b=typeof g=="function"?g(c.options):g;y(),c.options=Object.assign({},o,c.options,b),c.scrollParents={reference:ii(l)?yl(l):l.contextElement?yl(l.contextElement):[],popper:yl(s)};var x=IR($R([].concat(n,c.options.modifiers)));return c.orderedModifiers=x.filter(function(w){return w.enabled}),m(),h.update()},forceUpdate:function(){if(!f){var g=c.elements,b=g.reference,x=g.popper;if(!!F8(b,x)){c.rects={reference:RR(b,ml(x),c.options.strategy==="fixed"),popper:e1(x)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(B){return c.modifiersData[B.name]=Object.assign({},B.data)});for(var w=0;w<c.orderedModifiers.length;w++){if(c.reset===!0){c.reset=!1,w=-1;continue}var k=c.orderedModifiers[w],E=k.fn,P=k.options,L=P===void 0?{}:P,M=k.name;typeof E=="function"&&(c=E({state:c,options:L,name:M,instance:h})||c)}}}},update:BR(function(){return new Promise(function(v){h.forceUpdate(),v(c)})}),destroy:function(){y(),f=!0}};if(!F8(l,s))return h;h.setOptions(u).then(function(v){!f&&u.onFirstUpdate&&u.onFirstUpdate(v)});function m(){c.orderedModifiers.forEach(function(v){var g=v.name,b=v.options,x=b===void 0?{}:b,w=v.effect;if(typeof w=="function"){var k=w({state:c,name:g,instance:h,options:x}),E=function(){};p.push(k||E)}})}function y(){p.forEach(function(v){return v()}),p=[]}return h}}var zR=[uR,TR,lR,XF,ER,xR,LR,nR,CR],HR=DR({defaultModifiers:zR});function NR(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function nr(){return nr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},nr.apply(this,arguments)}var uo=function(t,r){return{var:t,varRef:r?"var("+t+", "+r+")":"var("+t+")"}},rt={arrowShadowColor:uo("--popper-arrow-shadow-color"),arrowSize:uo("--popper-arrow-size","8px"),arrowSizeHalf:uo("--popper-arrow-size-half"),arrowBg:uo("--popper-arrow-bg"),transformOrigin:uo("--popper-transform-origin"),arrowOffset:uo("--popper-arrow-offset")};function jR(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var WR={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},UR=function(t){return WR[t]},R8={scroll:!0,resize:!0};function ZR(e){var t;return typeof e=="object"?t={enabled:!0,options:nr({},R8,e)}:t={enabled:e,options:R8},t}var GR={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var r=t.state;r.styles.popper.width=r.rects.reference.width+"px"},effect:function(t){var r=t.state;return function(){var n=r.elements.reference;r.elements.popper.style.width=n.offsetWidth+"px"}}},qR={name:"transformOrigin",enabled:!0,phase:"write",fn:function(t){var r=t.state;V8(r)},effect:function(t){var r=t.state;return function(){V8(r)}}},V8=function(t){t.elements.popper.style.setProperty(rt.transformOrigin.var,UR(t.placement))},YR={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(t){var r=t.state;XR(r)}},XR=function(t){var r;if(!!t.placement){var n=KR(t.placement);if((r=t.elements)!=null&&r.arrow&&n){var i,o;Object.assign(t.elements.arrow.style,(i={},i[n.property]=n.value,i.width=rt.arrowSize.varRef,i.height=rt.arrowSize.varRef,i.zIndex=-1,i));var a=(o={},o[rt.arrowSizeHalf.var]="calc("+rt.arrowSize.varRef+" / 2)",o[rt.arrowOffset.var]="calc("+rt.arrowSizeHalf.varRef+" * -1)",o);for(var l in a)t.elements.arrow.style.setProperty(l,a[l])}}},KR=function(t){if(t.startsWith("top"))return{property:"bottom",value:rt.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:rt.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:rt.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:rt.arrowOffset.varRef}},QR={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(t){var r=t.state;I8(r)},effect:function(t){var r=t.state;return function(){I8(r)}}},I8=function(t){if(!!t.elements.arrow){var r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");!r||Object.assign(r.style,{transform:"rotate(45deg)",background:rt.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:jR(t.placement)})}},JR={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},eV={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function tV(e,t){var r,n;t===void 0&&(t="ltr");var i=((r=JR[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=eV[e])!=null?n:i}var rV=["size","shadowColor","bg","style"];function nV(e){e===void 0&&(e={});var t=e,r=t.enabled,n=r===void 0?!0:r,i=t.modifiers,o=t.placement,a=o===void 0?"bottom":o,l=t.strategy,s=l===void 0?"absolute":l,u=t.arrowPadding,c=u===void 0?8:u,p=t.eventListeners,f=p===void 0?!0:p,h=t.offset,m=t.gutter,y=m===void 0?8:m,v=t.flip,g=v===void 0?!0:v,b=t.boundary,x=b===void 0?"clippingParents":b,w=t.preventOverflow,k=w===void 0?!0:w,E=t.matchWidth,P=t.direction,L=P===void 0?"ltr":P,M=O.useRef(null),B=O.useRef(null),G=O.useRef(null),U=tV(a,L),Z=O.useRef(function(){}),X=O.useCallback(function(){!n||!M.current||!B.current||(Z.current==null||Z.current(),G.current=HR(M.current,B.current,{placement:U,modifiers:[QR,YR,qR,nr({},GR,{enabled:!!E}),nr({name:"eventListeners"},ZR(f)),{name:"arrow",options:{padding:c}},{name:"offset",options:{offset:h!=null?h:[0,y]}},{name:"flip",enabled:!!g,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:x}}].concat(i!=null?i:[]),strategy:s}),G.current.forceUpdate(),Z.current=G.current.destroy)},[U,n,i,E,f,c,h,y,g,k,x,s]);O.useEffect(function(){return function(){if(!M.current&&!B.current){var F;(F=G.current)==null||F.destroy(),G.current=null}}},[]);var K=O.useCallback(function(F){M.current=F,X()},[X]),ne=O.useCallback(function(F,H){return F===void 0&&(F={}),H===void 0&&(H=null),nr({},F,{ref:Oo(K,H)})},[K]),ie=O.useCallback(function(F){B.current=F,X()},[X]),Be=O.useCallback(function(F,H){return F===void 0&&(F={}),H===void 0&&(H=null),nr({},F,{ref:Oo(ie,H),style:nr({},F.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})},[s,ie]),be=O.useCallback(function(F,H){F===void 0&&(F={}),H===void 0&&(H=null);var I=F;I.size,I.shadowColor,I.bg,I.style;var $=NR(I,rV);return nr({},$,{ref:H,"data-popper-arrow":"",style:iV(F)})},[]),$e=O.useCallback(function(F,H){return F===void 0&&(F={}),H===void 0&&(H=null),nr({},F,{ref:H,"data-popper-arrow-inner":""})},[]);return{update:function(){var H;(H=G.current)==null||H.update()},forceUpdate:function(){var H;(H=G.current)==null||H.forceUpdate()},transformOrigin:rt.transformOrigin.varRef,referenceRef:K,popperRef:ie,getPopperProps:Be,getArrowProps:be,getArrowInnerProps:$e,getReferenceProps:ne}}function iV(e){var t=e.size,r=e.shadowColor,n=e.bg,i=e.style,o=nr({},i,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}function oV(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var B8={exports:{}},aV="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",lV=aV,sV=lV;function $8(){}function D8(){}D8.resetWarningCache=$8;var uV=function(){function e(n,i,o,a,l,s){if(s!==sV){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,bigint: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:D8,resetWarningCache:$8};return r.PropTypes=r,r};B8.exports=uV();var cc=B8.exports,a1="data-focus-lock",z8="data-focus-lock-disabled",cV="data-no-focus-lock",dV="data-autofocus-inside";function l1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function fV(e,t){var r=O.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}var pV=typeof window!="undefined"?C.useLayoutEffect:C.useEffect,H8=new WeakMap;function N8(e,t){var r=fV(t||null,function(n){return e.forEach(function(i){return l1(i,n)})});return pV(function(){var n=H8.get(r);if(n){var i=new Set(n),o=new Set(e),a=r.current;i.forEach(function(l){o.has(l)||l1(l,null)}),o.forEach(function(l){i.has(l)||l1(l,a)})}H8.set(r,e)},[e]),r}var s1={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function j8(e){return e}function W8(e,t){t===void 0&&(t=j8);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(o){var a=t(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var c=a;a=[],c.forEach(o)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),r}}}};return i}function u1(e,t){return t===void 0&&(t=j8),W8(e,t)}function U8(e){e===void 0&&(e={});var t=W8(null);return t.options=j({async:!0,ssr:!1},e),t}var Z8=function(e){var t=e.sideCar,r=Mt(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 C.createElement(n,j({},r))};Z8.isSideCarExport=!0;function hV(e,t){return e.useMedium(t),Z8}var G8=u1({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),q8=u1(),vV=u1(),mV=U8({async:!0}),gV=[],c1=C.forwardRef(function(t,r){var n,i=C.useState(),o=i[0],a=i[1],l=C.useRef(),s=C.useRef(!1),u=C.useRef(null),c=t.children,p=t.disabled,f=t.noFocusGuards,h=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,g=t.className,b=t.whiteList,x=t.shards,w=x===void 0?gV:x,k=t.as,E=k===void 0?"div":k,P=t.lockProps,L=P===void 0?{}:P,M=t.sideCar,B=t.returnFocus,G=t.onActivation,U=t.onDeactivation,Z=C.useState({}),X=Z[0],K=C.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&G&&G(l.current),s.current=!0},[G]),ne=C.useCallback(function(){s.current=!1,U&&U(l.current)},[U]),ie=C.useCallback(function(N){var te=u.current;if(Boolean(B)&&te&&te.focus){var ve=typeof B=="object"?B:void 0;u.current=null,N?Promise.resolve().then(function(){return te.focus(ve)}):te.focus(ve)}},[B]),Be=C.useCallback(function(N){s.current&&G8.useMedium(N)},[]),be=q8.useMedium,$e=C.useCallback(function(N){l.current!==N&&(l.current=N,a(N))},[]),F=Ln((n={},n[z8]=p&&"disabled",n[a1]=v,n),L),H=f!==!0,I=H&&f!=="tail",$=N8([r,$e]);return C.createElement(C.Fragment,null,H&&[C.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:s1}),C.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:s1})],!p&&C.createElement(M,{id:X,sideCar:mV,observed:o,disabled:p,persistentFocus:h,crossFrame:m,autoFocus:y,whiteList:b,shards:w,onActivation:K,onDeactivation:ne,returnFocus:ie}),C.createElement(E,Ln({ref:$},F,{className:g,onBlur:be,onFocus:Be}),c),I&&C.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:s1}))});c1.propTypes={},c1.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 Y8=c1;function d1(e,t){return d1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},d1(e,t)}function yV(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,d1(e,t)}function xl(e){return xl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},xl(e)}function bV(e,t){if(xl(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(xl(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xV(e){var t=bV(e,"string");return xl(t)=="symbol"?t:t+""}function wV(e,t,r){return(t=xV(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function CV(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var o=[],a;function l(){a=e(o.map(function(u){return u.props})),t(a)}var s=function(u){yV(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return a};var p=c.prototype;return p.componentDidMount=function(){o.push(this),l()},p.componentDidUpdate=function(){l()},p.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),l()},p.render=function(){return d(i,{...this.props})},c}(O.PureComponent);return wV(s,"displayName","SideEffect("+r(i)+")"),s}}var Sn=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},f1=function(e){return Array.isArray(e)?e:[e]},SV=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 o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(a,l){return!t.has(l)})},X8=function(e){return e.parentNode?X8(e.parentNode):e},p1=function(e){var t=f1(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(a1);return r.push.apply(r,i?SV(Sn(X8(n).querySelectorAll("["+a1+'="'+i+'"]:not(['+z8+'="disabled"])'))):[n]),r},[])},kV=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"},EV=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!kV(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},K8=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=EV(t,K8.bind(void 0,e));return e.set(t,n),n},PV=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},h1=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},dc=function(e){return!h1(e)},TV=function(e){return Boolean(e)},_V=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},Q8=function(e,t,r){return Sn(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(_V)},MV=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],v1=MV.join(","),LV=v1+", [data-focus-guard]",m1=function(e,t){return e.reduce(function(r,n){return r.concat(Sn(n.querySelectorAll(t?LV:v1)),n.parentNode?Sn(n.parentNode.querySelectorAll(v1)).filter(function(i){return i===n}):[])},[])},AV=function(e){var t=e.querySelectorAll("["+dV+"]");return Sn(t).map(function(r){return m1([r])}).reduce(function(r,n){return r.concat(n)},[])},g1=function(e,t){return Sn(e).filter(function(r){return K8(t,r)}).filter(function(r){return PV(r)})},y1=function(e,t,r){return Q8(g1(m1(e,r),t),!0,r)},J8=function(e,t){return Q8(g1(m1(e),t),!1)},OV=function(e,t){return g1(AV(e),t)},b1=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&b1(e.parentNode,t),t},x1=function(e,t){for(var r=b1(e),n=b1(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1},ey=function(e,t,r){var n=f1(e),i=f1(t),o=n[0],a=!1;return i.filter(Boolean).forEach(function(l){a=x1(a||l,l)||a,r.filter(Boolean).forEach(function(s){var u=x1(o,s);u&&(!a||u.contains(a)?a=u:a=x1(u,a))})}),a},FV=function(e,t){return e.reduce(function(r,n){return r.concat(OV(n,t))},[])},RV=function(e){var t=p1(e).filter(dc),r=ey(e,e,t),n=new Map,i=y1([r],n,!0),o=y1(t,n).filter(function(a){var l=a.node;return dc(l)}).map(function(a){var l=a.node;return l});return i.map(function(a){var l=a.node,s=a.index;return{node:l,index:s,lockItem:o.indexOf(l)>=0,guard:h1(l)}})},VV=function(e){return e===document.activeElement},IV=function(e){return Boolean(Sn(e.querySelectorAll("iframe")).some(function(t){return VV(t)}))},ty=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:p1(e).reduce(function(r,n){return r||n.contains(t)||IV(n)},!1)},BV=function(){return document&&Sn(document.querySelectorAll("["+cV+"]")).some(function(e){return e.contains(document.activeElement)})},ry=function(e){return e.tagName==="INPUT"&&e.type==="radio"},$V=function(e,t){return t.filter(ry).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},w1=function(e,t){return ry(e)&&e.name?$V(e,t):e},DV=function(e){var t=new Set;return e.forEach(function(r){return t.add(w1(r,e))}),e.filter(function(r){return t.has(r)})},ny=function(e){return e[0]&&e.length>1?w1(e[0],e):e[0]},iy=function(e,t){return e.length>1?e.indexOf(w1(e[t],e)):t},oy="NEW_FOCUS",zV=function(e,t,r,n){var i=e.length,o=e[0],a=e[i-1],l=h1(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,p=s-u,f=t.indexOf(o),h=t.indexOf(a),m=DV(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=iy(e,0),g=iy(e,i-1);if(s===-1||c===-1)return oy;if(!p&&c>=0)return c;if(s<=f&&l&&Math.abs(p)>1)return g;if(s>=h&&l&&Math.abs(p)>1)return v;if(p&&Math.abs(y)>1)return c;if(s<=f)return g;if(s>h)return v;if(p)return Math.abs(p)>1?c:(i+c+p)%i}},HV=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},NV=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(TV)},jV=function(e,t){var r=document&&document.activeElement,n=p1(e).filter(dc),i=ey(r||e,e,n),o=new Map,a=J8(n,o),l=y1(n,o).filter(function(h){var m=h.node;return dc(m)});if(!(!l[0]&&(l=a,!l[0]))){var s=J8([i],o).map(function(h){var m=h.node;return m}),u=NV(s,l),c=u.map(function(h){var m=h.node;return m}),p=zV(c,s,r,t);if(p===oy){var f=a.map(function(h){var m=h.node;return m}).filter(HV(FV(n,o)));return{node:f&&f.length?ny(f):ny(c)}}return p===void 0?p:u[p]}},WV=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},C1=0,S1=!1,UV=function(e,t){var r=jV(e,t);if(!S1&&r){if(C1>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),S1=!0,setTimeout(function(){S1=!1},1);return}C1++,WV(r.node),C1--}},ay=UV;function ly(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var ZV=function(){return document&&document.activeElement===document.body},GV=function(){return ZV()||BV()},co=null,fo=null,po=null,wl=!1,qV=function(){return!0},YV=function(t){return(co.whiteList||qV)(t)},XV=function(t,r){po={observerNode:t,portaledElement:r}},KV=function(t){return po&&po.portaledElement===t};function sy(e,t,r,n){var i=null,o=e;do{var a=n[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=r)!==t);i&&(i.node.tabIndex=0)}var QV=function(t){return t&&"current"in t?t.current:t},JV=function(t){return t?Boolean(wl):wl==="meanwhile"},fc=function(){var t=!1;if(co){var r=co,n=r.observed,i=r.persistentFocus,o=r.autoFocus,a=r.shards,l=r.crossFrame,s=n||po&&po.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(a.map(QV).filter(Boolean));if((!u||YV(u))&&(i||JV(l)||!GV()||!fo&&o)&&(s&&!(ty(c)||KV(u))&&(document&&!fo&&u&&!o?(u.blur&&u.blur(),document.body.focus()):(t=ay(c,fo),po={})),wl=!1,fo=document&&document.activeElement),document){var p=document&&document.activeElement,f=RV(c),h=f.map(function(m){var y=m.node;return y}).indexOf(p);h>-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")}),sy(h,f.length,1,f),sy(h,-1,-1,f))}}}return t},uy=function(t){fc()&&t&&(t.stopPropagation(),t.preventDefault())},k1=function(){return ly(fc)},eI=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||XV(n,r)},tI=function(){return null},cy=function(){wl="just",setTimeout(function(){wl="meanwhile"},0)},rI=function(){document.addEventListener("focusin",uy,!0),document.addEventListener("focusout",k1),window.addEventListener("blur",cy)},nI=function(){document.removeEventListener("focusin",uy,!0),document.removeEventListener("focusout",k1),window.removeEventListener("blur",cy)};function iI(e){return e.filter(function(t){var r=t.disabled;return!r})}function oI(e){var t=e.slice(-1)[0];t&&!co&&rI();var r=co,n=r&&t&&t.id===r.id;co=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var o=i.id;return o===r.id}).length||r.returnFocus(!t)),t?(fo=null,(!n||r.observed!==t.observed)&&t.onActivation(),fc(),ly(fc)):(nI(),fo=null)}G8.assignSyncMedium(eI),q8.assignMedium(k1),vV.assignMedium(function(e){return e({moveFocusInside:ay,focusInside:ty})});var aI=CV(iI,oI)(tI),dy=C.forwardRef(function(t,r){return C.createElement(Y8,Ln({sideCar:aI,ref:r},t))}),fy=Y8.propTypes||{};fy.sideCar,oV(fy,["sideCar"]),dy.propTypes={};var lI=dy,sI=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,o=t.restoreFocus,a=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,p=C.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=$7(i.current);m.length===0&&j7(i.current,{nextTick:!0})}},[r,i]),f=C.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),h=o&&!n;return C.createElement(lI,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:p,onDeactivation:f,returnFocus:h},a)};/*! *****************************************************************************
333
+ )`,s=!n&&i;return He({},s&&o,n?{bgImage:l}:{bgColor:a})}var eP={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},tP=function(t){return{bg:$("gray.100","whiteAlpha.300")(t)}},rP=function(t){return He({transitionProperty:"common",transitionDuration:"slow"},J_(t))},nP=function(t){return{label:eP,filledTrack:rP(t),track:tP(t)}},iP={xs:{track:{h:"0.25rem"}},sm:{track:{h:"0.5rem"}},md:{track:{h:"0.75rem"}},lg:{track:{h:"1rem"}}},oP={size:"md",colorScheme:"blue"},aP={parts:ek.keys,sizes:iP,baseStyle:nP,defaultProps:oP},lP=function(t){var r=Iu.baseStyle(t),n=r.control,i=n===void 0?{}:n;return He({},i,{borderRadius:"full",_checked:He({},i._checked,{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},sP=function(t){return{label:Iu.baseStyle(t).label,container:Iu.baseStyle(t).container,control:lP(t)}},uP={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"}}},cP={size:"md",colorScheme:"blue"},dP={parts:tk.keys,baseStyle:sP,sizes:uP,defaultProps:cP},fP=function(t){return He({},Le.baseStyle.field,{bg:$("white","gray.700")(t),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:$("white","gray.700")(t)}})},pP={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},hP=function(t){return{field:fP(t),icon:pP}},Nu={paddingInlineEnd:"2rem"},vP=Vt({},Le.sizes,{lg:{field:Nu},md:{field:Nu},sm:{field:Nu},xs:{field:Nu,icon:{insetEnd:"0.25rem"}}}),mP={parts:rk.keys,baseStyle:hP,sizes:vP,variants:Le.variants,defaultProps:Le.defaultProps},gP=function(t,r){return Si({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},yP=function(t){var r=$("gray.100","gray.800")(t),n=$("gray.400","gray.600")(t),i=t.startColor,o=i===void 0?r:i,a=t.endColor,l=a===void 0?n:a,s=t.speed,u=t.theme,c=Ge(u,o),p=Ge(u,l);return{opacity:.7,borderRadius:"2px",borderColor:c,background:p,animation:s+"s linear infinite alternate "+gP(c,p)}},bP={baseStyle:yP},xP=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:$("white","gray.700")(t)}}},wP={baseStyle:xP};function CP(e){return Ha({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 SP=function(t){var r=t.orientation;return He({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},Ha({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},kP=function(t){return{overflow:"hidden",borderRadius:"sm",bg:$("gray.200","whiteAlpha.200")(t),_disabled:{bg:$("gray.300","whiteAlpha.300")(t)}}},EP=function(t){return He({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"}},CP(t))},_P=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:$(r+".500",r+".200")(t)}},PP=function(t){return{container:SP(t),track:kP(t),thumb:EP(t),filledTrack:_P(t)}},TP=function(t){return{thumb:{w:"16px",h:"16px"},track:Ha({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},MP=function(t){return{thumb:{w:"14px",h:"14px"},track:Ha({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},OP=function(t){return{thumb:{w:"10px",h:"10px"},track:Ha({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},LP={lg:TP,md:MP,sm:OP},AP={size:"md",colorScheme:"blue"},FP={parts:nk.keys,sizes:LP,baseStyle:PP,defaultProps:AP},ep,tp,rp,np,ip,ri=Ft("spinner-size"),IP={width:[ri.reference],height:[ri.reference]},DP={xs:(ep={},ep[ri.variable]="0.75rem",ep),sm:(tp={},tp[ri.variable]="1rem",tp),md:(rp={},rp[ri.variable]="1.5rem",rp),lg:(np={},np[ri.variable]="2rem",np),xl:(ip={},ip[ri.variable]="3rem",ip)},RP={size:"md"},VP={baseStyle:IP,sizes:DP,defaultProps:RP},$P={fontWeight:"medium"},BP={opacity:.8,marginBottom:2},NP={verticalAlign:"baseline",fontWeight:"semibold"},zP={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},HP={container:{},label:$P,helpText:BP,number:NP,icon:zP},jP={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},WP={size:"md"},UP={parts:ik.keys,baseStyle:HP,sizes:jP,defaultProps:WP},zu,Hu,ju,Wa=Ft("switch-track-width"),ni=Ft("switch-track-height"),op=Ft("switch-track-diff"),ZP=$r.subtract(Wa,ni),ap=Ft("switch-thumb-x"),GP=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Wa.reference],height:[ni.reference],transitionProperty:"common",transitionDuration:"fast",bg:$("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:$(r+".500",r+".200")(t)}}},YP={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[ni.reference],height:[ni.reference],_checked:{transform:"translateX("+ap.reference+")"}},KP=function(t){var r,n;return{container:(n={},n[op.variable]=ZP,n[ap.variable]=op.reference,n._rtl=(r={},r[ap.variable]=$r(op).negate().toString(),r),n),track:GP(t),thumb:YP}},qP={sm:{container:(zu={},zu[Wa.variable]="1.375rem",zu[ni.variable]="0.75rem",zu)},md:{container:(Hu={},Hu[Wa.variable]="1.875rem",Hu[ni.variable]="1rem",Hu)},lg:{container:(ju={},ju[Wa.variable]="2.875rem",ju[ni.variable]="1.5rem",ju)}},XP={size:"md",colorScheme:"blue"},QP={parts:ok.keys,baseStyle:KP,sizes:qP,defaultProps:XP},JP={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"}},Wu={"&[data-is-numeric=true]":{textAlign:"end"}},eT=function(t){var r=t.colorScheme;return{th:He({color:$("gray.600","gray.400")(t),borderBottom:"1px",borderColor:$(r+".100",r+".700")(t)},Wu),td:He({borderBottom:"1px",borderColor:$(r+".100",r+".700")(t)},Wu),caption:{color:$("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},tT=function(t){var r=t.colorScheme;return{th:He({color:$("gray.600","gray.400")(t),borderBottom:"1px",borderColor:$(r+".100",r+".700")(t)},Wu),td:He({borderBottom:"1px",borderColor:$(r+".100",r+".700")(t)},Wu),caption:{color:$("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:$(r+".100",r+".700")(t)},td:{background:$(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},rT={simple:eT,striped:tT,unstyled:{}},nT={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"}}},iT={variant:"simple",size:"md",colorScheme:"gray"},oT={parts:ak.keys,baseStyle:JP,variants:rT,sizes:nT,defaultProps:iT},aT=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},lT=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},sT=function(t){var r=t.align,n=r===void 0?"start":r,i=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:i==="vertical"?"column":"row"}},uT={p:4},cT=function(t){return{root:aT(t),tab:lT(t),tablist:sT(t),tabpanel:uT}},dT={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},fT=function(t){var r,n,i=t.colorScheme,o=t.orientation,a=o==="vertical",l=o==="vertical"?"borderStart":"borderBottom",s=a?"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+".600",i+".300")(t),borderColor:"currentColor"},n._active={bg:$("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},pT=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:$(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:$("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},hT=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:$("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:$("#fff","gray.800")(t),color:$(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},vT=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ge(n,r+".700"),bg:Ge(n,r+".100")}}}},mT=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:$("gray.600","inherit")(t),_selected:{color:$("#fff","gray.800")(t),bg:$(r+".600",r+".300")(t)}}}},gT={},yT={line:fT,enclosed:pT,"enclosed-colored":hT,"soft-rounded":vT,"solid-rounded":mT,unstyled:gT},bT={size:"md",variant:"line",colorScheme:"blue"},xT={parts:lk.keys,baseStyle:cT,sizes:dT,variants:yT,defaultProps:bT},wT={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},CT={lineHeight:1.2,overflow:"visible"},ST={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}},kT={container:wT,label:CT,closeButton:ST},ET={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}}},_T={subtle:function(t){return{container:to.variants.subtle(t)}},solid:function(t){return{container:to.variants.solid(t)}},outline:function(t){return{container:to.variants.outline(t)}}},PT={size:"md",variant:"subtle",colorScheme:"gray"},TT={parts:sk.keys,variants:_T,baseStyle:kT,sizes:ET,defaultProps:PT},K5,q5,X5,Q5,J5,MT=He({},Le.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),OT={outline:function(t){var r;return(r=Le.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Le.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Le.variants.filled(t).field)!=null?r:{}},unstyled:(K5=Le.variants.unstyled.field)!=null?K5:{}},LT={xs:(q5=Le.sizes.xs.field)!=null?q5:{},sm:(X5=Le.sizes.sm.field)!=null?X5:{},md:(Q5=Le.sizes.md.field)!=null?Q5:{},lg:(J5=Le.sizes.lg.field)!=null?J5:{}},AT={size:"md",variant:"outline"},FT={baseStyle:MT,sizes:LT,variants:OT,defaultProps:AT},lp=Ft("tooltip-bg"),IT=Ft("popper-arrow-bg"),DT=function(t){var r,n=$("gray.700","gray.300")(t);return r={},r[lp.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[lp.reference],r[IT.variable]=[lp.reference],r.color=$("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},RT={baseStyle:DT},VT=Object.freeze({__proto__:null,Accordion:hk,Alert:Ck,Avatar:Mk,Badge:to,Breadcrumb:$k,Button:Yk,Checkbox:Iu,CloseButton:oE,Code:uE,Container:dE,Divider:gE,Drawer:TE,Editable:FE,Form:VE,FormError:zE,FormLabel:jE,Heading:GE,Input:Le,Kbd:n_,Link:o_,List:s_,Menu:m_,Modal:P_,NumberInput:V_,PinInput:H_,Popover:Q_,Progress:aP,Radio:dP,Select:mP,Skeleton:bP,SkipLink:wP,Slider:FP,Spinner:VP,Stat:UP,Switch:QP,Table:oT,Tabs:xT,Tag:TT,Textarea:FT,Tooltip:RT}),$T={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},BT=OS({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),NT={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"}},zT={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},HT={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"},jT={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"},WT={"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)"},UT={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},ZT={property:jT,easing:WT,duration:UT},GT={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},YT={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},KT=He({breakpoints:BT,zIndices:GT,radii:zT,blur:YT,colors:NT},j5,{sizes:E5,shadows:HT,space:k5,borders:$T,transition:ZT}),qT={global:function(t){return{body:{fontFamily:"body",color:$("gray.800","whiteAlpha.900")(t),bg:$("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:$("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:$("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},XT=qT,QT=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function JT(e){return gt(e)?QT.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var eM="ltr",tM={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},e4=He({direction:eM},KT,{components:VT,styles:XT,config:tM});function Ua(){return Ua=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},Ua.apply(this,arguments)}function rM(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var nM=["as","viewBox","color","focusable","children","className","__css"],t4={path:x.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},x.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"}),x.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"}),x.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Ve=ge(function(e,t){var r=e.as,n=e.viewBox,i=e.color,o=i===void 0?"currentColor":i,a=e.focusable,l=a===void 0?!1:a,s=e.children,u=e.className,c=e.__css,p=rM(e,nM),f=Ee("chakra-icon",u),h=Ua({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),m={ref:t,focusable:l,className:f,__css:h},y=n!=null?n:t4.viewBox;if(r&&typeof r!="string")return x.createElement(ee.svg,Ua({as:r},m,p));var v=s!=null?s:t4.path;return x.createElement(ee.svg,Ua({verticalAlign:"middle",viewBox:y},m,p),v)}),sp=function(e,t){return sp=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])},sp(e,t)};function r4(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");sp(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var j=function(){return j=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},j.apply(this,arguments)};function It(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 iM(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 $e(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function ir(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Br=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},Za={measureLayout:Br(["layout","layoutId","drag"]),animation:Br(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:Br(["exit"]),drag:Br(["drag","dragControls"]),focus:Br(["whileFocus"]),hover:Br(["whileHover","onHoverStart","onHoverEnd"]),tap:Br(["whileTap","onTap","onTapStart","onTapCancel"]),pan:Br(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:Br(["whileInView","onViewportEnter","onViewportLeave"])};function oM(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?Za.projectionNodeConstructor=e[t]:Za[t].Component=e[t])}var aM=function(){},Uu=function(){},n4=A.createContext({strict:!1}),i4=Object.keys(Za),lM=i4.length;function sM(e,t,r){var n=[];if(A.useContext(n4),!t)return null;for(var i=0;i<lM;i++){var o=i4[i],a=Za[o],l=a.isEnabled,s=a.Component;l(e)&&s&&n.push(x.createElement(s,j({key:o},e,{visualElement:t})))}return n}var up=A.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),Zu=A.createContext({});function uM(){return A.useContext(Zu).visualElement}var Ga=A.createContext(null),Ya=typeof window!="undefined",Gu=Ya?A.useLayoutEffect:A.useEffect,cp={current:null},o4=!1;function cM(){if(o4=!0,typeof window!="undefined")if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return cp.current=e.matches};e.addListener(t),t()}else cp.current=!1}function dM(){!o4&&cM();var e=$e(A.useState(cp.current),1),t=e[0];return t}function fM(){var e=dM(),t=A.useContext(up).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function pM(e,t,r,n){var i=A.useContext(n4),o=uM(),a=A.useContext(Ga),l=fM(),s=A.useRef(void 0);n||(n=i.renderer),!s.current&&n&&(s.current=n(e,{visualState:t,parent:o,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:l}));var u=s.current;return Gu(function(){u==null||u.syncRender()}),A.useEffect(function(){var c;(c=u==null?void 0:u.animationState)===null||c===void 0||c.animateChanges()}),Gu(function(){return function(){return u==null?void 0:u.notifyUnmount()}},[]),u}function no(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function hM(e,t,r){return A.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):no(r)&&(r.current=n))},[t])}function a4(e){return Array.isArray(e)}function or(e){return typeof e=="string"||a4(e)}function vM(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function mM(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function l4(e,t,r,n,i){var o;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=(o=e.variants)===null||o===void 0?void 0:o[t]),typeof t=="function"&&(t=t(r!=null?r:e.custom,n,i)),t}function Yu(e,t,r){var n=e.getProps();return l4(n,t,r!=null?r:n.custom,vM(e),mM(e))}function Ku(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||or(e.initial)||or(e.animate)||or(e.whileHover)||or(e.whileDrag)||or(e.whileTap)||or(e.whileFocus)||or(e.exit)}function s4(e){return Boolean(Ku(e)||e.variants)}function gM(e,t){if(Ku(e)){var r=e.initial,n=e.animate;return{initial:r===!1||or(r)?r:void 0,animate:or(n)?n:void 0}}return e.inherit!==!1?t:{}}function yM(e){var t=gM(e,A.useContext(Zu)),r=t.initial,n=t.animate;return A.useMemo(function(){return{initial:r,animate:n}},[u4(r),u4(n)])}function u4(e){return Array.isArray(e)?e.join(" "):e}function Ka(e){var t=A.useRef(null);return t.current===null&&(t.current=e()),t.current}const c4=1/60*1e3,bM=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),d4=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(bM()),c4);function xM(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(s),f.indexOf(s)===-1&&(f.push(s),p&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!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),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const wM=40;let dp=!0,qa=!1,fp=!1;const io={delta:0,timestamp:0},Xa=["read","update","preRender","render","postRender"],qu=Xa.reduce((e,t)=>(e[t]=xM(()=>qa=!0),e),{}),br=Xa.reduce((e,t)=>{const r=qu[t];return e[t]=(n,i=!1,o=!1)=>(qa||SM(),r.schedule(n,i,o)),e},{}),Qa=Xa.reduce((e,t)=>(e[t]=qu[t].cancel,e),{}),pp=Xa.reduce((e,t)=>(e[t]=()=>qu[t].process(io),e),{}),CM=e=>qu[e].process(io),f4=e=>{qa=!1,io.delta=dp?c4:Math.max(Math.min(e-io.timestamp,wM),1),io.timestamp=e,fp=!0,Xa.forEach(CM),fp=!1,qa&&(dp=!1,d4(f4))},SM=()=>{qa=!0,dp=!0,fp||d4(f4)},hp=()=>io,Xu=(e,t,r)=>Math.min(Math.max(r,e),t),vp=.001,kM=.01,p4=10,EM=.05,_M=1;function PM({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let i,o;aM(e<=p4*1e3);let a=1-t;a=Xu(EM,_M,a),e=Xu(kM,p4,e/1e3),a<1?(i=u=>{const c=u*a,p=c*e,f=c-r,h=mp(u,a),m=Math.exp(-p);return vp-f/h*m},o=u=>{const p=u*a*e,f=p*r+r,h=Math.pow(a,2)*Math.pow(u,2)*e,m=Math.exp(-p),y=mp(Math.pow(u,2),a);return(-i(u)+vp>0?-1:1)*((f-h)*m)/y}):(i=u=>{const c=Math.exp(-u*e),p=(u-r)*e+1;return-vp+c*p},o=u=>{const c=Math.exp(-u*e),p=(r-u)*(e*e);return c*p});const l=5/e,s=MM(i,o,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:a*2*Math.sqrt(n*u),duration:e}}}const TM=12;function MM(e,t,r){let n=r;for(let i=1;i<TM;i++)n=n-e(n)/t(n);return n}function mp(e,t){return e*Math.sqrt(1-t*t)}const OM=["duration","bounce"],LM=["stiffness","damping","mass"];function h4(e,t){return t.some(r=>e[r]!==void 0)}function AM(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!h4(e,LM)&&h4(e,OM)){const r=PM(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function gp(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:i}=e,o=It(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:l,damping:s,mass:u,velocity:c,duration:p,isResolvedFromDuration:f}=AM(o),h=v4,m=v4;function y(){const v=c?-(c/1e3):0,g=r-t,b=s/(2*Math.sqrt(l*u)),w=Math.sqrt(l/u)/1e3;if(i===void 0&&(i=Math.min(Math.abs(r-t)/100,.4)),b<1){const C=mp(w,b);h=k=>{const _=Math.exp(-b*w*k);return r-_*((v+b*w*g)/C*Math.sin(C*k)+g*Math.cos(C*k))},m=k=>{const _=Math.exp(-b*w*k);return b*w*_*(Math.sin(C*k)*(v+b*w*g)/C+g*Math.cos(C*k))-_*(Math.cos(C*k)*(v+b*w*g)-C*g*Math.sin(C*k))}}else if(b===1)h=C=>r-Math.exp(-w*C)*(g+(v+w*g)*C);else{const C=w*Math.sqrt(b*b-1);h=k=>{const _=Math.exp(-b*w*k),E=Math.min(C*k,300);return r-_*((v+b*w*g)*Math.sinh(E)+C*g*Math.cosh(E))/C}}}return y(),{next:v=>{const g=h(v);if(f)a.done=v>=p;else{const b=m(v)*1e3,w=Math.abs(b)<=n,C=Math.abs(r-g)<=i;a.done=w&&C}return a.value=a.done?r:g,a},flipTarget:()=>{c=-c,[t,r]=[r,t],y()}}}gp.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const v4=e=>0,Ja=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},Be=(e,t,r)=>-r*e+r*t+e,m4=(e,t)=>r=>Math.max(Math.min(r,t),e),el=e=>e%1?Number(e.toFixed(5)):e,tl=/(-)?([\d]*\.?[\d])+/g,yp=/(#[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,FM=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function rl(e){return typeof e=="string"}const ii={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},nl=Object.assign(Object.assign({},ii),{transform:m4(0,1)}),Qu=Object.assign(Object.assign({},ii),{default:1}),il=e=>({test:t=>rl(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),kn=il("deg"),xr=il("%"),te=il("px"),IM=il("vh"),DM=il("vw"),g4=Object.assign(Object.assign({},xr),{parse:e=>xr.parse(e)/100,transform:e=>xr.transform(e*100)}),bp=(e,t)=>r=>Boolean(rl(r)&&FM.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),y4=(e,t,r)=>n=>{if(!rl(n))return n;const[i,o,a,l]=n.match(tl);return{[e]:parseFloat(i),[t]:parseFloat(o),[r]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},oi={test:bp("hsl","hue"),parse:y4("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+xr.transform(el(t))+", "+xr.transform(el(r))+", "+el(nl.transform(n))+")"},RM=m4(0,255),xp=Object.assign(Object.assign({},ii),{transform:e=>Math.round(RM(e))}),En={test:bp("rgb","red"),parse:y4("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+xp.transform(e)+", "+xp.transform(t)+", "+xp.transform(r)+", "+el(nl.transform(n))+")"};function VM(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 wp={test:bp("#"),parse:VM,transform:En.transform},ht={test:e=>En.test(e)||wp.test(e)||oi.test(e),parse:e=>En.test(e)?En.parse(e):oi.test(e)?oi.parse(e):wp.parse(e),transform:e=>rl(e)?e:e.hasOwnProperty("red")?En.transform(e):oi.transform(e)},b4="${c}",x4="${n}";function $M(e){var t,r,n,i;return isNaN(e)&&rl(e)&&((r=(t=e.match(tl))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((i=(n=e.match(yp))===null||n===void 0?void 0:n.length)!==null&&i!==void 0?i:0)>0}function w4(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(yp);n&&(r=n.length,e=e.replace(yp,b4),t.push(...n.map(ht.parse)));const i=e.match(tl);return i&&(e=e.replace(tl,x4),t.push(...i.map(ii.parse))),{values:t,numColors:r,tokenised:e}}function C4(e){return w4(e).values}function S4(e){const{values:t,numColors:r,tokenised:n}=w4(e),i=t.length;return o=>{let a=n;for(let l=0;l<i;l++)a=a.replace(l<r?b4:x4,l<r?ht.transform(o[l]):el(o[l]));return a}}const BM=e=>typeof e=="number"?0:e;function NM(e){const t=C4(e);return S4(e)(t.map(BM))}const Nr={test:$M,parse:C4,createTransformer:S4,getAnimatableNone:NM},zM=new Set(["brightness","contrast","saturate","opacity"]);function HM(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(tl)||[];if(!n)return e;const i=r.replace(n,"");let o=zM.has(t)?1:0;return n!==r&&(o*=100),t+"("+o+i+")"}const jM=/([a-z-]*)\(.*?\)/g,Cp=Object.assign(Object.assign({},Nr),{getAnimatableNone:e=>{const t=e.match(jM);return t?t.map(HM).join(" "):e}});function Sp(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 k4({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let i=0,o=0,a=0;if(!t)i=o=a=r;else{const l=r<.5?r*(1+t):r+t-r*t,s=2*r-l;i=Sp(s,l,e+1/3),o=Sp(s,l,e),a=Sp(s,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(a*255),alpha:n}}const WM=(e,t,r)=>{const n=e*e,i=t*t;return Math.sqrt(Math.max(0,r*(i-n)+n))},UM=[wp,En,oi],E4=e=>UM.find(t=>t.test(e)),_4=(e,t)=>{let r=E4(e),n=E4(t),i=r.parse(e),o=n.parse(t);r===oi&&(i=k4(i),r=En),n===oi&&(o=k4(o),n=En);const a=Object.assign({},i);return l=>{for(const s in a)s!=="alpha"&&(a[s]=WM(i[s],o[s],l));return a.alpha=Be(i.alpha,o.alpha,l),r.transform(a)}},kp=e=>typeof e=="number",ZM=(e,t)=>r=>t(e(r)),Ju=(...e)=>e.reduce(ZM);function P4(e,t){return kp(e)?r=>Be(e,t,r):ht.test(e)?_4(e,t):O4(e,t)}const T4=(e,t)=>{const r=[...e],n=r.length,i=e.map((o,a)=>P4(o,t[a]));return o=>{for(let a=0;a<n;a++)r[a]=i[a](o);return r}},GM=(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]=P4(e[i],t[i]));return i=>{for(const o in n)r[o]=n[o](i);return r}};function M4(e){const t=Nr.parse(e),r=t.length;let n=0,i=0,o=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?o++:i++;return{parsed:t,numNumbers:n,numRGB:i,numHSL:o}}const O4=(e,t)=>{const r=Nr.createTransformer(t),n=M4(e),i=M4(t);return n.numHSL===i.numHSL&&n.numRGB===i.numRGB&&n.numNumbers>=i.numNumbers?Ju(T4(n.parsed,i.parsed),r):a=>`${a>0?t:e}`},YM=(e,t)=>r=>Be(e,t,r);function KM(e){if(typeof e=="number")return YM;if(typeof e=="string")return ht.test(e)?_4:O4;if(Array.isArray(e))return T4;if(typeof e=="object")return GM}function qM(e,t,r){const n=[],i=r||KM(e[0]),o=e.length-1;for(let a=0;a<o;a++){let l=i(e[a],e[a+1]);if(t){const s=Array.isArray(t)?t[a]:t;l=Ju(s,l)}n.push(l)}return n}function XM([e,t],[r]){return n=>r(Ja(e,t,n))}function QM(e,t){const r=e.length,n=r-1;return i=>{let o=0,a=!1;if(i<=e[0]?a=!0:i>=e[n]&&(o=n-1,a=!0),!a){let s=1;for(;s<r&&!(e[s]>i||s===n);s++);o=s-1}const l=Ja(e[o],e[o+1],i);return t[o](l)}}function L4(e,t,{clamp:r=!0,ease:n,mixer:i}={}){const o=e.length;Uu(o===t.length),Uu(!n||!Array.isArray(n)||n.length===o-1),e[0]>e[o-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=qM(t,n,i),l=o===2?XM(e,a):QM(e,a);return r?s=>l(Xu(e[0],e[o-1],s)):l}const ec=e=>t=>1-e(1-t),Ep=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,JM=e=>t=>Math.pow(t,e),A4=e=>t=>t*t*((e+1)*t-e),eO=e=>{const t=A4(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},F4=1.525,tO=4/11,rO=8/11,nO=9/10,_p=e=>e,Pp=JM(2),iO=ec(Pp),I4=Ep(Pp),D4=e=>1-Math.sin(Math.acos(e)),Tp=ec(D4),oO=Ep(Tp),Mp=A4(F4),aO=ec(Mp),lO=Ep(Mp),sO=eO(F4),uO=4356/361,cO=35442/1805,dO=16061/1805,tc=e=>{if(e===1||e===0)return e;const t=e*e;return e<tO?7.5625*t:e<rO?9.075*t-9.9*e+3.4:e<nO?uO*t-cO*e+dO:10.8*e*e-20.52*e+10.72},fO=ec(tc),pO=e=>e<.5?.5*(1-tc(1-e*2)):.5*tc(e*2-1)+.5;function hO(e,t){return e.map(()=>t||I4).splice(0,e.length-1)}function vO(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function mO(e,t){return e.map(r=>r*t)}function rc({from:e=0,to:t=1,ease:r,offset:n,duration:i=300}){const o={done:!1,value:e},a=Array.isArray(t)?t:[e,t],l=mO(n&&n.length===a.length?n:vO(a),i);function s(){return L4(l,a,{ease:Array.isArray(r)?r:hO(a,r)})}let u=s();return{next:c=>(o.value=u(c),o.done=c>=i,o),flipTarget:()=>{a.reverse(),u=s()}}}function gO({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:i=.5,modifyTarget:o}){const a={done:!1,value:t};let l=r*e;const s=t+l,u=o===void 0?s:o(s);return u!==s&&(l=u-t),{next:c=>{const p=-l*Math.exp(-c/n);return a.done=!(p>i||p<-i),a.value=a.done?u:u+p,a},flipTarget:()=>{}}}const R4={keyframes:rc,spring:gp,decay:gO};function yO(e){if(Array.isArray(e.to))return rc;if(R4[e.type])return R4[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?rc:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?gp:rc}const V4=1/60*1e3,bO=typeof performance!="undefined"?()=>performance.now():()=>Date.now(),$4=typeof window!="undefined"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(bO()),V4);function xO(e){let t=[],r=[],n=0,i=!1,o=!1;const a=new WeakSet,l={schedule:(s,u=!1,c=!1)=>{const p=c&&i,f=p?t:r;return u&&a.add(s),f.indexOf(s)===-1&&(f.push(s),p&&i&&(n=t.length)),s},cancel:s=>{const u=r.indexOf(s);u!==-1&&r.splice(u,1),a.delete(s)},process:s=>{if(i){o=!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),a.has(c)&&(l.schedule(c),e())}i=!1,o&&(o=!1,l.process(s))}};return l}const wO=40;let Op=!0,ol=!1,Lp=!1;const oo={delta:0,timestamp:0},al=["read","update","preRender","render","postRender"],nc=al.reduce((e,t)=>(e[t]=xO(()=>ol=!0),e),{}),CO=al.reduce((e,t)=>{const r=nc[t];return e[t]=(n,i=!1,o=!1)=>(ol||EO(),r.schedule(n,i,o)),e},{}),SO=al.reduce((e,t)=>(e[t]=nc[t].cancel,e),{});al.reduce((e,t)=>(e[t]=()=>nc[t].process(oo),e),{});const kO=e=>nc[e].process(oo),B4=e=>{ol=!1,oo.delta=Op?V4:Math.max(Math.min(e-oo.timestamp,wO),1),oo.timestamp=e,Lp=!0,al.forEach(kO),Lp=!1,ol&&(Op=!1,$4(B4))},EO=()=>{ol=!0,Op=!0,Lp||$4(B4)},_O=()=>oo;function N4(e,t,r=0){return e-t-r}function PO(e,t,r=0,n=!0){return n?N4(t+-e,t,r):t-(e-t)+r}function TO(e,t,r,n){return n?e>=t+r:e<=-r}const MO=e=>{const t=({delta:r})=>e(r);return{start:()=>CO.update(t,!0),stop:()=>SO.update(t)}};function z4(e){var t,r,{from:n,autoplay:i=!0,driver:o=MO,elapsed:a=0,repeat:l=0,repeatType:s="loop",repeatDelay:u=0,onPlay:c,onStop:p,onComplete:f,onRepeat:h,onUpdate:m}=e,y=It(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:v}=y,g,b=0,w=y.duration,C,k=!1,_=!0,E;const M=yO(y);!((r=(t=M).needsInterpolation)===null||r===void 0)&&r.call(t,n,v)&&(E=L4([0,100],[n,v],{clamp:!1}),n=0,v=100);const O=M(Object.assign(Object.assign({},y),{from:n,to:v}));function R(){b++,s==="reverse"?(_=b%2===0,a=PO(a,w,u,_)):(a=N4(a,w,u),s==="mirror"&&O.flipTarget()),k=!1,h&&h()}function Z(){g.stop(),f&&f()}function G(Y){if(_||(Y=-Y),a+=Y,!k){const Q=O.next(Math.max(0,a));C=Q.value,E&&(C=E(C)),k=_?Q.done:a<=0}m==null||m(C),k&&(b===0&&(w!=null||(w=a)),b<l?TO(a,w,u,_)&&R():Z())}function U(){c==null||c(),g=o(G),g.start()}return i&&U(),{stop:()=>{p==null||p(),g.stop()}}}function H4(e,t){return t?e*(1e3/t):0}function OO({from:e=0,velocity:t=0,min:r,max:n,power:i=.8,timeConstant:o=750,bounceStiffness:a=500,bounceDamping:l=10,restDelta:s=1,modifyTarget:u,driver:c,onUpdate:p,onComplete:f,onStop:h}){let m;function y(w){return r!==void 0&&w<r||n!==void 0&&w>n}function v(w){return r===void 0?n:n===void 0||Math.abs(r-w)<Math.abs(n-w)?r:n}function g(w){m==null||m.stop(),m=z4(Object.assign(Object.assign({},w),{driver:c,onUpdate:C=>{var k;p==null||p(C),(k=w.onUpdate)===null||k===void 0||k.call(w,C)},onComplete:f,onStop:h}))}function b(w){g(Object.assign({type:"spring",stiffness:a,damping:l,restDelta:s},w))}if(y(e))b({from:e,velocity:t,to:v(e)});else{let w=i*t+e;typeof u!="undefined"&&(w=u(w));const C=v(w),k=C===r?-1:1;let _,E;const M=O=>{_=E,E=O,t=H4(O-_,_O().delta),(k===1&&O>C||k===-1&&O<C)&&b({from:O,to:C,velocity:t})};g({type:"decay",from:e,velocity:t,timeConstant:o,power:i,restDelta:s,modifyTarget:u,onUpdate:y(w)?M:void 0})}return{stop:()=>m==null?void 0:m.stop()}}const Ap=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),j4=e=>Ap(e)&&e.hasOwnProperty("z"),ic=(e,t)=>Math.abs(e-t);function W4(e,t){if(kp(e)&&kp(t))return ic(e,t);if(Ap(e)&&Ap(t)){const r=ic(e.x,t.x),n=ic(e.y,t.y),i=j4(e)&&j4(t)?ic(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(i,2))}}const U4=(e,t)=>1-3*t+3*e,Z4=(e,t)=>3*t-6*e,G4=e=>3*e,oc=(e,t,r)=>((U4(t,r)*e+Z4(t,r))*e+G4(t))*e,Y4=(e,t,r)=>3*U4(t,r)*e*e+2*Z4(t,r)*e+G4(t),LO=1e-7,AO=10;function FO(e,t,r,n,i){let o,a,l=0;do a=t+(r-t)/2,o=oc(a,n,i)-e,o>0?r=a:t=a;while(Math.abs(o)>LO&&++l<AO);return a}const IO=8,DO=.001;function RO(e,t,r,n){for(let i=0;i<IO;++i){const o=Y4(t,r,n);if(o===0)return t;t-=(oc(t,r,n)-e)/o}return t}const ac=11,lc=1/(ac-1);function VO(e,t,r,n){if(e===t&&r===n)return _p;const i=new Float32Array(ac);for(let a=0;a<ac;++a)i[a]=oc(a*lc,e,r);function o(a){let l=0,s=1;const u=ac-1;for(;s!==u&&i[s]<=a;++s)l+=lc;--s;const c=(a-i[s])/(i[s+1]-i[s]),p=l+c*lc,f=Y4(p,e,r);return f>=DO?RO(a,p,e,r):f===0?p:FO(a,l,l+lc,e,r)}return a=>a===0||a===1?a:oc(o(a),t,n)}function Fp(e,t){e.indexOf(t)===-1&&e.push(t)}function Ip(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var ll=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return Fp(this.subscriptions,t),function(){return Ip(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 o=0;o<i;o++){var a=this.subscriptions[o];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),$O=function(e){return!isNaN(parseFloat(e))},BO=function(){function e(t){var r=this;this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new ll,this.velocityUpdateSubscribers=new ll,this.renderSubscribers=new ll,this.canTrackVelocity=!1,this.updateAndNotify=function(n,i){i===void 0&&(i=!0),r.prev=r.current,r.current=n;var o=hp(),a=o.delta,l=o.timestamp;r.lastUpdated!==l&&(r.timeDelta=a,r.lastUpdated=l,br.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 br.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=$O(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?H4(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 ao(e){return new BO(e)}var zr=function(e){return Boolean(e!==null&&typeof e=="object"&&e.getVelocity)},sc=function(e){return e*1e3},NO={linear:_p,easeIn:Pp,easeInOut:I4,easeOut:iO,circIn:D4,circInOut:oO,circOut:Tp,backIn:Mp,backInOut:lO,backOut:aO,anticipate:sO,bounceIn:fO,bounceInOut:pO,bounceOut:tc},K4=function(e){if(Array.isArray(e)){Uu(e.length===4);var t=$e(e,4),r=t[0],n=t[1],i=t[2],o=t[3];return VO(r,n,i,o)}else if(typeof e=="string")return NO[e];return e},zO=function(e){return Array.isArray(e)&&typeof e[0]!="number"},q4=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&Nr.test(t)&&!t.startsWith("url("))},sl=function(e){return Array.isArray(e)},ai=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},uc=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Dp=function(){return{type:"keyframes",ease:"linear",duration:.3}},HO=function(e){return{type:"keyframes",duration:.8,values:e}},X4={x:ai,y:ai,z:ai,rotate:ai,rotateX:ai,rotateY:ai,rotateZ:ai,scaleX:uc,scaleY:uc,scale:uc,opacity:Dp,backgroundColor:Dp,color:Dp,default:uc},jO=function(e,t){var r;return sl(t)?r=HO:r=X4[e]||X4.default,j({to:t},r(t))},Q4=j(j({},ii),{transform:Math.round}),J4={borderWidth:te,borderTopWidth:te,borderRightWidth:te,borderBottomWidth:te,borderLeftWidth:te,borderRadius:te,radius:te,borderTopLeftRadius:te,borderTopRightRadius:te,borderBottomRightRadius:te,borderBottomLeftRadius:te,width:te,maxWidth:te,height:te,maxHeight:te,size:te,top:te,right:te,bottom:te,left:te,padding:te,paddingTop:te,paddingRight:te,paddingBottom:te,paddingLeft:te,margin:te,marginTop:te,marginRight:te,marginBottom:te,marginLeft:te,rotate:kn,rotateX:kn,rotateY:kn,rotateZ:kn,scale:Qu,scaleX:Qu,scaleY:Qu,scaleZ:Qu,skew:kn,skewX:kn,skewY:kn,distance:te,translateX:te,translateY:te,translateZ:te,x:te,y:te,z:te,perspective:te,transformPerspective:te,opacity:nl,originX:g4,originY:g4,originZ:te,zIndex:Q4,fillOpacity:nl,strokeOpacity:nl,numOctaves:Q4},WO=j(j({},J4),{color:ht,backgroundColor:ht,outlineColor:ht,fill:ht,stroke:ht,borderColor:ht,borderTopColor:ht,borderRightColor:ht,borderBottomColor:ht,borderLeftColor:ht,filter:Cp,WebkitFilter:Cp}),Rp=function(e){return WO[e]};function Vp(e,t){var r,n=Rp(e);return n!==Cp&&(n=Nr),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}var UO={current:!1},ZO=function(e){return Boolean(e&&typeof e=="object"&&e.mix&&e.toValue)},e3=function(e){return sl(e)?e[e.length-1]||0:e};function GO(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=It(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function YO(e){var t=e.ease,r=e.times,n=e.yoyo,i=e.flip,o=e.loop,a=It(e,["ease","times","yoyo","flip","loop"]),l=j({},a);return r&&(l.offset=r),a.duration&&(l.duration=sc(a.duration)),a.repeatDelay&&(l.repeatDelay=sc(a.repeatDelay)),t&&(l.ease=zO(t)?t.map(K4):K4(t)),a.type==="tween"&&(l.type="keyframes"),(n||o||i)&&(n?l.repeatType="reverse":o?l.repeatType="loop":i&&(l.repeatType="mirror"),l.repeat=o||n||i||a.repeat),a.type!=="spring"&&(l.type="keyframes"),l}function KO(e,t){var r,n,i=$p(e,t)||{};return(n=(r=i.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function qO(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=ir([],$e(e.to),!1),e.to[0]=e.from),e}function XO(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),qO(t),GO(e)||(e=j(j({},e),jO(r,t.to))),j(j({},t),YO(e))}function QO(e,t,r,n,i){var o,a=$p(n,e),l=(o=a.from)!==null&&o!==void 0?o:t.get(),s=q4(e,r);l==="none"&&s&&typeof r=="string"?l=Vp(e,r):t3(l)&&typeof r=="string"?l=r3(r):!Array.isArray(r)&&t3(r)&&typeof l=="string"&&(r=r3(l));var u=q4(e,l);function c(){var f={from:l,to:r,velocity:t.getVelocity(),onComplete:i,onUpdate:function(h){return t.set(h)}};return a.type==="inertia"||a.type==="decay"?OO(j(j({},f),a)):z4(j(j({},XO(a,f,e)),{onUpdate:function(h){var m;f.onUpdate(h),(m=a.onUpdate)===null||m===void 0||m.call(a,h)},onComplete:function(){var h;f.onComplete(),(h=a.onComplete)===null||h===void 0||h.call(a)}}))}function p(){var f,h,m=e3(r);return t.set(m),i(),(f=a==null?void 0:a.onUpdate)===null||f===void 0||f.call(a,m),(h=a==null?void 0:a.onComplete)===null||h===void 0||h.call(a),{stop:function(){}}}return!u||!s||a.type===!1?p:c}function t3(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function r3(e){return typeof e=="number"?0:Vp("",e)}function $p(e,t){return e[t]||e.default||e}function Bp(e,t,r,n){return n===void 0&&(n={}),UO.current&&(n={type:!1}),t.start(function(i){var o,a,l=QO(e,t,r,n,i),s=KO(n,e),u=function(){return a=l()};return s?o=window.setTimeout(u,sc(s)):u(),function(){clearTimeout(o),a==null||a.stop()}})}function JO(e,t,r){r===void 0&&(r={});var n=zr(e)?e:ao(e);return Bp("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var n3=["TopLeft","TopRight","BottomLeft","BottomRight"],eL=n3.length,i3=function(e){return typeof e=="string"?parseFloat(e):e},o3=function(e){return typeof e=="number"||te.test(e)};function tL(e,t,r,n,i,o){var a,l,s,u;i?(e.opacity=Be(0,(a=r.opacity)!==null&&a!==void 0?a:1,rL(n)),e.opacityExit=Be((l=t.opacity)!==null&&l!==void 0?l:1,0,nL(n))):o&&(e.opacity=Be((s=t.opacity)!==null&&s!==void 0?s:1,(u=r.opacity)!==null&&u!==void 0?u:1,n));for(var c=0;c<eL;c++){var p="border".concat(n3[c],"Radius"),f=a3(t,p),h=a3(r,p);if(!(f===void 0&&h===void 0)){f||(f=0),h||(h=0);var m=f===0||h===0||o3(f)===o3(h);m?(e[p]=Math.max(Be(i3(f),i3(h),n),0),(xr.test(h)||xr.test(f))&&(e[p]+="%")):e[p]=h}}(t.rotate||r.rotate)&&(e.rotate=Be(t.rotate||0,r.rotate||0,n))}function a3(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var rL=l3(0,.5,Tp),nL=l3(.5,.95,_p);function l3(e,t,r){return function(n){return n<e?0:n>t?1:r(Ja(e,t,n))}}function s3(e,t){e.min=t.min,e.max=t.max}function wr(e,t){s3(e.x,t.x),s3(e.y,t.y)}function Np(e){return e===void 0||e===1}function u3(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!Np(t)||!Np(r)||!Np(n)}function _n(e){return u3(e)||c3(e.x)||c3(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function c3(e){return e&&e!=="0%"}function cc(e,t,r){var n=e-r,i=t*n;return r+i}function d3(e,t,r,n,i){return i!==void 0&&(e=cc(e,i,n)),cc(e,r,n)+t}function zp(e,t,r,n,i){t===void 0&&(t=0),r===void 0&&(r=1),e.min=d3(e.min,t,r,n,i),e.max=d3(e.max,t,r,n,i)}function f3(e,t){var r=t.x,n=t.y;zp(e.x,r.translate,r.scale,r.originPoint),zp(e.y,n.translate,n.scale,n.originPoint)}function iL(e,t,r,n){var i,o;n===void 0&&(n=!1);var a=r.length;if(!!a){t.x=t.y=1;for(var l,s,u=0;u<a;u++)l=r[u],s=l.projectionDelta,((o=(i=l.instance)===null||i===void 0?void 0:i.style)===null||o===void 0?void 0:o.display)!=="contents"&&(n&&l.options.layoutScroll&&l.scroll&&l!==l.root&&so(e,{x:-l.scroll.x,y:-l.scroll.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,f3(e,s)),n&&_n(l.latestValues)&&so(e,l.latestValues))}}function lo(e,t){e.min=e.min+t,e.max=e.max+t}function p3(e,t,r){var n=$e(r,3),i=n[0],o=n[1],a=n[2],l=t[a]!==void 0?t[a]:.5,s=Be(e.min,e.max,l);zp(e,t[i],t[o],s,t.scale)}var oL=["x","scaleX","originX"],aL=["y","scaleY","originY"];function so(e,t){p3(e.x,t,oL),p3(e.y,t,aL)}function Hr(e){return e.max-e.min}function h3(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),W4(e,t)<r}function v3(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Be(t.min,t.max,e.origin),e.scale=Hr(r)/Hr(t),(h3(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Be(r.min,r.max,e.origin)-e.originPoint,(h3(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ul(e,t,r,n){v3(e.x,t.x,r.x,n==null?void 0:n.originX),v3(e.y,t.y,r.y,n==null?void 0:n.originY)}function m3(e,t,r){e.min=r.min+t.min,e.max=e.min+Hr(t)}function lL(e,t,r){m3(e.x,t.x,r.x),m3(e.y,t.y,r.y)}function g3(e,t,r){e.min=t.min-r.min,e.max=e.min+Hr(t)}function cl(e,t,r){g3(e.x,t.x,r.x),g3(e.y,t.y,r.y)}function y3(e,t,r,n,i){return e-=t,e=cc(e,1/r,n),i!==void 0&&(e=cc(e,1/i,n)),e}function sL(e,t,r,n,i,o,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),o===void 0&&(o=e),a===void 0&&(a=e),xr.test(t)){t=parseFloat(t);var l=Be(a.min,a.max,t/100);t=l-a.min}if(typeof t=="number"){var s=Be(o.min,o.max,n);e===o&&(s-=t),e.min=y3(e.min,t,r,s,i),e.max=y3(e.max,t,r,s,i)}}function b3(e,t,r,n,i){var o=$e(r,3),a=o[0],l=o[1],s=o[2];sL(e,t[a],t[l],t[s],t.scale,n,i)}var uL=["x","scaleX","originX"],cL=["y","scaleY","originY"];function x3(e,t,r,n){b3(e.x,t,uL,r==null?void 0:r.x,n==null?void 0:n.x),b3(e.y,t,cL,r==null?void 0:r.y,n==null?void 0:n.y)}var w3=function(){return{translate:0,scale:1,origin:0,originPoint:0}},dl=function(){return{x:w3(),y:w3()}},C3=function(){return{min:0,max:0}},dt=function(){return{x:C3(),y:C3()}};function S3(e){return e.translate===0&&e.scale===1}function k3(e){return S3(e.x)&&S3(e.y)}function E3(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 dL=function(){function e(){this.members=[]}return e.prototype.add=function(t){Fp(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(Ip(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(a){return t===a});if(r===0)return!1;for(var n,i=r;i>=0;i--){var o=this.members[i];if(o.isPresent!==!1){n=o;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 o=t.options.crossfade;o===!1&&i.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,i,o,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(i=t.resumingFrom)===null||i===void 0?void 0:(o=i.options).onExitComplete)===null||a===void 0||a.call(o)})},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}(),dc={};function fL(e){Object.assign(dc,e)}var pL="translate3d(0px, 0px, 0) scale(1, 1)";function _3(e,t,r){var n=e.x.translate/t.x,i=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(i,"px, 0) ");if(r){var a=r.rotate,l=r.rotateX,s=r.rotateY;a&&(o+="rotate(".concat(a,"deg) ")),l&&(o+="rotateX(".concat(l,"deg) ")),s&&(o+="rotateY(".concat(s,"deg) "))}return o+="scale(".concat(e.x.scale,", ").concat(e.y.scale,")"),o===pL?"none":o}function Cr(e){return[e("x"),e("y")]}var Hp=["","X","Y","Z"],hL=["translate","scale","rotate","skew"],fl=["transformPerspective","x","y","z"];hL.forEach(function(e){return Hp.forEach(function(t){return fl.push(e+t)})});function vL(e,t){return fl.indexOf(e)-fl.indexOf(t)}var mL=new Set(fl);function pl(e){return mL.has(e)}var gL=new Set(["originX","originY","originZ"]);function P3(e){return gL.has(e)}var yL=function(e,t){return e.depth-t.depth},bL=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){Fp(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){Ip(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(yL),this.isDirty=!1,this.children.forEach(t)},e}();function fc(e){var t=zr(e)?e.get():e;return ZO(t)?t.toValue():t}var T3=1e3,hl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function M3(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,i=e.resetTransform;return function(){function o(a,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(EL),u.nodes.forEach(_L)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=a,this.latestValues=l,this.root=s?s.root||s:this,this.path=s?ir(ir([],$e(s.path),!1),[s],!1):[],this.parent=s,this.depth=s?s.depth+1:0,a&&this.root.registerPotentialNode(a,this);for(var c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new bL)}return o.prototype.addEventListener=function(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new ll),this.eventHandlers.get(a).add(l)},o.prototype.notifyListeners=function(a){for(var l=[],s=1;s<arguments.length;s++)l[s-1]=arguments[s];var u=this.eventHandlers.get(a);u==null||u.notify.apply(u,ir([],$e(l),!1))},o.prototype.hasListeners=function(a){return this.eventHandlers.has(a)},o.prototype.registerPotentialNode=function(a,l){this.potentialNodes.set(a,l)},o.prototype.mount=function(a,l){var s=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=a instanceof SVGElement&&a.tagName!=="svg",this.instance=a;var c=this.options,p=c.layoutId,f=c.layout,h=c.visualElement;if(h&&!h.getInstance()&&h.mount(a),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||p)&&(this.isLayoutDirty=!0),t){var m,y=function(){return s.root.updateBlockedByResize=!1};t(a,function(){s.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),hl.hasAnimatedSinceResize&&(hl.hasAnimatedSinceResize=!1,s.nodes.forEach(kL))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&h&&(p||f)&&this.addEventListener("didUpdate",function(v){var g,b,w,C,k,_=v.delta,E=v.hasLayoutChanged,M=v.hasRelativeTargetChanged,O=v.layout;if(s.isTreeAnimationBlocked()){s.target=void 0,s.relativeTarget=void 0;return}var R=(b=(g=s.options.transition)!==null&&g!==void 0?g:h.getDefaultTransition())!==null&&b!==void 0?b:LL,Z=h.getProps().onLayoutAnimationComplete,G=!s.targetLayout||!E3(s.targetLayout,O)||M,U=!E&&M;if(((w=s.resumeFrom)===null||w===void 0?void 0:w.instance)||U||E&&(G||!s.currentAnimation)){s.resumeFrom&&(s.resumingFrom=s.resumeFrom,s.resumingFrom.resumingFrom=void 0),s.setAnimationOrigin(_,U);var Y=j(j({},$p(R,"layout")),{onComplete:Z});h.shouldReduceMotion&&(Y.delay=0,Y.type=!1),s.startAnimation(Y)}else!E&&s.animationProgress===0&&s.finishAnimation(),s.isLead()&&((k=(C=s.options).onExitComplete)===null||k===void 0||k.call(C));s.targetLayout=O})}},o.prototype.unmount=function(){var a,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(a=this.getStack())===null||a===void 0||a.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Qa.preRender(this.updateProjection)},o.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},o.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},o.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},o.prototype.isTreeAnimationBlocked=function(){var a;return this.isAnimationBlocked||((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimationBlocked())||!1},o.prototype.startUpdate=function(){var a;this.isUpdateBlocked()||(this.isUpdating=!0,(a=this.nodes)===null||a===void 0||a.forEach(PL))},o.prototype.willUpdate=function(a){var l,s,u;if(a===void 0&&(a=!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 p=this.path[c];p.shouldResetTransform=!0,p.updateScroll()}var f=this.options,h=f.layoutId,m=f.layout;if(!(h===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(),a&&this.notifyListeners("willUpdate")}}},o.prototype.didUpdate=function(){var a=this.isUpdateBlocked();if(a){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(O3);return}!this.isUpdating||(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(AL),this.potentialNodes.clear()),this.nodes.forEach(SL),this.nodes.forEach(xL),this.nodes.forEach(wL),this.clearAllSnapshots(),pp.update(),pp.preRender(),pp.render())},o.prototype.clearAllSnapshots=function(){this.nodes.forEach(CL),this.sharedNodes.forEach(TL)},o.prototype.scheduleUpdateProjection=function(){br.preRender(this.updateProjection,!1,!0)},o.prototype.scheduleCheckAfterUnmount=function(){var a=this;br.postRender(function(){a.isLayoutDirty?a.root.didUpdate():a.root.checkUpdateFailed()})},o.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var a=this.measure(),l=this.removeTransform(this.removeElementScroll(a));I3(l),this.snapshot={measured:a,layout:l,latestValues:{}}}},o.prototype.updateLayout=function(){var a;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();I3(u);var c=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=dt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(a=this.options.visualElement)===null||a===void 0||a.notifyLayoutMeasure(this.layout.actual,c==null?void 0:c.actual)}},o.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=n(this.instance))},o.prototype.resetTransform=function(){var a;if(!!i){var l=this.isLayoutDirty||this.shouldResetTransform,s=this.projectionDelta&&!k3(this.projectionDelta),u=(a=this.options.visualElement)===null||a===void 0?void 0:a.getProps().transformTemplate,c=u==null?void 0:u(this.latestValues,""),p=c!==this.prevTransformTemplateValue;l&&(s||_n(this.latestValues)||p)&&(i(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}},o.prototype.measure=function(){var a=this.options.visualElement;if(!a)return dt();var l=a.measureViewportBox(),s=this.root.scroll;return s&&(lo(l.x,s.x),lo(l.y,s.y)),l},o.prototype.removeElementScroll=function(a){var l=dt();wr(l,a);for(var s=0;s<this.path.length;s++){var u=this.path[s],c=u.scroll,p=u.options;u!==this.root&&c&&p.layoutScroll&&(lo(l.x,c.x),lo(l.y,c.y))}return l},o.prototype.applyTransform=function(a,l){l===void 0&&(l=!1);var s=dt();wr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];!l&&c.options.layoutScroll&&c.scroll&&c!==c.root&&so(s,{x:-c.scroll.x,y:-c.scroll.y}),_n(c.latestValues)&&so(s,c.latestValues)}return _n(this.latestValues)&&so(s,this.latestValues),s},o.prototype.removeTransform=function(a){var l,s=dt();wr(s,a);for(var u=0;u<this.path.length;u++){var c=this.path[u];if(!!c.instance&&!!_n(c.latestValues)){u3(c.latestValues)&&c.updateSnapshot();var p=dt(),f=c.measure();wr(p,f),x3(s,c.latestValues,(l=c.snapshot)===null||l===void 0?void 0:l.layout,p)}}return _n(this.latestValues)&&x3(s,this.latestValues),s},o.prototype.setTargetDelta=function(a){this.targetDelta=a,this.root.scheduleUpdateProjection()},o.prototype.setOptions=function(a){var l;this.options=j(j(j({},this.options),a),{crossfade:(l=a.crossfade)!==null&&l!==void 0?l:!0})},o.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},o.prototype.resolveTargetDelta=function(){var a,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=dt(),this.relativeTargetOrigin=dt(),cl(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),wr(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=dt(),this.targetWithTransforms=dt()),this.relativeTarget&&this.relativeTargetOrigin&&((a=this.relativeParent)===null||a===void 0?void 0:a.target)?lL(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):wr(this.target,this.layout.actual),f3(this.target,this.targetDelta)):wr(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=dt(),this.relativeTargetOrigin=dt(),cl(this.relativeTargetOrigin,this.target,this.relativeParent.target),wr(this.relativeTarget,this.relativeTargetOrigin)))))},o.prototype.getClosestProjectingParent=function(){if(!(!this.parent||_n(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},o.prototype.calcProjection=function(){var a,l=this.options,s=l.layout,u=l.layoutId;if(this.isTreeAnimating=Boolean(((a=this.parent)===null||a===void 0?void 0:a.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(s||u))){var c=this.getLead();wr(this.layoutCorrected,this.layout.actual),iL(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==c);var p=c.target;if(!!p){this.projectionDelta||(this.projectionDelta=dl(),this.projectionDeltaWithTransform=dl());var f=this.treeScale.x,h=this.treeScale.y,m=this.projectionTransform;ul(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=_3(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==f||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},o.prototype.hide=function(){this.isVisible=!1},o.prototype.show=function(){this.isVisible=!0},o.prototype.scheduleRender=function(a){var l,s,u;a===void 0&&(a=!0),(s=(l=this.options).scheduleRender)===null||s===void 0||s.call(l),a&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},o.prototype.setAnimationOrigin=function(a,l){var s=this,u;l===void 0&&(l=!1);var c=this.snapshot,p=(c==null?void 0:c.latestValues)||{},f=j({},this.latestValues),h=dl();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=dt(),y=c==null?void 0:c.isShared,v=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,g=Boolean(y&&!v&&this.options.crossfade===!0&&!this.path.some(OL));this.animationProgress=0,this.mixTargetDelta=function(b){var w,C=b/1e3;L3(h.x,a.x,C),L3(h.y,a.y,C),s.setTargetDelta(h),s.relativeTarget&&s.relativeTargetOrigin&&s.layout&&((w=s.relativeParent)===null||w===void 0?void 0:w.layout)&&(cl(m,s.layout.actual,s.relativeParent.layout.actual),ML(s.relativeTarget,s.relativeTargetOrigin,m,C)),y&&(s.animationValues=f,tL(f,p,s.latestValues,C,g,v)),s.root.scheduleUpdateProjection(),s.scheduleRender(),s.animationProgress=C},this.mixTargetDelta(0)},o.prototype.startAnimation=function(a){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&&(Qa.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=br.update(function(){hl.hasAnimatedSinceResize=!0,l.currentAnimation=JO(0,T3,j(j({},a),{onUpdate:function(c){var p;l.mixTargetDelta(c),(p=a.onUpdate)===null||p===void 0||p.call(a,c)},onComplete:function(){var c;(c=a.onComplete)===null||c===void 0||c.call(a),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},o.prototype.completeAnimation=function(){var a;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(a=this.getStack())===null||a===void 0||a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},o.prototype.finishAnimation=function(){var a;this.currentAnimation&&((a=this.mixTargetDelta)===null||a===void 0||a.call(this,T3),this.currentAnimation.stop()),this.completeAnimation()},o.prototype.applyTransformsToTarget=function(){var a=this.getLead(),l=a.targetWithTransforms,s=a.target,u=a.layout,c=a.latestValues;!l||!s||!u||(wr(l,s),so(l,c),ul(this.projectionDeltaWithTransform,this.layoutCorrected,l,c))},o.prototype.registerSharedNode=function(a,l){var s,u,c;this.sharedNodes.has(a)||this.sharedNodes.set(a,new dL);var p=this.sharedNodes.get(a);p.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)})},o.prototype.isLead=function(){var a=this.getStack();return a?a.lead===this:!0},o.prototype.getLead=function(){var a,l=this.options.layoutId;return l?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this},o.prototype.getPrevLead=function(){var a,l=this.options.layoutId;return l?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0},o.prototype.getStack=function(){var a=this.options.layoutId;if(a)return this.root.sharedNodes.get(a)},o.prototype.promote=function(a){var l=a===void 0?{}:a,s=l.needsReset,u=l.transition,c=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,c),s&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},o.prototype.relegate=function(){var a=this.getStack();return a?a.relegate(this):!1},o.prototype.resetRotation=function(){var a=this.options.visualElement;if(!!a){for(var l=!1,s={},u=0;u<Hp.length;u++){var c=Hp[u],p="rotate"+c;!a.getStaticValue(p)||(l=!0,s[p]=a.getStaticValue(p),a.setStaticValue(p,0))}if(!!l){a==null||a.syncRender();for(var p in s)a.setStaticValue(p,s[p]);a.scheduleRender()}}},o.prototype.getProjectionStyles=function(a){var l,s,u,c,p,f;a===void 0&&(a={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.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,h.opacity="",h.pointerEvents=fc(a.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none",h;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=fc(a.pointerEvents)||""),this.hasProjected&&!_n(this.latestValues)&&(v.transform=m?m({},""):"none",this.hasProjected=!1),v}var g=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=_3(this.projectionDeltaWithTransform,this.treeScale,g),m&&(h.transform=m(g,h.transform));var b=this.projectionDelta,w=b.x,C=b.y;h.transformOrigin="".concat(w.origin*100,"% ").concat(C.origin*100,"% 0"),y.animationValues?h.opacity=y===this?(c=(u=g.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&c!==void 0?c:1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:h.opacity=y===this?(p=g.opacity)!==null&&p!==void 0?p:"":(f=g.opacityExit)!==null&&f!==void 0?f:0;for(var k in dc)if(g[k]!==void 0){var _=dc[k],E=_.correct,M=_.applyTo,O=E(g[k],y);if(M)for(var R=M.length,Z=0;Z<R;Z++)h[M[Z]]=O;else h[k]=O}return this.options.layoutId&&(h.pointerEvents=y===this?fc(a.pointerEvents)||"":"none"),h},o.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},o.prototype.resetTree=function(){this.root.nodes.forEach(function(a){var l;return(l=a.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(O3),this.root.sharedNodes.clear()},o}()}function xL(e){e.updateLayout()}function wL(e){var t,r,n,i,o=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&o&&e.hasListeners("didUpdate")){var a=e.layout,l=a.actual,s=a.measured;e.options.animationType==="size"?Cr(function(b){var w=o.isShared?o.measured[b]:o.layout[b],C=Hr(w);w.min=l[b].min,w.max=w.min+C}):e.options.animationType==="position"&&Cr(function(b){var w=o.isShared?o.measured[b]:o.layout[b],C=Hr(l[b]);w.max=w.min+C});var u=dl();ul(u,l,o.layout);var c=dl();o.isShared?ul(c,e.applyTransform(s,!0),o.measured):ul(c,l,o.layout);var p=!k3(u),f=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var h=e.relativeParent,m=h.snapshot,y=h.layout;if(m&&y){var v=dt();cl(v,o.layout,m.layout);var g=dt();cl(g,l,y.actual),E3(v,g)||(f=!0)}}e.notifyListeners("didUpdate",{layout:l,snapshot:o,delta:c,layoutDelta:u,hasLayoutChanged:p,hasRelativeTargetChanged:f})}else e.isLead()&&((i=(n=e.options).onExitComplete)===null||i===void 0||i.call(n));e.options.transition=void 0}function CL(e){e.clearSnapshot()}function O3(e){e.clearMeasurements()}function SL(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function kL(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function EL(e){e.resolveTargetDelta()}function _L(e){e.calcProjection()}function PL(e){e.resetRotation()}function TL(e){e.removeLeadSnapshot()}function L3(e,t,r){e.translate=Be(t.translate,0,r),e.scale=Be(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function A3(e,t,r,n){e.min=Be(t.min,r.min,n),e.max=Be(t.max,r.max,n)}function ML(e,t,r,n){A3(e.x,t.x,r.x,n),A3(e.y,t.y,r.y,n)}function OL(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var LL={duration:.45,ease:[.4,0,.1,1]};function AL(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,o=i.querySelector('[data-projection-id="'.concat(t,'"]'));o&&e.mount(o,!0)}function F3(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function I3(e){F3(e.x),F3(e.y)}var FL=1;function IL(){return Ka(function(){if(hl.hasEverUpdated)return FL++})}var jp=A.createContext({}),D3=A.createContext({});function DL(e,t,r,n){var i,o=t.layoutId,a=t.layout,l=t.drag,s=t.dragConstraints,u=t.layoutScroll,c=A.useContext(D3);!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:o,layout:a,alwaysMeasureLayout:Boolean(l)||s&&no(s),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:c,layoutScroll:u}))}var RL=function(e){r4(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}(Kr.default.Component);function VL(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,i=e.useRender,o=e.useVisualState,a=e.Component;t&&oM(t);function l(s,u){var c=$L(s);s=j(j({},s),{layoutId:c});var p=A.useContext(up),f=null,h=yM(s),m=p.isStatic?void 0:IL(),y=o(s,p.isStatic);return!p.isStatic&&Ya&&(h.visualElement=pM(a,y,j(j({},p),s),r),DL(m,s,h.visualElement,n||Za.projectionNodeConstructor),f=sM(s,h.visualElement)),x.createElement(RL,{visualElement:h.visualElement,props:j(j({},p),s)},f,x.createElement(Zu.Provider,{value:h},i(a,s,m,hM(y,h.visualElement,u),y,p.isStatic,h.visualElement)))}return A.forwardRef(l)}function $L(e){var t,r=e.layoutId,n=(t=A.useContext(jp))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function BL(e){function t(n,i){return i===void 0&&(i={}),VL(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 NL=["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 Wp(e){return typeof e!="string"||e.includes("-")?!1:!!(NL.indexOf(e)>-1||/[A-Z]/.test(e))}function R3(e,t){var r=t.layout,n=t.layoutId;return pl(e)||P3(e)||(r||n!==void 0)&&(!!dc[e]||e==="opacity")}var zL={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function HL(e,t,r,n){var i=e.transform,o=e.transformKeys,a=t.enableHardwareAcceleration,l=a===void 0?!0:a,s=t.allowTransformNone,u=s===void 0?!0:s,c="";o.sort(vL);for(var p=!1,f=o.length,h=0;h<f;h++){var m=o[h];c+="".concat(zL[m]||m,"(").concat(i[m],") "),m==="z"&&(p=!0)}return!p&&l?c+="translateZ(0)":c=c.trim(),n?c=n(i,r?"":c):u&&r&&(c="none"),c}function jL(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,i=n===void 0?"50%":n,o=e.originZ,a=o===void 0?0:o;return"".concat(r," ").concat(i," ").concat(a)}function V3(e){return e.startsWith("--")}var WL=function(e,t){return t&&typeof e=="number"?t.transform(e):e};function Up(e,t,r,n){var i,o=e.style,a=e.vars,l=e.transform,s=e.transformKeys,u=e.transformOrigin;s.length=0;var c=!1,p=!1,f=!0;for(var h in t){var m=t[h];if(V3(h)){a[h]=m;continue}var y=J4[h],v=WL(m,y);if(pl(h)){if(c=!0,l[h]=v,s.push(h),!f)continue;m!==((i=y.default)!==null&&i!==void 0?i:0)&&(f=!1)}else P3(h)?(u[h]=v,p=!0):o[h]=v}c?o.transform=HL(e,r,f,n):n?o.transform=n({},""):!t.transform&&o.transform&&(o.transform="none"),p&&(o.transformOrigin=jL(u))}var Zp=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function $3(e,t,r){for(var n in t)!zr(t[n])&&!R3(n,r)&&(e[n]=t[n])}function UL(e,t,r){var n=e.transformTemplate;return A.useMemo(function(){var i=Zp();Up(i,t,{enableHardwareAcceleration:!r},n);var o=i.vars,a=i.style;return j(j({},o),a)},[t])}function ZL(e,t,r){var n=e.style||{},i={};return $3(i,n,e),Object.assign(i,UL(e,t,r)),e.transformValues&&(i=e.transformValues(i)),i}function GL(e,t,r){var n={},i=ZL(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 YL=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 pc(e){return YL.has(e)}var B3=function(e){return!pc(e)};function KL(e){!e||(B3=function(t){return t.startsWith("on")?!pc(t):e(t)})}try{KL(require("@emotion/is-prop-valid").default)}catch{}function qL(e,t,r){var n={};for(var i in e)(B3(i)||r===!0&&pc(i)||!t&&!pc(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function N3(e,t,r){return typeof e=="string"?e:te.transform(t+r*e)}function XL(e,t,r){var n=N3(t,e.x,e.width),i=N3(r,e.y,e.height);return"".concat(n," ").concat(i)}var QL={offset:"stroke-dashoffset",array:"stroke-dasharray"},JL={offset:"strokeDashoffset",array:"strokeDasharray"};function eA(e,t,r,n,i){r===void 0&&(r=1),n===void 0&&(n=0),i===void 0&&(i=!0),e.pathLength=1;var o=i?QL:JL;e[o.offset]=te.transform(-n);var a=te.transform(t),l=te.transform(r);e[o.array]="".concat(a," ").concat(l)}function Gp(e,t,r,n){var i=t.attrX,o=t.attrY,a=t.originX,l=t.originY,s=t.pathLength,u=t.pathSpacing,c=u===void 0?1:u,p=t.pathOffset,f=p===void 0?0:p,h=It(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Up(e,h,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&&(a!==void 0||l!==void 0||y.transform)&&(y.transformOrigin=XL(v,a!==void 0?a:.5,l!==void 0?l:.5)),i!==void 0&&(m.x=i),o!==void 0&&(m.y=o),s!==void 0&&eA(m,s,c,f,!1)}var z3=function(){return j(j({},Zp()),{attrs:{}})};function tA(e,t){var r=A.useMemo(function(){var i=z3();return Gp(i,t,{enableHardwareAcceleration:!1},e.transformTemplate),j(j({},i.attrs),{style:j({},i.style)})},[t]);if(e.style){var n={};$3(n,e.style,e),r.style=j(j({},n),r.style)}return r}function rA(e){e===void 0&&(e=!1);var t=function(r,n,i,o,a,l){var s=a.latestValues,u=Wp(r)?tA:GL,c=u(n,s,l),p=qL(n,typeof r=="string",e),f=j(j(j({},p),c),{ref:o});return i&&(f["data-projection-id"]=i),A.createElement(r,f)};return t}var nA=/([a-z])([A-Z])/g,iA="$1-$2",H3=function(e){return e.replace(nA,iA).toLowerCase()};function j3(e,t,r,n){var i=t.style,o=t.vars;Object.assign(e.style,i,n&&n.getProjectionStyles(r));for(var a in o)e.style.setProperty(a,o[a])}var W3=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function U3(e,t){j3(e,t);for(var r in t.attrs)e.setAttribute(W3.has(r)?r:H3(r),t.attrs[r])}function Yp(e){var t=e.style,r={};for(var n in t)(zr(t[n])||R3(n,e))&&(r[n]=t[n]);return r}function Z3(e){var t=Yp(e);for(var r in e)if(zr(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function Kp(e){return typeof e=="object"&&typeof e.start=="function"}function G3(e,t,r,n){var i=e.scrapeMotionValuesFromProps,o=e.createRenderState,a=e.onMount,l={latestValues:oA(t,r,n,i),renderState:o()};return a&&(l.mount=function(s){return a(t,s,l)}),l}var Y3=function(e){return function(t,r){var n=A.useContext(Zu),i=A.useContext(Ga);return r?G3(e,t,n,i):Ka(function(){return G3(e,t,n,i)})}};function oA(e,t,r,n){var i={},o=(r==null?void 0:r.initial)===!1,a=n(e);for(var l in a)i[l]=fc(a[l]);var s=e.initial,u=e.animate,c=Ku(e),p=s4(e);t&&p&&!c&&e.inherit!==!1&&(s!=null||(s=t.initial),u!=null||(u=t.animate));var f=o||s===!1,h=f?u:s;if(h&&typeof h!="boolean"&&!Kp(h)){var m=Array.isArray(h)?h:[h];m.forEach(function(y){var v=l4(e,y);if(!!v){var g=v.transitionEnd;v.transition;var b=It(v,["transitionEnd","transition"]);for(var w in b){var C=b[w];if(Array.isArray(C)){var k=f?C.length-1:0;C=C[k]}C!==null&&(i[w]=C)}for(var w in g)i[w]=g[w]}})}return i}var aA={useVisualState:Y3({scrapeMotionValuesFromProps:Z3,createRenderState:z3,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}}Gp(n,i,{enableHardwareAcceleration:!1},e.transformTemplate),U3(t,n)}})},lA={useVisualState:Y3({scrapeMotionValuesFromProps:Yp,createRenderState:Zp})};function sA(e,t,r,n,i){var o=t.forwardMotionProps,a=o===void 0?!1:o,l=Wp(e)?aA:lA;return j(j({},l),{preloadedFeatures:r,useRender:rA(a),createVisualElement:n,projectionNodeConstructor:i,Component:e})}var ke;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(ke||(ke={}));function qp(e,t,r,n){return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}function Xp(e,t,r,n){A.useEffect(function(){var i=e.current;if(r&&i)return qp(i,t,r,n)},[e,t,r,n])}function uA(e){var t=e.whileFocus,r=e.visualElement,n=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ke.Focus,!0)},i=function(){var o;(o=r.animationState)===null||o===void 0||o.setActive(ke.Focus,!1)};Xp(r,"focus",t?n:void 0),Xp(r,"blur",t?i:void 0)}function K3(e){return typeof PointerEvent!="undefined"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function q3(e){var t=!!e.touches;return t}function cA(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var dA={pageX:0,pageY:0};function fA(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||dA;return{x:n[t+"X"],y:n[t+"Y"]}}function pA(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Qp(e,t){return t===void 0&&(t="page"),{point:q3(e)?fA(e,t):pA(e,t)}}var X3=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,Qp(n))};return t?cA(r):r},hA=function(){return Ya&&window.onpointerdown===null},vA=function(){return Ya&&window.ontouchstart===null},mA=function(){return Ya&&window.onmousedown===null},gA={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},yA={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function Q3(e){return hA()?e:vA()?yA[e]:mA()?gA[e]:e}function uo(e,t,r,n){return qp(e,Q3(t),X3(r,t==="pointerdown"),n)}function hc(e,t,r,n){return Xp(e,Q3(t),r&&X3(r,t==="pointerdown"),n)}function J3(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var e8=J3("dragHorizontal"),t8=J3("dragVertical");function r8(e){var t=!1;if(e==="y")t=t8();else if(e==="x")t=e8();else{var r=e8(),n=t8();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function n8(){var e=r8(!0);return e?(e(),!1):!0}function i8(e,t,r){return function(n,i){var o;!K3(n)||n8()||((o=e.animationState)===null||o===void 0||o.setActive(ke.Hover,t),r==null||r(n,i))}}function bA(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,i=e.visualElement;hc(i,"pointerenter",t||n?i8(i,!0,t):void 0),hc(i,"pointerleave",r||n?i8(i,!1,r):void 0)}var o8=function(e,t){return t?e===t?!0:o8(e,t.parentElement):!1};function Jp(e){return A.useEffect(function(){return function(){return e()}},[])}function xA(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,i=e.whileTap,o=e.visualElement,a=t||r||n||i,l=A.useRef(!1),s=A.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=o.animationState)===null||m===void 0||m.setActive(ke.Tap,!1),!n8()}function p(m,y){!c()||(o8(o.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function f(m,y){!c()||n==null||n(m,y)}function h(m,y){var v;u(),!l.current&&(l.current=!0,s.current=Ju(uo(window,"pointerup",p),uo(window,"pointercancel",f)),(v=o.animationState)===null||v===void 0||v.setActive(ke.Tap,!0),r==null||r(m,y))}hc(o,"pointerdown",a?h:void 0),Jp(u)}var e1=new WeakMap,t1=new WeakMap,wA=function(e){var t;(t=e1.get(e.target))===null||t===void 0||t(e)},CA=function(e){e.forEach(wA)};function SA(e){var t=e.root,r=It(e,["root"]),n=t||document;t1.has(n)||t1.set(n,{});var i=t1.get(n),o=JSON.stringify(r);return i[o]||(i[o]=new IntersectionObserver(CA,j({root:t},r))),i[o]}function kA(e,t,r){var n=SA(t);return e1.set(e,r),n.observe(e),function(){e1.delete(e),n.unobserve(e)}}function EA(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,i=e.onViewportLeave,o=e.viewport,a=o===void 0?{}:o,l=A.useRef({hasEnteredView:!1,isInView:!1}),s=Boolean(r||n||i);a.once&&l.current.hasEnteredView&&(s=!1);var u=typeof IntersectionObserver=="undefined"?TA:PA;u(s,l.current,t,a)}var _A={some:0,all:1};function PA(e,t,r,n){var i=n.root,o=n.margin,a=n.amount,l=a===void 0?"some":a,s=n.once;A.useEffect(function(){if(!!e){var u={root:i==null?void 0:i.current,rootMargin:o,threshold:typeof l=="number"?l:_A[l]},c=function(p){var f,h=p.isIntersecting;if(t.isInView!==h&&(t.isInView=h,!(s&&!h&&t.hasEnteredView))){h&&(t.hasEnteredView=!0),(f=r.animationState)===null||f===void 0||f.setActive(ke.InView,h);var m=r.getProps(),y=h?m.onViewportEnter:m.onViewportLeave;y==null||y(p)}};return kA(r.getInstance(),u,c)}},[e,i,o,l])}function TA(e,t,r,n){var i=n.fallback,o=i===void 0?!0:i;A.useEffect(function(){!e||!o||requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var l=r.getProps().onViewportEnter;l==null||l(null),(a=r.animationState)===null||a===void 0||a.setActive(ke.InView,!0)})},[e])}var Pn=function(e){return function(t){return e(t),null}},MA={inView:Pn(EA),tap:Pn(xA),focus:Pn(uA),hover:Pn(bA)},OA=0,LA=function(){return OA++},a8=function(){return Ka(LA)};function r1(){var e=A.useContext(Ga);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,i=a8();A.useEffect(function(){return n(i)},[]);var o=function(){return r==null?void 0:r(i)};return!t&&r?[!1,o]:[!0]}function l8(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 AA=function(e){return/^\-?\d*\.?\d+$/.test(e)},FA=function(e){return/^0[^.\s]+$/.test(e)},s8=function(e){return function(t){return t.test(e)}},IA={test:function(e){return e==="auto"},parse:function(e){return e}},u8=[ii,te,xr,kn,DM,IM,IA],vl=function(e){return u8.find(s8(e))},DA=ir(ir([],$e(u8),!1),[ht,Nr],!1),RA=function(e){return DA.find(s8(e))};function VA(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,ao(r))}function $A(e,t){var r=Yu(e,t),n=r?e.makeTargetAnimatable(r,!1):{},i=n.transitionEnd,o=i===void 0?{}:i;n.transition;var a=It(n,["transitionEnd","transition"]);a=j(j({},a),o);for(var l in a){var s=e3(a[l]);VA(e,l,s)}}function BA(e,t,r){var n,i,o,a,l=Object.keys(t).filter(function(h){return!e.hasValue(h)}),s=l.length;if(!!s)for(var u=0;u<s;u++){var c=l[u],p=t[c],f=null;Array.isArray(p)&&(f=p[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"&&(AA(f)||FA(f))?f=parseFloat(f):!RA(f)&&Nr.test(p)&&(f=Vp(c,p)),e.addValue(c,ao(f)),(o=(a=r)[c])!==null&&o!==void 0||(a[c]=f),e.setBaseTarget(c,f))}}function NA(e,t){if(!!t){var r=t[e]||t.default||t;return r.from}}function zA(e,t,r){var n,i,o={};for(var a in e)o[a]=(n=NA(a,t))!==null&&n!==void 0?n:(i=r.getValue(a))===null||i===void 0?void 0:i.get();return o}function HA(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var i=t.map(function(a){return n1(e,a,r)});n=Promise.all(i)}else if(typeof t=="string")n=n1(e,t,r);else{var o=typeof t=="function"?Yu(e,t,r.custom):t;n=c8(e,o,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function n1(e,t,r){var n;r===void 0&&(r={});var i=Yu(e,t,r.custom),o=(i||{}).transition,a=o===void 0?e.getDefaultTransition()||{}:o;r.transitionOverride&&(a=r.transitionOverride);var l=i?function(){return c8(e,i,r)}:function(){return Promise.resolve()},s=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(h){h===void 0&&(h=0);var m=a.delayChildren,y=m===void 0?0:m,v=a.staggerChildren,g=a.staggerDirection;return jA(e,t,y+h,v,g,r)}:function(){return Promise.resolve()},u=a.when;if(u){var c=$e(u==="beforeChildren"?[l,s]:[s,l],2),p=c[0],f=c[1];return p().then(f)}else return Promise.all([l(),s(r.delay)])}function c8(e,t,r){var n,i=r===void 0?{}:r,o=i.delay,a=o===void 0?0:o,l=i.transitionOverride,s=i.type,u=e.makeTargetAnimatable(t),c=u.transition,p=c===void 0?e.getDefaultTransition():c,f=u.transitionEnd,h=It(u,["transition","transitionEnd"]);l&&(p=l);var m=[],y=s&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[s]);for(var v in h){var g=e.getValue(v),b=h[v];if(!(!g||b===void 0||y&&UA(y,v))){var w=j({delay:a},p);e.shouldReduceMotion&&pl(v)&&(w=j(j({},w),{type:!1,delay:0}));var C=Bp(v,g,b,w);m.push(C)}}return Promise.all(m).then(function(){f&&$A(e,f)})}function jA(e,t,r,n,i,o){r===void 0&&(r=0),n===void 0&&(n=0),i===void 0&&(i=1);var a=[],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(WA).forEach(function(u,c){a.push(n1(u,t,j(j({},o),{delay:r+s(c)})).then(function(){return u.notifyAnimationComplete(t)}))}),Promise.all(a)}function WA(e,t){return e.sortNodePosition(t)}function UA(e,t){var r=e.protectedKeys,n=e.needsAnimating,i=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,i}var i1=[ke.Animate,ke.InView,ke.Focus,ke.Hover,ke.Tap,ke.Drag,ke.Exit],ZA=ir([],$e(i1),!1).reverse(),GA=i1.length;function YA(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,i=r.options;return HA(e,n,i)}))}}function KA(e){var t=YA(e),r=XA(),n={},i=!0,o=function(c,p){var f=Yu(e,p);if(f){f.transition;var h=f.transitionEnd,m=It(f,["transition","transitionEnd"]);c=j(j(j({},c),m),h)}return c};function a(c){return n[c]!==void 0}function l(c){t=c(e)}function s(c,p){for(var f,h=e.getProps(),m=e.getVariantContext(!0)||{},y=[],v=new Set,g={},b=1/0,w=function(E){var M=ZA[E],O=r[M],R=(f=h[M])!==null&&f!==void 0?f:m[M],Z=or(R),G=M===p?O.isActive:null;G===!1&&(b=E);var U=R===m[M]&&R!==h[M]&&Z;if(U&&i&&e.manuallyAnimateOnMount&&(U=!1),O.protectedKeys=j({},g),!O.isActive&&G===null||!R&&!O.prevProp||Kp(R)||typeof R=="boolean")return"continue";var Y=qA(O.prevProp,R),Q=Y||M===p&&O.isActive&&!U&&Z||E>b&&Z,J=Array.isArray(R)?R:[R],ie=J.reduce(o,{});G===!1&&(ie={});var we=O.prevResolvedValues,he=we===void 0?{}:we,ye=j(j({},he),ie),I=function(H){Q=!0,v.delete(H),O.needsAnimating[H]=!0};for(var L in ye){var D=ie[L],N=he[L];g.hasOwnProperty(L)||(D!==N?sl(D)&&sl(N)?!l8(D,N)||Y?I(L):O.protectedKeys[L]=!0:D!==void 0?I(L):v.add(L):D!==void 0&&v.has(L)?I(L):O.protectedKeys[L]=!0)}O.prevProp=R,O.prevResolvedValues=ie,O.isActive&&(g=j(j({},g),ie)),i&&e.blockInitialAnimation&&(Q=!1),Q&&!U&&y.push.apply(y,ir([],$e(J.map(function(H){return{animation:H,options:j({type:M},c)}})),!1))},C=0;C<GA;C++)w(C);if(n=j({},g),v.size){var k={};v.forEach(function(E){var M=e.getBaseTarget(E);M!==void 0&&(k[E]=M)}),y.push({animation:k})}var _=Boolean(y.length);return i&&h.initial===!1&&!e.manuallyAnimateOnMount&&(_=!1),i=!1,_?t(y):Promise.resolve()}function u(c,p,f){var h;if(r[c].isActive===p)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(function(v){var g;return(g=v.animationState)===null||g===void 0?void 0:g.setActive(c,p)}),r[c].isActive=p;var m=s(f,c);for(var y in r)r[y].protectedKeys={};return m}return{isAnimated:a,animateChanges:s,setActive:u,setAnimateFunction:l,getState:function(){return r}}}function qA(e,t){return typeof t=="string"?t!==e:a4(t)?!l8(t,e):!1}function li(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function XA(){var e;return e={},e[ke.Animate]=li(!0),e[ke.InView]=li(),e[ke.Hover]=li(),e[ke.Tap]=li(),e[ke.Drag]=li(),e[ke.Focus]=li(),e[ke.Exit]=li(),e}var QA={animation:Pn(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=KA(t)),Kp(r)&&A.useEffect(function(){return r.subscribe(t)},[r])}),exit:Pn(function(e){var t=e.custom,r=e.visualElement,n=$e(r1(),2),i=n[0],o=n[1],a=A.useContext(Ga);A.useEffect(function(){var l,s;r.isPresent=i;var u=(l=r.animationState)===null||l===void 0?void 0:l.setActive(ke.Exit,!i,{custom:(s=a==null?void 0:a.custom)!==null&&s!==void 0?s:t});!i&&(u==null||u.then(o))},[i])})},d8=function(){function e(t,r,n){var i=this,o=n===void 0?{}:n,a=o.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(!!(i.lastMoveEvent&&i.lastMoveEventInfo)){var f=a1(i.lastMoveEventInfo,i.history),h=i.startEvent!==null,m=W4(f.offset,{x:0,y:0})>=3;if(!(!h&&!m)){var y=f.point,v=hp().timestamp;i.history.push(j(j({},y),{timestamp:v}));var g=i.handlers,b=g.onStart,w=g.onMove;h||(b&&b(i.lastMoveEvent,f),i.startEvent=i.lastMoveEvent),w&&w(i.lastMoveEvent,f)}}},this.handlePointerMove=function(f,h){if(i.lastMoveEvent=f,i.lastMoveEventInfo=o1(h,i.transformPagePoint),K3(f)&&f.buttons===0){i.handlePointerUp(f,h);return}br.update(i.updatePoint,!0)},this.handlePointerUp=function(f,h){i.end();var m=i.handlers,y=m.onEnd,v=m.onSessionEnd,g=a1(o1(h,i.transformPagePoint),i.history);i.startEvent&&y&&y(f,g),v&&v(f,g)},!(q3(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var l=Qp(t),s=o1(l,this.transformPagePoint),u=s.point,c=hp().timestamp;this.history=[j(j({},u),{timestamp:c})];var p=r.onSessionStart;p&&p(t,a1(s,this.history)),this.removeListeners=Ju(uo(window,"pointermove",this.handlePointerMove),uo(window,"pointerup",this.handlePointerUp),uo(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Qa.update(this.updatePoint)},e}();function o1(e,t){return t?{point:t(e.point)}:e}function f8(e,t){return{x:e.x-t.x,y:e.y-t.y}}function a1(e,t){var r=e.point;return{point:r,delta:f8(r,p8(t)),offset:f8(r,JA(t)),velocity:eF(t,.1)}}function JA(e){return e[0]}function p8(e){return e[e.length-1]}function eF(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,i=p8(e);r>=0&&(n=e[r],!(i.timestamp-n.timestamp>sc(t)));)r--;if(!n)return{x:0,y:0};var o=(i.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var a={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function tF(e,t,r){var n=t.min,i=t.max;return n!==void 0&&e<n?e=r?Be(n,e,r.min):Math.max(e,n):i!==void 0&&e>i&&(e=r?Be(i,e,r.max):Math.min(e,i)),e}function h8(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 rF(e,t){var r=t.top,n=t.left,i=t.bottom,o=t.right;return{x:h8(e.x,n,o),y:h8(e.y,r,i)}}function v8(e,t){var r,n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=$e([i,n],2),n=r[0],i=r[1]),{min:n,max:i}}function nF(e,t){return{x:v8(e.x,t.x),y:v8(e.y,t.y)}}function iF(e,t){var r=.5,n=Hr(e),i=Hr(t);return i>n?r=Ja(t.min,t.max-n,e.min):n>i&&(r=Ja(e.min,e.max-i,t.min)),Xu(0,1,r)}function oF(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 l1=.35;function aF(e){return e===void 0&&(e=l1),e===!1?e=0:e===!0&&(e=l1),{x:m8(e,"left","right"),y:m8(e,"top","bottom")}}function m8(e,t,r){return{min:g8(e,t),max:g8(e,r)}}function g8(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}function y8(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 lF(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function sF(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 b8(e,t){return y8(sF(e.getBoundingClientRect(),t))}function uF(e,t,r){var n=b8(e,r),i=t.scroll;return i&&(lo(n.x,i.x),lo(n.y,i.y)),n}var cF=new WeakMap,dF=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=dt(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,i=r===void 0?{}:r,o=i.snapToCursor,a=o===void 0?!1:o;if(this.visualElement.isPresent!==!1){var l=function(p){n.stopAnimation(),a&&n.snapToCursor(Qp(p,"page").point)},s=function(p,f){var h,m=n.getProps(),y=m.drag,v=m.dragPropagation,g=m.onDragStart;y&&!v&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=r8(y),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Cr(function(b){var w,C,k=n.getAxisMotionValue(b).get()||0;if(xr.test(k)){var _=(C=(w=n.visualElement.projection)===null||w===void 0?void 0:w.layout)===null||C===void 0?void 0:C.actual[b];if(_){var E=Hr(_);k=E*(parseFloat(k)/100)}}n.originPoint[b]=k}),g==null||g(p,f),(h=n.visualElement.animationState)===null||h===void 0||h.setActive(ke.Drag,!0))},u=function(p,f){var h=n.getProps(),m=h.dragPropagation,y=h.dragDirectionLock,v=h.onDirectionLock,g=h.onDrag;if(!(!m&&!n.openGlobalLock)){var b=f.offset;if(y&&n.currentDirection===null){n.currentDirection=fF(b),n.currentDirection!==null&&(v==null||v(n.currentDirection));return}n.updateAxis("x",f.point,b),n.updateAxis("y",f.point,b),n.visualElement.syncRender(),g==null||g(p,f)}},c=function(p,f){return n.stop(p,f)};this.panSession=new d8(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 o=this.getProps().onDragEnd;o==null||o(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(ke.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var i=this.getProps().drag;if(!(!n||!vc(t,i,this.currentDirection))){var o=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=tF(a,this.constraints[t],this.elastic[t])),o.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,i=r.dragElastic,o=(this.visualElement.projection||{}).layout,a=this.constraints;n&&no(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=rF(o.actual,n):this.constraints=!1,this.elastic=aF(i),a!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Cr(function(l){t.getAxisMotionValue(l)&&(t.constraints[l]=oF(o.actual[l],t.constraints[l]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!no(r))return!1;var i=r.current,o=this.visualElement.projection;if(!o||!o.layout)return!1;var a=uF(i,o.root,this.visualElement.getTransformPagePoint()),l=nF(o.layout.actual,a);if(n){var s=n(lF(l));this.hasMutatedConstraints=!!s,s&&(l=y8(s))}return l},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),i=n.drag,o=n.dragMomentum,a=n.dragElastic,l=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},p=Cr(function(f){var h;if(!!vc(f,i,r.currentDirection)){var m=(h=c==null?void 0:c[f])!==null&&h!==void 0?h:{};s&&(m={min:0,max:0});var y=a?200:1e6,v=a?40:1e7,g=j(j({type:"inertia",velocity:o?t[f]:0,bounceStiffness:y,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10},l),m);return r.startAxisValueAnimation(f,g)}});return Promise.all(p).then(u)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return Bp(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;Cr(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,i="_drag"+t.toUpperCase(),o=this.visualElement.getProps()[i];return o||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;Cr(function(n){var i=r.getProps().drag;if(!!vc(n,i,r.currentDirection)){var o=r.visualElement.projection,a=r.getAxisMotionValue(n);if(o&&o.layout){var l=o.layout.actual[n],s=l.min,u=l.max;a.set(t[n]-Be(s,u,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),i=n.drag,o=n.dragConstraints,a=this.visualElement.projection;if(!(!no(o)||!a||!this.constraints)){this.stopAnimation();var l={x:0,y:0};Cr(function(u){var c=t.getAxisMotionValue(u);if(c){var p=c.get();l[u]=iF({min:p,max:p},t.constraints[u])}});var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),Cr(function(u){if(!!vc(u,i,null)){var c=t.getAxisMotionValue(u),p=t.constraints[u],f=p.min,h=p.max;c.set(Be(f,h,l[u]))}})}},e.prototype.addListeners=function(){var t=this,r;cF.set(this.visualElement,this);var n=this.visualElement.getInstance(),i=uo(n,"pointerdown",function(u){var c=t.getProps(),p=c.drag,f=c.dragListener,h=f===void 0?!0:f;p&&h&&t.start(u)}),o=function(){var u=t.getProps().dragConstraints;no(u)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,l=a.addEventListener("measure",o);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),o();var s=qp(window,"resize",function(){t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(u){var c=u.delta,p=u.hasLayoutChanged;t.isDragging&&p&&(Cr(function(f){var h=t.getAxisMotionValue(f);!h||(t.originPoint[f]+=c[f].translate,h.set(h.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,o=i===void 0?!1:i,a=t.dragPropagation,l=a===void 0?!1:a,s=t.dragConstraints,u=s===void 0?!1:s,c=t.dragElastic,p=c===void 0?l1:c,f=t.dragMomentum,h=f===void 0?!0:f;return j(j({},t),{drag:n,dragDirectionLock:o,dragPropagation:l,dragConstraints:u,dragElastic:p,dragMomentum:h})},e}();function vc(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function fF(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 pF(e){var t=e.dragControls,r=e.visualElement,n=Ka(function(){return new dF(r)});A.useEffect(function(){return t&&t.subscribe(n)},[n,t]),A.useEffect(function(){return n.addListeners()},[n])}function hF(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,i=e.onPanSessionStart,o=e.visualElement,a=t||r||n||i,l=A.useRef(null),s=A.useContext(up).transformPagePoint,u={onSessionStart:i,onStart:r,onMove:t,onEnd:function(p,f){l.current=null,n&&n(p,f)}};A.useEffect(function(){l.current!==null&&l.current.updateHandlers(u)});function c(p){l.current=new d8(p,u,{transformPagePoint:s})}hc(o,"pointerdown",a&&c),Jp(function(){return l.current&&l.current.end()})}var vF={pan:Pn(hF),drag:Pn(pF)},mc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function mF(){var e=mc.map(function(){return new ll}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){mc.forEach(function(i){var o,a="on"+i,l=n[a];(o=t[i])===null||o===void 0||o.call(t),l&&(t[i]=r[a](l))})}};return e.forEach(function(n,i){r["on"+mc[i]]=function(o){return n.add(o)},r["notify"+mc[i]]=function(){for(var o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];return n.notify.apply(n,ir([],$e(o),!1))}}),r}function gF(e,t,r){var n;for(var i in t){var o=t[i],a=r[i];if(zr(o))e.addValue(i,o);else if(zr(a))e.addValue(i,ao(o));else if(a!==o)if(e.hasValue(i)){var l=e.getValue(i);!l.hasAnimated&&l.set(o)}else e.addValue(i,ao((n=e.getStaticValue(i))!==null&&n!==void 0?n:o))}for(var i in r)t[i]===void 0&&e.removeValue(i);return t}var x8=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,i=e.getBaseTarget,o=e.makeTargetAnimatable,a=e.measureViewportBox,l=e.render,s=e.readValueFromInstance,u=e.removeValueFromRenderState,c=e.sortNodePosition,p=e.scrapeMotionValuesFromProps;return function(f,h){var m=f.parent,y=f.props,v=f.presenceId,g=f.blockInitialAnimation,b=f.visualState,w=f.shouldReduceMotion;h===void 0&&(h={});var C=!1,k=b.latestValues,_=b.renderState,E,M=mF(),O=new Map,R=new Map,Z={},G=j({},k),U;function Y(){!E||!C||(Q(),l(E,_,y.style,D.projection))}function Q(){n(D,_,k,h,y)}function J(){M.notifyUpdate(k)}function ie(N,H){var ne=H.onChange(function(be){k[N]=be,y.onUpdate&&br.update(J,!1,!0)}),ce=H.onRenderRequest(D.scheduleRender);R.set(N,function(){ne(),ce()})}var we=p(y);for(var he in we){var ye=we[he];k[he]!==void 0&&zr(ye)&&ye.set(k[he],!1)}var I=Ku(y),L=s4(y),D=j(j({treeType:r,current:null,depth:m?m.depth+1:0,parent:m,children:new Set,presenceId:v,shouldReduceMotion:w,variantChildren:L?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(m==null?void 0:m.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(E)},mount:function(N){C=!0,E=D.current=N,D.projection&&D.projection.mount(N),L&&m&&!I&&(U=m==null?void 0:m.addVariantChild(D)),O.forEach(function(H,ne){return ie(ne,H)}),m==null||m.children.add(D),D.setProps(y)},unmount:function(){var N;(N=D.projection)===null||N===void 0||N.unmount(),Qa.update(J),Qa.render(Y),R.forEach(function(H){return H()}),U==null||U(),m==null||m.children.delete(D),M.clearAllListeners(),E=void 0,C=!1},addVariantChild:function(N){var H,ne=D.getClosestVariantNode();if(ne)return(H=ne.variantChildren)===null||H===void 0||H.add(N),function(){return ne.variantChildren.delete(N)}},sortNodePosition:function(N){return!c||r!==N.treeType?0:c(D.getInstance(),N.getInstance())},getClosestVariantNode:function(){return L?D:m==null?void 0:m.getClosestVariantNode()},getLayoutId:function(){return y.layoutId},getInstance:function(){return E},getStaticValue:function(N){return k[N]},setStaticValue:function(N,H){return k[N]=H},getLatestValues:function(){return k},setVisibility:function(N){D.isVisible!==N&&(D.isVisible=N,D.scheduleRender())},makeTargetAnimatable:function(N,H){return H===void 0&&(H=!0),o(D,N,y,H)},measureViewportBox:function(){return a(E,y)},addValue:function(N,H){D.hasValue(N)&&D.removeValue(N),O.set(N,H),k[N]=H.get(),ie(N,H)},removeValue:function(N){var H;O.delete(N),(H=R.get(N))===null||H===void 0||H(),R.delete(N),delete k[N],u(N,_)},hasValue:function(N){return O.has(N)},getValue:function(N,H){var ne=O.get(N);return ne===void 0&&H!==void 0&&(ne=ao(H),D.addValue(N,ne)),ne},forEachValue:function(N){return O.forEach(N)},readValue:function(N){var H;return(H=k[N])!==null&&H!==void 0?H:s(E,N,h)},setBaseTarget:function(N,H){G[N]=H},getBaseTarget:function(N){if(i){var H=i(y,N);if(H!==void 0&&!zr(H))return H}return G[N]}},M),{build:function(){return Q(),_},scheduleRender:function(){br.render(Y,!1,!0)},syncRender:Y,setProps:function(N){(N.transformTemplate||y.transformTemplate)&&D.scheduleRender(),y=N,M.updatePropListeners(N),Z=gF(D,p(y),Z)},getProps:function(){return y},getVariant:function(N){var H;return(H=y.variants)===null||H===void 0?void 0:H[N]},getDefaultTransition:function(){return y.transition},getTransformPagePoint:function(){return y.transformPagePoint},getVariantContext:function(N){if(N===void 0&&(N=!1),N)return m==null?void 0:m.getVariantContext();if(!I){var H=(m==null?void 0:m.getVariantContext())||{};return y.initial!==void 0&&(H.initial=y.initial),H}for(var ne={},ce=0;ce<yF;ce++){var be=w8[ce],je=y[be];(or(je)||je===!1)&&(ne[be]=je)}return ne}});return D}},w8=ir(["initial"],$e(i1),!1),yF=w8.length;function s1(e){return typeof e=="string"&&e.startsWith("var(--")}var C8=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function bF(e){var t=C8.exec(e);if(!t)return[,];var r=$e(t,3),n=r[1],i=r[2];return[n,i]}function u1(e,t,r){var n=$e(bF(e),2),i=n[0],o=n[1];if(!!i){var a=window.getComputedStyle(t).getPropertyValue(i);return a?a.trim():s1(o)?u1(o,t):o}}function xF(e,t,r){var n,i=It(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:i,transitionEnd:r};r&&(r=j({},r)),e.forEachValue(function(u){var c=u.get();if(!!s1(c)){var p=u1(c,o);p&&u.set(p)}});for(var a in i){var l=i[a];if(!!s1(l)){var s=u1(l,o);!s||(i[a]=s,r&&((n=r[a])!==null&&n!==void 0||(r[a]=l)))}}return{target:i,transitionEnd:r}}var wF=new Set(["width","height","top","left","right","bottom","x","y"]),S8=function(e){return wF.has(e)},CF=function(e){return Object.keys(e).some(S8)},k8=function(e,t){e.set(t,!1),e.set(t)},E8=function(e){return e===ii||e===te},_8;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(_8||(_8={}));var P8=function(e,t){return parseFloat(e.split(", ")[t])},T8=function(e,t){return function(r,n){var i=n.transform;if(i==="none"||!i)return 0;var o=i.match(/^matrix3d\((.+)\)$/);if(o)return P8(o[1],t);var a=i.match(/^matrix\((.+)\)$/);return a?P8(a[1],e):0}},SF=new Set(["x","y","z"]),kF=fl.filter(function(e){return!SF.has(e)});function EF(e){var t=[];return kF.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 M8={width:function(e,t){var r=e.x,n=t.paddingLeft,i=n===void 0?"0":n,o=t.paddingRight,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,i=n===void 0?"0":n,o=t.paddingBottom,a=o===void 0?"0":o;return r.max-r.min-parseFloat(i)-parseFloat(a)},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:T8(4,13),y:T8(5,14)},_F=function(e,t,r){var n=t.measureViewportBox(),i=t.getInstance(),o=getComputedStyle(i),a=o.display,l={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(u){l[u]=M8[u](n,o)}),t.syncRender();var s=t.measureViewportBox();return r.forEach(function(u){var c=t.getValue(u);k8(c,l[u]),e[u]=M8[u](s,o)}),e},PF=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=j({},t),n=j({},n);var i=Object.keys(t).filter(S8),o=[],a=!1,l=[];if(i.forEach(function(u){var c=e.getValue(u);if(!!e.hasValue(u)){var p=r[u],f=vl(p),h=t[u],m;if(sl(h)){var y=h.length,v=h[0]===null?1:0;p=h[v],f=vl(p);for(var g=v;g<y;g++)m?Uu(vl(h[g])===m):m=vl(h[g])}else m=vl(h);if(f!==m)if(E8(f)&&E8(m)){var b=c.get();typeof b=="string"&&c.set(parseFloat(b)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&m===te&&(t[u]=h.map(parseFloat))}else(f==null?void 0:f.transform)&&(m==null?void 0:m.transform)&&(p===0||h===0)?p===0?c.set(m.transform(p)):t[u]=f.transform(h):(a||(o=EF(e),a=!0),l.push(u),n[u]=n[u]!==void 0?n[u]:t[u],k8(c,h))}}),l.length){var s=_F(t,e,l);return o.length&&o.forEach(function(u){var c=$e(u,2),p=c[0],f=c[1];e.getValue(p).set(f)}),e.syncRender(),{target:s,transitionEnd:n}}else return{target:t,transitionEnd:n}};function TF(e,t,r,n){return CF(t)?PF(e,t,r,n):{target:t,transitionEnd:n}}var MF=function(e,t,r,n){var i=xF(e,t,n);return t=i.target,n=i.transitionEnd,TF(e,t,r,n)};function OF(e){return window.getComputedStyle(e)}var O8={treeType:"dom",readValueFromInstance:function(e,t){if(pl(t)){var r=Rp(t);return r&&r.default||0}else{var n=OF(e);return(V3(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 b8(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 o=t.transition,a=t.transitionEnd,l=It(t,["transition","transitionEnd"]),s=zA(l,o||{},e);if(i&&(a&&(a=i(a)),l&&(l=i(l)),s&&(s=i(s))),n){BA(e,l,s);var u=MF(e,l,s,a);a=u.transitionEnd,l=u.target}return j({transition:o,transitionEnd:a},l)},scrapeMotionValuesFromProps:Yp,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:j3},LF=x8(O8),AF=x8(j(j({},O8),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return pl(t)?((r=Rp(t))===null||r===void 0?void 0:r.default)||0:(t=W3.has(t)?t:H3(t),e.getAttribute(t))},scrapeMotionValuesFromProps:Z3,build:function(e,t,r,n,i){Gp(t,r,n,i.transformTemplate)},render:U3})),FF=function(e,t){return Wp(e)?AF(t,{enableHardwareAcceleration:!1}):LF(t,{enableHardwareAcceleration:!0})};function L8(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var ml={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(te.test(e))e=parseFloat(e);else return e;var r=L8(e,t.target.x),n=L8(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},A8="_$css",IF={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,i=e,o=e.includes("var("),a=[];o&&(e=e.replace(C8,function(y){return a.push(y),A8}));var l=Nr.parse(e);if(l.length>5)return i;var s=Nr.createTransformer(e),u=typeof l[0]!="number"?1:0,c=n.x.scale*r.x,p=n.y.scale*r.y;l[0+u]/=c,l[1+u]/=p;var f=Be(c,p,.5);typeof l[2+u]=="number"&&(l[2+u]/=f),typeof l[3+u]=="number"&&(l[3+u]/=f);var h=s(l);if(o){var m=0;h=h.replace(A8,function(){var y=a[m];return m++,y})}return h}},DF=function(e){r4(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,o=n.layoutGroup,a=n.switchLayoutGroup,l=n.layoutId,s=i.projection;fL(VF),s&&(o!=null&&o.group&&o.group.add(s),(a==null?void 0:a.register)&&l&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",function(){r.safeToRemove()}),s.setOptions(j(j({},s.options),{onExitComplete:function(){return r.safeToRemove()}}))),hl.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,i=this.props,o=i.layoutDependency,a=i.visualElement,l=i.drag,s=i.isPresent,u=a.projection;return u&&(u.isPresent=s,l||r.layoutDependency!==o||o===void 0?u.willUpdate():this.safeToRemove(),r.isPresent!==s&&(s?u.promote():u.relegate()||br.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,o=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),i!=null&&i.group&&i.group.remove(a),o!=null&&o.deregister&&o.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(Kr.default.Component);function RF(e){var t=$e(r1(),2),r=t[0],n=t[1],i=A.useContext(jp);return d(DF,{...j({},e,{layoutGroup:i,switchLayoutGroup:A.useContext(D3),isPresent:r,safeToRemove:n})})}var VF={borderRadius:j(j({},ml),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:ml,borderTopRightRadius:ml,borderBottomLeftRadius:ml,borderBottomRightRadius:ml,boxShadow:IF},$F={measureLayout:RF},BF=M3({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}}}),c1={current:void 0},NF=M3({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!c1.current){var e=new BF(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),c1.current=e}return c1.current},resetTransform:function(e,t){e.style.transform=t!=null?t:"none"}}),zF=j(j(j(j({},QA),MA),vF),$F),gl=BL(function(e,t){return sA(e,t,zF,FF,NF)});function F8(){var e=A.useRef(!1);return Gu(function(){return e.current=!0,function(){e.current=!1}},[]),e}function HF(){var e=F8(),t=$e(A.useState(0),2),r=t[0],n=t[1],i=A.useCallback(function(){e.current&&n(r+1)},[r]),o=A.useCallback(function(){return br.postRender(i)},[i]);return[o,r]}var d1=function(e){var t=e.children,r=e.initial,n=e.isPresent,i=e.onExitComplete,o=e.custom,a=e.presenceAffectsLayout,l=Ka(jF),s=a8(),u=A.useMemo(function(){return{id:s,initial:r,isPresent:n,custom:o,onExitComplete:function(c){var p,f;l.set(c,!0);try{for(var h=iM(l.values()),m=h.next();!m.done;m=h.next()){var y=m.value;if(!y)return}}catch(v){p={error:v}}finally{try{m&&!m.done&&(f=h.return)&&f.call(h)}finally{if(p)throw p.error}}i==null||i()},register:function(c){return l.set(c,!1),function(){return l.delete(c)}}}},a?void 0:[n]);return A.useMemo(function(){l.forEach(function(c,p){return l.set(p,!1)})},[n]),x.useEffect(function(){!n&&!l.size&&(i==null||i())},[n]),x.createElement(Ga.Provider,{value:u},t)};function jF(){return new Map}var co=function(e){return e.key||""};function WF(e,t){e.forEach(function(r){var n=co(r);t.set(n,r)})}function UF(e){var t=[];return A.Children.forEach(e,function(r){A.isValidElement(r)&&t.push(r)}),t}var f1=function(e){var t=e.children,r=e.custom,n=e.initial,i=n===void 0?!0:n,o=e.onExitComplete,a=e.exitBeforeEnter,l=e.presenceAffectsLayout,s=l===void 0?!0:l,u=$e(HF(),1),c=u[0],p=A.useContext(jp).forceRender;p&&(c=p);var f=F8(),h=UF(t),m=h,y=new Set,v=A.useRef(m),g=A.useRef(new Map).current,b=A.useRef(!0);if(Gu(function(){b.current=!1,WF(h,g),v.current=m}),Jp(function(){b.current=!0,g.clear(),y.clear()}),b.current)return x.createElement(x.Fragment,null,m.map(function(M){return x.createElement(d1,{key:co(M),isPresent:!0,initial:i?void 0:!1,presenceAffectsLayout:s},M)}));m=ir([],$e(m),!1);for(var w=v.current.map(co),C=h.map(co),k=w.length,_=0;_<k;_++){var E=w[_];C.indexOf(E)===-1&&y.add(E)}return a&&y.size&&(m=[]),y.forEach(function(M){if(C.indexOf(M)===-1){var O=g.get(M);if(!!O){var R=w.indexOf(M),Z=function(){g.delete(M),y.delete(M);var G=v.current.findIndex(function(U){return U.key===M});if(v.current.splice(G,1),!y.size){if(v.current=h,f.current===!1)return;c(),o&&o()}};m.splice(R,0,x.createElement(d1,{key:co(O),isPresent:!1,onExitComplete:Z,custom:r,presenceAffectsLayout:s},O))}}}),m=m.map(function(M){var O=M.key;return y.has(O)?M:x.createElement(d1,{key:co(M),isPresent:!0,presenceAffectsLayout:s},M)}),x.createElement(x.Fragment,null,y.size?m:m.map(function(M){return A.cloneElement(M)}))};function ZF(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Ut(){return Ut=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},Ut.apply(this,arguments)}var p1={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},yl={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 h1(e){var t,r=(t=e==null?void 0:e.direction)!=null?t:"right";switch(r){case"right":return yl.slideRight;case"left":return yl.slideLeft;case"bottom":return yl.slideDown;case"top":return yl.slideUp;default:return yl.slideRight}}var si={enter:{duration:.2,ease:p1.easeOut},exit:{duration:.1,ease:p1.easeIn}},jr={enter:function(t,r){return Ut({},t,{delay:$n(r)?r:r==null?void 0:r.enter})},exit:function(t,r){return Ut({},t,{delay:$n(r)?r:r==null?void 0:r.exit})}},GF={enter:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:1,transition:(r=i==null?void 0:i.enter)!=null?r:jr.enter(si.enter,a),transitionEnd:o==null?void 0:o.enter}},exit:function(t){var r,n=t===void 0?{}:t,i=n.transition,o=n.transitionEnd,a=n.delay;return{opacity:0,transition:(r=i==null?void 0:i.exit)!=null?r:jr.exit(si.exit,a),transitionEnd:o==null?void 0:o.exit}}},YF={initial:"exit",animate:"enter",exit:"exit",variants:GF},KF={exit:function(t){var r,n=t.reverse,i=t.initialScale,o=t.transition,a=t.transitionEnd,l=t.delay;return Ut({opacity:0},n?{scale:i,transitionEnd:a==null?void 0:a.exit}:{transitionEnd:Ut({scale:i},a==null?void 0:a.exit)},{transition:(r=o==null?void 0:o.exit)!=null?r:jr.exit(si.exit,l)})},enter:function(t){var r,n=t.transitionEnd,i=t.transition,o=t.delay;return{opacity:1,scale:1,transition:(r=i==null?void 0:i.enter)!=null?r:jr.enter(si.enter,o),transitionEnd:n==null?void 0:n.enter}}},qF={initial:"exit",animate:"enter",exit:"exit",variants:KF},XF=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay"],I8={exit:{duration:.15,ease:p1.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},QF={exit:function(t){var r,n=t.direction,i=t.transition,o=t.transitionEnd,a=t.delay,l=h1({direction:n}),s=l.exit;return Ut({},s,{transition:(r=i==null?void 0:i.exit)!=null?r:jr.exit(I8.exit,a),transitionEnd:o==null?void 0:o.exit})},enter:function(t){var r,n=t.direction,i=t.transitionEnd,o=t.transition,a=t.delay,l=h1({direction:n}),s=l.enter;return Ut({},s,{transition:(r=o==null?void 0:o.enter)!=null?r:jr.enter(I8.enter,a),transitionEnd:i==null?void 0:i.enter})}},JF=x.forwardRef(function(e,t){var r=e.direction,n=r===void 0?"right":r,i=e.style,o=e.unmountOnExit,a=e.in,l=e.className,s=e.transition,u=e.transitionEnd,c=e.delay,p=ZF(e,XF),f=h1({direction:n}),h=Object.assign({position:"fixed"},f.position,i),m=o?a&&o:!0,y=a||o?"enter":"exit",v={transitionEnd:u,transition:s,direction:n,delay:c};return x.createElement(f1,{custom:v},m&&x.createElement(gl.div,Ut({},p,{ref:t,initial:"exit",className:Ee("chakra-slide",l),animate:y,exit:"exit",custom:v,variants:QF,style:h})))}),eI={initial:function(t){var r,n=t.offsetX,i=t.offsetY,o=t.transition,a=t.transitionEnd,l=t.delay;return{opacity:0,x:n,y:i,transition:(r=o==null?void 0:o.exit)!=null?r:jr.exit(si.exit,l),transitionEnd:a==null?void 0:a.exit}},enter:function(t){var r,n=t.transition,i=t.transitionEnd,o=t.delay;return{opacity:1,x:0,y:0,transition:(r=n==null?void 0:n.enter)!=null?r:jr.enter(si.enter,o),transitionEnd:i==null?void 0:i.enter}},exit:function(t){var r,n=t.offsetY,i=t.offsetX,o=t.transition,a=t.transitionEnd,l=t.reverse,s=t.delay,u={x:i,y:n};return Ut({opacity:0,transition:(r=o==null?void 0:o.exit)!=null?r:jr.exit(si.exit,s)},l?Ut({},u,{transitionEnd:a==null?void 0:a.exit}):{transitionEnd:Ut({},u,a==null?void 0:a.exit)})}},D8={initial:"initial",animate:"enter",exit:"exit",variants:eI};function v1(){return v1=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},v1.apply(this,arguments)}function R8(e){return e.sort(function(t,r){var n=t.compareDocumentPosition(r);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}var tI=function(t){return typeof t=="object"&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE};function V8(e,t,r){var n=e+1;return r&&n>=t&&(n=0),n}function $8(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var m1=typeof window!="undefined"?A.useLayoutEffect:A.useEffect,gc=function(t){return t},rI=function(){var t=this;this.descendants=new Map,this.register=function(r){if(r!=null)return tI(r)?t.registerNode(r):function(n){t.registerNode(n,r)}},this.unregister=function(r){t.descendants.delete(r);var n=R8(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(r){t.descendants.forEach(function(n){var i=r.indexOf(n.node);n.index=i,n.node.dataset.index=n.index.toString()})},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){var r=Array.from(t.descendants.values());return r.sort(function(n,i){return n.index-i.index})},this.enabledValues=function(){return t.values().filter(function(r){return!r.disabled})},this.item=function(r){if(t.count()!==0)return t.values()[r]},this.enabledItem=function(r){if(t.enabledCount()!==0)return t.enabledValues()[r]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var r=t.enabledValues().length-1;return t.enabledItem(r)},this.indexOf=function(r){var n,i;return r&&(n=(i=t.descendants.get(r))==null?void 0:i.index)!=null?n:-1},this.enabledIndexOf=function(r){return r==null?-1:t.enabledValues().findIndex(function(n){return n.node.isSameNode(r)})},this.next=function(r,n){n===void 0&&(n=!0);var i=V8(r,t.count(),n);return t.item(i)},this.nextEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=V8(o,t.enabledCount(),n);return t.enabledItem(a)}},this.prev=function(r,n){n===void 0&&(n=!0);var i=$8(r,t.count()-1,n);return t.item(i)},this.prevEnabled=function(r,n){n===void 0&&(n=!0);var i=t.item(r);if(!!i){var o=t.enabledIndexOf(i.node),a=$8(o,t.enabledCount()-1,n);return t.enabledItem(a)}},this.registerNode=function(r,n){if(!(!r||t.descendants.has(r))){var i=Array.from(t.descendants.keys()).concat(r),o=R8(i);n!=null&&n.disabled&&(n.disabled=!!n.disabled);var a=v1({node:r,index:-1},n);t.descendants.set(r,a),t.assignIndex(o)}}};function nI(){var e=A.useRef(new rI);return m1(function(){return function(){return e.current.destroy()}}),e.current}var B8=Pr({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),iI=B8[0],N8=B8[1];function oI(e){var t=N8(),r=A.useState(-1),n=r[0],i=r[1],o=A.useRef(null);m1(function(){return function(){!o.current||t.unregister(o.current)}},[]),m1(function(){if(!!o.current){var l=Number(o.current.dataset.index);n!=l&&!Number.isNaN(l)&&i(l)}});var a=gc(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:dr(a,o)}}function aI(){var e=gc(iI),t=function(){return gc(N8())},r=function(o){return oI(o)},n=function(){return nI()};return[e,t,n,r]}function ui(){return ui=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},ui.apply(this,arguments)}function z8(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function lI(e){var t=e.loading,r=e.src,n=e.srcSet,i=e.onLoad,o=e.onError,a=e.crossOrigin,l=e.sizes,s=e.ignoreFallback,u=A.useState("pending"),c=u[0],p=u[1];A.useEffect(function(){p(r?"loading":"pending")},[r]);var f=A.useRef(),h=A.useCallback(function(){if(!!r){m();var y=new Image;y.src=r,a&&(y.crossOrigin=a),n&&(y.srcset=n),l&&(y.sizes=l),t&&(y.loading=t),y.onload=function(v){m(),p("loaded"),i==null||i(v)},y.onerror=function(v){m(),p("failed"),o==null||o(v)},f.current=y}},[r,a,n,l,i,o,t]),m=function(){f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return No(function(){if(!s)return c==="loading"&&h(),function(){m()}},[c,h,s]),s?"loaded":c}var sI=["htmlWidth","htmlHeight","alt"],uI=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin"],H8=x.forwardRef(function(e,t){var r=e.htmlWidth,n=e.htmlHeight,i=e.alt,o=z8(e,sI);return x.createElement("img",ui({width:r,height:n,ref:t,alt:i},o))}),cI=ge(function(e,t){var r=e.fallbackSrc,n=e.fallback,i=e.src,o=e.srcSet,a=e.align,l=e.fit,s=e.loading,u=e.ignoreFallback,c=e.crossOrigin,p=z8(e,uI),f=s!=null||u||r===void 0&&n===void 0,h=lI(ui({},e,{ignoreFallback:f})),m=ui({ref:t,objectFit:l,objectPosition:a},f?p:us(p,["onError","onLoad"]));return h!=="loaded"?n||x.createElement(ee.img,ui({as:H8,className:"chakra-image__placeholder",src:r},m)):x.createElement(ee.img,ui({as:H8,src:i,srcSet:o,crossOrigin:c,loading:s,className:"chakra-image"},m))}),j8={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},W8=ee("span",{baseStyle:j8});ee("input",{baseStyle:j8});function yc(){return yc=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},yc.apply(this,arguments)}function dI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var fI=["label","thickness","speed","emptyColor","className"],pI=Si({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),hI=ge(function(e,t){var r=xn("Spinner",e),n=Rr(e),i=n.label,o=i===void 0?"Loading...":i,a=n.thickness,l=a===void 0?"2px":a,s=n.speed,u=s===void 0?"0.45s":s,c=n.emptyColor,p=c===void 0?"transparent":c,f=n.className,h=dI(n,fI),m=Ee("chakra-spinner",f),y=yc({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:l,borderBottomColor:p,borderLeftColor:p,animation:pI+" "+u+" linear infinite"},r);return x.createElement(ee.div,yc({ref:t,__css:y,className:m},h),o&&x.createElement(W8,null,o))});function g1(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Tn(){return Tn=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},Tn.apply(this,arguments)}var vI=Pr({strict:!1,name:"ButtonGroupContext"}),mI=vI[1],gI=["label","placement","spacing","children","className","__css"],U8=function(t){var r=t.label,n=t.placement,i=t.spacing,o=i===void 0?"0.5rem":i,a=t.children,l=a===void 0?x.createElement(hI,{color:"currentColor",width:"1em",height:"1em"}):a,s=t.className,u=t.__css,c=g1(t,gI),p=Ee("chakra-button__spinner",s),f=n==="start"?"marginEnd":"marginStart",h=x.useMemo(function(){var m;return Tn((m={display:"flex",alignItems:"center",position:r?"relative":"absolute"},m[f]=r?o:0,m.fontSize="1em",m.lineHeight="normal",m),u)},[u,r,f,o]);return x.createElement(ee.div,Tn({className:p},c,{__css:h}),l)},yI=["children","className"],Z8=function(t){var r=t.children,n=t.className,i=g1(t,yI),o=x.isValidElement(r)?x.cloneElement(r,{"aria-hidden":!0,focusable:!1}):r,a=Ee("chakra-button__icon",n);return x.createElement(ee.span,Tn({display:"inline-flex",alignSelf:"center",flexShrink:0},i,{className:a}),o)};function bI(e){var t=x.useState(!e),r=t[0],n=t[1],i=x.useCallback(function(a){!a||n(a.tagName==="BUTTON")},[]),o=r?"button":void 0;return{ref:i,type:o}}var xI=["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"],y1=ge(function(e,t){var r=mI(),n=xn("Button",Tn({},r,e)),i=Rr(e),o=i.isDisabled,a=o===void 0?r==null?void 0:r.isDisabled:o,l=i.isLoading,s=i.isActive,u=i.isFullWidth,c=i.children,p=i.leftIcon,f=i.rightIcon,h=i.loadingText,m=i.iconSpacing,y=m===void 0?"0.5rem":m,v=i.type,g=i.spinner,b=i.spinnerPlacement,w=b===void 0?"start":b,C=i.className,k=i.as,_=g1(i,xI),E=x.useMemo(function(){var G,U=Vt({},(G=n==null?void 0:n._focus)!=null?G:{},{zIndex:1});return Tn({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:U})},[n,r,u]),M=bI(k),O=M.ref,R=M.type,Z={rightIcon:f,leftIcon:p,iconSpacing:y,children:c};return x.createElement(ee.button,Tn({disabled:a||l,ref:rx(t,O),as:k,type:v!=null?v:R,"data-active":hs(s),"data-loading":hs(l),__css:E,className:Ee("chakra-button",C)},_),l&&w==="start"&&x.createElement(U8,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:y},g),l?h||x.createElement(ee.span,{opacity:0},x.createElement(G8,Z)):x.createElement(G8,Z),l&&w==="end"&&x.createElement(U8,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:y},g))});function G8(e){var t=e.leftIcon,r=e.rightIcon,n=e.children,i=e.iconSpacing;return x.createElement(x.Fragment,null,t&&x.createElement(Z8,{marginEnd:i},t),n,r&&x.createElement(Z8,{marginStart:i},r))}function wI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function bl(){return bl=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},bl.apply(this,arguments)}var CI=["children","isDisabled","__css"],SI=function(t){return x.createElement(Ve,bl({focusable:"false","aria-hidden":!0},t),x.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"}))},kI=ge(function(e,t){var r=xn("CloseButton",e),n=Rr(e),i=n.children,o=n.isDisabled,a=n.__css,l=wI(n,CI),s={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return x.createElement(ee.button,bl({type:"button","aria-label":"Close",ref:t,disabled:o,__css:bl({},s,r,a)},l),i||x.createElement(SI,{width:"1em",height:"1em"}))});function vt(){return vt=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},vt.apply(this,arguments)}function Mn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var X=ee("div"),Y8=ee("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}}),EI=["direction","align","justify","wrap","basis","grow","shrink"],xl=ge(function(e,t){var r=e.direction,n=e.align,i=e.justify,o=e.wrap,a=e.basis,l=e.grow,s=e.shrink,u=Mn(e,EI),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:i,flexWrap:o,flexBasis:a,flexGrow:l,flexShrink:s};return x.createElement(ee.div,vt({ref:t,__css:c},u))}),_I=["className"],PI=ge(function(e,t){var r=xn("Heading",e),n=Rr(e);n.className;var i=Mn(n,_I);return x.createElement(ee.h2,vt({ref:t,className:Ee("chakra-heading",e.className)},i,{__css:r}))}),TI=["className","isExternal"],bc=ge(function(e,t){var r=xn("Link",e),n=Rr(e),i=n.className,o=n.isExternal,a=Mn(n,TI);return x.createElement(ee.a,vt({target:o?"_blank":void 0,rel:o?"noopener":void 0,ref:t,className:Ee("chakra-link",i)},a,{__css:r}))}),MI=["children","styleType","stylePosition","spacing"],K8=Pr({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in a `<*List />` "}),OI=K8[0],LI=K8[1],AI=ge(function(e,t){var r,n=j0("List",e),i=Rr(e),o=i.children,a=i.styleType,l=a===void 0?"none":a,s=i.stylePosition,u=i.spacing,c=Mn(i,MI),p=Gv(o),f="& > *:not(style) ~ *:not(style)",h=u?(r={},r[f]={mt:u},r):{};return x.createElement(OI,{value:n},x.createElement(ee.ul,vt({ref:t,listStyleType:l,listStylePosition:s,role:"list",__css:vt({},n.container,h)},c),p))}),FI=ge(function(e,t){var r=LI();return x.createElement(ee.li,vt({ref:t},e,{__css:r.item}))});ee("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var b1="& > *: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[b1]=Zv(n,function(o){return i[o]}),t}function DI(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{"&":Zv(r,function(i){return n[i]})}}var RI=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],VI=function(t){return x.createElement(ee.div,vt({className:"chakra-stack__item"},t,{__css:vt({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},x1=ge(function(e,t){var r,n=e.isInline,i=e.direction,o=e.align,a=e.justify,l=e.spacing,s=l===void 0?"0.5rem":l,u=e.wrap,c=e.children,p=e.divider,f=e.className,h=e.shouldWrapChildren,m=Mn(e,RI),y=n?"row":i!=null?i:"column",v=x.useMemo(function(){return II({direction:y,spacing:s})},[y,s]),g=x.useMemo(function(){return DI({spacing:s,direction:y})},[s,y]),b=!!p,w=!h&&!b,C=Gv(c),k=w?C:C.map(function(E,M){var O=typeof E.key!="undefined"?E.key:M,R=M+1===C.length,Z=x.createElement(VI,{key:O},E),G=h?Z:E;if(!b)return G;var U=x.cloneElement(p,{__css:g}),Y=R?null:U;return x.createElement(x.Fragment,{key:O},G,Y)}),_=Ee("chakra-stack",f);return x.createElement(ee.div,vt({ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:v.flexDirection,flexWrap:u,className:_,__css:b?{}:(r={},r[b1]=v[b1],r)},m),k)}),$I=ge(function(e,t){return x.createElement(x1,vt({align:"center"},e,{direction:"row",ref:t}))}),BI=["className","align","decoration","casing"],it=ge(function(e,t){var r=xn("Text",e),n=Rr(e);n.className,n.align,n.decoration,n.casing;var i=Mn(n,BI),o=md({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return x.createElement(ee.p,vt({ref:t,className:Ee("chakra-text",e.className)},o,i,{__css:r}))}),NI=["isExternal","target","rel","className"],zI=["className"],q8=ge(function(e,t){var r=e.isExternal,n=e.target,i=e.rel,o=e.className,a=Mn(e,NI);return x.createElement(ee.a,vt({},a,{ref:t,className:Ee("chakra-linkbox__overlay",o),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%"}}}))}),HI=ge(function(e,t){var r=e.className,n=Mn(e,zI);return x.createElement(ee.div,vt({ref:t,position:"relative"},n,{className:Ee("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title], button":{position:"relative",zIndex:1}}}))}),jI=Xr?x.useLayoutEffect:x.useEffect;function w1(e){var t=Qg(),r=Array.isArray(e)?e:[e],n=Xr&&"matchMedia"in t.window,i=x.useState(r.map(function(l){return n?!!t.window.matchMedia(l).matches:!1})),o=i[0],a=i[1];return jI(function(){if(!!n){var l=r.map(function(u){return t.window.matchMedia(u)}),s=l.map(function(u,c){var p=function(h){var m=l.findIndex(function(y){return y.media===h.media});a(function(y){var v=y.map(function(g){return g});return v[m]=h.matches,v})};return typeof l[c].addEventListener=="function"?l[c].addEventListener("change",p):l[c].addListener(p),p});return function(){l.forEach(function(u,c){typeof l[c].removeEventListener=="function"?l[c].removeEventListener("change",s[c]):l[c].removeListener(s[c])})}}},[]),o}function xc(){return xc=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},xc.apply(this,arguments)}function WI(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function UI(){var e=x.useRef(new Map),t=e.current,r=x.useCallback(function(i,o,a,l){e.current.set(a,{type:o,el:i,options:l}),i.addEventListener(o,a,l)},[]),n=x.useCallback(function(i,o,a,l){i.removeEventListener(o,a,l),e.current.delete(a)},[]);return x.useEffect(function(){return function(){t.forEach(function(i,o){n(i.el,i.type,o,i.options)})}},[n,t]),{add:r,remove:n}}var ZI=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function C1(e){var t=e.target,r=t.tagName,n=t.isContentEditable;return r!=="INPUT"&&r!=="TEXTAREA"&&n!==!0}function GI(e){e===void 0&&(e={});var t=e,r=t.ref,n=t.isDisabled,i=t.isFocusable,o=t.clickOnEnter,a=o===void 0?!0:o,l=t.clickOnSpace,s=l===void 0?!0:l,u=t.onMouseDown,c=t.onMouseUp,p=t.onClick,f=t.onKeyDown,h=t.onKeyUp,m=t.tabIndex,y=t.onMouseOver,v=t.onMouseLeave,g=WI(t,ZI),b=x.useState(!0),w=b[0],C=b[1],k=x.useState(!1),_=k[0],E=k[1],M=UI(),O=function(D){!D||D.tagName!=="BUTTON"&&C(!1)},R=w?m:m||0,Z=n&&!i,G=x.useCallback(function(L){if(n){L.stopPropagation(),L.preventDefault();return}var D=L.currentTarget;D.focus(),p==null||p(L)},[n,p]),U=x.useCallback(function(L){_&&C1(L)&&(L.preventDefault(),L.stopPropagation(),E(!1),M.remove(document,"keyup",U,!1))},[_,M]),Y=x.useCallback(function(L){if(f==null||f(L),!(n||L.defaultPrevented||L.metaKey)&&!(!C1(L.nativeEvent)||w)){var D=a&&L.key==="Enter",N=s&&L.key===" ";if(N&&(L.preventDefault(),E(!0)),D){L.preventDefault();var H=L.currentTarget;H.click()}M.add(document,"keyup",U,!1)}},[n,w,f,a,s,M,U]),Q=x.useCallback(function(L){if(h==null||h(L),!(n||L.defaultPrevented||L.metaKey)&&!(!C1(L.nativeEvent)||w)){var D=s&&L.key===" ";if(D){L.preventDefault(),E(!1);var N=L.currentTarget;N.click()}}},[s,w,n,h]),J=x.useCallback(function(L){L.button===0&&(E(!1),M.remove(document,"mouseup",J,!1))},[M]),ie=x.useCallback(function(L){if(!Nv(L)){if(n){L.stopPropagation(),L.preventDefault();return}w||E(!0);var D=L.currentTarget;D.focus({preventScroll:!0}),M.add(document,"mouseup",J,!1),u==null||u(L)}},[n,w,u,M,J]),we=x.useCallback(function(L){Nv(L)||(w||E(!1),c==null||c(L))},[c,w]),he=x.useCallback(function(L){if(n){L.preventDefault();return}y==null||y(L)},[n,y]),ye=x.useCallback(function(L){_&&(L.preventDefault(),E(!1)),v==null||v(L)},[_,v]),I=dr(r,O);return w?xc({},g,{ref:I,type:"button","aria-disabled":Z?void 0:n,disabled:Z,onClick:G,onMouseDown:u,onMouseUp:c,onKeyUp:h,onKeyDown:f,onMouseOver:y,onMouseLeave:v}):xc({},g,{ref:I,role:"button","data-active":hs(_),"aria-disabled":n?"true":void 0,tabIndex:Z?void 0:R,onClick:G,onMouseDown:ie,onMouseUp:we,onKeyUp:Q,onKeyDown:Y,onMouseOver:he,onMouseLeave:ye})}var St="top",Zt="bottom",Gt="right",kt="left",S1="auto",wl=[St,Zt,Gt,kt],fo="start",Cl="end",YI="clippingParents",X8="viewport",Sl="popper",KI="reference",Q8=wl.reduce(function(e,t){return e.concat([t+"-"+fo,t+"-"+Cl])},[]),J8=[].concat(wl,[S1]).reduce(function(e,t){return e.concat([t,t+"-"+fo,t+"-"+Cl])},[]),qI="beforeRead",XI="read",QI="afterRead",JI="beforeMain",eD="main",tD="afterMain",rD="beforeWrite",nD="write",iD="afterWrite",oD=[qI,XI,QI,JI,eD,tD,rD,nD,iD];function Sr(e){return e?(e.nodeName||"").toLowerCase():null}function Dt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ci(e){var t=Dt(e).Element;return e instanceof t||e instanceof Element}function Yt(e){var t=Dt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function k1(e){if(typeof ShadowRoot=="undefined")return!1;var t=Dt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function aD(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},o=t.elements[r];!Yt(o)||!Sr(o)||(Object.assign(o.style,n),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function lD(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],o=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),l=a.reduce(function(s,u){return s[u]="",s},{});!Yt(i)||!Sr(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(s){i.removeAttribute(s)}))})}}var sD={name:"applyStyles",enabled:!0,phase:"write",fn:aD,effect:lD,requires:["computeStyles"]};function kr(e){return e.split("-")[0]}var di=Math.max,wc=Math.min,po=Math.round;function E1(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ey(){return!/^((?!chrome|android).)*safari/i.test(E1())}function ho(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,o=1;t&&Yt(e)&&(i=e.offsetWidth>0&&po(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&po(n.height)/e.offsetHeight||1);var a=ci(e)?Dt(e):window,l=a.visualViewport,s=!ey()&&r,u=(n.left+(s&&l?l.offsetLeft:0))/i,c=(n.top+(s&&l?l.offsetTop:0))/o,p=n.width/i,f=n.height/o;return{width:p,height:f,top:c,right:u+p,bottom:c+f,left:u,x:u,y:c}}function _1(e){var t=ho(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function ty(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&k1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Wr(e){return Dt(e).getComputedStyle(e)}function uD(e){return["table","td","th"].indexOf(Sr(e))>=0}function On(e){return((ci(e)?e.ownerDocument:e.document)||window.document).documentElement}function Cc(e){return Sr(e)==="html"?e:e.assignedSlot||e.parentNode||(k1(e)?e.host:null)||On(e)}function ry(e){return!Yt(e)||Wr(e).position==="fixed"?null:e.offsetParent}function cD(e){var t=/firefox/i.test(E1()),r=/Trident/i.test(E1());if(r&&Yt(e)){var n=Wr(e);if(n.position==="fixed")return null}var i=Cc(e);for(k1(i)&&(i=i.host);Yt(i)&&["html","body"].indexOf(Sr(i))<0;){var o=Wr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function kl(e){for(var t=Dt(e),r=ry(e);r&&uD(r)&&Wr(r).position==="static";)r=ry(r);return r&&(Sr(r)==="html"||Sr(r)==="body"&&Wr(r).position==="static")?t:r||cD(e)||t}function P1(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function El(e,t,r){return di(e,wc(t,r))}function dD(e,t,r){var n=El(e,t,r);return n>r?r:n}function ny(){return{top:0,right:0,bottom:0,left:0}}function iy(e){return Object.assign({},ny(),e)}function oy(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var fD=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,iy(typeof t!="number"?t:oy(t,wl))};function pD(e){var t,r=e.state,n=e.name,i=e.options,o=r.elements.arrow,a=r.modifiersData.popperOffsets,l=kr(r.placement),s=P1(l),u=[kt,Gt].indexOf(l)>=0,c=u?"height":"width";if(!(!o||!a)){var p=fD(i.padding,r),f=_1(o),h=s==="y"?St:kt,m=s==="y"?Zt:Gt,y=r.rects.reference[c]+r.rects.reference[s]-a[s]-r.rects.popper[c],v=a[s]-r.rects.reference[s],g=kl(o),b=g?s==="y"?g.clientHeight||0:g.clientWidth||0:0,w=y/2-v/2,C=p[h],k=b-f[c]-p[m],_=b/2-f[c]/2+w,E=El(C,_,k),M=s;r.modifiersData[n]=(t={},t[M]=E,t.centerOffset=E-_,t)}}function hD(e){var t=e.state,r=e.options,n=r.element,i=n===void 0?"[data-popper-arrow]":n;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!ty(t.elements.popper,i)||(t.elements.arrow=i))}var vD={name:"arrow",enabled:!0,phase:"main",fn:pD,effect:hD,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vo(e){return e.split("-")[1]}var mD={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gD(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:po(r*i)/i||0,y:po(n*i)/i||0}}function ay(e){var t,r=e.popper,n=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,p=e.isFixed,f=a.x,h=f===void 0?0:f,m=a.y,y=m===void 0?0:m,v=typeof c=="function"?c({x:h,y}):{x:h,y};h=v.x,y=v.y;var g=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),w=kt,C=St,k=window;if(u){var _=kl(r),E="clientHeight",M="clientWidth";if(_===Dt(r)&&(_=On(r),Wr(_).position!=="static"&&l==="absolute"&&(E="scrollHeight",M="scrollWidth")),_=_,i===St||(i===kt||i===Gt)&&o===Cl){C=Zt;var O=p&&_===k&&k.visualViewport?k.visualViewport.height:_[E];y-=O-n.height,y*=s?1:-1}if(i===kt||(i===St||i===Zt)&&o===Cl){w=Gt;var R=p&&_===k&&k.visualViewport?k.visualViewport.width:_[M];h-=R-n.width,h*=s?1:-1}}var Z=Object.assign({position:l},u&&mD),G=c===!0?gD({x:h,y},Dt(r)):{x:h,y};if(h=G.x,y=G.y,s){var U;return Object.assign({},Z,(U={},U[C]=b?"0":"",U[w]=g?"0":"",U.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",U))}return Object.assign({},Z,(t={},t[C]=b?y+"px":"",t[w]=g?h+"px":"",t.transform="",t))}function yD(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,o=r.adaptive,a=o===void 0?!0:o,l=r.roundOffsets,s=l===void 0?!0:l,u={placement:kr(t.placement),variation:vo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ay(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ay(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var bD={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:yD,data:{}},Sc={passive:!0};function xD(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,o=i===void 0?!0:i,a=n.resize,l=a===void 0?!0:a,s=Dt(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",r.update,Sc)}),l&&s.addEventListener("resize",r.update,Sc),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",r.update,Sc)}),l&&s.removeEventListener("resize",r.update,Sc)}}var wD={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:xD,data:{}},CD={left:"right",right:"left",bottom:"top",top:"bottom"};function kc(e){return e.replace(/left|right|bottom|top/g,function(t){return CD[t]})}var SD={start:"end",end:"start"};function ly(e){return e.replace(/start|end/g,function(t){return SD[t]})}function T1(e){var t=Dt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function M1(e){return ho(On(e)).left+T1(e).scrollLeft}function kD(e,t){var r=Dt(e),n=On(e),i=r.visualViewport,o=n.clientWidth,a=n.clientHeight,l=0,s=0;if(i){o=i.width,a=i.height;var u=ey();(u||!u&&t==="fixed")&&(l=i.offsetLeft,s=i.offsetTop)}return{width:o,height:a,x:l+M1(e),y:s}}function ED(e){var t,r=On(e),n=T1(e),i=(t=e.ownerDocument)==null?void 0:t.body,o=di(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=di(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-n.scrollLeft+M1(e),s=-n.scrollTop;return Wr(i||r).direction==="rtl"&&(l+=di(r.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:s}}function O1(e){var t=Wr(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function sy(e){return["html","body","#document"].indexOf(Sr(e))>=0?e.ownerDocument.body:Yt(e)&&O1(e)?e:sy(Cc(e))}function _l(e,t){var r;t===void 0&&(t=[]);var n=sy(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),o=Dt(n),a=i?[o].concat(o.visualViewport||[],O1(n)?n:[]):n,l=t.concat(a);return i?l:l.concat(_l(Cc(a)))}function L1(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function _D(e,t){var r=ho(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function uy(e,t,r){return t===X8?L1(kD(e,r)):ci(t)?_D(t,r):L1(ED(On(e)))}function PD(e){var t=_l(Cc(e)),r=["absolute","fixed"].indexOf(Wr(e).position)>=0,n=r&&Yt(e)?kl(e):e;return ci(n)?t.filter(function(i){return ci(i)&&ty(i,n)&&Sr(i)!=="body"}):[]}function TD(e,t,r,n){var i=t==="clippingParents"?PD(e):[].concat(t),o=[].concat(i,[r]),a=o[0],l=o.reduce(function(s,u){var c=uy(e,u,n);return s.top=di(c.top,s.top),s.right=wc(c.right,s.right),s.bottom=wc(c.bottom,s.bottom),s.left=di(c.left,s.left),s},uy(e,a,n));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function cy(e){var t=e.reference,r=e.element,n=e.placement,i=n?kr(n):null,o=n?vo(n):null,a=t.x+t.width/2-r.width/2,l=t.y+t.height/2-r.height/2,s;switch(i){case St:s={x:a,y:t.y-r.height};break;case Zt:s={x:a,y:t.y+t.height};break;case Gt:s={x:t.x+t.width,y:l};break;case kt:s={x:t.x-r.width,y:l};break;default:s={x:t.x,y:t.y}}var u=i?P1(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case fo:s[u]=s[u]-(t[c]/2-r[c]/2);break;case Cl:s[u]=s[u]+(t[c]/2-r[c]/2);break}}return s}function Pl(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,o=r.strategy,a=o===void 0?e.strategy:o,l=r.boundary,s=l===void 0?YI:l,u=r.rootBoundary,c=u===void 0?X8:u,p=r.elementContext,f=p===void 0?Sl:p,h=r.altBoundary,m=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,g=iy(typeof v!="number"?v:oy(v,wl)),b=f===Sl?KI:Sl,w=e.rects.popper,C=e.elements[m?b:f],k=TD(ci(C)?C:C.contextElement||On(e.elements.popper),s,c,a),_=ho(e.elements.reference),E=cy({reference:_,element:w,strategy:"absolute",placement:i}),M=L1(Object.assign({},w,E)),O=f===Sl?M:_,R={top:k.top-O.top+g.top,bottom:O.bottom-k.bottom+g.bottom,left:k.left-O.left+g.left,right:O.right-k.right+g.right},Z=e.modifiersData.offset;if(f===Sl&&Z){var G=Z[i];Object.keys(R).forEach(function(U){var Y=[Gt,Zt].indexOf(U)>=0?1:-1,Q=[St,Zt].indexOf(U)>=0?"y":"x";R[U]+=G[Q]*Y})}return R}function MD(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,o=r.rootBoundary,a=r.padding,l=r.flipVariations,s=r.allowedAutoPlacements,u=s===void 0?J8:s,c=vo(n),p=c?l?Q8:Q8.filter(function(m){return vo(m)===c}):wl,f=p.filter(function(m){return u.indexOf(m)>=0});f.length===0&&(f=p);var h=f.reduce(function(m,y){return m[y]=Pl(e,{placement:y,boundary:i,rootBoundary:o,padding:a})[kr(y)],m},{});return Object.keys(h).sort(function(m,y){return h[m]-h[y]})}function OD(e){if(kr(e)===S1)return[];var t=kc(e);return[ly(e),t,ly(t)]}function LD(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!0:a,s=r.fallbackPlacements,u=r.padding,c=r.boundary,p=r.rootBoundary,f=r.altBoundary,h=r.flipVariations,m=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,g=kr(v),b=g===v,w=s||(b||!m?[kc(v)]:OD(v)),C=[v].concat(w).reduce(function(N,H){return N.concat(kr(H)===S1?MD(t,{placement:H,boundary:c,rootBoundary:p,padding:u,flipVariations:m,allowedAutoPlacements:y}):H)},[]),k=t.rects.reference,_=t.rects.popper,E=new Map,M=!0,O=C[0],R=0;R<C.length;R++){var Z=C[R],G=kr(Z),U=vo(Z)===fo,Y=[St,Zt].indexOf(G)>=0,Q=Y?"width":"height",J=Pl(t,{placement:Z,boundary:c,rootBoundary:p,altBoundary:f,padding:u}),ie=Y?U?Gt:kt:U?Zt:St;k[Q]>_[Q]&&(ie=kc(ie));var we=kc(ie),he=[];if(o&&he.push(J[G]<=0),l&&he.push(J[ie]<=0,J[we]<=0),he.every(function(N){return N})){O=Z,M=!1;break}E.set(Z,he)}if(M)for(var ye=m?3:1,I=function(H){var ne=C.find(function(ce){var be=E.get(ce);if(be)return be.slice(0,H).every(function(je){return je})});if(ne)return O=ne,"break"},L=ye;L>0;L--){var D=I(L);if(D==="break")break}t.placement!==O&&(t.modifiersData[n]._skip=!0,t.placement=O,t.reset=!0)}}var AD={name:"flip",enabled:!0,phase:"main",fn:LD,requiresIfExists:["offset"],data:{_skip:!1}};function dy(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function fy(e){return[St,Gt,Zt,kt].some(function(t){return e[t]>=0})}function FD(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=Pl(t,{elementContext:"reference"}),l=Pl(t,{altBoundary:!0}),s=dy(a,n),u=dy(l,i,o),c=fy(s),p=fy(u);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var ID={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:FD};function DD(e,t,r){var n=kr(e),i=[kt,St].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[kt,Gt].indexOf(n)>=0?{x:l,y:a}:{x:a,y:l}}function RD(e){var t=e.state,r=e.options,n=e.name,i=r.offset,o=i===void 0?[0,0]:i,a=J8.reduce(function(c,p){return c[p]=DD(p,t.rects,o),c},{}),l=a[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=a}var VD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:RD};function $D(e){var t=e.state,r=e.name;t.modifiersData[r]=cy({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var BD={name:"popperOffsets",enabled:!0,phase:"read",fn:$D,data:{}};function ND(e){return e==="x"?"y":"x"}function zD(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,o=i===void 0?!0:i,a=r.altAxis,l=a===void 0?!1:a,s=r.boundary,u=r.rootBoundary,c=r.altBoundary,p=r.padding,f=r.tether,h=f===void 0?!0:f,m=r.tetherOffset,y=m===void 0?0:m,v=Pl(t,{boundary:s,rootBoundary:u,padding:p,altBoundary:c}),g=kr(t.placement),b=vo(t.placement),w=!b,C=P1(g),k=ND(C),_=t.modifiersData.popperOffsets,E=t.rects.reference,M=t.rects.popper,O=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,R=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),Z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,G={x:0,y:0};if(!!_){if(o){var U,Y=C==="y"?St:kt,Q=C==="y"?Zt:Gt,J=C==="y"?"height":"width",ie=_[C],we=ie+v[Y],he=ie-v[Q],ye=h?-M[J]/2:0,I=b===fo?E[J]:M[J],L=b===fo?-M[J]:-E[J],D=t.elements.arrow,N=h&&D?_1(D):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ny(),ne=H[Y],ce=H[Q],be=El(0,E[J],N[J]),je=w?E[J]/2-ye-be-ne-R.mainAxis:I-be-ne-R.mainAxis,Gr=w?-E[J]/2+ye+be+ce+R.mainAxis:L+be+ce+R.mainAxis,Xe=t.elements.arrow&&kl(t.elements.arrow),oe=Xe?C==="y"?Xe.clientTop||0:Xe.clientLeft||0:0,We=(U=Z==null?void 0:Z[C])!=null?U:0,_t=ie+je-We-oe,$l=ie+Gr-We,hi=El(h?wc(we,_t):we,ie,h?di(he,$l):he);_[C]=hi,G[C]=hi-ie}if(l){var Kc,Xh=C==="x"?St:kt,Qh=C==="x"?Zt:Gt,Kt=_[k],Rn=k==="y"?"height":"width",vi=Kt+v[Xh],qt=Kt-v[Qh],Mo=[St,kt].indexOf(g)!==-1,Bl=(Kc=Z==null?void 0:Z[k])!=null?Kc:0,qc=Mo?vi:Kt-E[Rn]-M[Rn]-Bl+R.altAxis,Xc=Mo?Kt+E[Rn]+M[Rn]-Bl-R.altAxis:qt,mi=h&&Mo?dD(qc,Kt,Xc):El(h?qc:vi,Kt,h?Xc:qt);_[k]=mi,G[k]=mi-Kt}t.modifiersData[n]=G}}var HD={name:"preventOverflow",enabled:!0,phase:"main",fn:zD,requiresIfExists:["offset"]};function jD(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function WD(e){return e===Dt(e)||!Yt(e)?T1(e):jD(e)}function UD(e){var t=e.getBoundingClientRect(),r=po(t.width)/e.offsetWidth||1,n=po(t.height)/e.offsetHeight||1;return r!==1||n!==1}function ZD(e,t,r){r===void 0&&(r=!1);var n=Yt(t),i=Yt(t)&&UD(t),o=On(t),a=ho(e,i,r),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((Sr(t)!=="body"||O1(o))&&(l=WD(t)),Yt(t)?(s=ho(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=M1(o))),{x:a.left+l.scrollLeft-s.x,y:a.top+l.scrollTop-s.y,width:a.width,height:a.height}}function GD(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function i(o){r.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!r.has(l)){var s=t.get(l);s&&i(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||i(o)}),n}function YD(e){var t=GD(e);return oD.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function KD(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function qD(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var py={placement:"bottom",modifiers:[],strategy:"absolute"};function hy(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function XD(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,o=i===void 0?py:i;return function(l,s,u){u===void 0&&(u=o);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},py,o),modifiersData:{},elements:{reference:l,popper:s},attributes:{},styles:{}},p=[],f=!1,h={state:c,setOptions:function(g){var b=typeof g=="function"?g(c.options):g;y(),c.options=Object.assign({},o,c.options,b),c.scrollParents={reference:ci(l)?_l(l):l.contextElement?_l(l.contextElement):[],popper:_l(s)};var w=YD(qD([].concat(n,c.options.modifiers)));return c.orderedModifiers=w.filter(function(C){return C.enabled}),m(),h.update()},forceUpdate:function(){if(!f){var g=c.elements,b=g.reference,w=g.popper;if(!!hy(b,w)){c.rects={reference:ZD(b,kl(w),c.options.strategy==="fixed"),popper:_1(w)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(R){return c.modifiersData[R.name]=Object.assign({},R.data)});for(var C=0;C<c.orderedModifiers.length;C++){if(c.reset===!0){c.reset=!1,C=-1;continue}var k=c.orderedModifiers[C],_=k.fn,E=k.options,M=E===void 0?{}:E,O=k.name;typeof _=="function"&&(c=_({state:c,options:M,name:O,instance:h})||c)}}}},update:KD(function(){return new Promise(function(v){h.forceUpdate(),v(c)})}),destroy:function(){y(),f=!0}};if(!hy(l,s))return h;h.setOptions(u).then(function(v){!f&&u.onFirstUpdate&&u.onFirstUpdate(v)});function m(){c.orderedModifiers.forEach(function(v){var g=v.name,b=v.options,w=b===void 0?{}:b,C=v.effect;if(typeof C=="function"){var k=C({state:c,name:g,instance:h,options:w}),_=function(){};p.push(k||_)}})}function y(){p.forEach(function(v){return v()}),p=[]}return h}}var QD=[wD,BD,bD,sD,VD,AD,HD,vD,ID],JD=XD({defaultModifiers:QD});function eR(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ar(){return ar=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},ar.apply(this,arguments)}var mo=function(t,r){return{var:t,varRef:r?"var("+t+", "+r+")":"var("+t+")"}},ot={arrowShadowColor:mo("--popper-arrow-shadow-color"),arrowSize:mo("--popper-arrow-size","8px"),arrowSizeHalf:mo("--popper-arrow-size-half"),arrowBg:mo("--popper-arrow-bg"),transformOrigin:mo("--popper-transform-origin"),arrowOffset:mo("--popper-arrow-offset")};function tR(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var rR={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},nR=function(t){return rR[t]},vy={scroll:!0,resize:!0};function iR(e){var t;return typeof e=="object"?t={enabled:!0,options:ar({},vy,e)}:t={enabled:e,options:vy},t}var oR={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(t){var r=t.state;r.styles.popper.width=r.rects.reference.width+"px"},effect:function(t){var r=t.state;return function(){var n=r.elements.reference;r.elements.popper.style.width=n.offsetWidth+"px"}}},aR={name:"transformOrigin",enabled:!0,phase:"write",fn:function(t){var r=t.state;my(r)},effect:function(t){var r=t.state;return function(){my(r)}}},my=function(t){t.elements.popper.style.setProperty(ot.transformOrigin.var,nR(t.placement))},lR={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:function(t){var r=t.state;sR(r)}},sR=function(t){var r;if(!!t.placement){var n=uR(t.placement);if((r=t.elements)!=null&&r.arrow&&n){var i,o;Object.assign(t.elements.arrow.style,(i={},i[n.property]=n.value,i.width=ot.arrowSize.varRef,i.height=ot.arrowSize.varRef,i.zIndex=-1,i));var a=(o={},o[ot.arrowSizeHalf.var]="calc("+ot.arrowSize.varRef+" / 2)",o[ot.arrowOffset.var]="calc("+ot.arrowSizeHalf.varRef+" * -1)",o);for(var l in a)t.elements.arrow.style.setProperty(l,a[l])}}},uR=function(t){if(t.startsWith("top"))return{property:"bottom",value:ot.arrowOffset.varRef};if(t.startsWith("bottom"))return{property:"top",value:ot.arrowOffset.varRef};if(t.startsWith("left"))return{property:"right",value:ot.arrowOffset.varRef};if(t.startsWith("right"))return{property:"left",value:ot.arrowOffset.varRef}},cR={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:function(t){var r=t.state;gy(r)},effect:function(t){var r=t.state;return function(){gy(r)}}},gy=function(t){if(!!t.elements.arrow){var r=t.elements.arrow.querySelector("[data-popper-arrow-inner]");!r||Object.assign(r.style,{transform:"rotate(45deg)",background:ot.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:tR(t.placement)})}},dR={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},fR={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function pR(e,t){var r,n;t===void 0&&(t="ltr");var i=((r=dR[e])==null?void 0:r[t])||e;return t==="ltr"?i:(n=fR[e])!=null?n:i}var hR=["size","shadowColor","bg","style"];function yy(e){e===void 0&&(e={});var t=e,r=t.enabled,n=r===void 0?!0:r,i=t.modifiers,o=t.placement,a=o===void 0?"bottom":o,l=t.strategy,s=l===void 0?"absolute":l,u=t.arrowPadding,c=u===void 0?8:u,p=t.eventListeners,f=p===void 0?!0:p,h=t.offset,m=t.gutter,y=m===void 0?8:m,v=t.flip,g=v===void 0?!0:v,b=t.boundary,w=b===void 0?"clippingParents":b,C=t.preventOverflow,k=C===void 0?!0:C,_=t.matchWidth,E=t.direction,M=E===void 0?"ltr":E,O=A.useRef(null),R=A.useRef(null),Z=A.useRef(null),G=pR(a,M),U=A.useRef(function(){}),Y=A.useCallback(function(){!n||!O.current||!R.current||(U.current==null||U.current(),Z.current=JD(O.current,R.current,{placement:G,modifiers:[cR,lR,aR,ar({},oR,{enabled:!!_}),ar({name:"eventListeners"},iR(f)),{name:"arrow",options:{padding:c}},{name:"offset",options:{offset:h!=null?h:[0,y]}},{name:"flip",enabled:!!g,options:{padding:8}},{name:"preventOverflow",enabled:!!k,options:{boundary:w}}].concat(i!=null?i:[]),strategy:s}),Z.current.forceUpdate(),U.current=Z.current.destroy)},[G,n,i,_,f,c,h,y,g,k,w,s]);A.useEffect(function(){return function(){if(!O.current&&!R.current){var I;(I=Z.current)==null||I.destroy(),Z.current=null}}},[]);var Q=A.useCallback(function(I){O.current=I,Y()},[Y]),J=A.useCallback(function(I,L){return I===void 0&&(I={}),L===void 0&&(L=null),ar({},I,{ref:dr(Q,L)})},[Q]),ie=A.useCallback(function(I){R.current=I,Y()},[Y]),we=A.useCallback(function(I,L){return I===void 0&&(I={}),L===void 0&&(L=null),ar({},I,{ref:dr(ie,L),style:ar({},I.style,{position:s,minWidth:"max-content",inset:"0 auto auto 0"})})},[s,ie]),he=A.useCallback(function(I,L){I===void 0&&(I={}),L===void 0&&(L=null);var D=I;D.size,D.shadowColor,D.bg,D.style;var N=eR(D,hR);return ar({},N,{ref:L,"data-popper-arrow":"",style:vR(I)})},[]),ye=A.useCallback(function(I,L){return I===void 0&&(I={}),L===void 0&&(L=null),ar({},I,{ref:L,"data-popper-arrow-inner":""})},[]);return{update:function(){var L;(L=Z.current)==null||L.update()},forceUpdate:function(){var L;(L=Z.current)==null||L.forceUpdate()},transformOrigin:ot.transformOrigin.varRef,referenceRef:Q,popperRef:ie,getPopperProps:we,getArrowProps:he,getArrowInnerProps:ye,getReferenceProps:J}}function vR(e){var t=e.size,r=e.shadowColor,n=e.bg,i=e.style,o=ar({},i,{position:"absolute"});return t&&(o["--popper-arrow-size"]=t),r&&(o["--popper-arrow-shadow-color"]=r),n&&(o["--popper-arrow-bg"]=n),o}function Ie(){return Ie=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},Ie.apply(this,arguments)}function Er(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var mR=["id","closeOnSelect","closeOnBlur","autoSelect","isLazy","isOpen","defaultIsOpen","onClose","onOpen","placement","lazyBehavior","direction","computePositionOnMount"],gR=["onMouseEnter","onMouseMove","onMouseLeave","onClick","isDisabled","isFocusable","closeOnSelect","type"],yR=["type","isChecked"],Ec=aI(),bR=Ec[0],xR=Ec[1],wR=Ec[2],CR=Ec[3],by=Pr({strict:!1,name:"MenuContext"}),SR=by[0],Tl=by[1];function kR(e){e===void 0&&(e={});var t=e,r=t.id,n=t.closeOnSelect,i=n===void 0?!0:n,o=t.closeOnBlur,a=o===void 0?!0:o,l=t.autoSelect,s=l===void 0?!0:l,u=t.isLazy,c=t.isOpen,p=t.defaultIsOpen,f=t.onClose,h=t.onOpen,m=t.placement,y=m===void 0?"bottom-start":m,v=t.lazyBehavior,g=v===void 0?"unmount":v,b=t.direction,w=t.computePositionOnMount,C=w===void 0?!1:w,k=Er(t,mR),_=x.useRef(null),E=x.useRef(null),M=wR(),O=x.useCallback(function(){ki(_.current,{nextTick:!0,selectTextIfInput:!1})},[]),R=x.useCallback(function(){var Xe=setTimeout(function(){var oe=M.firstEnabled();oe&&I(oe.index)});ce.current.add(Xe)},[M]),Z=x.useCallback(function(){var Xe=setTimeout(function(){var oe=M.lastEnabled();oe&&I(oe.index)});ce.current.add(Xe)},[M]),G=x.useCallback(function(){h==null||h(),s?R():O()},[s,R,O,h]),U=Sd({isOpen:c,defaultIsOpen:p,onClose:f,onOpen:G}),Y=U.isOpen,Q=U.onOpen,J=U.onClose,ie=U.onToggle;nx({enabled:Y&&a,ref:_,handler:function(oe){var We;(We=E.current)!=null&&We.contains(oe.target)||J()}});var we=yy(Ie({},k,{enabled:Y||C,placement:y,direction:b})),he=x.useState(-1),ye=he[0],I=he[1];kd(function(){Y||I(-1)},[Y]),ex(_,{focusRef:E,visible:Y,shouldFocus:!0});var L=Yb({isOpen:Y,ref:_}),D=Kv(r,"menu-button","menu-list"),N=D[0],H=D[1],ne=x.useCallback(function(){Q(),O()},[Q,O]),ce=x.useRef(new Set([]));qv(function(){ce.current.forEach(function(Xe){return clearTimeout(Xe)}),ce.current.clear()});var be=x.useCallback(function(){Q(),R()},[R,Q]),je=x.useCallback(function(){Q(),Z()},[Q,Z]),Gr=x.useCallback(function(){var Xe,oe,We=Bn(_.current),_t=(Xe=_.current)==null?void 0:Xe.contains(We.activeElement),$l=Y&&!_t;if(!!$l){var hi=(oe=M.item(ye))==null?void 0:oe.node;hi&&ki(hi,{selectTextIfInput:!1,preventScroll:!1})}},[Y,ye,M]);return{openAndFocusMenu:ne,openAndFocusFirstItem:be,openAndFocusLastItem:je,onTransitionEnd:Gr,unstable__animationState:L,descendants:M,popper:we,buttonId:N,menuId:H,forceUpdate:we.forceUpdate,orientation:"vertical",isOpen:Y,onToggle:ie,onOpen:Q,onClose:J,menuRef:_,buttonRef:E,focusedIndex:ye,closeOnSelect:i,closeOnBlur:a,autoSelect:s,setFocusedIndex:I,isLazy:u,lazyBehavior:g}}function ER(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=Tl(),n=r.onToggle,i=r.popper,o=r.openAndFocusFirstItem,a=r.openAndFocusLastItem,l=x.useCallback(function(s){var u=Bv(s),c={Enter:o,ArrowDown:o,ArrowUp:a},p=c[u];p&&(s.preventDefault(),s.stopPropagation(),p(s))},[o,a]);return Ie({},e,{ref:dr(r.buttonRef,t,i.referenceRef),id:r.buttonId,"data-active":hs(r.isOpen),"aria-expanded":r.isOpen,"aria-haspopup":"menu","aria-controls":r.menuId,onClick:yt(e.onClick,n),onKeyDown:yt(e.onKeyDown,l)})}function A1(e){var t;return $o(e)&&!!((t=e.getAttribute("role"))!=null&&t.startsWith("menuitem"))}function _R(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=Tl();if(!r)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");var n=r.focusedIndex,i=r.setFocusedIndex,o=r.menuRef,a=r.isOpen,l=r.onClose,s=r.menuId,u=r.isLazy,c=r.lazyBehavior,p=r.unstable__animationState,f=xR(),h=ox({preventDefault:function(b){return b.key!==" "&&A1(b.target)}}),m=x.useCallback(function(g){var b=Bv(g),w={Tab:function(E){return E.preventDefault()},Escape:l,ArrowDown:function(){var E=f.nextEnabled(n);E&&i(E.index)},ArrowUp:function(){var E=f.prevEnabled(n);E&&i(E.index)}},C=w[b];if(C){g.preventDefault(),C(g);return}var k=h(function(_){var E=vb(f.values(),_,function(O){var R,Z;return(R=O==null||(Z=O.node)==null?void 0:Z.textContent)!=null?R:""},f.item(n));if(E){var M=f.indexOf(E.node);i(M)}});A1(g.target)&&k(g)},[f,n,h,l,i]),y=x.useRef(!1);a&&(y.current=!0);var v=Ub({hasBeenSelected:y.current,isLazy:u,lazyBehavior:c,isSelected:p.present});return Ie({},e,{ref:dr(o,t),children:v?e.children:null,tabIndex:-1,role:"menu",id:s,style:Ie({},e.style,{transformOrigin:"var(--popper-transform-origin)"}),"aria-orientation":"vertical",onKeyDown:yt(e.onKeyDown,m)})}function PR(e){e===void 0&&(e={});var t=Tl(),r=t.popper,n=t.isOpen;return r.getPopperProps(Ie({},e,{style:Ie({visibility:n?"visible":"hidden"},e.style)}))}function TR(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=e,n=r.onMouseEnter,i=r.onMouseMove,o=r.onMouseLeave,a=r.onClick,l=r.isDisabled,s=r.isFocusable,u=r.closeOnSelect,c=r.type,p=Er(r,gR),f=Tl(),h=f.setFocusedIndex,m=f.focusedIndex,y=f.closeOnSelect,v=f.onClose,g=f.menuRef,b=f.isOpen,w=f.menuId,C=x.useRef(null),k=w+"-menuitem-"+ys(),_=CR({disabled:l&&!s}),E=_.index,M=_.register,O=x.useCallback(function(J){n==null||n(J),!l&&h(E)},[h,E,l,n]),R=x.useCallback(function(J){i==null||i(J),C.current&&!xd(C.current)&&O(J)},[O,i]),Z=x.useCallback(function(J){o==null||o(J),!l&&h(-1)},[h,l,o]),G=x.useCallback(function(J){a==null||a(J),!!A1(J.currentTarget)&&(u!=null?u:y)&&v()},[v,a,y,u]),U=E===m,Y=l&&!s;kd(function(){!b||(U&&!Y&&C.current?ki(C.current,{nextTick:!0,selectTextIfInput:!1,preventScroll:!1}):g.current&&!xd(g.current)&&ki(g.current,{preventScroll:!1}))},[U,Y,g,b]);var Q=GI({onClick:G,onMouseEnter:O,onMouseMove:R,onMouseLeave:Z,ref:dr(M,C,t),isDisabled:l,isFocusable:s});return Ie({},p,Q,{type:c!=null?c:Q.type,id:k,role:"menuitem",tabIndex:U?0:-1})}function MR(e,t){e===void 0&&(e={}),t===void 0&&(t=null);var r=e,n=r.type,i=n===void 0?"radio":n,o=r.isChecked,a=Er(r,yR),l=TR(a,t);return Ie({},l,{role:"menuitem"+i,"aria-checked":o})}var OR=["descendants"],LR=["children","as"],AR=["rootProps"],FR=["type"],IR=["icon","iconSpacing"],DR=["title","children","className"],RR=["className","children"],VR=function(t){var r=t.children,n=j0("Menu",t),i=Rr(t),o=N0(),a=o.direction,l=kR(Ie({},i,{direction:a})),s=l.descendants,u=Er(l,OR),c=x.useMemo(function(){return u},[u]),p=c.isOpen,f=c.onClose,h=c.forceUpdate;return x.createElement(bR,{value:s},x.createElement(SR,{value:c},x.createElement(S5,{value:n},Mt(r,{isOpen:p,onClose:f,forceUpdate:h}))))},$R=ge(function(e,t){var r=tr();return x.createElement(ee.button,Ie({ref:t},e,{__css:Ie({display:"inline-flex",appearance:"none",alignItems:"center",outline:0},r.button)}))}),BR=ge(function(e,t){e.children;var r=e.as,n=Er(e,LR),i=ER(n,t),o=r||$R;return x.createElement(o,Ie({},i,{className:Ee("chakra-menu__menu-button",e.className)}),x.createElement(ee.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0}},e.children))}),NR={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}};function zR(e){var t=gl;return"custom"in t&&typeof t.custom=="function"?t.custom(e):t(e)}var HR=zR(ee.div),jR=ge(function(e,t){var r,n,i=e.rootProps,o=Er(e,AR),a=Tl(),l=a.isOpen,s=a.onTransitionEnd,u=a.unstable__animationState,c=_R(o,t),p=PR(i),f=tr();return x.createElement(ee.div,Ie({},p,{__css:{zIndex:(r=e.zIndex)!=null?r:(n=f.list)==null?void 0:n.zIndex}}),x.createElement(HR,Ie({},c,{onUpdate:s,onAnimationComplete:Bb(u.onComplete,c.onAnimationComplete),className:Ee("chakra-menu__menu-list",c.className),variants:NR,initial:!1,animate:l?"enter":"exit",__css:Ie({outline:0},f.list)})))}),WR=ge(function(e,t){var r=e.type,n=Er(e,FR),i=tr(),o=n.as||r?r!=null?r:void 0:"button",a=x.useMemo(function(){return Ie({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0},i.item)},[i.item]);return x.createElement(ee.button,Ie({ref:t,type:o},n,{__css:a}))}),UR=function(t){return x.createElement("svg",Ie({viewBox:"0 0 14 14",width:"1em",height:"1em"},t),x.createElement("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"}))},ZR=ge(function(e,t){var r=e.icon,n=e.iconSpacing,i=n===void 0?"0.75rem":n,o=Er(e,IR),a=MR(o,t);return x.createElement(WR,Ie({},a,{className:Ee("chakra-menu__menuitem-option",o.className)}),r!==null&&x.createElement(YR,{fontSize:"0.8em",marginEnd:i,opacity:e.isChecked?1:0},r||x.createElement(UR,null)),x.createElement("span",{style:{flex:1}},a.children))});ZR.id="MenuItemOption";var GR=ge(function(e,t){var r=e.title,n=e.children,i=e.className,o=Er(e,DR),a=Ee("chakra-menu__group__title",i),l=tr();return x.createElement("div",{ref:t,className:"chakra-menu__group",role:"group"},r&&x.createElement(ee.p,Ie({className:a},o,{__css:l.groupTitle}),r),n)}),YR=function(t){var r=t.className,n=t.children,i=Er(t,RR),o=x.Children.only(n),a=x.isValidElement(o)?x.cloneElement(o,{focusable:"false","aria-hidden":!0,className:Ee("chakra-menu__icon",o.props.className)}):null,l=Ee("chakra-menu__icon-wrapper",r);return x.createElement(ee.span,Ie({className:l},i,{__css:{flexShrink:0}}),a)};function KR(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}var xy={exports:{}},qR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",XR=qR,QR=XR;function wy(){}function Cy(){}Cy.resetWarningCache=wy;var JR=function(){function e(n,i,o,a,l,s){if(s!==QR){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,bigint: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:Cy,resetWarningCache:wy};return r.PropTypes=r,r};xy.exports=JR();var _c=xy.exports,F1="data-focus-lock",Sy="data-focus-lock-disabled",eV="data-no-focus-lock",tV="data-autofocus-inside";function I1(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function rV(e,t){var r=A.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}var nV=typeof window!="undefined"?x.useLayoutEffect:x.useEffect,ky=new WeakMap;function Ey(e,t){var r=rV(t||null,function(n){return e.forEach(function(i){return I1(i,n)})});return nV(function(){var n=ky.get(r);if(n){var i=new Set(n),o=new Set(e),a=r.current;i.forEach(function(l){o.has(l)||I1(l,null)}),o.forEach(function(l){i.has(l)||I1(l,a)})}ky.set(r,e)},[e]),r}var D1={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function _y(e){return e}function Py(e,t){t===void 0&&(t=_y);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(o){var a=t(o,n);return r.push(a),function(){r=r.filter(function(l){return l!==a})}},assignSyncMedium:function(o){for(n=!0;r.length;){var a=r;r=[],a.forEach(o)}r={push:function(l){return o(l)},filter:function(){return r}}},assignMedium:function(o){n=!0;var a=[];if(r.length){var l=r;r=[],l.forEach(o),a=r}var s=function(){var c=a;a=[],c.forEach(o)},u=function(){return Promise.resolve().then(s)};u(),r={push:function(c){a.push(c),u()},filter:function(c){return a=a.filter(c),r}}}};return i}function R1(e,t){return t===void 0&&(t=_y),Py(e,t)}function Ty(e){e===void 0&&(e={});var t=Py(null);return t.options=j({async:!0,ssr:!1},e),t}var My=function(e){var t=e.sideCar,r=It(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 x.createElement(n,j({},r))};My.isSideCarExport=!0;function iV(e,t){return e.useMedium(t),My}var Oy=R1({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),Ly=R1(),oV=R1(),aV=Ty({async:!0}),lV=[],V1=x.forwardRef(function(t,r){var n,i=x.useState(),o=i[0],a=i[1],l=x.useRef(),s=x.useRef(!1),u=x.useRef(null),c=t.children,p=t.disabled,f=t.noFocusGuards,h=t.persistentFocus,m=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,g=t.className,b=t.whiteList,w=t.shards,C=w===void 0?lV:w,k=t.as,_=k===void 0?"div":k,E=t.lockProps,M=E===void 0?{}:E,O=t.sideCar,R=t.returnFocus,Z=t.onActivation,G=t.onDeactivation,U=x.useState({}),Y=U[0],Q=x.useCallback(function(){u.current=u.current||document&&document.activeElement,l.current&&Z&&Z(l.current),s.current=!0},[Z]),J=x.useCallback(function(){s.current=!1,G&&G(l.current)},[G]),ie=x.useCallback(function(H){var ne=u.current;if(Boolean(R)&&ne&&ne.focus){var ce=typeof R=="object"?R:void 0;u.current=null,H?Promise.resolve().then(function(){return ne.focus(ce)}):ne.focus(ce)}},[R]),we=x.useCallback(function(H){s.current&&Oy.useMedium(H)},[]),he=Ly.useMedium,ye=x.useCallback(function(H){l.current!==H&&(l.current=H,a(H))},[]),I=Vn((n={},n[Sy]=p&&"disabled",n[F1]=v,n),M),L=f!==!0,D=L&&f!=="tail",N=Ey([r,ye]);return x.createElement(x.Fragment,null,L&&[x.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:D1}),x.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:D1})],!p&&x.createElement(O,{id:Y,sideCar:aV,observed:o,disabled:p,persistentFocus:h,crossFrame:m,autoFocus:y,whiteList:b,shards:C,onActivation:Q,onDeactivation:J,returnFocus:ie}),x.createElement(_,Vn({ref:N},I,{className:g,onBlur:he,onFocus:we}),c),D&&x.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:D1}))});V1.propTypes={},V1.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 Ay=V1;function $1(e,t){return $1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},$1(e,t)}function sV(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$1(e,t)}function Ml(e){return Ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ml(e)}function uV(e,t){if(Ml(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ml(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function cV(e){var t=uV(e,"string");return Ml(t)=="symbol"?t:t+""}function dV(e,t,r){return(t=cV(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fV(e,t){function r(n){return n.displayName||n.name||"Component"}return function(i){var o=[],a;function l(){a=e(o.map(function(u){return u.props})),t(a)}var s=function(u){sV(c,u);function c(){return u.apply(this,arguments)||this}c.peek=function(){return a};var p=c.prototype;return p.componentDidMount=function(){o.push(this),l()},p.componentDidUpdate=function(){l()},p.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),l()},p.render=function(){return d(i,{...this.props})},c}(A.PureComponent);return dV(s,"displayName","SideEffect("+r(i)+")"),s}}var Ln=function(e){for(var t=Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t},B1=function(e){return Array.isArray(e)?e:[e]},pV=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 o=e[n].compareDocumentPosition(e[i]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(i),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(a,l){return!t.has(l)})},Fy=function(e){return e.parentNode?Fy(e.parentNode):e},N1=function(e){var t=B1(e);return t.filter(Boolean).reduce(function(r,n){var i=n.getAttribute(F1);return r.push.apply(r,i?pV(Ln(Fy(n).querySelectorAll("["+F1+'="'+i+'"]:not(['+Sy+'="disabled"])'))):[n]),r},[])},hV=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"},vV=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!hV(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},Iy=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=vV(t,Iy.bind(void 0,e));return e.set(t,n),n},mV=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},z1=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},Pc=function(e){return!z1(e)},gV=function(e){return Boolean(e)},yV=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},Dy=function(e,t,r){return Ln(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(yV)},bV=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],H1=bV.join(","),xV=H1+", [data-focus-guard]",j1=function(e,t){return e.reduce(function(r,n){return r.concat(Ln(n.querySelectorAll(t?xV:H1)),n.parentNode?Ln(n.parentNode.querySelectorAll(H1)).filter(function(i){return i===n}):[])},[])},wV=function(e){var t=e.querySelectorAll("["+tV+"]");return Ln(t).map(function(r){return j1([r])}).reduce(function(r,n){return r.concat(n)},[])},W1=function(e,t){return Ln(e).filter(function(r){return Iy(t,r)}).filter(function(r){return mV(r)})},U1=function(e,t,r){return Dy(W1(j1(e,r),t),!0,r)},Ry=function(e,t){return Dy(W1(j1(e),t),!1)},CV=function(e,t){return W1(wV(e),t)},Z1=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Z1(e.parentNode,t),t},G1=function(e,t){for(var r=Z1(e),n=Z1(t),i=0;i<r.length;i+=1){var o=r[i];if(n.indexOf(o)>=0)return o}return!1},Vy=function(e,t,r){var n=B1(e),i=B1(t),o=n[0],a=!1;return i.filter(Boolean).forEach(function(l){a=G1(a||l,l)||a,r.filter(Boolean).forEach(function(s){var u=G1(o,s);u&&(!a||u.contains(a)?a=u:a=G1(u,a))})}),a},SV=function(e,t){return e.reduce(function(r,n){return r.concat(CV(n,t))},[])},kV=function(e){var t=N1(e).filter(Pc),r=Vy(e,e,t),n=new Map,i=U1([r],n,!0),o=U1(t,n).filter(function(a){var l=a.node;return Pc(l)}).map(function(a){var l=a.node;return l});return i.map(function(a){var l=a.node,s=a.index;return{node:l,index:s,lockItem:o.indexOf(l)>=0,guard:z1(l)}})},EV=function(e){return e===document.activeElement},_V=function(e){return Boolean(Ln(e.querySelectorAll("iframe")).some(function(t){return EV(t)}))},$y=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:N1(e).reduce(function(r,n){return r||n.contains(t)||_V(n)},!1)},PV=function(){return document&&Ln(document.querySelectorAll("["+eV+"]")).some(function(e){return e.contains(document.activeElement)})},By=function(e){return e.tagName==="INPUT"&&e.type==="radio"},TV=function(e,t){return t.filter(By).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},Y1=function(e,t){return By(e)&&e.name?TV(e,t):e},MV=function(e){var t=new Set;return e.forEach(function(r){return t.add(Y1(r,e))}),e.filter(function(r){return t.has(r)})},Ny=function(e){return e[0]&&e.length>1?Y1(e[0],e):e[0]},zy=function(e,t){return e.length>1?e.indexOf(Y1(e[t],e)):t},Hy="NEW_FOCUS",OV=function(e,t,r,n){var i=e.length,o=e[0],a=e[i-1],l=z1(r);if(!(e.indexOf(r)>=0)){var s=t.indexOf(r),u=n?t.indexOf(n):s,c=n?e.indexOf(n):-1,p=s-u,f=t.indexOf(o),h=t.indexOf(a),m=MV(t),y=m.indexOf(r)-(n?m.indexOf(n):s),v=zy(e,0),g=zy(e,i-1);if(s===-1||c===-1)return Hy;if(!p&&c>=0)return c;if(s<=f&&l&&Math.abs(p)>1)return g;if(s>=h&&l&&Math.abs(p)>1)return v;if(p&&Math.abs(y)>1)return c;if(s<=f)return g;if(s>h)return v;if(p)return Math.abs(p)>1?c:(i+c+p)%i}},LV=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},AV=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(gV)},FV=function(e,t){var r=document&&document.activeElement,n=N1(e).filter(Pc),i=Vy(r||e,e,n),o=new Map,a=Ry(n,o),l=U1(n,o).filter(function(h){var m=h.node;return Pc(m)});if(!(!l[0]&&(l=a,!l[0]))){var s=Ry([i],o).map(function(h){var m=h.node;return m}),u=AV(s,l),c=u.map(function(h){var m=h.node;return m}),p=OV(c,s,r,t);if(p===Hy){var f=a.map(function(h){var m=h.node;return m}).filter(LV(SV(n,o)));return{node:f&&f.length?Ny(f):Ny(c)}}return p===void 0?p:u[p]}},IV=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},K1=0,q1=!1,DV=function(e,t){var r=FV(e,t);if(!q1&&r){if(K1>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),q1=!0,setTimeout(function(){q1=!1},1);return}K1++,IV(r.node),K1--}},jy=DV;function Wy(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var RV=function(){return document&&document.activeElement===document.body},VV=function(){return RV()||PV()},go=null,yo=null,bo=null,Ol=!1,$V=function(){return!0},BV=function(t){return(go.whiteList||$V)(t)},NV=function(t,r){bo={observerNode:t,portaledElement:r}},zV=function(t){return bo&&bo.portaledElement===t};function Uy(e,t,r,n){var i=null,o=e;do{var a=n[o];if(a.guard)a.node.dataset.focusAutoGuard&&(i=a);else if(a.lockItem){if(o!==e)return;i=null}else break}while((o+=r)!==t);i&&(i.node.tabIndex=0)}var HV=function(t){return t&&"current"in t?t.current:t},jV=function(t){return t?Boolean(Ol):Ol==="meanwhile"},Tc=function(){var t=!1;if(go){var r=go,n=r.observed,i=r.persistentFocus,o=r.autoFocus,a=r.shards,l=r.crossFrame,s=n||bo&&bo.portaledElement,u=document&&document.activeElement;if(s){var c=[s].concat(a.map(HV).filter(Boolean));if((!u||BV(u))&&(i||jV(l)||!VV()||!yo&&o)&&(s&&!($y(c)||zV(u))&&(document&&!yo&&u&&!o?(u.blur&&u.blur(),document.body.focus()):(t=jy(c,yo),bo={})),Ol=!1,yo=document&&document.activeElement),document){var p=document&&document.activeElement,f=kV(c),h=f.map(function(m){var y=m.node;return y}).indexOf(p);h>-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")}),Uy(h,f.length,1,f),Uy(h,-1,-1,f))}}}return t},Zy=function(t){Tc()&&t&&(t.stopPropagation(),t.preventDefault())},X1=function(){return Wy(Tc)},WV=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||NV(n,r)},UV=function(){return null},Gy=function(){Ol="just",setTimeout(function(){Ol="meanwhile"},0)},ZV=function(){document.addEventListener("focusin",Zy,!0),document.addEventListener("focusout",X1),window.addEventListener("blur",Gy)},GV=function(){document.removeEventListener("focusin",Zy,!0),document.removeEventListener("focusout",X1),window.removeEventListener("blur",Gy)};function YV(e){return e.filter(function(t){var r=t.disabled;return!r})}function KV(e){var t=e.slice(-1)[0];t&&!go&&ZV();var r=go,n=r&&t&&t.id===r.id;go=t,r&&!n&&(r.onDeactivation(),e.filter(function(i){var o=i.id;return o===r.id}).length||r.returnFocus(!t)),t?(yo=null,(!n||r.observed!==t.observed)&&t.onActivation(),Tc(),Wy(Tc)):(GV(),yo=null)}Oy.assignSyncMedium(WV),Ly.assignMedium(X1),oV.assignMedium(function(e){return e({moveFocusInside:jy,focusInside:$y})});var qV=fV(YV,KV)(UV),Yy=x.forwardRef(function(t,r){return x.createElement(Ay,Vn({sideCar:qV,ref:r},t))}),Ky=Ay.propTypes||{};Ky.sideCar,KR(Ky,["sideCar"]),Yy.propTypes={};var XV=Yy,QV=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,i=t.contentRef,o=t.restoreFocus,a=t.children,l=t.isDisabled,s=t.autoFocus,u=t.persistentFocus,c=t.lockFocusAcrossFrames,p=x.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(i!=null&&i.current){var m=Rb(i.current);m.length===0&&ki(i.current,{nextTick:!0})}},[r,i]),f=x.useCallback(function(){var m;n==null||(m=n.current)==null||m.focus()},[n]),h=o&&!n;return x.createElement(XV,{crossFrame:c,persistentFocus:u,autoFocus:s,disabled:l,onActivation:p,onDeactivation:f,returnFocus:h},a)};/*! *****************************************************************************
334
334
  Copyright (c) Microsoft Corporation.
335
335
 
336
336
  Permission to use, copy, modify, and/or distribute this software for any
@@ -343,12 +343,12 @@ 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 ho=function(){return ho=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},ho.apply(this,arguments)};function uI(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 pc="right-scroll-bar-position",hc="width-before-scroll-bar",cI="with-scroll-bars-hidden",dI="--removed-body-scroll-bar-size",py=U8(),E1=function(){},vc=C.forwardRef(function(e,t){var r=C.useRef(null),n=C.useState({onScrollCapture:E1,onWheelCapture:E1,onTouchMoveCapture:E1}),i=n[0],o=n[1],a=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,c=e.enabled,p=e.shards,f=e.sideCar,h=e.noIsolation,m=e.inert,y=e.allowPinchZoom,v=e.as,g=v===void 0?"div":v,b=uI(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=f,w=N8([r,t]),k=ho({},b,i);return C.createElement(C.Fragment,null,c&&C.createElement(x,{sideCar:py,removeScrollBar:u,shards:p,noIsolation:h,inert:m,setCallbacks:o,allowPinchZoom:!!y,lockRef:r}),a?C.cloneElement(C.Children.only(l),ho({},k,{ref:w})):C.createElement(g,ho({},k,{className:s,ref:w}),l))});vc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},vc.classNames={fullWidth:hc,zeroRight:pc};var fI=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function pI(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=fI();return t&&e.setAttribute("nonce",t),e}function hI(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function vI(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var mI=function(){var e=0,t=null;return{add:function(r){e==0&&(t=pI())&&(hI(t,r),vI(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},gI=function(){var e=mI();return function(t,r){C.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},hy=function(){var e=gI(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},yI={left:0,top:0,right:0,gap:0},P1=function(e){return parseInt(e||"",10)||0},bI=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[P1(r),P1(n),P1(i)]},xI=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return yI;var t=bI(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])}},wI=hy(),vo="data-scroll-locked",CI=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,l=e.gap;return r===void 0&&(r="margin"),`
347
- .`.concat(cI,` {
346
+ ***************************************************************************** */var xo=function(){return xo=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},xo.apply(this,arguments)};function JV(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 Mc="right-scroll-bar-position",Oc="width-before-scroll-bar",e$="with-scroll-bars-hidden",t$="--removed-body-scroll-bar-size",qy=Ty(),Q1=function(){},Lc=x.forwardRef(function(e,t){var r=x.useRef(null),n=x.useState({onScrollCapture:Q1,onWheelCapture:Q1,onTouchMoveCapture:Q1}),i=n[0],o=n[1],a=e.forwardProps,l=e.children,s=e.className,u=e.removeScrollBar,c=e.enabled,p=e.shards,f=e.sideCar,h=e.noIsolation,m=e.inert,y=e.allowPinchZoom,v=e.as,g=v===void 0?"div":v,b=JV(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=f,C=Ey([r,t]),k=xo({},b,i);return x.createElement(x.Fragment,null,c&&x.createElement(w,{sideCar:qy,removeScrollBar:u,shards:p,noIsolation:h,inert:m,setCallbacks:o,allowPinchZoom:!!y,lockRef:r}),a?x.cloneElement(x.Children.only(l),xo({},k,{ref:C})):x.createElement(g,xo({},k,{className:s,ref:C}),l))});Lc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Lc.classNames={fullWidth:Oc,zeroRight:Mc};var r$=function(){if(typeof __webpack_nonce__!="undefined")return __webpack_nonce__};function n$(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=r$();return t&&e.setAttribute("nonce",t),e}function i$(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o$(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var a$=function(){var e=0,t=null;return{add:function(r){e==0&&(t=n$())&&(i$(t,r),o$(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},l$=function(){var e=a$();return function(t,r){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Xy=function(){var e=l$(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},s$={left:0,top:0,right:0,gap:0},J1=function(e){return parseInt(e||"",10)||0},u$=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[J1(r),J1(n),J1(i)]},c$=function(e){if(e===void 0&&(e="margin"),typeof window=="undefined")return s$;var t=u$(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])}},d$=Xy(),wo="data-scroll-locked",f$=function(e,t,r,n){var i=e.left,o=e.top,a=e.right,l=e.gap;return r===void 0&&(r="margin"),`
347
+ .`.concat(e$,` {
348
348
  overflow: hidden `).concat(n,`;
349
349
  padding-right: `).concat(l,"px ").concat(n,`;
350
350
  }
351
- body[`).concat(vo,`] {
351
+ body[`).concat(wo,`] {
352
352
  overflow: hidden `).concat(n,`;
353
353
  overscroll-behavior: contain;
354
354
  `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
@@ -361,29 +361,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
361
361
  `),r==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),`
362
362
  }
363
363
 
364
- .`).concat(pc,` {
364
+ .`).concat(Mc,` {
365
365
  right: `).concat(l,"px ").concat(n,`;
366
366
  }
367
367
 
368
- .`).concat(hc,` {
368
+ .`).concat(Oc,` {
369
369
  margin-right: `).concat(l,"px ").concat(n,`;
370
370
  }
371
371
 
372
- .`).concat(pc," .").concat(pc,` {
372
+ .`).concat(Mc," .").concat(Mc,` {
373
373
  right: 0 `).concat(n,`;
374
374
  }
375
375
 
376
- .`).concat(hc," .").concat(hc,` {
376
+ .`).concat(Oc," .").concat(Oc,` {
377
377
  margin-right: 0 `).concat(n,`;
378
378
  }
379
379
 
380
- body[`).concat(vo,`] {
381
- `).concat(dI,": ").concat(l,`px;
380
+ body[`).concat(wo,`] {
381
+ `).concat(t$,": ").concat(l,`px;
382
382
  }
383
- `)},vy=function(){var e=parseInt(document.body.getAttribute(vo)||"0",10);return isFinite(e)?e:0},SI=function(){C.useEffect(function(){return document.body.setAttribute(vo,(vy()+1).toString()),function(){var e=vy()-1;e<=0?document.body.removeAttribute(vo):document.body.setAttribute(vo,e.toString())}},[])},kI=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;SI();var o=C.useMemo(function(){return xI(i)},[i]);return C.createElement(wI,{styles:CI(o,!t,i,r?"":"!important")})},EI=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},PI=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},my=function(e,t){var r=t;do{var n=gy(e,r);if(n){var i=yy(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},TI=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},_I=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},gy=function(e,t){return e==="v"?EI(t):PI(t)},yy=function(e,t){return e==="v"?TI(t):_I(t)},MI=function(e,t,r,n,i){var o=n,a=r.target,l=t.contains(a),s=!1,u=o>0,c=0,p=0;do{var f=yy(e,a),h=f[0],m=f[1],y=f[2],v=m-y-h;(h||v)&&gy(e,a)&&(c+=v,p+=h),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(i&&c===0||!i&&o>c)||!u&&(i&&p===0||!i&&-o>p))&&(s=!0),s},T1=!1;if(typeof window!="undefined")try{var mc=Object.defineProperty({},"passive",{get:function(){return T1=!0,!0}});window.addEventListener("test",mc,mc),window.removeEventListener("test",mc,mc)}catch{T1=!1}var mo=T1?{passive:!1}:!1,gc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},by=function(e){return[e.deltaX,e.deltaY]},xy=function(e){return e&&"current"in e?e.current:e},LI=function(e,t){return e[0]===t[0]&&e[1]===t[1]},AI=function(e){return`
383
+ `)},Qy=function(){var e=parseInt(document.body.getAttribute(wo)||"0",10);return isFinite(e)?e:0},p$=function(){x.useEffect(function(){return document.body.setAttribute(wo,(Qy()+1).toString()),function(){var e=Qy()-1;e<=0?document.body.removeAttribute(wo):document.body.setAttribute(wo,e.toString())}},[])},h$=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;p$();var o=x.useMemo(function(){return c$(i)},[i]);return x.createElement(d$,{styles:f$(o,!t,i,r?"":"!important")})},v$=function(e){var t=window.getComputedStyle(e);return t.overflowY!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowY==="visible")},m$=function(e){var t=window.getComputedStyle(e);return t.overflowX!=="hidden"&&!(t.overflowY===t.overflowX&&t.overflowX==="visible")},Jy=function(e,t){var r=t;do{var n=e6(e,r);if(n){var i=t6(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},g$=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},y$=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},e6=function(e,t){return e==="v"?v$(t):m$(t)},t6=function(e,t){return e==="v"?g$(t):y$(t)},b$=function(e,t,r,n,i){var o=n,a=r.target,l=t.contains(a),s=!1,u=o>0,c=0,p=0;do{var f=t6(e,a),h=f[0],m=f[1],y=f[2],v=m-y-h;(h||v)&&e6(e,a)&&(c+=v,p+=h),a=a.parentNode}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(u&&(i&&c===0||!i&&o>c)||!u&&(i&&p===0||!i&&-o>p))&&(s=!0),s},eh=!1;if(typeof window!="undefined")try{var Ac=Object.defineProperty({},"passive",{get:function(){return eh=!0,!0}});window.addEventListener("test",Ac,Ac),window.removeEventListener("test",Ac,Ac)}catch{eh=!1}var Co=eh?{passive:!1}:!1,Fc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},r6=function(e){return[e.deltaX,e.deltaY]},n6=function(e){return e&&"current"in e?e.current:e},x$=function(e,t){return e[0]===t[0]&&e[1]===t[1]},w$=function(e){return`
384
384
  .block-interactivity-`+e+` {pointer-events: none;}
385
385
  .allow-interactivity-`+e+` {pointer-events: all;}
386
- `},OI=0,go=[];function FI(e){var t=C.useRef([]),r=C.useRef([0,0]),n=C.useRef(),i=C.useState(OI++)[0],o=C.useState(function(){return hy()})[0],a=C.useRef(e);C.useEffect(function(){a.current=e},[e]),C.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(xy)).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=C.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!a.current.allowPinchZoom;var g=gc(y),b=r.current,x="deltaX"in y?y.deltaX:b[0]-g[0],w="deltaY"in y?y.deltaY:b[1]-g[1],k,E=y.target,P=Math.abs(x)>Math.abs(w)?"h":"v",L=my(P,E);if(!L)return!0;if(L?k=P:(k=P==="v"?"h":"v",L=my(P,E)),!L)return!1;if(!n.current&&"changedTouches"in y&&(x||w)&&(n.current=k),!k)return!0;var M=n.current||k;return MI(M,v,y,M==="h"?x:w,!0)},[]),s=C.useCallback(function(y){var v=y;if(!(!go.length||go[go.length-1]!==o)){var g="deltaY"in v?by(v):gc(v),b=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&LI(k.delta,g)})[0];if(b&&b.should){v.preventDefault();return}if(!b){var x=(a.current.shards||[]).map(xy).filter(Boolean).filter(function(k){return k.contains(v.target)}),w=x.length>0?l(v,x[0]):!a.current.noIsolation;w&&v.preventDefault()}}},[]),u=C.useCallback(function(y,v,g,b){var x={name:y,delta:v,target:g,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),c=C.useCallback(function(y){r.current=gc(y),n.current=void 0},[]),p=C.useCallback(function(y){u(y.type,by(y),y.target,l(y,e.lockRef.current))},[]),f=C.useCallback(function(y){u(y.type,gc(y),y.target,l(y,e.lockRef.current))},[]);C.useEffect(function(){return go.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",s,mo),document.addEventListener("touchmove",s,mo),document.addEventListener("touchstart",c,mo),function(){go=go.filter(function(y){return y!==o}),document.removeEventListener("wheel",s,mo),document.removeEventListener("touchmove",s,mo),document.removeEventListener("touchstart",c,mo)}},[]);var h=e.removeScrollBar,m=e.inert;return C.createElement(C.Fragment,null,m?C.createElement(o,{styles:AI(i)}):null,h?C.createElement(kI,{gapMode:"margin"}):null)}var RI=hV(py,FI),wy=C.forwardRef(function(e,t){return C.createElement(vc,ho({},e,{ref:t,sideCar:RI}))});wy.classNames=vc.classNames;var VI=wy,II=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},yo=new WeakMap,yc=new WeakMap,bc={},_1=0,Cy=function(e){return e&&(e.host||Cy(e.parentNode))},BI=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Cy(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},$I=function(e,t,r,n){var i=BI(t,Array.isArray(e)?e:[e]);bc[r]||(bc[r]=new WeakMap);var o=bc[r],a=[],l=new Set,s=new Set(i),u=function(p){!p||l.has(p)||(l.add(p),u(p.parentNode))};i.forEach(u);var c=function(p){!p||s.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))c(f);else try{var h=f.getAttribute(n),m=h!==null&&h!=="false",y=(yo.get(f)||0)+1,v=(o.get(f)||0)+1;yo.set(f,y),o.set(f,v),a.push(f),y===1&&m&&yc.set(f,!0),v===1&&f.setAttribute(r,"true"),m||f.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return c(t),l.clear(),_1++,function(){a.forEach(function(p){var f=yo.get(p)-1,h=o.get(p)-1;yo.set(p,f),o.set(p,h),f||(yc.has(p)||p.removeAttribute(n),yc.delete(p)),h||p.removeAttribute(r)}),_1--,_1||(yo=new WeakMap,yo=new WeakMap,yc=new WeakMap,bc={})}},DI=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||II(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),$I(n,i,r,"aria-hidden")):function(){return null}};function kn(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function ke(){return ke=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},ke.apply(this,arguments)}var zI=["preset"],HI={slideInBottom:ke({},i8,{custom:{offsetY:16,reverse:!0}}),slideInRight:ke({},i8,{custom:{offsetX:16,reverse:!0}}),scale:ke({},qO,{custom:{initialScale:.95,reverse:!0}}),none:{}},NI=re(nc.section),jI=C.forwardRef(function(e,t){var r=e.preset,n=kn(e,zI),i=HI[r];return C.createElement(NI,ke({ref:t},i,n))}),WI=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}(),M1=new WI;function UI(e,t){O.useEffect(function(){return t&&M1.add(e),function(){M1.remove(e)}},[t,e])}function ZI(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,p=e.onEsc,f=O.useRef(null),h=O.useRef(null),m=J7(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],g=m[2];GI(f,t&&u),UI(f,t);var b=O.useRef(null),x=O.useCallback(function(X){b.current=X.target},[]),w=O.useCallback(function(X){X.key==="Escape"&&(X.stopPropagation(),l&&(r==null||r()),p==null||p())},[l,r,p]),k=O.useState(!1),E=k[0],P=k[1],L=O.useState(!1),M=L[0],B=L[1],G=O.useCallback(function(X,K){return X===void 0&&(X={}),K===void 0&&(K=null),ke({role:"dialog"},X,{ref:Oo(K,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":E?v:void 0,"aria-describedby":M?g:void 0,onClick:Yt(X.onClick,function(ne){return ne.stopPropagation()})})},[g,M,y,v,E]),U=O.useCallback(function(X){X.stopPropagation(),b.current===X.target&&(!M1.isTopModal(f)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),Z=O.useCallback(function(X,K){return X===void 0&&(X={}),K===void 0&&(K=null),ke({},X,{ref:Oo(K,h),onClick:Yt(X.onClick,U),onKeyDown:Yt(X.onKeyDown,w),onMouseDown:Yt(X.onMouseDown,x)})},[w,x,U]);return{isOpen:t,onClose:r,headerId:v,bodyId:g,setBodyMounted:B,setHeaderMounted:P,dialogRef:f,overlayRef:h,getDialogProps:G,getDialogContainerProps:Z}}function GI(e,t){var r=e.current;O.useEffect(function(){if(!(!e.current||!t))return DI(e.current)},[t,e,r])}var qI=["className","children","containerProps"],YI=["className","transition"],XI=["className"],KI=["className"],QI=["className"],JI=["onClick","className"],Sy=On({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),eB=Sy[0],En=Sy[1],Cl=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,p=t.preserveScrollBarGap,f=t.motionPreset,h=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=Z5("Modal",t),v=ZI(t),g=ke({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:p,motionPreset:f,lockFocusAcrossFrames:h});return C.createElement(eB,{value:g},C.createElement(Uw,{value:y},C.createElement(Wp,{onExitComplete:m},g.isOpen&&C.createElement(_a,r,n))))};Cl.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},wr&&(Cl.displayName="Modal");var tB=re(nc.div),L1=Le(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=kn(e,qI),a=En(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),p=Ne("chakra-modal__content",r),f=qn(),h=ke({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=ke({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=En(),v=y.motionPreset;return C.createElement(ky,null,C.createElement(re.div,ke({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),C.createElement(jI,ke({preset:v,className:p},u,{__css:h}),n)))});wr&&(L1.displayName="ModalContent");function ky(e){var t=En(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,p=t.lockFocusAcrossFrames,f=Rp(),h=f[0],m=f[1];return C.useEffect(function(){!h&&m&&setTimeout(m)},[h,m]),C.createElement(sI,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:p},C.createElement(VI,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var A1=Le(function(e,t){var r=e.className;e.transition;var n=kn(e,YI),i=Ne("chakra-modal__overlay",r),o=qn(),a=ke({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=En(),s=l.motionPreset,u=s==="none"?{}:ZO;return C.createElement(tB,ke({},u,{__css:a,ref:t,className:i},n))});wr&&(A1.displayName="ModalOverlay");var O1=Le(function(e,t){var r=e.className,n=kn(e,XI),i=En(),o=i.headerId,a=i.setHeaderMounted;C.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ne("chakra-modal__header",r),s=qn(),u=ke({flex:0},s.header);return C.createElement(re.header,ke({ref:t,className:l,id:o},n,{__css:u}))});wr&&(O1.displayName="ModalHeader");var F1=Le(function(e,t){var r=e.className,n=kn(e,KI),i=En(),o=i.bodyId,a=i.setBodyMounted;C.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ne("chakra-modal__body",r),s=qn();return C.createElement(re.div,ke({ref:t,className:l,id:o},n,{__css:s.body}))});wr&&(F1.displayName="ModalBody");var R1=Le(function(e,t){var r=e.className,n=kn(e,QI),i=Ne("chakra-modal__footer",r),o=qn(),a=ke({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return C.createElement(re.footer,ke({ref:t},n,{__css:a,className:i}))});wr&&(R1.displayName="ModalFooter");var Ey=Le(function(e,t){var r=e.onClick,n=e.className,i=kn(e,JI),o=En(),a=o.onClose,l=Ne("chakra-modal__close-btn",n),s=qn();return C.createElement(mF,ke({ref:t,__css:s.closeButton,className:l,onClick:Yt(r,function(u){u.stopPropagation(),a()})},i))});wr&&(Ey.displayName="ModalCloseButton");var rB=["className","children"],nB=On(),iB=nB[1],oB=re(KO),aB=Le(function(e,t){var r=e.className,n=e.children,i=kn(e,rB),o=En(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),p=Ne("chakra-modal__content",r),f=qn(),h=ke({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=ke({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},f.dialogContainer),y=iB(),v=y.placement;return C.createElement(re.div,ke({},c,{className:"chakra-modal__content-container",__css:m}),C.createElement(ky,null,C.createElement(oB,ke({direction:v,in:s,className:p},u,{__css:h}),n)))});wr&&(aB.displayName="DrawerContent");function Py(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function bo(){return bo=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},bo.apply(this,arguments)}var lB=gi({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),sB=gi({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});gi({"0%":{left:"-40%"},"100%":{left:"100%"}}),gi({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function uB(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=G7(r,n,i),u=function(){if(r!=null)return Hr(a)?a(r,s):o};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 cB=["size","isIndeterminate"],dB=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],Ty=function(t){return C.createElement(re.circle,bo({cx:50,cy:50,r:42,fill:"transparent"},t))},fB=function(t){var r=t.size,n=t.isIndeterminate,i=Py(t,cB);return C.createElement(re.svg,bo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?sB+" 2s linear infinite":void 0}},i))},pB=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,p=t.value,f=t.capIsRound,h=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,g=v===void 0?"#0078d4":v,b=t.trackColor,x=b===void 0?"#edebe9":b,w=t.isIndeterminate,k=Py(t,dB),E=uB({min:s,max:a,value:p,valueText:u,getValueText:c,isIndeterminate:w}),P=w?void 0:((r=E.percent)!=null?r:0)*2.64,L=x7(P)?void 0:P+" "+(264-P),M=w?{css:{animation:lB+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:L,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},B={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return C.createElement(re.div,bo({className:"chakra-progress"},E.bind,k,{__css:B}),C.createElement(fB,{size:i,isIndeterminate:w},C.createElement(Ty,{stroke:x,strokeWidth:y,className:"chakra-progress__track"}),C.createElement(Ty,bo({stroke:g,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:E.value===0&&!w?0:void 0},M))),h)};re("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function ir(){return ir=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},ir.apply(this,arguments)}function _y(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var hB={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},vB=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function mB(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,p=t.onOpen,f=t.onClose,h=t.placement,m=t.id,y=t.isOpen,v=t.defaultIsOpen,g=t.arrowSize,b=g===void 0?10:g,x=t.arrowShadowColor,w=t.arrowPadding,k=t.modifiers,E=t.isDisabled,P=t.gutter,L=t.offset,M=t.direction,B=_y(t,vB),G=yv({isOpen:y,defaultIsOpen:v,onOpen:p,onClose:f}),U=G.isOpen,Z=G.onOpen,X=G.onClose,K=nV({enabled:U,placement:h,arrowPadding:w,modifiers:k,gutter:P,offset:L,direction:M}),ne=K.referenceRef,ie=K.getPopperProps,Be=K.getArrowInnerProps,be=K.getArrowProps,$e=od(m,"tooltip"),F=C.useRef(null),H=C.useRef(),I=C.useRef(),$=C.useCallback(function(){E||(H.current=window.setTimeout(Z,n))},[E,Z,n]),N=C.useCallback(function(){H.current&&clearTimeout(H.current),I.current=window.setTimeout(X,o)},[o,X]),te=C.useCallback(function(){l&&N()},[l,N]),ve=C.useCallback(function(){s&&N()},[s,N]),xe=C.useCallback(function(Ee){U&&Ee.key==="Escape"&&N()},[U,N]);mv("keydown",c?xe:void 0),C.useEffect(function(){return function(){clearTimeout(H.current),clearTimeout(I.current)}},[]),mv("mouseleave",N,function(){return F.current});var Ue=C.useCallback(function(Ee,ut){Ee===void 0&&(Ee={}),ut===void 0&&(ut=null);var Ut=ir({},Ee,{ref:Oo(F,ut,ne),onMouseEnter:Yt(Ee.onMouseEnter,$),onClick:Yt(Ee.onClick,te),onMouseDown:Yt(Ee.onMouseDown,ve),onFocus:Yt(Ee.onFocus,$),onBlur:Yt(Ee.onBlur,N),"aria-describedby":U?$e:void 0});return Ut},[$,N,ve,U,$e,te,ne]),si=C.useCallback(function(Ee,ut){var Ut;return Ee===void 0&&(Ee={}),ut===void 0&&(ut=null),ie(ir({},Ee,{style:ir({},Ee.style,(Ut={},Ut[rt.arrowSize.var]=b?ts(b):void 0,Ut[rt.arrowShadowColor.var]=x,Ut))}),ut)},[ie,b,x]),_n=C.useCallback(function(Ee,ut){Ee===void 0&&(Ee={}),ut===void 0&&(ut=null);var Ut=ir({ref:ut},B,Ee,{id:$e,role:"tooltip",style:ir({},Ee.style,{position:"relative",transformOrigin:rt.transformOrigin.varRef})});return Ut},[B,$e]);return{isOpen:U,show:$,hide:N,getTriggerProps:Ue,getTooltipProps:_n,getTooltipPositionerProps:si,getArrowProps:be,getArrowInnerProps:Be}}var gB=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],yB=re(nc.div),bB=Le(function(e,t){var r,n,i=fn("Tooltip",e),o=dn(e),a=W5(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],p=o.hasArrow,f=o.bg,h=o.portalProps,m=o.background,y=o.backgroundColor,v=o.bgColor,g=_y(o,gB),b=(r=(n=m!=null?m:y)!=null?n:f)!=null?r:v;b&&(i.bg=b,i[rt.arrowBg.var]=k7(a,"colors",b));var x=mB(ir({},g,{direction:a.direction})),w=Kl(l)||u,k;if(w)k=C.createElement(re.span,ir({tabIndex:0},x.getTriggerProps()),l);else{var E=C.Children.only(l);k=C.cloneElement(E,x.getTriggerProps(E.props,E.ref))}var P=!!c,L=x.getTooltipProps({},t),M=P?Ql(L,["role","id"]):L,B=iv(L,["role","id"]);return s?C.createElement(C.Fragment,null,k,C.createElement(Wp,null,x.isOpen&&C.createElement(_a,h,C.createElement(re.div,ir({},x.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),C.createElement(yB,ir({variants:hB},M,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,P&&C.createElement(s8,B,c),p&&C.createElement(re.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},C.createElement(re.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):C.createElement(C.Fragment,null,l)}),xB=rC;xB.defaultProps={theme:Sg};function wB(){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 KT(i)&&n.length>1?n=n.slice(0,n.length-1):i=Sg,N7.apply(void 0,n.map(function(o){return function(a){return Hr(o)?o(a):CB(a,o)}}))(i)}function CB(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Ot.apply(void 0,[{}].concat(t,[My]))}function My(e,t,r,n){if((Hr(e)||Hr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=Hr(e)?e.apply(void 0,arguments):e,o=Hr(t)?t.apply(void 0,arguments):t;return Ot({},i,o,My)}}const xc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},ai={main:xc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:xc.deepSkyBlue,veryLightBlue:xc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:xc.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"}},SB={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"}})},Sl="solid .063rem",kB={borders:{normal:`${Sl} ${ai.neutral.darkCharcoal}`,light:`${Sl} ${ai.neutral.platinum}`,active:`${Sl} ${ai.main.deepSkyBlue}`,success:`${Sl} ${ai.alert.jadeGreen}`,error:`${Sl} ${ai.alert.red}`,white:`solid .125rem ${ai.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 vz="",mz="",gz="",yz="",bz="";const EB=wB({colors:ai,...kB,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:SB}),V=e=>`var(--chakra-${e})`;function kl({children:e,bg:t=V("colors-icon-ripeMango"),color:r=V("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return d(ee,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function Ly({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),d(pB,{size:"1rem",value:t,thickness:"1rem",color:V("colors-main-deepSkyBlue"),trackColor:V("colors-neutral-platinum")})}var PB=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 o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},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)}}(),xo=globalThis&&globalThis.__assign||function(){return xo=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},xo.apply(this,arguments)},TB=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},_B={position:"relative",display:"inline-flex",overflow:"hidden"},MB=function(e){e===void 0&&(e={});var t;return t=function(r){PB(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var p=a.pageX,f=a.pageY,h=a.currentTarget,m=h.getBoundingClientRect(),y=p-(m.left+window.scrollX),v=f-(m.top+window.scrollY),g=Math.max(m.width,m.height);o.setState(function(b){return{rippleStyle:xo({},b.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(b){return{rippleStyle:xo({},b.rippleStyle,{opacity:0,transform:"scale("+g/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=TB(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return zr.default.createElement("div",xo({},l,{className:("react-ripples "+a).trim(),style:_B,onClick:this.onClick}),o,zr.default.createElement("s",{style:s}))},n}(zr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:cc.number,color:cc.string,onClick:cc.func,className:cc.string},t.defaultProps=xo({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},V1=globalThis&&globalThis.__assign||function(){return V1=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},V1.apply(this,arguments)},LB=function(e){return function(t){return zr.default.createElement(e,V1({},t))}},Ay=LB(MB());function wo({children:e,color:t="rgba(204,204,204,0.2)"}){return d(Ay,{during:1e3,color:t,children:d(ee,{children:e})})}function le({w:e="1rem",h:t="1rem",color:r=V("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return D(Fe,{w:e,h:t,viewBox:i,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[D("title",{children:["icon",a&&`-${a}`]}),o]})}function I1(e){return D(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[d("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"}),d("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),d("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}I1.displayName="AcademicRecord";function B1(e){return d(le,{...e,children:D("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})})}B1.displayName="ArrowRight";function Ie(){return Math.random().toString(36).slice(2,9)}function $1(e){const t=`clip-${Ie()}`;return D(le,{...e,children:[D("g",{clipPath:`url(#${t})`,children:[d("mask",{id:`mask-${t}`,style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:d("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),d("g",{mask:`url(#mask-${t})`,children:d("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),d("defs",{children:d("clipPath",{id:t,children:d("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}$1.displayName="ArrowRight";function D1(e){return D(le,{...e,children:[d("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),d("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"})]})}D1.displayName="Certificate";function z1(e){return d(le,{...e,children:d("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"})})}z1.displayName="CircularCheck";function wc(e){return d(le,{...e,children:d("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"})})}wc.displayName="CircularInformation";function Cc(e){return D(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[d("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),d("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}Cc.displayName="Download";function H1(e){return d(le,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:d("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}H1.displayName="GoAhead";function N1(e){return d(le,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:d("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}N1.displayName="GoBack";function j1(e){return D(le,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[d("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"}),d("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"}),d("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"}),d("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"})]})}j1.displayName="Multimedia";function Oy({fill:e="#fff"}){return d("div",{className:"loaderAsync","data-testid":"loaderAsync",children:D("svg",{id:Ie(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[d("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}}"}}),d("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),d("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),d("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 W1(e){return d(le,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:d("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"})})}W1.displayName="Profile";function U1(e){return D(le,{...e,children:[d("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"}),d("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),d("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),d("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),d("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),d("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),d("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}U1.displayName="Schedule";function Z1(e){return D(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),d("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),d("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"})]})}Z1.displayName="TinyAlertInfo";function G1(e){const t=`clip${Ie()}`;return D(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[D("g",{clipPath:`url(#${t})`,children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),d("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"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"12px",height:"12px",fill:"white"})})})]})}G1.displayName="TinyAlertError";function q1(e){return D(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),d("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),d("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"})]})}q1.displayName="TinyAlertWarning";function Y1(e){const t=`clip${Ie()}`;return D(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[D("g",{clipPath:`url(#${t})`,children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),d("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"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"12",height:"12",fill:"white"})})})]})}Y1.displayName="TinyAlertSuccess";function X1(e){return d(le,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}X1.displayName="Password";function K1(e){return D(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[d("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"}),d("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"})]})}K1.displayName="Pen";function Q1(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:d("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"})})}Q1.displayName="PlusSign";function J1(e){return D(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[d("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),d("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}J1.displayName="TrashCan";function eh(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:d("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"})})}eh.displayName="TextBubble";function th(e){return d(le,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:D("svg",{fill:"none",children:[d("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),d("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}th.displayName="ErrorWhite";function rh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:D("svg",{fill:"none",children:[d("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),d("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),d("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),d("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),d("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),d("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}rh.displayName="InfoWhite";function nh(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:D("svg",{fill:"none",children:[d("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),d("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),d("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),d("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),d("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}nh.displayName="SuccessWhite";function ih(e){return d(le,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:D("svg",{fill:"none",children:[d("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),d("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}ih.displayName="WarningWhite";function oh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:D("svg",{fill:"none",children:[d("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),d("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),d("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),d("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),d("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}oh.displayName="ErrorColor";function ah(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:D("svg",{fill:"none",children:[d("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),d("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),d("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}ah.displayName="InfoColor";function lh(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:D("svg",{fill:"none",children:[d("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),d("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),d("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),d("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),d("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}lh.displayName="SuccessColor";function sh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:D("svg",{fill:"none",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})})}sh.displayName="WarningColor";function uh(e){return d(le,{...e,title:"close",children:d("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:d("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}uh.displayName="Close";function ch(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:d("path",{d:"M9.207 5.793L3 12L4.414 13.414L10.621 7.207L13.414 10V3H6.414L9.207 5.793Z",fill:"#0189FF"})})}ch.displayName="Download";var AB=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:I1,AlertInfo:B1,ArrowRight:$1,Certificate:D1,CircularCheck:z1,CircularInformation:wc,Download:Cc,GoAhead:H1,GoBack:N1,Multimedia:j1,Loader:Oy,Profile:W1,Schedule:U1,TinyAlertInfo:Z1,TinyAlertError:G1,TinyAlertWarning:q1,TinyAlertSuccess:Y1,Password:X1,Pen:K1,PlusSign:Q1,TrashCan:J1,TextBubble:eh,ErrorWhite:th,InfoWhite:rh,SuccessWhite:nh,WarningWhite:ih,ErrorColor:oh,InfoColor:ah,SuccessColor:lh,WarningColor:sh,Close:uh,DiagonalArrow:ch},Symbol.toStringTag,{value:"Module"}));function Fy({status:e,text:t,margin:r="0"}){const n={success:{icon:d(Y1,{}),text:"Success",bg:V("colors-alert-ice"),color:V("colors-neutral-darkCharcoal")},error:{icon:d(G1,{}),text:"Error",bg:V("colors-alert-veryLightPinkThree"),color:V("colors-neutral-darkCharcoal")},info:{icon:d(Z1,{}),text:"Info",bg:V("colors-alert-veryLightBlue"),color:V("colors-neutral-darkCharcoal")},warning:{icon:d(q1,{}),text:"Warning",bg:V("colors-alert-pale"),color:V("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:V("colors-main-blueGrey"),color:V("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:V("colors-main-ziggurat"),color:V("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:V("colors-neutral-cultured"),color:V("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:V("colors-neutral-white")}};return n[e]?D(ee,{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&&d(ee,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),d(ee,{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}Fy.displayName="TinyAlert";function Sc({ariaLabel:e,bg:t,borderColorActive:r=[V("colors-main-deepSkyBlue"),V("colors-neutral-white")],children:n,color:i=V("colors-neutral-white"),disabled:o=!1,fillLoader:a=V("colors-neutral-white"),id:l=void 0,isFullWidth:s=!1,isLoading:u=!1,leftIcon:c,m:p="0",onClick:f,rightIcon:h,role:m="button",rounded:y=!1,size:v="regular",touchDark:g=!1,type:b="button",tabIndex:x=0}){var B,G,U;let w=n!=null?n:null;!n&&!h&&!c&&(w="Button");const k=".75rem",E=y?"12px":V("radii-small"),P=(B=t==null?void 0:t.main)!=null?B:V("colors-main-deepSkyBlue"),L=g?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",M=!n&&(h!=null?h:c)?"onlyIcon":"";return d(ee,{margin:p,sx:{".react-ripples":{borderRadius:E,display:`${s?"grid":"inline-flex!important"}`}},children:d(Ay,{color:L,children:d(qp,{"aria-label":e,id:l,role:m,bg:P,borderRadius:E,color:i,className:M,disabled:o&&u?!1:o,fontWeight:"500",fontSize:v==="regular"?"medium":"small",height:"auto",iconSpacing:V("space-xs"),isActive:!1,isLoading:u,isFullWidth:s,lineHeight:"initial",leftIcon:c,minHeight:v==="regular"?"2.813rem":"2rem",minWidth:v==="regular"?"9rem":"auto",onClick:Z=>{!u&&!o&&(f==null||f(Z))},position:"relative",paddingTop:v==="regular"?k:V(M?"space-xs":"space-xxs"),paddingBottom:v==="regular"?k:V(M?"space-xs":"space-xxs"),paddingLeft:V(v==="regular"?"space-s":"space-xs"),paddingRight:V(v==="regular"?"space-s":"space-xs"),rightIcon:h,type:b,size:v==="regular"?"md":"sm",spinner:d(Oy,{fill:a}),tabIndex:o||u?-1:x,_active:{bg:(G=t==null?void 0:t.main)!=null?G:V("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(U=t==null?void 0:t.hover)!=null?U:V("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:w})})})}Sc.displayName="Btn";function dh({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:p="button",tabIndex:f,id:h}){return d(Sc,{ariaLabel:e,id:h,disabled:r,isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,type:p,tabIndex:f,children:t})}dh.displayName="BtnPrimary";function Ry({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:p="button",tabIndex:f,id:h}){return d(Sc,{ariaLabel:e,id:h,bg:{main:V("colors-main-veryLightBlue"),hover:V("colors-main-linkWater")},borderColorActive:[V("colors-main-deepSkyBlue"),V("colors-neutral-white")],color:V("colors-main-deepSkyBlue"),disabled:r,fillLoader:V("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,touchDark:!0,type:p,tabIndex:f,children:t})}Ry.displayName="BtnSecondary";function Vy({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:i="multimedia",iconCustom:o,m:a="0",onClick:l,onMouseEnter:s,onMouseLeave:u,rightIcon:c,role:p="button",type:f="button",tabIndex:h,withoutColor:m=!1}){const y=V("colors-neutral-gray"),v=V("colors-main-deepSkyBlue"),g=V("colors-neutral-white"),b=m?V("colors-main-blueGrey"):v,x={ahead:d(H1,{color:b}),answer:d(eh,{color:b}),back:d(N1,{color:b}),delete:d(J1,{color:b}),download:d(Cc,{color:b}),edit:d(K1,{color:b}),more:d(Q1,{color:b}),multimedia:d(j1,{color:b}),password:d(X1,{color:b}),record:d(I1,{color:b}),noIcon:d(Zi,{})};let w;return x[i]&&i!=="noIcon"&&(w=x[i]),o&&(w=o),d(qp,{"aria-label":e,id:n,role:p,type:f,tabIndex:h,background:"transparent",borderRadius:"12px",color:y,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:c?void 0:w,rightIcon:c?w:void 0,m:a,onClick:l,onMouseEnter:s,onMouseLeave:u,paddingTop:V("space-xxs"),paddingBottom:V("space-xxs"),paddingLeft:V("space-xs"),paddingRight:V("space-xs"),textDecorationLine:"underline",_hover:{color:`${v}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${v}, inset 0 0 0 4px ${g}`},_focus:{color:t?`${v} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0}},children:r})}Vy.displayName="BtnTertiary";function El({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:i="",id:o,m:a="0",onClick:l,role:s="link",tabIndex:u,textDecorationLine:c=!0}){const p={button:{onClick:l},a:{href:i,target:"_blank"}};return d(ee,{as:e,"aria-label":t,id:o,role:s,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:V("colors-main-deepSkyBlue"),fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:n,lineHeight:"1rem",onClick:l,padding:".25em",tabIndex:u,textDecorationLine:c?"underline":"none",width:"fit-content",m:a,_hover:{color:V("colors-neutral-darkCharcoal"),cursor:"pointer"},...p[e],children:r})}El.displayName="BtnLink";const OB=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l,sx:s})=>d(bB,{isOpen:l,sx:{bg:V("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${V("colors-neutral-darkCharcoal")} !important`},...s},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:d("span",{children:e})});function FB(e){return d(le,{...e,children:d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}function RB(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return d(ee,{as:"button",alignItems:"center",bg:V("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:d(FB,{})})}function VB(){var r;const e="userwayData",t=(r=document.cookie.split("; ").find(n=>n.startsWith(`${e}=`)))==null?void 0:r.split("=")[1];if(t)try{const n=JSON.parse(decodeURIComponent(t));for(const[i,o]of Object.entries(n))localStorage.setItem(i,o);console.log("UserWay data restored to localStorage:",n)}catch(n){console.error("Error parsing UserWay data from cookie:",n)}window.addEventListener("beforeunload",()=>{const n={};for(const a in localStorage)a.startsWith("userway-")&&(n[a]=localStorage.getItem(a));const i=JSON.stringify(n),o=new Date;o.setTime(o.getTime()+24*60*60*1e3),document.cookie=`${e}=${encodeURIComponent(i)};expires=${o.toUTCString()};path=/`})}const IB=4;function Iy(){var a;const{background:e,labels:t,logo:r,logoAlt:n,Profile:i,soonCourse:o}=C.useContext(kc);return D(ee,{as:"header",height:"8.75rem",borderBottom:V("borders-light"),pos:"relative",_before:{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:`url(${e!=null?e:""})`,backgroundSize:"cover",backgroundPosition:"center",opacity:(a=o==null?void 0:o.show)!=null&&a?.3:1,zIndex:0},children:[D(ee,{p:"1rem",display:"flex",gap:"0.625rem",position:"absolute",zIndex:2,children:[(i==null?void 0:i.id)!==IB&&d(kl,{bg:V("colors-neutral-white"),m:"0 0 .625rem 0",children:D(fl,{children:[d(W1,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&d(Xp,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:t.map((l,s)=>d(kl,{bg:l.id==="NEW"?V("colors-secondary-pumpkin"):void 0,children:l.text},s))}),(o==null?void 0:o.show)&&(o==null?void 0:o.text)&&d(Xp,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:d(kl,{children:o.text})})]}),r!==void 0&&r.length>0&&d(f8,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:V("borders-light"),bg:V("colors-neutral-white"),overflow:"hidden",borderRadius:V("radii-small"),w:"6.25rem",zIndex:2,children:d(rF,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}Iy.displayName="Header";function fh({date:e}){return e==null||e.length===0?null:d(tt,{fontSize:".75rem",color:V("colors-neutral-darkCharcoal"),m:"0",children:e})}fh.displayName="DateStatus";function By({type:e,progressValue:t=0}){switch(e){case"schedule":return d(U1,{});case"certificate":return d(D1,{});case"circularCheck":return d(z1,{});case"progress":return d(Ly,{value:t});case"circularInformation":return d(wc,{});case"info":return d(wc,{});default:return null}}const BB=7;function $y({progress:e,status:t}){return D(Zi,{children:[D(fl,{children:[d(By,{type:e.icon,progressValue:e.progress}),d(tt,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===BB&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&d(kl,{size:"sm",bg:e.isApproved?V("colors-alert-jadeGreen"):V("colors-alert-red"),color:V("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function Dy(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=C.useContext(kc);return n==null?null:D(ee,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&D(LF,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?d(ee,{h:".5rem",w:"1px",bg:V("colors-neutral-silverSand"),alignSelf:"center"}):d(Zi,{}),children:[d(fh,{date:t.init}),d(fh,{date:t.end})]}),d(bF,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),d(fl,{mt:"1rem",justify:"space-between",children:d($y,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&d(kF,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:V("borders-light"),children:r.map((o,a)=>{var l;return D(EF,{display:"flex",children:[d(By,{type:o.icon}),d(ee,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?d(oc,{isExternal:!0,href:o.href,color:V("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):d(tt,{m:"0",color:V("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}Dy.displayName="Section";const z={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"}]},zy={noHabilitado:{...z,id:1,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...z,id:2,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...z,id:3,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:4,hasFinanzeFreezed:!1,status:{...z.status,id:2,name:"preInscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...z,id:5,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:2,name:"preInscripcion"},progress:{...z.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...z,background:"https://cdn.eclass.com/img/cursos/default2.png",id:6,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...z,id:7,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[],action:{...z.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...z,id:8,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...z.status,id:4,name:"no disponible"},progress:{...z.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:{...z.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:9,hasFinanzeFreezed:!1,status:{...z.status,id:4,name:"no disponible"},progress:{...z.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:{...z.action,enabled:!1},labels:[]},noDisponible3:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:10,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...z.status,id:4,name:"no disponible"},progress:{...z.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:{...z.action,enabled:!1},labels:[]},activado:{...z,id:11,hasFinanzeFreezed:!1,status:{...z.status,id:5,name:"disponible"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...z,id:12,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...z,id:13,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...z,id:14,hasFinanzeFreezed:!1,status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:15,hasFinanzeFreezed:!1,status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...z,id:16,hasFinanzeFreezed:!0,status:{...z.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...z,id:17,hasFinanzeFreezed:!1,status:{...z.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},pendiente:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",id:18,hasFinanzeFreezed:!1,status:{...z.status,id:8,name:"pendiente"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},terminado:{...z,id:19,hasFinanzeFreezed:!1,status:{...z.status,id:7,name:"QUALIFIED"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},terminado2:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:20,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...z.status,id:7,name:"QUALIFIED"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},terminado3:{...z,id:21,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:9,name:"terminado"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},proximamente:{...z,id:22,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[]},proximamente2:{...z,id:23,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]}},$B=Object.keys(zy).map(e=>zy[e]),Hy=4,Pl=(e,t=Hy)=>e||t!==Hy;function DB(e=4){const t=e*Wy+jy*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function zB({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return d(A1,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=C.useState(d(a,{}));return C.useEffect(()=>{n&&s(d(a,{}))},[n]),D(Cl,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,D(L1,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[D(O1,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[d(B1,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),d(Ey,{size:"md",color:V("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),d(F1,{p:"1rem 2rem 2rem 2rem",children:d(tt,{align:"center",children:i.body})}),d(R1,{justifyContent:"center",borderTop:"1px solid",borderTopColor:V("colors-neutral-platinum"),p:"1rem",children:d(qp,{onClick:r,color:V("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}Cl.displayName="Modal";function Ny({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=C.useContext(kc),{isOpen:i,onOpen:o,onClose:a}=yv(),[l,s]=C.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:D(f8,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:V("colors-neutral-platinum"),children:[Pl(t.enabled,r==null?void 0:r.id)?D(Zi,{children:[n&&e?d(ee,{color:V("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}):d(tt,{color:V("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&d($1,{color:V("colors-main-deepSkyBlue")})]}):d(tt,{fontWeight:"500",lineHeight:"1.172rem",color:V("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&d(zB,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}Ny.displayName="Footer";const kc=C.createContext({});function HB({enabled:e,children:t}){return e?d(wo,{children:t}):d(Zi,{children:t})}function ph({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return d(kc.Provider,{value:e,children:d(RF,{as:"article",border:V("borders-light"),borderRadius:V("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:d(HB,{enabled:Pl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:D(fl,{direction:"column",justify:"space-between",h:"100%",children:[D(ee,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&Pl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&d(h8,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),d(Iy,{}),d(Dy,{})]}),d(Ny,{modalPaymentText:t})]})})})})}ph.displayName="BoxTraditional";function NB({enabled:e,children:t}){return e?d(wo,{children:t}):d(Zi,{children:t})}function hh({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,p,f,h,m;const o={large:"286px",small:"197px"};return d(NB,{enabled:Pl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:D(ee,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:V("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&Pl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(p=r==null?void 0:r.Profile)==null?void 0:p.id)&&d(h8,{href:(f=r==null?void 0:r.action)==null?void 0:f.href,isExternal:(h=r==null?void 0:r.action)==null?void 0:h.targetBlank}),D(ee,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[d(ee,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((y,v)=>y.icon==="certificate"&&d(ee,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:y.text},v))]})]})})}hh.displayName="BoxImage";const jB=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:d(ph,{...n}),TRADITIONAL_LANDSCAPE:d(ph,{...n}),IMAGE_LARGE:d(hh,{...i}),IMAGE_SMALL:d(hh,{...i,size:"small"})}[e]},jy=1.25,Wy=17.8125;function Uy({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:d(ee,{display:"grid",gridColumnGap:`${jy}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${Wy}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>d(jB,{data:i,type:n,modalPaymentText:t},i.id))})}Uy.displayName="CourseList";const vh={success:{icon:d(nh,{}),bg:V("colors-alert-ice"),id:"success"},error:{icon:d(th,{}),bg:V("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:d(rh,{}),bg:V("colors-alert-veryLightBlue"),id:"info"},warning:{icon:d(ih,{}),bg:V("colors-alert-pale"),id:"warning"}},WB={success:{icon:d(lh,{}),bg:V("colors-alert-ice"),id:"success"},error:{icon:d(oh,{}),bg:V("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:d(ah,{}),bg:V("colors-alert-veryLightBlue"),id:"info"},warning:{icon:d(sh,{}),bg:V("colors-alert-pale"),id:"warning"}};function Zy({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:p}){const[f]=v8("(max-width: 425px)"),h=()=>{l&&l()};let m;return r&&(m=i?"link":"normal"),D(ee,{className:a?"flashNotification":"e_alert",alignItems:f?"unset":"center",backgroundColor:vh[s].bg,borderRadius:"8px",display:"flex",flexFlow:f?"column":"row",gap:a?"":"16px",justifyContent:f?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[D(ee,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"},a:{fontWeight:"500",color:V("colors-main-deepSkyBlue"),textDecoration:"underline"},"a:hover":{color:V("colors-neutral-darkCharcoal")}},children:[d(ee,{className:"iconContainer",sx:{svg:{width:"auto"}},children:vh[s].icon}),D(ee,{display:"flex",alignItems:"center",children:[D(ee,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:V("colors-neutral-darkCharcoal"),children:[e,c&&p&&d(El,{onClick:p,children:c})]}),m==="link"&&d(El,{onClick:h,children:r})]})]}),m==="normal"&&d(dh,{isFullWidth:!!f,leftIcon:n,onClick:h,children:r}),t&&d(ee,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:d(uh,{})})]})}let UB={data:""},ZB=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||UB,GB=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,qB=/\/\*[^]*?\*\/| +/g,Gy=/\n+/g,Pn=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?Pn(a,o):o+"{"+Pn(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=Pn(a,t?t.replace(/([^,])+/g,l=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=Pn.p?Pn.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},Br={},qy=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+qy(e[r]);return t}return e},YB=(e,t,r,n,i)=>{let o=qy(e),a=Br[o]||(Br[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!Br[a]){let s=o!==e?e:(u=>{let c,p,f=[{}];for(;c=GB.exec(u.replace(qB,""));)c[4]?f.shift():c[3]?(p=c[3].replace(Gy," ").trim(),f.unshift(f[0][p]=f[0][p]||{})):f[0][c[1]]=c[2].replace(Gy," ").trim();return f[0]})(e);Br[a]=Pn(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&Br.g?Br.g:null;return r&&(Br.g=Br[a]),((s,u,c,p)=>{p?u.data=u.data.replace(p,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})(Br[a],t,n,l),a},XB=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":Pn(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function Ec(e){let t=this||{},r=e.call?e(t.p):e;return YB(r.unshift?r.raw?XB(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,ZB(t.target),t.g,t.o,t.k)}let Yy,mh,gh;Ec.bind({g:1});let $r=Ec.bind({k:1});function KB(e,t,r,n){Pn.p=t,Yy=e,mh=r,gh=n}function Tn(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:mh&&mh()},l),r.o=/ *go\d+/.test(s),l.className=Ec.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),gh&&u[0]&&gh(l),Yy(u,l)}return t?t(i):i}}var QB=e=>typeof e=="function",Pc=(e,t)=>QB(e)?e(t):e,JB=(()=>{let e=0;return()=>(++e).toString()})(),Xy=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),e$=20,Tc=new Map,t$=1e3,Ky=e=>{if(Tc.has(e))return;let t=setTimeout(()=>{Tc.delete(e),li({type:4,toastId:e})},t$);Tc.set(e,t)},r$=e=>{let t=Tc.get(e);t&&clearTimeout(t)},yh=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,e$)};case 1:return t.toast.id&&r$(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?yh(e,{type:1,toast:r}):yh(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?Ky(n):e.toasts.forEach(o=>{Ky(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},_c=[],Mc={toasts:[],pausedAt:void 0},li=e=>{Mc=yh(Mc,e),_c.forEach(t=>{t(Mc)})},n$={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},i$=(e={})=>{let[t,r]=O.useState(Mc);O.useEffect(()=>(_c.push(r),()=>{let i=_c.indexOf(r);i>-1&&_c.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||n$[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},o$=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||JB()}),Tl=e=>(t,r)=>{let n=o$(t,e,r);return li({type:2,toast:n}),n.id},Ct=(e,t)=>Tl("blank")(e,t);Ct.error=Tl("error"),Ct.success=Tl("success"),Ct.loading=Tl("loading"),Ct.custom=Tl("custom"),Ct.dismiss=e=>{li({type:3,toastId:e})},Ct.remove=e=>li({type:4,toastId:e}),Ct.promise=(e,t,r)=>{let n=Ct.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(Ct.success(Pc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{Ct.error(Pc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var a$=(e,t)=>{li({type:1,toast:{id:e,height:t}})},l$=()=>{li({type:5,time:Date.now()})},s$=e=>{let{toasts:t,pausedAt:r}=i$(e);O.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&Ct.dismiss(l.id);return}return setTimeout(()=>Ct.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=O.useCallback(()=>{r&&li({type:6,time:Date.now()})},[r]),i=O.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(h=>(h.position||u)===(o.position||u)&&h.height),p=c.findIndex(h=>h.id===o.id),f=c.filter((h,m)=>m<p&&h.visible).length;return c.filter(h=>h.visible).slice(...l?[f+1]:[0,f]).reduce((h,m)=>h+(m.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:a$,startPause:l$,endPause:n,calculateOffset:i}}},u$=$r`
386
+ `},C$=0,So=[];function S$(e){var t=x.useRef([]),r=x.useRef([0,0]),n=x.useRef(),i=x.useState(C$++)[0],o=x.useState(function(){return Xy()})[0],a=x.useRef(e);x.useEffect(function(){a.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-"+i);var y=[e.lockRef.current].concat((e.shards||[]).map(n6)).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=x.useCallback(function(y,v){if("touches"in y&&y.touches.length===2)return!a.current.allowPinchZoom;var g=Fc(y),b=r.current,w="deltaX"in y?y.deltaX:b[0]-g[0],C="deltaY"in y?y.deltaY:b[1]-g[1],k,_=y.target,E=Math.abs(w)>Math.abs(C)?"h":"v",M=Jy(E,_);if(!M)return!0;if(M?k=E:(k=E==="v"?"h":"v",M=Jy(E,_)),!M)return!1;if(!n.current&&"changedTouches"in y&&(w||C)&&(n.current=k),!k)return!0;var O=n.current||k;return b$(O,v,y,O==="h"?w:C,!0)},[]),s=x.useCallback(function(y){var v=y;if(!(!So.length||So[So.length-1]!==o)){var g="deltaY"in v?r6(v):Fc(v),b=t.current.filter(function(k){return k.name===v.type&&k.target===v.target&&x$(k.delta,g)})[0];if(b&&b.should){v.preventDefault();return}if(!b){var w=(a.current.shards||[]).map(n6).filter(Boolean).filter(function(k){return k.contains(v.target)}),C=w.length>0?l(v,w[0]):!a.current.noIsolation;C&&v.preventDefault()}}},[]),u=x.useCallback(function(y,v,g,b){var w={name:y,delta:v,target:g,should:b};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(C){return C!==w})},1)},[]),c=x.useCallback(function(y){r.current=Fc(y),n.current=void 0},[]),p=x.useCallback(function(y){u(y.type,r6(y),y.target,l(y,e.lockRef.current))},[]),f=x.useCallback(function(y){u(y.type,Fc(y),y.target,l(y,e.lockRef.current))},[]);x.useEffect(function(){return So.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",s,Co),document.addEventListener("touchmove",s,Co),document.addEventListener("touchstart",c,Co),function(){So=So.filter(function(y){return y!==o}),document.removeEventListener("wheel",s,Co),document.removeEventListener("touchmove",s,Co),document.removeEventListener("touchstart",c,Co)}},[]);var h=e.removeScrollBar,m=e.inert;return x.createElement(x.Fragment,null,m?x.createElement(o,{styles:w$(i)}):null,h?x.createElement(h$,{gapMode:"margin"}):null)}var k$=iV(qy,S$),i6=x.forwardRef(function(e,t){return x.createElement(Lc,xo({},e,{ref:t,sideCar:k$}))});i6.classNames=Lc.classNames;var E$=i6,_$=function(e){if(typeof document=="undefined")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ko=new WeakMap,Ic=new WeakMap,Dc={},th=0,o6=function(e){return e&&(e.host||o6(e.parentNode))},P$=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=o6(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return Boolean(r)})},T$=function(e,t,r,n){var i=P$(t,Array.isArray(e)?e:[e]);Dc[r]||(Dc[r]=new WeakMap);var o=Dc[r],a=[],l=new Set,s=new Set(i),u=function(p){!p||l.has(p)||(l.add(p),u(p.parentNode))};i.forEach(u);var c=function(p){!p||s.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))c(f);else try{var h=f.getAttribute(n),m=h!==null&&h!=="false",y=(ko.get(f)||0)+1,v=(o.get(f)||0)+1;ko.set(f,y),o.set(f,v),a.push(f),y===1&&m&&Ic.set(f,!0),v===1&&f.setAttribute(r,"true"),m||f.setAttribute(n,"true")}catch(g){console.error("aria-hidden: cannot operate on ",f,g)}})};return c(t),l.clear(),th++,function(){a.forEach(function(p){var f=ko.get(p)-1,h=o.get(p)-1;ko.set(p,f),o.set(p,h),f||(Ic.has(p)||p.removeAttribute(n),Ic.delete(p)),h||p.removeAttribute(r)}),th--,th||(ko=new WeakMap,ko=new WeakMap,Ic=new WeakMap,Dc={})}},M$=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=t||_$(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),T$(n,i,r,"aria-hidden")):function(){return null}};function An(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function Me(){return Me=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},Me.apply(this,arguments)}var O$=["preset"],L$={slideInBottom:Me({},D8,{custom:{offsetY:16,reverse:!0}}),slideInRight:Me({},D8,{custom:{offsetX:16,reverse:!0}}),scale:Me({},qF,{custom:{initialScale:.95,reverse:!0}}),none:{}},A$=ee(gl.section),F$=x.forwardRef(function(e,t){var r=e.preset,n=An(e,O$),i=L$[r];return x.createElement(A$,Me({ref:t},i,n))}),I$=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}(),rh=new I$;function D$(e,t){A.useEffect(function(){return t&&rh.add(e),function(){rh.remove(e)}},[t,e])}function R$(e){var t=e.isOpen,r=e.onClose,n=e.id,i=e.closeOnOverlayClick,o=i===void 0?!0:i,a=e.closeOnEsc,l=a===void 0?!0:a,s=e.useInert,u=s===void 0?!0:s,c=e.onOverlayClick,p=e.onEsc,f=A.useRef(null),h=A.useRef(null),m=Kv(n,"chakra-modal","chakra-modal--header","chakra-modal--body"),y=m[0],v=m[1],g=m[2];V$(f,t&&u),D$(f,t);var b=A.useRef(null),w=A.useCallback(function(Y){b.current=Y.target},[]),C=A.useCallback(function(Y){Y.key==="Escape"&&(Y.stopPropagation(),l&&(r==null||r()),p==null||p())},[l,r,p]),k=A.useState(!1),_=k[0],E=k[1],M=A.useState(!1),O=M[0],R=M[1],Z=A.useCallback(function(Y,Q){return Y===void 0&&(Y={}),Q===void 0&&(Q=null),Me({role:"dialog"},Y,{ref:dr(Q,f),id:y,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?v:void 0,"aria-describedby":O?g:void 0,onClick:yt(Y.onClick,function(J){return J.stopPropagation()})})},[g,O,y,v,_]),G=A.useCallback(function(Y){Y.stopPropagation(),b.current===Y.target&&(!rh.isTopModal(f)||(o&&(r==null||r()),c==null||c()))},[r,o,c]),U=A.useCallback(function(Y,Q){return Y===void 0&&(Y={}),Q===void 0&&(Q=null),Me({},Y,{ref:dr(Q,h),onClick:yt(Y.onClick,G),onKeyDown:yt(Y.onKeyDown,C),onMouseDown:yt(Y.onMouseDown,w)})},[C,w,G]);return{isOpen:t,onClose:r,headerId:v,bodyId:g,setBodyMounted:R,setHeaderMounted:E,dialogRef:f,overlayRef:h,getDialogProps:Z,getDialogContainerProps:U}}function V$(e,t){var r=e.current;A.useEffect(function(){if(!(!e.current||!t))return M$(e.current)},[t,e,r])}var $$=["className","children","containerProps"],B$=["className","transition"],N$=["className"],z$=["className"],H$=["className"],j$=["onClick","className"],a6=Pr({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),W$=a6[0],Fn=a6[1],Ll=function(t){var r=t.portalProps,n=t.children,i=t.autoFocus,o=t.trapFocus,a=t.initialFocusRef,l=t.finalFocusRef,s=t.returnFocusOnClose,u=t.blockScrollOnMount,c=t.allowPinchZoom,p=t.preserveScrollBarGap,f=t.motionPreset,h=t.lockFocusAcrossFrames,m=t.onCloseComplete,y=j0("Modal",t),v=R$(t),g=Me({},v,{autoFocus:i,trapFocus:o,initialFocusRef:a,finalFocusRef:l,returnFocusOnClose:s,blockScrollOnMount:u,allowPinchZoom:c,preserveScrollBarGap:p,motionPreset:f,lockFocusAcrossFrames:h});return x.createElement(W$,{value:g},x.createElement(S5,{value:y},x.createElement(f1,{onExitComplete:m},g.isOpen&&x.createElement(Da,r,n))))};Ll.defaultProps={lockFocusAcrossFrames:!0,returnFocusOnClose:!0,scrollBehavior:"outside",trapFocus:!0,autoFocus:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale"},_r&&(Ll.displayName="Modal");var U$=ee(gl.div),nh=ge(function(e,t){var r=e.className,n=e.children,i=e.containerProps,o=An(e,$$),a=Fn(),l=a.getDialogProps,s=a.getDialogContainerProps,u=l(o,t),c=s(i),p=Ee("chakra-modal__content",r),f=tr(),h=Me({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Me({display:"flex",width:"100vw",height:"100vh","@supports(height: -webkit-fill-available)":{height:"-webkit-fill-available"},position:"fixed",left:0,top:0},f.dialogContainer),y=Fn(),v=y.motionPreset;return x.createElement(l6,null,x.createElement(ee.div,Me({},c,{className:"chakra-modal__content-container",tabIndex:-1,__css:m}),x.createElement(F$,Me({preset:v,className:p},u,{__css:h}),n)))});_r&&(nh.displayName="ModalContent");function l6(e){var t=Fn(),r=t.autoFocus,n=t.trapFocus,i=t.dialogRef,o=t.initialFocusRef,a=t.blockScrollOnMount,l=t.allowPinchZoom,s=t.finalFocusRef,u=t.returnFocusOnClose,c=t.preserveScrollBarGap,p=t.lockFocusAcrossFrames,f=r1(),h=f[0],m=f[1];return x.useEffect(function(){!h&&m&&setTimeout(m)},[h,m]),x.createElement(QV,{autoFocus:r,isDisabled:!n,initialFocusRef:o,finalFocusRef:s,restoreFocus:u,contentRef:i,lockFocusAcrossFrames:p},x.createElement(E$,{removeScrollBar:!c,allowPinchZoom:l,enabled:a,forwardProps:!0},e.children))}var ih=ge(function(e,t){var r=e.className;e.transition;var n=An(e,B$),i=Ee("chakra-modal__overlay",r),o=tr(),a=Me({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},o.overlay),l=Fn(),s=l.motionPreset,u=s==="none"?{}:YF;return x.createElement(U$,Me({},u,{__css:a,ref:t,className:i},n))});_r&&(ih.displayName="ModalOverlay");var oh=ge(function(e,t){var r=e.className,n=An(e,N$),i=Fn(),o=i.headerId,a=i.setHeaderMounted;x.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ee("chakra-modal__header",r),s=tr(),u=Me({flex:0},s.header);return x.createElement(ee.header,Me({ref:t,className:l,id:o},n,{__css:u}))});_r&&(oh.displayName="ModalHeader");var ah=ge(function(e,t){var r=e.className,n=An(e,z$),i=Fn(),o=i.bodyId,a=i.setBodyMounted;x.useEffect(function(){return a(!0),function(){return a(!1)}},[a]);var l=Ee("chakra-modal__body",r),s=tr();return x.createElement(ee.div,Me({ref:t,className:l,id:o},n,{__css:s.body}))});_r&&(ah.displayName="ModalBody");var lh=ge(function(e,t){var r=e.className,n=An(e,H$),i=Ee("chakra-modal__footer",r),o=tr(),a=Me({display:"flex",alignItems:"center",justifyContent:"flex-end"},o.footer);return x.createElement(ee.footer,Me({ref:t},n,{__css:a,className:i}))});_r&&(lh.displayName="ModalFooter");var s6=ge(function(e,t){var r=e.onClick,n=e.className,i=An(e,j$),o=Fn(),a=o.onClose,l=Ee("chakra-modal__close-btn",n),s=tr();return x.createElement(kI,Me({ref:t,__css:s.closeButton,className:l,onClick:yt(r,function(u){u.stopPropagation(),a()})},i))});_r&&(s6.displayName="ModalCloseButton");var Z$=["className","children"],G$=Pr(),Y$=G$[1],K$=ee(JF),q$=ge(function(e,t){var r=e.className,n=e.children,i=An(e,Z$),o=Fn(),a=o.getDialogProps,l=o.getDialogContainerProps,s=o.isOpen,u=a(i,t),c=l(),p=Ee("chakra-modal__content",r),f=tr(),h=Me({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},f.dialog),m=Me({display:"flex",width:"100vw",height:"100vh",position:"fixed",left:0,top:0},f.dialogContainer),y=Y$(),v=y.placement;return x.createElement(ee.div,Me({},c,{className:"chakra-modal__content-container",__css:m}),x.createElement(l6,null,x.createElement(K$,Me({direction:v,in:s,className:p},u,{__css:h}),n)))});_r&&(q$.displayName="DrawerContent");function u6(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(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 X$=Si({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),Q$=Si({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});Si({"0%":{left:"-40%"},"100%":{left:"100%"}}),Si({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function J$(e){var t=e.value,r=t===void 0?0:t,n=e.min,i=e.max,o=e.valueText,a=e.getValueText,l=e.isIndeterminate,s=Zb(r,n,i),u=function(){if(r!=null)return qr(a)?a(r,s):o};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 eB=["size","isIndeterminate"],tB=["size","max","min","valueText","getValueText","value","capIsRound","children","thickness","color","trackColor","isIndeterminate"],c6=function(t){return x.createElement(ee.circle,Eo({cx:50,cy:50,r:42,fill:"transparent"},t))},rB=function(t){var r=t.size,n=t.isIndeterminate,i=u6(t,eB);return x.createElement(ee.svg,Eo({viewBox:"0 0 100 100",__css:{width:r,height:r,animation:n?Q$+" 2s linear infinite":void 0}},i))},nB=function(t){var r,n=t.size,i=n===void 0?"48px":n,o=t.max,a=o===void 0?100:o,l=t.min,s=l===void 0?0:l,u=t.valueText,c=t.getValueText,p=t.value,f=t.capIsRound,h=t.children,m=t.thickness,y=m===void 0?"10px":m,v=t.color,g=v===void 0?"#0078d4":v,b=t.trackColor,w=b===void 0?"#edebe9":b,C=t.isIndeterminate,k=u6(t,tB),_=J$({min:s,max:a,value:p,valueText:u,getValueText:c,isIndeterminate:C}),E=C?void 0:((r=_.percent)!=null?r:0)*2.64,M=mb(E)?void 0:E+" "+(264-E),O=C?{css:{animation:X$+" 1.5s linear infinite"}}:{strokeDashoffset:66,strokeDasharray:M,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"},R={display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:i};return x.createElement(ee.div,Eo({className:"chakra-progress"},_.bind,k,{__css:R}),x.createElement(rB,{size:i,isIndeterminate:C},x.createElement(c6,{stroke:w,strokeWidth:y,className:"chakra-progress__track"}),x.createElement(c6,Eo({stroke:g,strokeWidth:y,className:"chakra-progress__indicator",strokeLinecap:f?"round":void 0,opacity:_.value===0&&!C?0:void 0},O))),h)};ee("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});function lr(){return lr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},lr.apply(this,arguments)}function d6(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var iB={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},oB=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"];function aB(e){e===void 0&&(e={});var t=e,r=t.openDelay,n=r===void 0?0:r,i=t.closeDelay,o=i===void 0?0:i,a=t.closeOnClick,l=a===void 0?!0:a,s=t.closeOnMouseDown,u=t.closeOnEsc,c=u===void 0?!0:u,p=t.onOpen,f=t.onClose,h=t.placement,m=t.id,y=t.isOpen,v=t.defaultIsOpen,g=t.arrowSize,b=g===void 0?10:g,w=t.arrowShadowColor,C=t.arrowPadding,k=t.modifiers,_=t.isDisabled,E=t.gutter,M=t.offset,O=t.direction,R=d6(t,oB),Z=Sd({isOpen:y,defaultIsOpen:v,onOpen:p,onClose:f}),G=Z.isOpen,U=Z.onOpen,Y=Z.onClose,Q=yy({enabled:G,placement:h,arrowPadding:C,modifiers:k,gutter:E,offset:M,direction:O}),J=Q.referenceRef,ie=Q.getPopperProps,we=Q.getArrowInnerProps,he=Q.getArrowProps,ye=ys(m,"tooltip"),I=x.useRef(null),L=x.useRef(),D=x.useRef(),N=x.useCallback(function(){_||(L.current=window.setTimeout(U,n))},[_,U,n]),H=x.useCallback(function(){L.current&&clearTimeout(L.current),D.current=window.setTimeout(Y,o)},[o,Y]),ne=x.useCallback(function(){l&&H()},[l,H]),ce=x.useCallback(function(){s&&H()},[s,H]),be=x.useCallback(function(oe){G&&oe.key==="Escape"&&H()},[G,H]);Cd("keydown",c?be:void 0),x.useEffect(function(){return function(){clearTimeout(L.current),clearTimeout(D.current)}},[]),Cd("mouseleave",H,function(){return I.current});var je=x.useCallback(function(oe,We){oe===void 0&&(oe={}),We===void 0&&(We=null);var _t=lr({},oe,{ref:dr(I,We,J),onMouseEnter:yt(oe.onMouseEnter,N),onClick:yt(oe.onClick,ne),onMouseDown:yt(oe.onMouseDown,ce),onFocus:yt(oe.onFocus,N),onBlur:yt(oe.onBlur,H),"aria-describedby":G?ye:void 0});return _t},[N,H,ce,G,ye,ne,J]),Gr=x.useCallback(function(oe,We){var _t;return oe===void 0&&(oe={}),We===void 0&&(We=null),ie(lr({},oe,{style:lr({},oe.style,(_t={},_t[ot.arrowSize.var]=b?fs(b):void 0,_t[ot.arrowShadowColor.var]=w,_t))}),We)},[ie,b,w]),Xe=x.useCallback(function(oe,We){oe===void 0&&(oe={}),We===void 0&&(We=null);var _t=lr({ref:We},R,oe,{id:ye,role:"tooltip",style:lr({},oe.style,{position:"relative",transformOrigin:ot.transformOrigin.varRef})});return _t},[R,ye]);return{isOpen:G,show:N,hide:H,getTriggerProps:je,getTooltipProps:Xe,getTooltipPositionerProps:Gr,getArrowProps:he,getArrowInnerProps:we}}var lB=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor"],sB=ee(gl.div),uB=ge(function(e,t){var r,n,i=xn("Tooltip",e),o=Rr(e),a=N0(),l=o.children,s=o.label,u=o.shouldWrapChildren,c=o["aria-label"],p=o.hasArrow,f=o.bg,h=o.portalProps,m=o.background,y=o.backgroundColor,v=o.bgColor,g=d6(o,lB),b=(r=(n=m!=null?m:y)!=null?n:f)!=null?r:v;b&&(i.bg=b,i[ot.arrowBg.var]=xb(a,"colors",b));var w=aB(lr({},g,{direction:a.direction})),C=ss(l)||u,k;if(C)k=x.createElement(ee.span,lr({tabIndex:0},w.getTriggerProps()),l);else{var _=x.Children.only(l);k=x.cloneElement(_,w.getTriggerProps(_.props,_.ref))}var E=!!c,M=w.getTooltipProps({},t),O=E?us(M,["role","id"]):M,R=Dv(M,["role","id"]);return s?x.createElement(x.Fragment,null,k,x.createElement(f1,null,w.isOpen&&x.createElement(Da,h,x.createElement(ee.div,lr({},w.getTooltipPositionerProps(),{__css:{zIndex:i.zIndex,pointerEvents:"none"}}),x.createElement(sB,lr({variants:iB},O,{initial:"exit",animate:"enter",exit:"exit",__css:i}),s,E&&x.createElement(W8,R,c),p&&x.createElement(ee.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},x.createElement(ee.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:i.bg}}))))))):x.createElement(x.Fragment,null,l)}),cB=iS;cB.defaultProps={theme:e4};function dB(){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 JT(i)&&n.length>1?n=n.slice(0,n.length-1):i=e4,zb.apply(void 0,n.map(function(o){return function(a){return qr(o)?o(a):fB(a,o)}}))(i)}function fB(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Vt.apply(void 0,[{}].concat(t,[f6]))}function f6(e,t,r,n){if((qr(e)||qr(t))&&Object.prototype.hasOwnProperty.call(n,r))return function(){var i=qr(e)?e.apply(void 0,arguments):e,o=qr(t)?t.apply(void 0,arguments):t;return Vt({},i,o,f6)}}const Rc={deepSkyBlue:"#0189FF",azureRadiance:"#017BE5",blueGrey:"#60798E",veryLightBlue:"#E0EEFA",linkWater:"#C7DEF2",ziggurat:"#B0CFE0"},fi={main:Rc,secondary:{pumpkin:"#FF7A14",polishedBronze:"#CD7F32",cornsilk:"#FFF5DF",linen:"#F8ECE0"},alert:{deepSkyBlue:Rc.deepSkyBlue,veryLightBlue:Rc.veryLightBlue,jadeGreen:"#28A745",ice:"#E9F6EC",red:"#CC0000",veryLightPinkThree:"#F9DFDF",orangeyYelow:"#F5A623",pale:"#FDEED6"},icon:{cetaceanBlue:"#08044F",deepSkyBlue:Rc.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"}},pB={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"}})},Al="solid .063rem",hB={borders:{normal:`${Al} ${fi.neutral.darkCharcoal}`,light:`${Al} ${fi.neutral.platinum}`,active:`${Al} ${fi.main.deepSkyBlue}`,success:`${Al} ${fi.alert.jadeGreen}`,error:`${Al} ${fi.alert.red}`,white:`solid .125rem ${fi.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 AH="",FH="",IH="",DH="",RH="";const vB=dB({colors:fi,...hB,...{fonts:{body:"Roboto",outstanding:"Lora"}},styles:pB}),B=e=>`var(--chakra-${e})`;function Fl({children:e,bg:t=B("colors-icon-ripeMango"),color:r=B("colors-neutral-darkCharcoal"),size:n="md",m:i="0"}){const o={md:{borderRadius:"0.25em",fontWeight:"400",p:"0.25em 0.84em"},sm:{borderRadius:"0.42em",fontWeight:"700",p:"0.17em 0.67em"}};return d(X,{bg:t,borderRadius:o[n].borderRadius,color:r,display:"inline-block",fontSize:"0.75rem",fontWeight:o[n].fontWeight,lineHeight:".875rem",m:i,p:o[n].p,children:e})}function p6({value:e=0}){let t=e;return e>100?t=100:e<0&&(t=0),d(nB,{size:"1rem",value:t,thickness:"1rem",color:B("colors-main-deepSkyBlue"),trackColor:B("colors-neutral-platinum")})}var mB=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 o in i)i.hasOwnProperty(o)&&(n[o]=i[o])},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)}}(),_o=globalThis&&globalThis.__assign||function(){return _o=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},_o.apply(this,arguments)},gB=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},yB={position:"relative",display:"inline-flex",overflow:"hidden"},bB=function(e){e===void 0&&(e={});var t;return t=function(r){mB(n,r);function n(i){var o=r.call(this,i)||this;return o.timer=0,o.onClick=function(a){var l=o.props,s=l.during,u=l.onClick,c=l.color;a.stopPropagation();var p=a.pageX,f=a.pageY,h=a.currentTarget,m=h.getBoundingClientRect(),y=p-(m.left+window.scrollX),v=f-(m.top+window.scrollY),g=Math.max(m.width,m.height);o.setState(function(b){return{rippleStyle:_o({},b.rippleStyle,{left:y,top:v,opacity:1,transform:"translate(-50%, -50%)",transition:"initial",backgroundColor:c})}},function(){o.timer=setTimeout(function(){o.setState(function(b){return{rippleStyle:_o({},b.rippleStyle,{opacity:0,transform:"scale("+g/9+")",transition:"all "+s+"ms"})}})},50)}),u&&u(a)},o.state={rippleStyle:{position:"absolute",borderRadius:"50%",opacity:0,width:35,height:35,transform:"translate(-50%, -50%)",pointerEvents:"none"}},o}return n.prototype.componentWillUnmount=function(){clearTimeout(this.timer)},n.prototype.render=function(){var i=this.props,o=i.children;i.during,i.color,i.onClick;var a=i.className,l=gB(i,["children","during","color","onClick","className"]),s=this.state.rippleStyle;return Kr.default.createElement("div",_o({},l,{className:("react-ripples "+a).trim(),style:yB,onClick:this.onClick}),o,Kr.default.createElement("s",{style:s}))},n}(Kr.default.PureComponent),t.displayName="Ripples",t.propTypes={during:_c.number,color:_c.string,onClick:_c.func,className:_c.string},t.defaultProps=_o({during:600,color:"rgba(0, 0, 0, .3)",className:"",onClick:function(){}},e),t},sh=globalThis&&globalThis.__assign||function(){return sh=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},sh.apply(this,arguments)},xB=function(e){return function(t){return Kr.default.createElement(e,sh({},t))}},h6=xB(bB());function Po({children:e,color:t="rgba(204,204,204,0.2)"}){return d(h6,{during:1e3,color:t,children:d(X,{children:e})})}function le({w:e="1rem",h:t="1rem",color:r=B("colors-main-ziggurat"),m:n="0",viewBox:i="0 0 16 16",children:o,title:a}){return V(Ve,{w:e,h:t,viewBox:i,color:r,m:n,"aria-label":" ","aria-hidden":!0,children:[V("title",{children:["icon",a&&`-${a}`]}),o]})}function uh(e){return V(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"academicRecord",children:[d("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"}),d("path",{d:"M15 10H1V12H15V10Z",fill:"currentColor"}),d("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}uh.displayName="AcademicRecord";function ch(e){return d(le,{...e,children:V("svg",{width:"53",height:"45",viewBox:"0 0 53 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})})}ch.displayName="ArrowRight";function Ne(){return Math.random().toString(36).slice(2,9)}function dh(e){const t=`clip-${Ne()}`;return V(le,{...e,children:[V("g",{clipPath:`url(#${t})`,children:[d("mask",{id:`mask-${t}`,style:{maskType:"alpha"},width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",children:d("path",{fill:"#fff",d:"M16 16H32V32H16z",transform:"rotate(180 16 16)"})}),d("g",{mask:`url(#mask-${t})`,children:d("path",{fill:"currentColor",d:"M6.074 14L12 8 6.074 2 4 4.1 7.852 8 4 11.9 6.074 14z"})})]}),d("defs",{children:d("clipPath",{id:t,children:d("path",{fill:"#fff",d:"M0 0H16V16H0z"})})})]})}dh.displayName="ArrowRight";function fh(e){return V(le,{...e,children:[d("path",{fill:"currentColor",d:"M7 4H9V6H7z"}),d("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"})]})}fh.displayName="Certificate";function ph(e){return d(le,{...e,children:d("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"})})}ph.displayName="CircularCheck";function Vc(e){return d(le,{...e,children:d("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"})})}Vc.displayName="CircularInformation";function $c(e){return V(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:[d("path",{d:"M7.99998 12C8.29998 12 8.49998 11.9 8.69998 11.7L14.4 6L13 4.6L8.99998 8.6V0H6.99998V8.6L2.99998 4.6L1.59998 6L7.29998 11.7C7.49998 11.9 7.69998 12 7.99998 12Z",fill:"currentColor"}),d("path",{d:"M15 14H1V16H15V14Z",fill:"currentColor"})]})}$c.displayName="Download";function hh(e){return d(le,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goAhead",children:d("path",{d:"M2.07407 12L8 6L2.07407 5.18061e-07L-8.65485e-07 2.1L3.85185 6L-1.83588e-07 9.9L2.07407 12V12Z",fill:"currentColor"})})}hh.displayName="GoAhead";function vh(e){return d(le,{...e,w:"8px",h:"16px",viewBox:"0 0 8 16",title:"goBack",children:d("path",{d:"M5.92593 2L0 8L5.92593 14L8 11.9L4.14815 8L8 4.1L5.92593 2Z",fill:"currentColor"})})}vh.displayName="GoBack";function mh(e){return V(le,{...e,w:"12px",viewBox:"0 0 14 14",title:"multimedia",children:[d("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"}),d("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"}),d("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"}),d("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"})]})}mh.displayName="Multimedia";function v6({fill:e="#fff"}){return d("div",{className:"loaderAsync","data-testid":"loaderAsync",children:V("svg",{id:Ne(),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 38 20",shapeRendering:"geometricPrecision",textRendering:"geometricPrecision",width:38,height:20,children:[d("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}}"}}),d("circle",{r:2.502,transform:"translate(29.526 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm12_f_o 600ms linear infinite normal forwards"}}),d("circle",{r:2.502,transform:"translate(19 10)",fill:e,fillOpacity:.4,style:{animation:"eXySq0EBKm13_f_o 600ms linear infinite normal forwards"}}),d("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 gh(e){return d(le,{...e,viewBox:"0 0 12 12",w:"12px",title:"profile",children:d("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"})})}gh.displayName="Profile";function yh(e){return V(le,{...e,children:[d("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"}),d("path",{fill:"currentColor",d:"M4 7H6V9H4z"}),d("path",{fill:"currentColor",d:"M7 7H9V9H7z"}),d("path",{fill:"currentColor",d:"M4 10H6V12H4z"}),d("path",{fill:"currentColor",d:"M7 10H9V12H7z"}),d("path",{fill:"currentColor",d:"M10 7H12V9H10z"}),d("path",{fill:"currentColor",d:"M10 10H12V12H10z"})]})}yh.displayName="Schedule";function bh(e){return V(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#0189FF"}),d("path",{d:"M7 6H5V10H7V6Z",fill:"white"}),d("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"})]})}bh.displayName="TinyAlertInfo";function xh(e){const t=`clip${Ne()}`;return V(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[V("g",{clipPath:`url(#${t})`,children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#CC0000"}),d("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"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"12px",height:"12px",fill:"white"})})})]})}xh.displayName="TinyAlertError";function wh(e){return V(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#F5A623"}),d("path",{d:"M5 6L7 6L7 2L5 2L5 6Z",fill:"white"}),d("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"})]})}wh.displayName="TinyAlertWarning";function Ch(e){const t=`clip${Ne()}`;return V(le,{...e,w:"12px",h:"12px",viewBox:"0 0 12 12",children:[V("g",{clipPath:`url(#${t})`,children:[d("circle",{cx:"6",cy:"6",r:"6",fill:"#28A745"}),d("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"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"12",height:"12",fill:"white"})})})]})}Ch.displayName="TinyAlertSuccess";function Sh(e){return d(le,{...e,w:"14px",h:"16px",viewBox:"0 0 14 16",title:"password",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C4.95714 0 3.28571 1.67143 3.28571 3.71429V4.64286H1.42857C0.871429 4.64286 0.5 5.01429 0.5 5.57143V13.9286C0.5 14.4857 0.871429 14.8571 1.42857 14.8571H12.5714C13.1286 14.8571 13.5 14.4857 13.5 13.9286V5.57143C13.5 5.01429 13.1286 4.64286 12.5714 4.64286H10.7143V3.71429C10.7143 1.67143 9.04286 0 7 0ZM7.92857 10.8643V12.0714H6.07143V10.8643C5.51429 10.5857 5.14286 9.93571 5.14286 9.28571C5.14286 8.26429 5.97857 7.42857 7 7.42857C8.02143 7.42857 8.85714 8.26429 8.85714 9.28571C8.85714 9.93571 8.48571 10.5857 7.92857 10.8643ZM5.14286 3.71429V4.64286H8.85714V3.71429C8.85714 2.69286 8.02143 1.85714 7 1.85714C5.97857 1.85714 5.14286 2.69286 5.14286 3.71429Z",fill:"currentColor"})})}Sh.displayName="Password";function kh(e){return V(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"pen",children:[d("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"}),d("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"})]})}kh.displayName="Pen";function Eh(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"plusSign",children:d("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"})})}Eh.displayName="PlusSign";function _h(e){return V(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"trashCan",children:[d("path",{d:"M2 6V14C2 15.1 2.9 16 4 16H12C13.1 16 14 15.1 14 14V6H2Z",fill:"currentColor"}),d("path",{d:"M12 3V1C12 0.4 11.6 0 11 0H5C4.4 0 4 0.4 4 1V3H0V5H16V3H12ZM10 3H6V2H10V3Z",fill:"currentColor"})]})}_h.displayName="TrashCan";function Ph(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",title:"textBubble",children:d("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"})})}Ph.displayName="TextBubble";function Th(e){return d(le,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:V("svg",{fill:"none",children:[d("path",{d:"M21.642 44.2419C33.5945 44.2419 43.284 34.5524 43.284 22.5999C43.284 10.6473 33.5945 0.957886 21.642 0.957886C9.68945 0.957886 0 10.6473 0 22.5999C0 34.5524 9.68945 44.2419 21.642 44.2419Z",fill:"white"}),d("path",{d:"M18.5 24.1949C19.3284 24.1949 20 23.5233 20 22.6949C20 21.8665 19.3284 21.1949 18.5 21.1949C17.6716 21.1949 17 21.8665 17 22.6949C17 23.5233 17.6716 24.1949 18.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M23.5 24.1949C24.3284 24.1949 25 23.5233 25 22.6949C25 21.8665 24.3284 21.1949 23.5 21.1949C22.6716 21.1949 22 21.8665 22 22.6949C22 23.5233 22.6716 24.1949 23.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M28.5 24.1949C29.3284 24.1949 30 23.5233 30 22.6949C30 21.8665 29.3284 21.1949 28.5 21.1949C27.6716 21.1949 27 21.8665 27 22.6949C27 23.5233 27.6716 24.1949 28.5 24.1949Z",fill:"#CC0000"}),d("path",{d:"M43.678 13.9779C40.657 8.72889 34.991 5.19489 28.5 5.19489C18.835 5.19489 11 13.0299 11 22.6949C11 32.3599 18.835 40.1949 28.5 40.1949C34.608 40.1949 39.984 37.0659 43.115 32.3239",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.5862 15.7811C36.5625 14.8048 38.1455 14.8048 39.1218 15.7811L43.2105 19.8699L47.2992 15.7811C48.2755 14.8048 49.8585 14.8048 50.8348 15.7811C51.8111 16.7574 51.8111 18.3403 50.8348 19.3167L46.746 23.4054L50.8348 27.4941C51.8111 28.4704 51.8111 30.0533 50.8348 31.0297C49.8585 32.006 48.2755 32.006 47.2992 31.0297L43.2105 26.9409L39.1218 31.0297C38.1455 32.006 36.5625 32.006 35.5862 31.0297C34.6099 30.0533 34.6099 28.4704 35.5862 27.4941L39.675 23.4054L35.5862 19.3167C34.6099 18.3403 34.6099 16.7574 35.5862 15.7811Z",fill:"#CC0000"})]})})}Th.displayName="ErrorWhite";function Mh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",title:"infoIcon",children:V("svg",{fill:"none",children:[d("path",{d:"M21.642 44.047C33.5945 44.047 43.284 34.3575 43.284 22.405C43.284 10.4525 33.5945 0.763 21.642 0.763C9.68945 0.763 0 10.4525 0 22.405C0 34.3575 9.68945 44.047 21.642 44.047Z",fill:"white"}),d("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#0189FF"}),d("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#0189FF"}),d("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#0189FF"}),d("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21H50C50.2652 21 50.5196 21.1054 50.7071 21.2929C50.8946 21.4804 51 21.7348 51 22V29.045H51.237C51.4908 29.0531 51.7316 29.1597 51.9082 29.3421C52.0849 29.5245 52.1837 29.7685 52.1837 30.0225C52.1837 30.2765 52.0849 30.5205 51.9082 30.7029C51.7316 30.8853 51.4908 30.9919 51.237 31H46.977C46.7232 30.9919 46.4824 30.8853 46.3058 30.7029C46.1291 30.5205 46.0303 30.2765 46.0303 30.0225C46.0303 29.7685 46.1291 29.5245 46.3058 29.3421C46.4824 29.1597 46.7232 29.0531 46.977 29.045H47V23.123C46.7348 23.123 46.4804 23.0176 46.2929 22.8301C46.1054 22.6426 46 22.3882 46 22.123V22C46 21.7348 46.1054 21.4804 46.2929 21.2929C46.4804 21.1054 46.7348 21 47 21Z",fill:"#0189FF"}),d("path",{d:"M49 19C50.3807 19 51.5 17.8807 51.5 16.5C51.5 15.1193 50.3807 14 49 14C47.6193 14 46.5 15.1193 46.5 16.5C46.5 17.8807 47.6193 19 49 19Z",fill:"#0189FF"})]})})}Mh.displayName="InfoWhite";function Oh(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:V("svg",{fill:"none",children:[d("path",{d:"M21.642 44.094C33.5945 44.094 43.284 34.4045 43.284 22.452C43.284 10.4995 33.5945 0.809998 21.642 0.809998C9.68945 0.809998 0 10.4995 0 22.452C0 34.4045 9.68945 44.094 21.642 44.094Z",fill:"white"}),d("path",{d:"M43.678 13.83C40.657 8.581 34.991 5.047 28.5 5.047C18.835 5.047 11 12.882 11 22.547C11 32.212 18.835 40.047 28.5 40.047C34.608 40.047 39.984 36.918 43.115 32.176",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.8232C57.0011 13.7995 57.0011 15.3825 56.0248 16.3588L44.3118 28.0718C43.8429 28.5406 43.207 28.804 42.544 28.804C41.881 28.804 41.2451 28.5406 40.7762 28.0718L34.2322 21.5278C33.2559 20.5515 33.2559 18.9685 34.2322 17.9922C35.2085 17.0159 36.7915 17.0159 37.7678 17.9922L42.544 22.7685L52.4892 12.8232C53.4655 11.8469 55.0485 11.8469 56.0248 12.8232Z",fill:"#28A745"}),d("path",{d:"M18.5 24.047C19.3284 24.047 20 23.3754 20 22.547C20 21.7186 19.3284 21.047 18.5 21.047C17.6716 21.047 17 21.7186 17 22.547C17 23.3754 17.6716 24.047 18.5 24.047Z",fill:"#28A745"}),d("path",{d:"M23.5 24.047C24.3284 24.047 25 23.3754 25 22.547C25 21.7186 24.3284 21.047 23.5 21.047C22.6716 21.047 22 21.7186 22 22.547C22 23.3754 22.6716 24.047 23.5 24.047Z",fill:"#28A745"}),d("path",{d:"M28.5 24.047C29.3284 24.047 30 23.3754 30 22.547C30 21.7186 29.3284 21.047 28.5 21.047C27.6716 21.047 27 21.7186 27 22.547C27 23.3754 27.6716 24.047 28.5 24.047Z",fill:"#28A745"})]})})}Oh.displayName="SuccessWhite";function Lh(e){return d(le,{...e,w:"52",h:"45",viewBox:"0 0 52 45",children:V("svg",{fill:"none",children:[d("path",{d:"M21.642 44.282C33.5945 44.282 43.284 34.5925 43.284 22.64C43.284 10.6874 33.5945 0.997986 21.642 0.997986C9.68945 0.997986 0 10.6874 0 22.64C0 34.5925 9.68945 44.282 21.642 44.282Z",fill:"white"}),d("path",{d:"M18.5 24.235C19.3284 24.235 20 23.5634 20 22.735C20 21.9066 19.3284 21.235 18.5 21.235C17.6716 21.235 17 21.9066 17 22.735C17 23.5634 17.6716 24.235 18.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M23.5 24.235C24.3284 24.235 25 23.5634 25 22.735C25 21.9066 24.3284 21.235 23.5 21.235C22.6716 21.235 22 21.9066 22 22.735C22 23.5634 22.6716 24.235 23.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M28.5 24.235C29.3284 24.235 30 23.5634 30 22.735C30 21.9066 29.3284 21.235 28.5 21.235C27.6716 21.235 27 21.9066 27 22.735C27 23.5634 27.6716 24.235 28.5 24.235Z",fill:"#FFBC27"}),d("path",{d:"M43.678 14.018C40.657 8.76899 34.991 5.23499 28.5 5.23499C18.835 5.23499 11 13.07 11 22.735C11 32.4 18.835 40.235 28.5 40.235C34.608 40.235 39.984 37.106 43.115 32.364",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.782 14.053C50.1627 14.053 51.282 15.1723 51.282 16.553V21.12C51.282 22.5007 50.1627 23.62 48.782 23.62C47.4013 23.62 46.282 22.5007 46.282 21.12V16.553C46.282 15.1723 47.4013 14.053 48.782 14.053ZM47.0143 25.7852C47.9906 24.8089 49.5735 24.8089 50.5498 25.7852L50.5958 25.8312C51.5721 26.8076 51.572 28.3905 50.5957 29.3668C49.6194 30.3431 48.0365 30.343 47.0602 29.3667L47.0142 29.3207C46.0379 28.3444 46.0379 26.7615 47.0143 25.7852Z",fill:"#FFBC27"})]})})}Lh.displayName="WarningWhite";function Ah(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:V("svg",{fill:"none",children:[d("path",{d:"M22.142 44.1878C34.0945 44.1878 43.784 34.4984 43.784 22.5458C43.784 10.5933 34.0945 0.903809 22.142 0.903809C10.1895 0.903809 0.5 10.5933 0.5 22.5458C0.5 34.4984 10.1895 44.1878 22.142 44.1878Z",fill:"#F9DFDF"}),d("path",{d:"M19 24.1409C19.8284 24.1409 20.5 23.4693 20.5 22.6409C20.5 21.8124 19.8284 21.1409 19 21.1409C18.1716 21.1409 17.5 21.8124 17.5 22.6409C17.5 23.4693 18.1716 24.1409 19 24.1409Z",fill:"#CC0000"}),d("path",{d:"M24 24.1409C24.8284 24.1409 25.5 23.4693 25.5 22.6409C25.5 21.8124 24.8284 21.1409 24 21.1409C23.1716 21.1409 22.5 21.8124 22.5 22.6409C22.5 23.4693 23.1716 24.1409 24 24.1409Z",fill:"#CC0000"}),d("path",{d:"M29 24.1409C29.8284 24.1409 30.5 23.4693 30.5 22.6409C30.5 21.8124 29.8284 21.1409 29 21.1409C28.1716 21.1409 27.5 21.8124 27.5 22.6409C27.5 23.4693 28.1716 24.1409 29 24.1409Z",fill:"#CC0000"}),d("path",{d:"M44.178 13.9239C41.157 8.67487 35.491 5.14087 29 5.14087C19.335 5.14087 11.5 12.9759 11.5 22.6409C11.5 32.3059 19.335 40.1409 29 40.1409C35.108 40.1409 40.484 37.0119 43.615 32.2699",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.0862 15.7271C37.0625 14.7508 38.6455 14.7508 39.6218 15.7271L43.7105 19.8158L47.7992 15.7271C48.7755 14.7508 50.3585 14.7508 51.3348 15.7271C52.3111 16.7034 52.3111 18.2863 51.3348 19.2626L47.246 23.3514L51.3348 27.4401C52.3111 28.4164 52.3111 29.9993 51.3348 30.9756C50.3585 31.952 48.7755 31.952 47.7992 30.9756L43.7105 26.8869L39.6218 30.9756C38.6455 31.952 37.0625 31.952 36.0862 30.9756C35.1099 29.9993 35.1099 28.4164 36.0862 27.4401L40.175 23.3514L36.0862 19.2626C35.1099 18.2863 35.1099 16.7034 36.0862 15.7271Z",fill:"#CC0000"})]})})}Ah.displayName="ErrorColor";function Fh(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:V("svg",{fill:"none",children:[d("path",{d:"M21.642 44.2349C33.5945 44.2349 43.284 34.5455 43.284 22.5929C43.284 10.6404 33.5945 0.950928 21.642 0.950928C9.68945 0.950928 0 10.6404 0 22.5929C0 34.5455 9.68945 44.2349 21.642 44.2349Z",fill:"#E0EEFA"}),d("path",{d:"M18.5 24.188C19.3284 24.188 20 23.5164 20 22.688C20 21.8596 19.3284 21.188 18.5 21.188C17.6716 21.188 17 21.8596 17 22.688C17 23.5164 17.6716 24.188 18.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M23.5 24.188C24.3284 24.188 25 23.5164 25 22.688C25 21.8596 24.3284 21.188 23.5 21.188C22.6716 21.188 22 21.8596 22 22.688C22 23.5164 22.6716 24.188 23.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M28.5 24.188C29.3284 24.188 30 23.5164 30 22.688C30 21.8596 29.3284 21.188 28.5 21.188C27.6716 21.188 27 21.8596 27 22.688C27 23.5164 27.6716 24.188 28.5 24.188Z",fill:"#0189FF"}),d("path",{d:"M43.678 13.971C40.657 8.72199 34.991 5.18799 28.5 5.18799C18.835 5.18799 11 13.023 11 22.688C11 32.353 18.835 40.188 28.5 40.188C34.608 40.188 39.984 37.059 43.115 32.317",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M47 21.188H50C50.2652 21.188 50.5196 21.2933 50.7071 21.4809C50.8946 21.6684 51 21.9228 51 22.188V29.233H51.237C51.4908 29.2411 51.7316 29.3477 51.9082 29.5301C52.0849 29.7125 52.1837 29.9565 52.1837 30.2105C52.1837 30.4645 52.0849 30.7085 51.9082 30.8909C51.7316 31.0733 51.4908 31.1799 51.237 31.188H46.977C46.7232 31.1799 46.4824 31.0733 46.3058 30.8909C46.1291 30.7085 46.0303 30.4645 46.0303 30.2105C46.0303 29.9565 46.1291 29.7125 46.3058 29.5301C46.4824 29.3477 46.7232 29.2411 46.977 29.233H47V23.311C46.7348 23.311 46.4804 23.2056 46.2929 23.0181C46.1054 22.8306 46 22.5762 46 22.311V22.188C46 21.9228 46.1054 21.6684 46.2929 21.4809C46.4804 21.2933 46.7348 21.188 47 21.188Z",fill:"#0189FF"}),d("path",{d:"M49 19.188C50.3807 19.188 51.5 18.0687 51.5 16.688C51.5 15.3073 50.3807 14.188 49 14.188C47.6193 14.188 46.5 15.3073 46.5 16.688C46.5 18.0687 47.6193 19.188 49 19.188Z",fill:"#0189FF"})]})})}Fh.displayName="InfoColor";function Ih(e){return d(le,{...e,w:"57",h:"45",viewBox:"0 0 57 45",children:V("svg",{fill:"none",children:[d("path",{d:"M21.642 44.0469C33.5945 44.0469 43.284 34.3575 43.284 22.4049C43.284 10.4524 33.5945 0.762939 21.642 0.762939C9.68945 0.762939 0 10.4524 0 22.4049C0 34.3575 9.68945 44.0469 21.642 44.0469Z",fill:"#E9F6EC"}),d("path",{d:"M43.678 13.783C40.657 8.534 34.991 5 28.5 5C18.835 5 11 12.835 11 22.5C11 32.165 18.835 40 28.5 40C34.608 40 39.984 36.871 43.115 32.129",stroke:"#808080",strokeWidth:"2",strokeLinecap:"round"}),d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.0248 12.7762C57.0011 13.7525 57.0011 15.3354 56.0248 16.3117L44.3118 28.0247C43.8429 28.4936 43.207 28.7569 42.544 28.7569C41.881 28.7569 41.2451 28.4936 40.7762 28.0247L34.2322 21.4807C33.2559 20.5044 33.2559 18.9215 34.2322 17.9452C35.2085 16.9689 36.7915 16.9689 37.7678 17.9452L42.544 22.7214L52.4892 12.7762C53.4655 11.7999 55.0485 11.7999 56.0248 12.7762Z",fill:"#28A745"}),d("path",{d:"M18.5 24C19.3284 24 20 23.3284 20 22.5C20 21.6716 19.3284 21 18.5 21C17.6716 21 17 21.6716 17 22.5C17 23.3284 17.6716 24 18.5 24Z",fill:"#28A745"}),d("path",{d:"M23.5 24C24.3284 24 25 23.3284 25 22.5C25 21.6716 24.3284 21 23.5 21C22.6716 21 22 21.6716 22 22.5C22 23.3284 22.6716 24 23.5 24Z",fill:"#28A745"}),d("path",{d:"M28.5 24C29.3284 24 30 23.3284 30 22.5C30 21.6716 29.3284 21 28.5 21C27.6716 21 27 21.6716 27 22.5C27 23.3284 27.6716 24 28.5 24Z",fill:"#28A745"})]})})}Ih.displayName="SuccessColor";function Dh(e){return d(le,{...e,w:"53",h:"45",viewBox:"0 0 53 45",children:V("svg",{fill:"none",children:[d("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"}),d("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"}),d("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"}),d("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"}),d("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"}),d("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"})]})})}Dh.displayName="WarningColor";function Rh(e){return d(le,{...e,title:"close",children:d("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:d("path",{d:"M10.7071 1.29303C10.5196 1.10556 10.2652 1.00024 10.0001 1.00024C9.73492 1.00024 9.48061 1.10556 9.29308 1.29303L6.00008 4.58603L2.70708 1.29303C2.51848 1.11087 2.26588 1.01008 2.00368 1.01236C1.74148 1.01464 1.49067 1.1198 1.30526 1.30521C1.11985 1.49062 1.01469 1.74143 1.01241 2.00363C1.01013 2.26583 1.11092 2.51843 1.29308 2.70703L4.58608 6.00003L1.29308 9.29303C1.19757 9.38528 1.12139 9.49562 1.06898 9.61763C1.01657 9.73963 0.988985 9.87085 0.987831 10.0036C0.986677 10.1364 1.01198 10.2681 1.06226 10.391C1.11254 10.5139 1.18679 10.6255 1.28069 10.7194C1.37458 10.8133 1.48623 10.8876 1.60913 10.9379C1.73202 10.9881 1.8637 11.0134 1.99648 11.0123C2.12926 11.0111 2.26048 10.9835 2.38249 10.9311C2.50449 10.8787 2.61483 10.8025 2.70708 10.707L6.00008 7.41403L9.29308 10.707C9.48168 10.8892 9.73429 10.99 9.99648 10.9877C10.2587 10.9854 10.5095 10.8803 10.6949 10.6948C10.8803 10.5094 10.9855 10.2586 10.9878 9.99643C10.99 9.73423 10.8892 9.48163 10.7071 9.29303L7.41408 6.00003L10.7071 2.70703C10.8946 2.5195 10.9999 2.26519 10.9999 2.00003C10.9999 1.73487 10.8946 1.48056 10.7071 1.29303Z",fill:"#60798E"})})})}Rh.displayName="Close";function Vh(e){return d(le,{...e,w:"16px",h:"16px",viewBox:"0 0 16 16",children:d("path",{d:"M9.207 5.793L3 12L4.414 13.414L10.621 7.207L13.414 10V3H6.414L9.207 5.793Z",fill:"#0189FF"})})}Vh.displayName="Download";var wB=Object.freeze(Object.defineProperty({__proto__:null,AcademicRecord:uh,AlertInfo:ch,ArrowRight:dh,Certificate:fh,CircularCheck:ph,CircularInformation:Vc,Download:$c,GoAhead:hh,GoBack:vh,Multimedia:mh,Loader:v6,Profile:gh,Schedule:yh,TinyAlertInfo:bh,TinyAlertError:xh,TinyAlertWarning:wh,TinyAlertSuccess:Ch,Password:Sh,Pen:kh,PlusSign:Eh,TrashCan:_h,TextBubble:Ph,ErrorWhite:Th,InfoWhite:Mh,SuccessWhite:Oh,WarningWhite:Lh,ErrorColor:Ah,InfoColor:Fh,SuccessColor:Ih,WarningColor:Dh,Close:Rh,DiagonalArrow:Vh},Symbol.toStringTag,{value:"Module"}));function m6({status:e,text:t,margin:r="0"}){const n={success:{icon:d(Ch,{}),text:"Success",bg:B("colors-alert-ice"),color:B("colors-neutral-darkCharcoal")},error:{icon:d(xh,{}),text:"Error",bg:B("colors-alert-veryLightPinkThree"),color:B("colors-neutral-darkCharcoal")},info:{icon:d(bh,{}),text:"Info",bg:B("colors-alert-veryLightBlue"),color:B("colors-neutral-darkCharcoal")},warning:{icon:d(wh,{}),text:"Warning",bg:B("colors-alert-pale"),color:B("colors-neutral-darkCharcoal")},answered:{icon:void 0,text:"Answered",bg:B("colors-main-blueGrey"),color:B("colors-neutral-white")},omitted:{icon:void 0,text:"Omitted",bg:B("colors-main-ziggurat"),color:B("colors-neutral-darkCharcoal")},pending:{icon:void 0,text:"Pending",bg:B("colors-neutral-cultured"),color:B("colors-neutral-darkCharcoal")},new:{icon:void 0,text:"New answer",bg:"#FF7A14",color:B("colors-neutral-white")}};return n[e]?V(X,{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&&d(X,{lineHeight:0,sx:{">svg":{margin:0}},children:n[e].icon}),d(X,{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}m6.displayName="TinyAlert";function Bc({ariaLabel:e,bg:t,borderColorActive:r=[B("colors-main-deepSkyBlue"),B("colors-neutral-white")],children:n,color:i=B("colors-neutral-white"),disabled:o=!1,fillLoader:a=B("colors-neutral-white"),id:l=void 0,isFullWidth:s=!1,isLoading:u=!1,leftIcon:c,m:p="0",onClick:f,rightIcon:h,role:m="button",rounded:y=!1,size:v="regular",touchDark:g=!1,type:b="button",tabIndex:w=0}){var R,Z,G;let C=n!=null?n:null;!n&&!h&&!c&&(C="Button");const k=".75rem",_=y?"12px":B("radii-small"),E=(R=t==null?void 0:t.main)!=null?R:B("colors-main-deepSkyBlue"),M=g?"rgba(160, 160, 160, 0.2)":"rgba(255, 255, 255, 0.2)",O=!n&&(h!=null?h:c)?"onlyIcon":"";return d(X,{margin:p,sx:{".react-ripples":{borderRadius:_,display:`${s?"grid":"inline-flex!important"}`}},children:d(h6,{color:M,children:d(y1,{"aria-label":e,id:l,role:m,bg:E,borderRadius:_,color:i,className:O,disabled:o&&u?!1:o,fontWeight:"500",fontSize:v==="regular"?"medium":"small",height:"auto",iconSpacing:B("space-xs"),isActive:!1,isLoading:u,isFullWidth:s,lineHeight:"initial",leftIcon:c,minHeight:v==="regular"?"2.813rem":"2rem",minWidth:v==="regular"?"9rem":"auto",onClick:U=>{!u&&!o&&(f==null||f(U))},position:"relative",paddingTop:v==="regular"?k:B(O?"space-xs":"space-xxs"),paddingBottom:v==="regular"?k:B(O?"space-xs":"space-xxs"),paddingLeft:B(v==="regular"?"space-s":"space-xs"),paddingRight:B(v==="regular"?"space-s":"space-xs"),rightIcon:h,type:b,size:v==="regular"?"md":"sm",spinner:d(v6,{fill:a}),tabIndex:o||u?-1:w,_active:{bg:(Z=t==null?void 0:t.main)!=null?Z:B("colors-main-azureRadiance")},_disabled:{opacity:"50%",cursor:"not-allowed"},_focus:{boxShadow:"none"},_focusVisible:{boxShadow:`inset 0 0 0 2px ${r[0]}, inset 0 0 0 4px ${r[1]}`},_hover:{bg:(G=t==null?void 0:t.hover)!=null?G:B("colors-main-azureRadiance")},sx:{"&[data-loading]":{boxShadow:"none",cursor:"wait"},"&.onlyIcon span":{m:0},span:{h:"1rem"}},children:C})})})}Bc.displayName="Btn";function $h({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:p="button",tabIndex:f,id:h}){return d(Bc,{ariaLabel:e,id:h,disabled:r,isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,type:p,tabIndex:f,children:t})}$h.displayName="BtnPrimary";function Bh({ariaLabel:e,children:t,disabled:r=!1,isFullWidth:n=!1,leftIcon:i,m:o="0",isLoading:a=!1,onClick:l,rightIcon:s,role:u="button",size:c="regular",type:p="button",tabIndex:f,id:h}){return d(Bc,{ariaLabel:e,id:h,bg:{main:B("colors-main-veryLightBlue"),hover:B("colors-main-linkWater")},borderColorActive:[B("colors-main-deepSkyBlue"),B("colors-neutral-white")],color:B("colors-main-deepSkyBlue"),disabled:r,fillLoader:B("colors-main-deepSkyBlue"),isFullWidth:n,isLoading:a,leftIcon:i,m:o,onClick:l,rightIcon:s,role:u,size:c,touchDark:!0,type:p,tabIndex:f,children:t})}Bh.displayName="BtnSecondary";function g6({ariaLabel:e,activeWhenPress:t=!1,children:r,id:n,iconStatus:i="multimedia",iconCustom:o,m:a="0",onClick:l,onMouseEnter:s,onMouseLeave:u,rightIcon:c,role:p="button",type:f="button",tabIndex:h,withoutColor:m=!1}){const y=B("colors-neutral-gray"),v=B("colors-main-deepSkyBlue"),g=B("colors-neutral-white"),b=m?B("colors-main-blueGrey"):v,w={ahead:d(hh,{color:b}),answer:d(Ph,{color:b}),back:d(vh,{color:b}),delete:d(_h,{color:b}),download:d($c,{color:b}),edit:d(kh,{color:b}),more:d(Eh,{color:b}),multimedia:d(mh,{color:b}),password:d(Sh,{color:b}),record:d(uh,{color:b}),noIcon:d(Ir,{})};let C;return w[i]&&i!=="noIcon"&&(C=w[i]),o&&(C=o),d(y1,{"aria-label":e,id:n,role:p,type:f,tabIndex:h,background:"transparent",borderRadius:"12px",color:y,fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:"14px",gap:"0.5rem",height:"24px",lineHeight:"16px",leftIcon:c?void 0:C,rightIcon:c?C:void 0,m:a,onClick:l,onMouseEnter:s,onMouseLeave:u,paddingTop:B("space-xxs"),paddingBottom:B("space-xxs"),paddingLeft:B("space-xs"),paddingRight:B("space-xs"),textDecorationLine:"underline",_hover:{color:`${v}`},_focusVisible:{boxShadow:`inset 0 0 0 2px ${v}, inset 0 0 0 4px ${g}`},_focus:{color:t?`${v} !important`:"inherit",boxShadow:"none"},_active:{bg:"transparent"},sx:{">span":{mr:0}},children:r})}g6.displayName="BtnTertiary";function Il({as:e="a",ariaLabel:t,children:r,fontSize:n="0.875rem",href:i="",id:o,m:a="0",onClick:l,role:s="link",tabIndex:u,textDecorationLine:c=!0}){const p={button:{onClick:l},a:{href:i,target:"_blank"}};return d(X,{as:e,"aria-label":t,id:o,role:s,backgroundColor:"transparent",borderStyle:"none",className:"linkButton",color:B("colors-main-deepSkyBlue"),fontFamily:"Roboto",fontStyle:"normal",fontWeight:"500",fontSize:n,lineHeight:"1rem",onClick:l,padding:".25em",tabIndex:u,textDecorationLine:c?"underline":"none",width:"fit-content",m:a,_hover:{color:B("colors-neutral-darkCharcoal"),cursor:"pointer"},...p[e],children:r})}Il.displayName="BtnLink";const y6=({children:e,className:t="tooltip",label:r,isDisabled:n=!1,m:i,maxWidth:o="200px",placement:a="bottom",isOpen:l,sx:s})=>d(uB,{isOpen:l,sx:{bg:B("colors-neutral-darkCharcoal"),borderRadius:"10px",color:"white !important",fontSize:"12px",fontWeight:"400",maxWidth:o,padding:"8px",".chakra-tooltip__arrow":{bg:`${B("colors-neutral-darkCharcoal")} !important`},...s},className:t,closeOnClick:!0,label:r,m:i,hasArrow:!0,isDisabled:n,placement:a,children:d("span",{children:e})});function CB(e){return d(le,{...e,children:d("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8ZM8 5C8.82843 5 9.5 4.32843 9.5 3.5C9.5 2.67157 8.82843 2 8 2C7.17157 2 6.5 2.67157 6.5 3.5C6.5 4.32843 7.17157 5 8 5ZM2.96967 5.96967C3.11032 5.82902 3.30109 5.75 3.5 5.75H12.5C12.6989 5.75 12.8897 5.82902 13.0303 5.96967C13.171 6.11032 13.25 6.30109 13.25 6.5C13.25 6.69891 13.171 6.88968 13.0303 7.03033C12.8897 7.17098 12.6989 7.25 12.5 7.25H10.25V13.25C10.25 13.4489 10.171 13.6397 10.0303 13.7803C9.88968 13.921 9.69891 14 9.5 14C9.30109 14 9.11032 13.921 8.96967 13.7803C8.82902 13.6397 8.75 13.4489 8.75 13.25V10.25H7.25V13.25C7.25 13.4489 7.17098 13.6397 7.03033 13.7803C6.88968 13.921 6.69891 14 6.5 14C6.30109 14 6.11032 13.921 5.96967 13.7803C5.82902 13.6397 5.75 13.4489 5.75 13.25V7.25H3.5C3.30109 7.25 3.11032 7.17098 2.96967 7.03033C2.82902 6.88968 2.75 6.69891 2.75 6.5C2.75 6.30109 2.82902 6.11032 2.96967 5.96967Z",fill:"white"})})})}function SB(){const e=()=>{const t=document.getElementById("userWayTrigger");t!=null&&t.click&&t.click()};return d(X,{as:"button",alignItems:"center",bg:B("colors-main-blueGrey"),borderRadius:"100%",border:"1px solid transparent",display:"flex",height:"30px",id:"UserWayButton",justifyContent:"center",padding:"0 8px",width:"30px",_hover:{background:"rgba(96, 121, 142, 0.8)"},onClick:e,children:d(CB,{})})}function kB(){var r;const e="userwayData",t=(r=document.cookie.split("; ").find(n=>n.startsWith(`${e}=`)))==null?void 0:r.split("=")[1];if(t)try{const n=JSON.parse(decodeURIComponent(t));for(const[i,o]of Object.entries(n))localStorage.setItem(i,o);console.log("UserWay data restored to localStorage:",n)}catch(n){console.error("Error parsing UserWay data from cookie:",n)}window.addEventListener("beforeunload",()=>{const n={};for(const a in localStorage)a.startsWith("userway-")&&(n[a]=localStorage.getItem(a));const i=JSON.stringify(n),o=new Date;o.setTime(o.getTime()+24*60*60*1e3),document.cookie=`${e}=${encodeURIComponent(i)};expires=${o.toUTCString()};path=/`})}const EB=4;function b6(){var a;const{background:e,labels:t,logo:r,logoAlt:n,Profile:i,soonCourse:o}=x.useContext(Nc);return V(X,{as:"header",height:"8.75rem",borderBottom:B("borders-light"),pos:"relative",_before:{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundImage:`url(${e!=null?e:""})`,backgroundSize:"cover",backgroundPosition:"center",opacity:(a=o==null?void 0:o.show)!=null&&a?.3:1,zIndex:0},children:[V(X,{p:"1rem",display:"flex",gap:"0.625rem",position:"absolute",zIndex:2,children:[(i==null?void 0:i.id)!==EB&&d(Fl,{bg:B("colors-neutral-white"),m:"0 0 .625rem 0",children:V(xl,{children:[d(gh,{m:"0 .25rem 0 0"}),i==null?void 0:i.name]})}),t!==void 0&&t.length>0&&d(x1,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:t.map((l,s)=>d(Fl,{bg:l.id==="NEW"?B("colors-secondary-pumpkin"):void 0,children:l.text},s))}),(o==null?void 0:o.show)&&(o==null?void 0:o.text)&&d(x1,{direction:"row",spacing:".625rem",wrap:"wrap",zIndex:2,children:d(Fl,{children:o.text})})]}),r!==void 0&&r.length>0&&d(Y8,{pos:"absolute",bottom:"0",left:".9375rem",transform:"translateY(30%)",h:"3.5rem",border:B("borders-light"),bg:B("colors-neutral-white"),overflow:"hidden",borderRadius:B("radii-small"),w:"6.25rem",zIndex:2,children:d(cI,{src:r,alt:n!=null?n:"logo",maxHeight:"3.5rem",maxWidth:"6.25rem"})})]})}b6.displayName="Header";function Nh({date:e}){return e==null||e.length===0?null:d(it,{fontSize:".75rem",color:B("colors-neutral-darkCharcoal"),m:"0",children:e})}Nh.displayName="DateStatus";function x6({type:e,progressValue:t=0}){switch(e){case"schedule":return d(yh,{});case"certificate":return d(fh,{});case"circularCheck":return d(ph,{});case"progress":return d(p6,{value:t});case"circularInformation":return d(Vc,{});case"info":return d(Vc,{});default:return null}}const _B=7;function w6({progress:e,status:t}){return V(Ir,{children:[V(xl,{children:[d(x6,{type:e.icon,progressValue:e.progress}),d(it,{m:"0",ml:".625rem",fontSize:".875rem",lineHeight:"1.125rem",children:e==null?void 0:e.label})]}),(t==null?void 0:t.id)===_B&&(e==null?void 0:e.finalGrade)&&(e==null?void 0:e.finalGrade.length)>0&&d(Fl,{size:"sm",bg:e.isApproved?B("colors-alert-jadeGreen"):B("colors-alert-red"),color:B("colors-neutral-white"),children:e==null?void 0:e.finalGrade})]})}function C6(){const{name:e,dateStatus:t,information:r,progress:n,status:i}=x.useContext(Nc);return n==null?null:V(X,{marginTop:"1.875rem",as:"section",p:"0 .9375rem",children:[(t==null?void 0:t.hasDates)&&V($I,{direction:"row",divider:t.init!==void 0&&t.init.length>0&&t.end!==void 0&&n.icon!==null&&t.end.length>0?d(X,{h:".5rem",w:"1px",bg:B("colors-neutral-silverSand"),alignSelf:"center"}):d(Ir,{}),children:[d(Nh,{date:t.init}),d(Nh,{date:t.end})]}),d(PI,{as:"h2",fontSize:"1rem",mt:".3125rem",fontWeight:"700",lineHeight:"1.3",children:e}),d(xl,{mt:"1rem",justify:"space-between",children:d(w6,{progress:n,status:i})}),r!=null&&(r==null?void 0:r.length)>0&&d(AI,{spacing:".625rem",paddingInlineStart:"0",pt:".625rem",m:".625rem 0 0",lineHeight:".875rem",borderTop:B("borders-light"),children:r.map((o,a)=>{var l;return V(FI,{display:"flex",children:[d(x6,{type:o.icon}),d(X,{display:"inline-block",ml:".625rem",children:o.href!==void 0&&((l=o.href)==null?void 0:l.length)>0?d(bc,{isExternal:!0,href:o.href,color:B("colors-main-deepSkyBlue"),textDecor:"underline",fontWeight:"500",fontSize:".75rem",children:o.text}):d(it,{m:"0",color:B("colors-neutral-gray"),fontSize:".75rem",children:o.text})})]},a)})})]})}C6.displayName="Section";const z={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"}]},S6={noHabilitado:{...z,id:1,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"Inscripci\xF3n no habilitada",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[]},inscripcionFutura:{...z,id:2,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"Podr\xE1s inscribirte a partir del 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},inscripcionFinalizo:{...z,id:3,hasFinanzeFreezed:!1,status:{...z.status,id:1,name:"noHabilitado"},progress:{...z.progress,label:"El per\xEDodo de inscripci\xF3n finaliz\xF3 el 31 de marzo de 2022",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:null,action:{...z.action,href:"#",text:"Ver informaci\xF3n del curso"},labels:[{id:"NEW",text:"Nuevo"}]},preInscripcion:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-utec-square.jpg",background:"https://cdn.eclass.com/img/cursos/default1.png",id:4,hasFinanzeFreezed:!1,status:{...z.status,id:2,name:"preInscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Solicitar inscripci\xF3n",targetBlank:!0},labels:[]},preInscripcion2:{...z,id:5,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:2,name:"preInscripcion"},progress:{...z.progress,label:"Estamos procesando tu solicitud de inscripci\xF3n",icon:"circularInformation"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},inscripcion:{...z,background:"https://cdn.eclass.com/img/cursos/default2.png",id:6,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!1},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Inscr\xEDbete",targetBlank:!0}},inscripcion2:{...z,id:7,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tienes hasta el Lunes 16 de Enero para de 2022 inscribirte",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[],action:{...z.action,text:"Inscr\xEDbete",targetBlank:!0},labels:[{id:"OBLIGATORY",text:"Obligatorio"},{id:"NEW",text:"Nuevo"}]},noDisponible:{...z,id:8,hasFinanzeFreezed:!1,logo:"",background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...z.status,id:4,name:"no disponible"},progress:{...z.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:{...z.action,text:"Ver informaci\xF3n del curso",targetBlank:!0},labels:[]},noDisponible2:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:9,hasFinanzeFreezed:!1,status:{...z.status,id:4,name:"no disponible"},progress:{...z.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:{...z.action,enabled:!1},labels:[]},noDisponible3:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:10,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...z.status,id:4,name:"no disponible"},progress:{...z.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:{...z.action,enabled:!1},labels:[]},activado:{...z,id:11,hasFinanzeFreezed:!1,status:{...z.status,id:5,name:"disponible"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar:{...z,id:12,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar2:{...z,id:13,hasFinanzeFreezed:!1,background:"https://cdn.eclass.com/img/cursos/default2.png",status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar3:{...z,id:14,hasFinanzeFreezed:!1,status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},sinEstudiar4:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-uandes-square.jpg",id:15,hasFinanzeFreezed:!1,status:{...z.status,id:6,name:"sinEstudiar"},progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Comenzar a estudiar"},labels:[]},continuar:{...z,id:16,hasFinanzeFreezed:!0,status:{...z.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",progress:{...z.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:{...z.action,targetBlank:!0,hasIcon:!0,text:"Continuar estudiando"},labels:[]},continuar2:{...z,id:17,hasFinanzeFreezed:!1,status:{...z.status,id:7,name:"continuar"},logo:"https://cdn.eclass.com/files/branding/programa/2119/imagePdf-1628188569.jpg",progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},pendiente:{...z,background:"https://cdn.eclass.com/img/cursos/default3.png",id:18,hasFinanzeFreezed:!1,status:{...z.status,id:8,name:"pendiente"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},terminado:{...z,id:19,hasFinanzeFreezed:!1,status:{...z.status,id:7,name:"QUALIFIED"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},terminado2:{...z,logo:"https://cdn.eclass.com/img/productos/logos/logo-eclass-academy-square.jpg",id:20,hasFinanzeFreezed:!1,Profile:{id:1,name:"Administrador"},status:{...z.status,id:7,name:"QUALIFIED"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},terminado3:{...z,id:21,hasFinanzeFreezed:!1,logo:"",status:{...z.status,id:9,name:"terminado"},progress:{...z.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:{...z.action,text:"Ir a mi curso"},labels:[]},proximamente:{...z,id:22,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[]},proximamente2:{...z,id:23,hasFinanzeFreezed:!1,status:{...z.status,id:3,name:"inscripcion"},progress:{...z.progress,label:"Tu curso iniciara el Lunes 16 de Enero de 2023",icon:"schedule"},dateStatus:{...z.dateStatus,hasDates:!0},information:[{icon:"certificate",text:"Certificado por ACHS",href:""}],action:{...z.action,text:"Ver informacion del curso",targetBlank:!0},soonCourse:{show:!0,text:"Pr\xF3ximamente"},labels:[{id:"OBLIGATORY",text:"Obligatorio"}]}},PB=Object.keys(S6).map(e=>S6[e]),k6=4,Dl=(e,t=k6)=>e||t!==k6;function TB(e=4){const t=e*P6+_6*(e-1);return{px:`${t*16}px`,rem:`${t}rem`,remValue:t}}function MB({isOpen:e,onOpen:t,onClose:r,showOverlay:n,modalPaymentText:i}){const o={backgroundColor:"transparent"};function a(){return d(ih,{bg:"#2F2F2F",opacity:"0.32 !important",backdropBlur:"2px"})}const[l,s]=x.useState(d(a,{}));return x.useEffect(()=>{n&&s(d(a,{}))},[n]),V(Ll,{isCentered:!0,isOpen:e,onClose:r,size:"xl",blockScrollOnMount:!1,closeOnOverlayClick:!1,children:[l,V(nh,{marginTop:"0",marginBottom:["25.75rem","15.75rem"],children:[V(oh,{justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",p:"2rem 2rem 0 2rem",children:[d(ch,{w:"52",h:"45",viewBox:"0 0 45 52"}),i.title]}),d(s6,{size:"md",color:B("colors-main-blueGrey"),_hover:o,_focus:o,_active:o}),d(ah,{p:"1rem 2rem 2rem 2rem",children:d(it,{align:"center",children:i.body})}),d(lh,{justifyContent:"center",borderTop:"1px solid",borderTopColor:B("colors-neutral-platinum"),p:"1rem",children:d(y1,{onClick:r,color:B("colors-main-deepSkyBlue"),backgroundColor:"transparent",fontWeight:"500",height:"auto",lineHeight:"1.172rem",_hover:o,_focus:o,_active:o,children:i.buttonName})})]})]})}Ll.displayName="Modal";function E6({modalPaymentText:e}){const{action:t,Profile:r,hasFinanzeFreezed:n}=x.useContext(Nc),{isOpen:i,onOpen:o,onClose:a}=Sd(),[l,s]=x.useState(!1),u={backgroundColor:"transparent"},c=()=>{s(!0),o()};return t==null?null:V(Y8,{as:"footer",mt:"1rem",p:"1rem",borderTop:"1px solid",borderTopColor:B("colors-neutral-platinum"),children:[Dl(t.enabled,r==null?void 0:r.id)?V(Ir,{children:[n&&e?d(X,{color:B("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}):d(it,{color:B("colors-main-deepSkyBlue"),fontWeight:"500",mr:t.hasIcon?"1.5rem":"0",lineHeight:"1.172rem",mt:"0",mb:"0",children:t.text}),t.hasIcon&&d(dh,{color:B("colors-main-deepSkyBlue")})]}):d(it,{fontWeight:"500",lineHeight:"1.172rem",color:B("colors-neutral-spanishGrey"),m:"0",children:t.text}),e&&d(MB,{isOpen:i,onClose:a,showOverlay:l,onOpen:o,modalPaymentText:e})]})}E6.displayName="Footer";const Nc=x.createContext({});function OB({enabled:e,children:t}){return e?d(Po,{children:t}):d(Ir,{children:t})}function zh({data:e,modalPaymentText:t}){var n,i,o,a,l,s,u,c;const r={boxShadow:`0 2px 7px 0 ${B("colors-neutral-silverSand")}`};return d(Nc.Provider,{value:e,children:d(HI,{as:"article",border:B("borders-light"),borderRadius:B("radii-big"),cursor:"pointer",transition:"box-shadow .3s",_active:r,_hover:r,_focus:r,overflow:"hidden",children:d(OB,{enabled:Dl((i=(n=e.action)==null?void 0:n.enabled)!=null?i:!1,(o=e.Profile)==null?void 0:o.id),children:V(xl,{direction:"column",justify:"space-between",h:"100%",children:[V(X,{className:"CourseList-TraditionalBox",children:[!e.hasFinanzeFreezed&&Dl((l=(a=e.action)==null?void 0:a.enabled)!=null?l:!1,(s=e.Profile)==null?void 0:s.id)&&d(q8,{href:(u=e.action)==null?void 0:u.href,isExternal:(c=e.action)==null?void 0:c.targetBlank}),d(b6,{}),d(C6,{})]}),d(E6,{modalPaymentText:t})]})})})})}zh.displayName="BoxTraditional";function LB({enabled:e,children:t}){return e?d(Po,{children:t}):d(Ir,{children:t})}function Hh({backgroundImg:e,title:t,data:r,size:n="large",m:i}){var a,l,s,u,c,p,f,h,m;const o={large:"286px",small:"197px"};return d(LB,{enabled:Dl((l=(a=r==null?void 0:r.action)==null?void 0:a.enabled)!=null?l:!1,(s=r==null?void 0:r.Profile)==null?void 0:s.id),children:V(X,{className:"CourseList-ImageBox",sx:{backgroundImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${e})`,color:B("colors-neutral-white"),cursor:"pointer",height:o[n],backgroundSize:"cover",backgroundPosition:"center",borderRadius:"10px",padding:"16px",display:"flex",font:"Roboto",flexDirection:"column",margin:i,justifyContent:"end",textAlign:"left"},children:[!(r!=null&&r.hasFinanzeFreezed)&&Dl((c=(u=r==null?void 0:r.action)==null?void 0:u.enabled)!=null?c:!1,(p=r==null?void 0:r.Profile)==null?void 0:p.id)&&d(q8,{href:(f=r==null?void 0:r.action)==null?void 0:f.href,isExternal:(h=r==null?void 0:r.action)==null?void 0:h.targetBlank}),V(X,{className:"textBox",bottom:"20px",display:"flex",flexDirection:"column",gap:"8px",children:[d(X,{as:"h2",className:"courseName",fontWeight:"700",fontSize:"16px",lineHeight:"21px",marginBlockEnd:"0",margin:"0",children:t}),(m=r==null?void 0:r.information)==null?void 0:m.map((y,v)=>y.icon==="certificate"&&d(X,{as:"p",className:"certificateText",fontSize:"14px",fontWeight:"400",lineHeight:"12px",margin:"0",children:y.text},v))]})]})})}Hh.displayName="BoxImage";const AB=({type:e="TRADITIONAL",data:t,modalPaymentText:r})=>{var a,l;const n={data:t,modalPaymentText:r},i={data:t,backgroundImg:(a=t.background)!=null?a:"",title:(l=t.name)!=null?l:""};return{TRADITIONAL:d(zh,{...n}),TRADITIONAL_LANDSCAPE:d(zh,{...n}),IMAGE_LARGE:d(Hh,{...i}),IMAGE_SMALL:d(Hh,{...i,size:"small"})}[e]},_6=1.25,P6=17.8125;function T6({courses:e,modalPaymentText:t,m:r="0 auto",typeBox:n="TRADITIONAL"}){return e===void 0?null:d(X,{display:"grid",gridColumnGap:`${_6}rem`,gridRowGap:"1.75rem",gridTemplateColumns:`repeat(auto-fill, minmax(${P6}rem, 1fr))`,m:r,w:"100%",children:e==null?void 0:e.map(i=>d(AB,{data:i,type:n,modalPaymentText:t},i.id))})}T6.displayName="CourseList";const jh={success:{icon:d(Oh,{}),bg:B("colors-alert-ice"),id:"success"},error:{icon:d(Th,{}),bg:B("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:d(Mh,{}),bg:B("colors-alert-veryLightBlue"),id:"info"},warning:{icon:d(Lh,{}),bg:B("colors-alert-pale"),id:"warning"}},FB={success:{icon:d(Ih,{}),bg:B("colors-alert-ice"),id:"success"},error:{icon:d(Ah,{}),bg:B("colors-alert-veryLightPinkThree"),id:"error"},info:{icon:d(Fh,{}),bg:B("colors-alert-veryLightBlue"),id:"info"},warning:{icon:d(Dh,{}),bg:B("colors-alert-pale"),id:"warning"}};function M6({children:e,canDismiss:t=!1,buttonText:r,buttonIcon:n,buttonLink:i=!1,fullWidth:o=!1,isFlash:a=!1,onClick:l,state:s,m:u,endTextLink:c,onClickLink:p}){const[f]=w1("(max-width: 425px)"),h=()=>{l&&l()};let m;return r&&(m=i?"link":"normal"),V(X,{className:a?"flashNotification":"e_alert",alignItems:f?"unset":"center",backgroundColor:jh[s].bg,borderRadius:"8px",display:"flex",flexFlow:f?"column":"row",gap:a?"":"16px",justifyContent:f?"":"space-between",margin:u,width:o?"100%":"fit-content",maxWidth:o?"none":"796px",p:"1rem",pr:t?"1.75rem":"1rem",position:"relative",children:[V(X,{display:"flex",gap:"10px",className:"alertContent",sx:{".linkButton":{fontSize:"16px"},a:{fontWeight:"500",color:B("colors-main-deepSkyBlue"),textDecoration:"underline"},"a:hover":{color:B("colors-neutral-darkCharcoal")}},children:[d(X,{className:"iconContainer",sx:{svg:{width:"auto"}},children:jh[s].icon}),V(X,{display:"flex",alignItems:"center",children:[V(X,{as:"p",alignSelf:"center",fontFamily:"Roboto",fontSize:"16px",fontWeight:"400",lineHeight:"28px",color:B("colors-neutral-darkCharcoal"),children:[e,c&&p&&d(Il,{onClick:p,children:c})]}),m==="link"&&d(Il,{onClick:h,children:r})]})]}),m==="normal"&&d($h,{isFullWidth:!!f,leftIcon:n,onClick:h,children:r}),t&&d(X,{"data-testid":"closeButton",cursor:"pointer",marginLeft:"12px",sx:{svg:{position:"absolute",top:"16px",right:"12px"}},onClick:l,children:d(Rh,{})})]})}let IB={data:""},DB=e=>typeof window=="object"?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||IB,RB=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,VB=/\/\*[^]*?\*\/| +/g,O6=/\n+/g,In=(e,t)=>{let r="",n="",i="";for(let o in e){let a=e[o];o[0]=="@"?o[1]=="i"?r=o+" "+a+";":n+=o[1]=="f"?In(a,o):o+"{"+In(a,o[1]=="k"?"":t)+"}":typeof a=="object"?n+=In(a,t?t.replace(/([^,])+/g,l=>o.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,s=>/&/.test(s)?s.replace(/&/g,l):l?l+" "+s:s)):o):a!=null&&(o=/^--/.test(o)?o:o.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=In.p?In.p(o,a):o+":"+a+";")}return r+(t&&i?t+"{"+i+"}":i)+n},Ur={},L6=e=>{if(typeof e=="object"){let t="";for(let r in e)t+=r+L6(e[r]);return t}return e},$B=(e,t,r,n,i)=>{let o=L6(e),a=Ur[o]||(Ur[o]=(s=>{let u=0,c=11;for(;u<s.length;)c=101*c+s.charCodeAt(u++)>>>0;return"go"+c})(o));if(!Ur[a]){let s=o!==e?e:(u=>{let c,p,f=[{}];for(;c=RB.exec(u.replace(VB,""));)c[4]?f.shift():c[3]?(p=c[3].replace(O6," ").trim(),f.unshift(f[0][p]=f[0][p]||{})):f[0][c[1]]=c[2].replace(O6," ").trim();return f[0]})(e);Ur[a]=In(i?{["@keyframes "+a]:s}:s,r?"":"."+a)}let l=r&&Ur.g?Ur.g:null;return r&&(Ur.g=Ur[a]),((s,u,c,p)=>{p?u.data=u.data.replace(p,s):u.data.indexOf(s)===-1&&(u.data=c?s+u.data:u.data+s)})(Ur[a],t,n,l),a},BB=(e,t,r)=>e.reduce((n,i,o)=>{let a=t[o];if(a&&a.call){let l=a(r),s=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=s?"."+s:l&&typeof l=="object"?l.props?"":In(l,""):l===!1?"":l}return n+i+(a==null?"":a)},"");function zc(e){let t=this||{},r=e.call?e(t.p):e;return $B(r.unshift?r.raw?BB(r,[].slice.call(arguments,1),t.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(t.p):i),{}):r,DB(t.target),t.g,t.o,t.k)}let A6,Wh,Uh;zc.bind({g:1});let Zr=zc.bind({k:1});function NB(e,t,r,n){In.p=t,A6=e,Wh=r,Uh=n}function Dn(e,t){let r=this||{};return function(){let n=arguments;function i(o,a){let l=Object.assign({},o),s=l.className||i.className;r.p=Object.assign({theme:Wh&&Wh()},l),r.o=/ *go\d+/.test(s),l.className=zc.apply(r,n)+(s?" "+s:""),t&&(l.ref=a);let u=e;return e[0]&&(u=l.as||e,delete l.as),Uh&&u[0]&&Uh(l),A6(u,l)}return t?t(i):i}}var zB=e=>typeof e=="function",Hc=(e,t)=>zB(e)?e(t):e,HB=(()=>{let e=0;return()=>(++e).toString()})(),F6=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),jB=20,jc=new Map,WB=1e3,I6=e=>{if(jc.has(e))return;let t=setTimeout(()=>{jc.delete(e),pi({type:4,toastId:e})},WB);jc.set(e,t)},UB=e=>{let t=jc.get(e);t&&clearTimeout(t)},Zh=(e,t)=>{switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,jB)};case 1:return t.toast.id&&UB(t.toast.id),{...e,toasts:e.toasts.map(o=>o.id===t.toast.id?{...o,...t.toast}:o)};case 2:let{toast:r}=t;return e.toasts.find(o=>o.id===r.id)?Zh(e,{type:1,toast:r}):Zh(e,{type:0,toast:r});case 3:let{toastId:n}=t;return n?I6(n):e.toasts.forEach(o=>{I6(o.id)}),{...e,toasts:e.toasts.map(o=>o.id===n||n===void 0?{...o,visible:!1}:o)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(o=>o.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let i=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+i}))}}},Wc=[],Uc={toasts:[],pausedAt:void 0},pi=e=>{Uc=Zh(Uc,e),Wc.forEach(t=>{t(Uc)})},ZB={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},GB=(e={})=>{let[t,r]=A.useState(Uc);A.useEffect(()=>(Wc.push(r),()=>{let i=Wc.indexOf(r);i>-1&&Wc.splice(i,1)}),[t]);let n=t.toasts.map(i=>{var o,a;return{...e,...e[i.type],...i,duration:i.duration||((o=e[i.type])==null?void 0:o.duration)||(e==null?void 0:e.duration)||ZB[i.type],style:{...e.style,...(a=e[i.type])==null?void 0:a.style,...i.style}}});return{...t,toasts:n}},YB=(e,t="blank",r)=>({createdAt:Date.now(),visible:!0,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...r,id:(r==null?void 0:r.id)||HB()}),Rl=e=>(t,r)=>{let n=YB(t,e,r);return pi({type:2,toast:n}),n.id},Et=(e,t)=>Rl("blank")(e,t);Et.error=Rl("error"),Et.success=Rl("success"),Et.loading=Rl("loading"),Et.custom=Rl("custom"),Et.dismiss=e=>{pi({type:3,toastId:e})},Et.remove=e=>pi({type:4,toastId:e}),Et.promise=(e,t,r)=>{let n=Et.loading(t.loading,{...r,...r==null?void 0:r.loading});return e.then(i=>(Et.success(Hc(t.success,i),{id:n,...r,...r==null?void 0:r.success}),i)).catch(i=>{Et.error(Hc(t.error,i),{id:n,...r,...r==null?void 0:r.error})}),e};var KB=(e,t)=>{pi({type:1,toast:{id:e,height:t}})},qB=()=>{pi({type:5,time:Date.now()})},XB=e=>{let{toasts:t,pausedAt:r}=GB(e);A.useEffect(()=>{if(r)return;let o=Date.now(),a=t.map(l=>{if(l.duration===1/0)return;let s=(l.duration||0)+l.pauseDuration-(o-l.createdAt);if(s<0){l.visible&&Et.dismiss(l.id);return}return setTimeout(()=>Et.dismiss(l.id),s)});return()=>{a.forEach(l=>l&&clearTimeout(l))}},[t,r]);let n=A.useCallback(()=>{r&&pi({type:6,time:Date.now()})},[r]),i=A.useCallback((o,a)=>{let{reverseOrder:l=!1,gutter:s=8,defaultPosition:u}=a||{},c=t.filter(h=>(h.position||u)===(o.position||u)&&h.height),p=c.findIndex(h=>h.id===o.id),f=c.filter((h,m)=>m<p&&h.visible).length;return c.filter(h=>h.visible).slice(...l?[f+1]:[0,f]).reduce((h,m)=>h+(m.height||0)+s,0)},[t]);return{toasts:t,handlers:{updateHeight:KB,startPause:qB,endPause:n,calculateOffset:i}}},QB=Zr`
387
387
  from {
388
388
  transform: scale(0) rotate(45deg);
389
389
  opacity: 0;
@@ -391,7 +391,7 @@ from {
391
391
  to {
392
392
  transform: scale(1) rotate(45deg);
393
393
  opacity: 1;
394
- }`,c$=$r`
394
+ }`,JB=Zr`
395
395
  from {
396
396
  transform: scale(0);
397
397
  opacity: 0;
@@ -399,7 +399,7 @@ from {
399
399
  to {
400
400
  transform: scale(1);
401
401
  opacity: 1;
402
- }`,d$=$r`
402
+ }`,eN=Zr`
403
403
  from {
404
404
  transform: scale(0) rotate(90deg);
405
405
  opacity: 0;
@@ -407,7 +407,7 @@ from {
407
407
  to {
408
408
  transform: scale(1) rotate(90deg);
409
409
  opacity: 1;
410
- }`,f$=Tn("div")`
410
+ }`,tN=Dn("div")`
411
411
  width: 20px;
412
412
  opacity: 0;
413
413
  height: 20px;
@@ -416,14 +416,14 @@ to {
416
416
  position: relative;
417
417
  transform: rotate(45deg);
418
418
 
419
- animation: ${u$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
419
+ animation: ${QB} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
420
420
  forwards;
421
421
  animation-delay: 100ms;
422
422
 
423
423
  &:after,
424
424
  &:before {
425
425
  content: '';
426
- animation: ${c$} 0.15s ease-out forwards;
426
+ animation: ${JB} 0.15s ease-out forwards;
427
427
  animation-delay: 150ms;
428
428
  position: absolute;
429
429
  border-radius: 3px;
@@ -436,18 +436,18 @@ to {
436
436
  }
437
437
 
438
438
  &:before {
439
- animation: ${d$} 0.15s ease-out forwards;
439
+ animation: ${eN} 0.15s ease-out forwards;
440
440
  animation-delay: 180ms;
441
441
  transform: rotate(90deg);
442
442
  }
443
- `,p$=$r`
443
+ `,rN=Zr`
444
444
  from {
445
445
  transform: rotate(0deg);
446
446
  }
447
447
  to {
448
448
  transform: rotate(360deg);
449
449
  }
450
- `,h$=Tn("div")`
450
+ `,nN=Dn("div")`
451
451
  width: 12px;
452
452
  height: 12px;
453
453
  box-sizing: border-box;
@@ -455,8 +455,8 @@ to {
455
455
  border-radius: 100%;
456
456
  border-color: ${e=>e.secondary||"#e0e0e0"};
457
457
  border-right-color: ${e=>e.primary||"#616161"};
458
- animation: ${p$} 1s linear infinite;
459
- `,v$=$r`
458
+ animation: ${rN} 1s linear infinite;
459
+ `,iN=Zr`
460
460
  from {
461
461
  transform: scale(0) rotate(45deg);
462
462
  opacity: 0;
@@ -464,7 +464,7 @@ from {
464
464
  to {
465
465
  transform: scale(1) rotate(45deg);
466
466
  opacity: 1;
467
- }`,m$=$r`
467
+ }`,oN=Zr`
468
468
  0% {
469
469
  height: 0;
470
470
  width: 0;
@@ -478,7 +478,7 @@ to {
478
478
  100% {
479
479
  opacity: 1;
480
480
  height: 10px;
481
- }`,g$=Tn("div")`
481
+ }`,aN=Dn("div")`
482
482
  width: 20px;
483
483
  opacity: 0;
484
484
  height: 20px;
@@ -487,13 +487,13 @@ to {
487
487
  position: relative;
488
488
  transform: rotate(45deg);
489
489
 
490
- animation: ${v$} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
490
+ animation: ${iN} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
491
491
  forwards;
492
492
  animation-delay: 100ms;
493
493
  &:after {
494
494
  content: '';
495
495
  box-sizing: border-box;
496
- animation: ${m$} 0.2s ease-out forwards;
496
+ animation: ${oN} 0.2s ease-out forwards;
497
497
  opacity: 0;
498
498
  animation-delay: 200ms;
499
499
  position: absolute;
@@ -505,16 +505,16 @@ to {
505
505
  height: 10px;
506
506
  width: 6px;
507
507
  }
508
- `,y$=Tn("div")`
508
+ `,lN=Dn("div")`
509
509
  position: absolute;
510
- `,b$=Tn("div")`
510
+ `,sN=Dn("div")`
511
511
  position: relative;
512
512
  display: flex;
513
513
  justify-content: center;
514
514
  align-items: center;
515
515
  min-width: 20px;
516
516
  min-height: 20px;
517
- `,x$=$r`
517
+ `,uN=Zr`
518
518
  from {
519
519
  transform: scale(0.6);
520
520
  opacity: 0.4;
@@ -522,20 +522,20 @@ from {
522
522
  to {
523
523
  transform: scale(1);
524
524
  opacity: 1;
525
- }`,w$=Tn("div")`
525
+ }`,cN=Dn("div")`
526
526
  position: relative;
527
527
  transform: scale(0.6);
528
528
  opacity: 0.4;
529
529
  min-width: 20px;
530
- animation: ${x$} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
530
+ animation: ${uN} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
531
531
  forwards;
532
- `,C$=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?C.createElement(w$,null,t):t:r==="blank"?null:C.createElement(b$,null,C.createElement(h$,{...n}),r!=="loading"&&C.createElement(y$,null,r==="error"?C.createElement(f$,{...n}):C.createElement(g$,{...n})))},S$=e=>`
532
+ `,dN=({toast:e})=>{let{icon:t,type:r,iconTheme:n}=e;return t!==void 0?typeof t=="string"?x.createElement(cN,null,t):t:r==="blank"?null:x.createElement(sN,null,x.createElement(nN,{...n}),r!=="loading"&&x.createElement(lN,null,r==="error"?x.createElement(tN,{...n}):x.createElement(aN,{...n})))},fN=e=>`
533
533
  0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
534
534
  100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
535
- `,k$=e=>`
535
+ `,pN=e=>`
536
536
  0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
537
537
  100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
538
- `,E$="0%{opacity:0;} 100%{opacity:1;}",P$="0%{opacity:1;} 100%{opacity:0;}",T$=Tn("div")`
538
+ `,hN="0%{opacity:0;} 100%{opacity:1;}",vN="0%{opacity:1;} 100%{opacity:0;}",mN=Dn("div")`
539
539
  display: flex;
540
540
  align-items: center;
541
541
  background: #fff;
@@ -547,17 +547,17 @@ to {
547
547
  pointer-events: auto;
548
548
  padding: 8px 10px;
549
549
  border-radius: 8px;
550
- `,_$=Tn("div")`
550
+ `,gN=Dn("div")`
551
551
  display: flex;
552
552
  justify-content: center;
553
553
  margin: 4px 10px;
554
554
  color: inherit;
555
555
  flex: 1 1 auto;
556
556
  white-space: pre-line;
557
- `,M$=(e,t)=>{let r=e.includes("top")?1:-1,[n,i]=Xy()?[E$,P$]:[S$(r),k$(r)];return{animation:t?`${$r(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${$r(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},L$=C.memo(({toast:e,position:t,style:r,children:n})=>{let i=e.height?M$(e.position||t||"top-center",e.visible):{opacity:0},o=C.createElement(C$,{toast:e}),a=C.createElement(_$,{...e.ariaProps},Pc(e.message,e));return C.createElement(T$,{className:e.className,style:{...i,...r,...e.style}},typeof n=="function"?n({icon:o,message:a}):C.createElement(C.Fragment,null,o,a))});KB(C.createElement);var A$=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let o=C.useCallback(a=>{if(a){let l=()=>{let s=a.getBoundingClientRect().height;n(e,s)};l(),new MutationObserver(l).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return C.createElement("div",{ref:o,className:t,style:r},i)},O$=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Xy()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...i}},F$=Ec`
557
+ `,yN=(e,t)=>{let r=e.includes("top")?1:-1,[n,i]=F6()?[hN,vN]:[fN(r),pN(r)];return{animation:t?`${Zr(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${Zr(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},bN=x.memo(({toast:e,position:t,style:r,children:n})=>{let i=e.height?yN(e.position||t||"top-center",e.visible):{opacity:0},o=x.createElement(dN,{toast:e}),a=x.createElement(gN,{...e.ariaProps},Hc(e.message,e));return x.createElement(mN,{className:e.className,style:{...i,...r,...e.style}},typeof n=="function"?n({icon:o,message:a}):x.createElement(x.Fragment,null,o,a))});NB(x.createElement);var xN=({id:e,className:t,style:r,onHeightUpdate:n,children:i})=>{let o=x.useCallback(a=>{if(a){let l=()=>{let s=a.getBoundingClientRect().height;n(e,s)};l(),new MutationObserver(l).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return x.createElement("div",{ref:o,className:t,style:r},i)},wN=(e,t)=>{let r=e.includes("top"),n=r?{top:0}:{bottom:0},i=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:F6()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(r?1:-1)}px)`,...n,...i}},CN=zc`
558
558
  z-index: 9999;
559
559
  > * {
560
560
  pointer-events: auto;
561
561
  }
562
- `,Lc=16,R$=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=s$(r);return C.createElement("div",{style:{position:"fixed",zIndex:9999,top:Lc,left:Lc,right:Lc,bottom:Lc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,p=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),f=O$(c,p);return C.createElement(A$,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?F$:"",style:f},u.type==="custom"?Pc(u.message,u):i?i(u):C.createElement(L$,{toast:u,position:c}))}))};const Qy=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function V$({message:e,state:t,show:r,m:n}){const i=O.useCallback(()=>{Ct(o=>d(Zy,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>Ct.dismiss(o.id),children:e}),{duration:Qy(e),id:vh[t].id})},[e,t]);return O.useEffect(()=>{r&&i()},[r,i]),d(ee,{children:d(R$,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const I$=({state:e,message:t})=>{const[r,n]=O.useState(!1);return O.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},Qy(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function Jy({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i,top:o}){const[a]=v8("(min-width: 650px)"),l={content:{top:o}},s=i.length>1;return D(Cl,{id:"modal-alert",isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:a?"xl":"sm",isCentered:!1,children:[d(A1,{bg:"rgba(0, 0, 0, 0.5)",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:"998"}),D(L1,{zIndex:"999",sx:l.content,children:[D(ee,{alignItems:"center",justifyContent:"center",textAlign:"center",py:"2rem",borderBottom:"1px solid #E6E6E6",children:[d(ee,{display:"flex",justifyContent:"center",children:WB[t].icon}),d(O1,{py:"1rem",children:r}),d(F1,{py:"0.5rem",px:"2rem",children:n})]}),d(R1,{justifyContent:"center",padding:"0",children:i.map((u,c)=>d(ee,{width:"99%",textAlign:"center",padding:"1rem",borderLeftWidth:s&&u.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",onClick:()=>u.action(),children:d(El,{textDecorationLine:!1,fontSize:"1rem",children:u.label})},c))})]})]})}Jy.displayName="ModalAlert";const e6=({color:e="white"})=>D(Fe,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M15 2.5H13V0.5H11V2.5H9V0.5H7V2.5H5V0.5H3V2.5H1C0.447 2.5 0 2.947 0 3.5V15.5C0 16.053 0.447 16.5 1 16.5H15C15.553 16.5 16 16.053 16 15.5V3.5C16 2.947 15.553 2.5 15 2.5ZM14 14.5H2V5.5H14V14.5Z",fill:e}),d("path",{d:"M6 7.5H4V9.5H6V7.5Z",fill:e}),d("path",{d:"M9 7.5H7V9.5H9V7.5Z",fill:e}),d("path",{d:"M6 10.5H4V12.5H6V10.5Z",fill:e}),d("path",{d:"M9 10.5H7V12.5H9V10.5Z",fill:e}),d("path",{d:"M12 7.5H10V9.5H12V7.5Z",fill:e}),d("path",{d:"M12 10.5H10V12.5H12V10.5Z",fill:e})]}),t6=({color:e="white"})=>d(Fe,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8.5C0 4.1 3.6 0.5 8 0.5C12.4 0.5 16 4.1 16 8.5C16 12.9 12.4 16.5 8 16.5C3.6 16.5 0 12.9 0 8.5ZM7 9.5H12V7.5H9V4.5H7V9.5Z",fill:e})}),B$=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l,isMobile:s})=>{const u={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return d(oc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,w:"fit-content",h:"fit-content",transition:"box-shadow .3s",borderRadius:V("radii-big"),_active:u,_hover:u,_focus:u,children:d(wo,{children:D(fl,{cursor:"pointer",w:"fit-content",display:s?"block":"flex",children:[d(ee,{width:"285px",height:s?"140px":"168px",bgImage:`url(${a})`,backgroundSize:"cover",borderRadius:s?"8px 8px 0px 0px":"8px 0 0 8px"}),D(ee,{width:s?"285px":"305px",minHeight:s?"160px":"168px",borderRadius:s?"0 0 8px 8px":"0 8px 8px 0",border:V("borders-light"),display:"flex",flexDirection:"column",cursor:"pointer",children:[D(ee,{width:"inherit",height:"100%",padding:"16px",color:"#555555",gap:"16px",display:"grid",children:[d(tt,{fontWeight:"700",m:"0px",p:"0px",children:t}),D(ee,{display:"flex",alignItems:"center",gap:"4px",children:[d(e6,{color:V("colors-main-ziggurat")}),d(tt,{fontWeight:"400",m:"0px",p:"0px",children:r}),d(tt,{color:V("borders-light"),m:"0px",p:"0px",children:"|"}),d(t6,{color:V("colors-main-ziggurat")}),d(tt,{m:"0px",p:"0px",children:n})]})]}),d(ee,{borderTop:`${V("borders-light")}`,width:"100%",height:"50px",padding:"12px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:V("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})]})})},e)},$$=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l})=>{const s={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`};return d(oc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,transition:"box-shadow .3s",_active:s,_hover:s,_focus:s,width:"286px",height:"247px",borderRadius:V("radii-big"),children:d(wo,{children:D(ee,{width:"286px",height:"247px",borderRadius:V("radii-big"),border:V("borders-light"),justifyContent:"center",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",children:[d(ee,{flex:"1",bgImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${a})`,backgroundSize:"cover",borderRadius:"8px 8px 0 0",margin:"0",display:"grid",alignItems:"flex-end",children:D(ee,{color:V("colors-neutral-white"),padding:"16px",textAlign:"initial",fontFamily:"Roboto",fontSize:"16px",lineHeight:"21px",display:"grid",gap:"8px",children:[d(tt,{fontWeight:"700",m:"0px",children:t}),D(ee,{display:"flex",alignItems:"center",gap:"4px",children:[d(e6,{}),d(tt,{fontWeight:"400",m:"0px",children:r}),d(tt,{m:"0px",children:"|"}),d(t6,{}),d(tt,{m:"0px",children:n})]})]})}),d(ee,{width:"100%",height:"50px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:V("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})})},e)},D$=({typeEvent:e,itemsEvent:t})=>e==="LARGE_EVENTS"?d(B$,{...t}):d($$,{...t}),z$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3696)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.4375 50.3125L27.7812 47.9063H23.625L23.1875 50.3125H19.4688L23.625 37.8438H28.2188L32.375 50.3125H28.4375ZM27.125 45.2813L26.6875 43.3125C26.4688 42.875 26.4688 42.2188 26.25 41.5625C26.0313 40.9063 26.0313 40.25 25.8125 40.0312C25.8125 40.25 25.5938 40.9063 25.5938 41.5625C25.5938 42.2188 25.1563 43.5312 24.5 45.5H27.125V45.2813Z",fill:"white"}),d("path",{d:"M40.6875 37.8438H44.4062L40.25 50.3125H36.3125L32.1562 37.8438H35.875L37.625 44.1875C38.0625 45.5 38.0625 46.5938 38.2813 47.0313C38.2813 46.5938 38.5 46.1562 38.5 45.5C38.5 44.8438 38.7188 44.4063 38.7188 44.1875L40.6875 37.8438Z",fill:"white"}),d("path",{d:"M45.7188 50.3125V37.8438H49.2188V50.3125H45.7188Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},H$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3654)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M25.1563 40.4688C24.2813 40.4688 23.625 40.9062 23.1875 41.5625C22.75 42.2188 22.5313 43.0938 22.5313 44.1875C22.5313 46.5938 23.4063 47.6875 25.375 47.6875C26.0313 47.6875 26.4688 47.6875 26.9063 47.4688C27.3438 47.25 28 47.0312 28.4375 46.8125V49.6563C27.3438 50.0938 26.25 50.3125 24.9375 50.3125C22.9687 50.3125 21.6562 49.875 20.5625 48.5625C19.4687 47.25 19.0312 45.9375 19.0312 43.75C19.0312 42.4375 19.25 41.3437 19.6875 40.25C20.125 39.1562 20.7813 38.5 21.875 38.0625C22.9688 37.625 23.8438 37.1875 25.1563 37.1875C26.4688 37.1875 27.7813 37.4062 29.0938 38.0625L28 40.6875C27.5625 40.4688 27.125 40.25 26.6875 40.25C26.25 40.25 25.5938 40.4688 25.1563 40.4688Z",fill:"white"}),d("path",{d:"M39.1562 46.5938C39.1562 47.4688 38.9375 48.125 38.5 48.5625C38.0625 49 37.625 49.6562 36.75 49.875C35.875 50.0938 35.2188 50.3125 34.125 50.3125C33.25 50.3125 32.5938 50.3125 31.9375 50.0938C31.2813 49.875 30.8438 49.875 30.1875 49.4375V46.375C30.8438 46.8125 31.5 47.0313 32.1562 47.25C32.8125 47.4688 33.4688 47.4688 34.125 47.4688C34.5625 47.4688 35 47.4688 35.2188 47.25C35.4375 47.0313 35.6562 46.8125 35.6562 46.5938C35.6562 46.375 35.6563 46.375 35.4375 46.1563C35.2188 45.9375 35.2187 46.1563 35 45.9375C34.7812 45.7188 34.3437 45.5 33.25 45.0625C32.375 44.625 31.7187 44.4063 31.5 43.9688C31.2812 43.5313 30.8437 43.3125 30.625 42.875C30.4062 42.4375 30.4062 42 30.4062 41.3438C30.4062 40.25 30.8437 39.375 31.7187 38.7188C32.5937 38.0625 33.6875 37.8438 35.2188 37.8438C36.5313 37.8438 37.8437 38.0625 39.1562 38.7188L38.0625 41.3438C36.9687 40.9063 35.875 40.4688 35 40.4688C34.5625 40.4688 34.3438 40.4688 34.125 40.6875C33.9063 40.9063 33.9062 41.125 33.9062 41.3438C33.9062 41.5625 34.125 41.7813 34.3437 42C34.5625 42.2188 35.2188 42.4375 36.3125 43.0938C37.4063 43.5313 38.0625 44.1875 38.5 44.625C38.9375 45.0625 39.1562 45.7188 39.1562 46.5938Z",fill:"white"}),d("path",{d:"M48.125 37.8438H51.8438L47.6875 50.3125H43.75L39.5938 37.8438H43.3125L45.0625 44.1875C45.5 45.5 45.5 46.5938 45.7187 47.0313C45.7187 46.5938 45.9375 46.1562 45.9375 45.5C45.9375 44.8438 46.1562 44.4063 46.1562 44.1875L48.125 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},N$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3668)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M27.7812 43.75C27.7812 45.9375 27.125 47.4688 26.0312 48.5625C24.9375 49.6563 23.4062 50.3125 21.2187 50.3125H17.2812V37.8438H21.6562C23.625 37.8438 25.1562 38.2813 26.25 39.375C27.3438 40.4688 27.7812 41.7813 27.7812 43.75ZM24.2813 43.9688C24.2813 42.875 24.0625 42 23.625 41.3438C23.1875 40.6875 22.5312 40.4688 21.6562 40.4688H20.5625V47.4688H21.2187C22.3125 47.4688 22.9687 47.25 23.4062 46.5938C23.8437 45.9375 24.2813 45.0625 24.2813 43.9688Z",fill:"white"}),d("path",{d:"M41.7813 43.9688C41.7813 46.1562 41.3437 47.6875 40.25 48.7812C39.1562 49.875 37.625 50.5312 35.6562 50.5312C33.6875 50.5312 32.1562 49.875 31.0625 48.7812C29.9687 47.6875 29.5312 46.1562 29.5312 43.9688C29.5312 41.7812 29.9687 40.25 31.0625 39.1562C32.1562 38.0625 33.6875 37.4062 35.6562 37.4062C37.625 37.4062 39.1562 37.8437 40.25 38.9375C41.3437 40.0312 41.7813 42 41.7813 43.9688ZM33.25 43.9688C33.25 46.375 34.125 47.6875 35.875 47.6875C36.75 47.6875 37.4062 47.4687 37.8437 46.8125C38.2812 46.1562 38.5 45.2812 38.5 43.9688C38.5 42.6562 38.2812 41.7812 37.8437 41.125C37.4062 40.4687 36.75 40.25 35.875 40.25C34.125 40.4687 33.25 41.5625 33.25 43.9688Z",fill:"white"}),d("path",{d:"M49.6563 40.4688C48.7813 40.4688 48.125 40.9062 47.6875 41.5625C47.25 42.2188 47.0313 43.0938 47.0313 44.1875C47.0313 46.5938 47.9062 47.6875 49.875 47.6875C50.5312 47.6875 50.9688 47.6875 51.4063 47.4688C51.8438 47.25 52.5 47.0312 52.9375 46.8125V49.6563C51.8438 50.0938 50.75 50.3125 49.4375 50.3125C47.4688 50.3125 46.1563 49.875 45.0625 48.5625C43.9688 47.25 43.5312 45.9375 43.5312 43.75C43.5312 42.4375 43.75 41.3437 44.1875 40.25C44.625 39.1562 45.2813 38.5 46.375 38.0625C47.4688 37.625 48.3438 37.1875 49.6563 37.1875C50.9688 37.1875 52.2813 37.4062 53.5938 38.0625L52.5 41.125C52.0625 40.9062 51.625 40.6875 51.1875 40.6875C50.75 40.6875 50.0938 40.4688 49.6563 40.4688Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},j$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3752)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M21.6562 43.75C21.6562 45.9375 21 47.4688 19.9063 48.5625C18.8125 49.6563 17.0625 50.3125 15.0938 50.3125H10.9375V37.8438H15.3125C17.2812 37.8438 18.8125 38.2813 19.9063 39.375C21 40.4688 21.6562 41.7813 21.6562 43.75ZM18.1563 43.9688C18.1563 42.875 17.9375 42 17.5 41.3438C17.0625 40.6875 16.1875 40.4688 15.3125 40.4688H14.2188V47.4688H14.875C15.9688 47.4688 16.625 47.25 17.0625 46.5938C17.5 45.9375 18.1563 45.0625 18.1563 43.9688Z",fill:"white"}),d("path",{d:"M35.4375 43.9688C35.4375 46.1562 35 47.6875 33.9062 48.7812C32.8125 49.875 31.2812 50.5312 29.3125 50.5312C27.3437 50.5312 25.8125 49.875 24.7187 48.7812C23.625 47.6875 23.1875 46.1562 23.1875 43.9688C23.1875 41.7812 23.625 40.25 24.7187 39.1562C25.8125 38.0625 27.3437 37.4062 29.3125 37.4062C31.2812 37.4062 32.8125 37.8437 33.9062 38.9375C35 40.0312 35.4375 42 35.4375 43.9688ZM26.9062 43.9688C26.9062 46.375 27.7812 47.6875 29.5312 47.6875C30.4062 47.6875 31.0625 47.4687 31.5 46.8125C31.9375 46.1562 32.1562 45.2812 32.1562 43.9688C32.1562 42.6562 31.9375 41.7812 31.5 41.125C31.0625 40.4687 30.4062 40.25 29.5312 40.25C27.7812 40.4687 26.9062 41.5625 26.9062 43.9688Z",fill:"white"}),d("path",{d:"M43.3125 40.4687C42.4375 40.4687 41.7812 40.9062 41.3437 41.5625C40.9062 42.2187 40.6875 43.0938 40.6875 44.1875C40.6875 46.5938 41.5625 47.6875 43.5312 47.6875C44.1875 47.6875 44.625 47.6875 45.0625 47.4688C45.5 47.25 46.1562 47.0312 46.5937 46.8125V49.6562C45.5 50.0938 44.4063 50.3125 43.0938 50.3125C41.125 50.3125 39.8125 49.875 38.7188 48.5625C37.625 47.25 37.1875 46.1562 37.1875 44.1875C37.1875 42.875 37.4062 41.7812 37.8437 40.6875C38.2812 39.5937 38.9375 38.9375 40.0312 38.5C41.125 38.0625 42 37.625 43.3125 37.625C44.625 37.625 45.9375 37.8437 47.25 38.5L46.1563 41.125C45.7188 40.9062 45.2812 40.6875 44.8438 40.6875C44.4062 40.6875 43.75 40.4687 43.3125 40.4687Z",fill:"white"}),d("path",{d:"M60.375 50.3125H56.4375L54.0313 46.375L51.625 50.3125H47.9062L52.0625 43.9688L48.125 37.8438H51.8438L54.0313 41.7813L56.2188 37.8438H60.1563L56.2188 44.1875L60.375 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},W$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3597)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M27.125 43.0938H32.5937V49.875C31.0625 50.3125 29.5312 50.5312 27.7812 50.5312C25.8125 50.5312 24.2812 49.875 23.4062 48.7812C22.5312 47.6875 21.875 46.1562 21.875 43.9688C21.875 42 22.5313 40.4687 23.625 39.1562C24.7188 37.8437 26.4688 37.4062 28.4375 37.4062C29.3125 37.4062 29.9688 37.4063 30.625 37.625C31.2812 37.8438 31.9375 38.0625 32.375 38.2812L31.2812 40.9063C30.4062 40.4688 29.3125 40.25 28.2187 40.25C27.125 40.25 26.4687 40.4687 26.0312 41.125C25.5937 41.7812 25.1562 42.6562 25.1562 43.9688C25.1562 45.0625 25.375 45.9375 25.8125 46.5937C26.25 47.25 26.9063 47.4688 28 47.4688C28.4375 47.4688 28.875 47.4688 29.3125 47.25V45.2813H27.125V43.0938Z",fill:"white"}),d("path",{d:"M35 50.3125V37.8438H38.5V50.3125H35Z",fill:"white"}),d("path",{d:"M44.4062 50.3125H41.125V37.8438H48.5625V40.4688H44.4062V42.875H48.125V45.5H44.4062V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},U$=({type:e})=>{switch(e){case"avi":return d(z$,{});case"csv":return d(H$,{});case"doc":return d(N$,{});case"docx":return d(j$,{});case"gif":return d(W$,{});case"jpeg":return d(Z$,{});case"jpg":return d(G$,{});case"png":return d(Q$,{});case"pdf":return d(K$,{});case"ppt":return d(J$,{});case"pptx":return d(eD,{});case"xls":return d(rD,{});case"xlsx":return d(nD,{});case"mp3":return d(Y$,{});case"wav":return d(tD,{});case"mp4":return d(X$,{});case"mkv":return d(q$,{});case"url":return d(iD,{});default:return null}},Z$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3582)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M17.0625 54.25C16.4063 54.25 15.9688 54.25 15.3125 54.0313V51.4063C15.5312 51.4063 15.75 51.4063 15.9688 51.625C16.1875 51.8438 16.4063 51.625 16.625 51.625C17.2813 51.625 17.5 51.4063 17.7188 51.1875C17.9375 50.9688 18.1563 50.3125 18.1563 49.4375V37.8438H21.6562V49.2188C21.6562 50.9688 21.2187 52.2812 20.5625 53.1562C19.9062 54.0312 18.375 54.25 17.0625 54.25Z",fill:"white"}),d("path",{d:"M33.2502 41.7813C33.2502 43.0938 32.8127 44.1875 31.9377 45.0625C31.0627 45.9375 29.969 46.1563 28.4377 46.1563H27.5627V50.3125H24.2815V37.8438H28.6565C30.1877 37.8438 31.5002 38.2812 32.1565 38.9375C32.8127 39.5938 33.2502 40.4688 33.2502 41.7813ZM27.5627 43.3125H28.219C28.6565 43.3125 29.094 43.0938 29.5315 42.875C29.969 42.6563 29.969 42.2188 29.969 41.7813C29.969 40.9063 29.5315 40.4688 28.6565 40.4688H27.7815V43.3125H27.5627Z",fill:"white"}),d("path",{d:"M50.0937 43.0938H55.5625V49.875C54.0312 50.3125 52.5 50.5312 50.75 50.5312C48.7813 50.5312 47.25 49.875 46.375 48.7812C45.5 47.6875 44.8438 46.1562 44.8438 43.9688C44.8438 42 45.5 40.4687 46.5937 39.1562C47.6875 37.8437 49.4375 37.4062 51.4062 37.4062C52.2812 37.4062 52.9375 37.4063 53.5938 37.625C54.25 37.8438 54.9062 38.0625 55.3437 38.2812L54.25 40.9063C53.375 40.4688 52.2812 40.25 51.1875 40.25C50.0937 40.25 49.4375 40.4687 49 41.125C48.5625 41.7812 48.125 42.875 48.125 44.1875C48.125 45.2813 48.3437 46.1562 48.7812 46.8125C49.2187 47.4687 49.875 47.6875 50.9687 47.6875C51.4062 47.6875 51.8437 47.6875 52.2812 47.4688V45.5H50.0937V43.0938Z",fill:"white"}),d("path",{d:"M42.4375 50.3125H35V37.8438H42.4375V40.4688H38.5V42.4375H42.2187V45.0625H38.5V47.4688H42.4375V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},G$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3525)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M20.3438 54.25C19.6875 54.25 19.25 54.25 18.5938 54.0313V51.4063C18.8125 51.4063 19.0313 51.4063 19.25 51.625C19.4688 51.8438 19.6875 51.625 19.9063 51.625C20.5625 51.625 20.7813 51.4063 21 51.1875C21.2188 50.9688 21.4375 50.3125 21.4375 49.4375V37.8438H24.9375V49.2188C24.9375 50.9688 24.5 52.2812 23.8437 53.1562C23.1875 54.0312 21.6563 54.25 20.3438 54.25Z",fill:"white"}),d("path",{d:"M36.5313 41.7813C36.5313 43.0938 36.0938 44.1875 35.2188 45.0625C34.3438 45.9375 33.25 46.1563 31.7187 46.1563H30.8438V50.3125H27.5625V37.8438H31.9375C33.4688 37.8438 34.7813 38.2812 35.4375 38.9375C36.0938 39.5937 36.5313 40.4688 36.5313 41.7813ZM30.8438 43.3125H31.5C31.9375 43.3125 32.375 43.0938 32.8125 42.875C33.25 42.6563 33.25 42.2188 33.25 41.7813C33.25 40.9063 32.8125 40.4688 31.9375 40.4688H31.0625V43.3125H30.8438Z",fill:"white"}),d("path",{d:"M43.5312 43.0938H49V49.875C47.4687 50.3125 45.9375 50.5312 44.1875 50.5312C42.2188 50.5312 40.6875 49.875 39.8125 48.7812C38.9375 47.6875 38.2812 46.1562 38.2812 43.9688C38.2812 42 38.9375 40.4687 40.0312 39.1562C41.125 37.8437 42.875 37.4062 44.8438 37.4062C45.7188 37.4062 46.375 37.4063 47.0312 37.625C47.6875 37.8438 48.3437 38.0625 48.7812 38.2812L47.6875 40.9063C46.8125 40.4688 45.7187 40.25 44.625 40.25C43.5312 40.25 42.875 40.4687 42.4375 41.125C42 41.7812 41.5625 42.875 41.5625 44.1875C41.5625 45.2813 41.7812 46.1562 42.2187 46.8125C42.6562 47.4687 43.3125 47.6875 44.4062 47.6875C44.8437 47.6875 45.2812 47.6875 45.7187 47.4688V45.5H43.5312V43.0938Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},q$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3710)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M21.2188 50.3125L18.5938 41.3438C18.8125 42.875 18.8125 43.9688 18.8125 44.8438V50.3125H15.75V37.8438H20.3438L22.9688 46.8125L25.5938 37.8438H30.1875V50.3125H27.125V44.8438C27.125 44.625 27.125 44.1875 27.125 43.9688C27.125 43.75 27.125 42.875 27.3438 41.3438L24.5 50.3125H21.2188Z",fill:"white"}),d("path",{d:"M43.3125 50.3125H39.5938L37.1875 45.5L36.0938 46.1563V50.3125H32.8125V37.8438H36.3125V43.3125C36.5313 42.875 36.75 42.4375 37.4063 41.7813L40.0312 37.8438H43.75L39.8125 43.5313L43.3125 50.3125Z",fill:"white"}),d("path",{d:"M51.8438 37.8438H55.5625L51.4063 50.3125H47.4688L43.3125 37.8438H47.0313L48.7812 44.1875C49.2188 45.5 49.2188 46.5938 49.4375 47.0313C49.4375 46.5938 49.6563 46.1562 49.6563 45.5C49.6563 44.8438 49.875 44.4063 49.875 44.1875L51.8438 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},Y$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3724)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.75 50.3125L20.125 41.3438C20.3437 42.875 20.3438 43.9688 20.3438 44.8438V50.3125H17.2812V37.8438H21.875L24.5 46.8125L27.125 37.8438H31.7188V50.3125H28.4375V44.8438C28.4375 44.625 28.4375 44.1875 28.4375 43.9688C28.4375 43.75 28.4375 42.875 28.6563 41.3438L25.8125 50.3125H22.75Z",fill:"white"}),d("path",{d:"M43.3125 41.7813C43.3125 43.0938 42.875 44.1875 42 45.0625C41.125 45.9375 40.0313 46.1563 38.5 46.1563H37.625V50.3125H34.3438V37.8438H38.7188C40.25 37.8438 41.5625 38.2812 42.2187 38.9375C42.875 39.5938 43.3125 40.4688 43.3125 41.7813ZM37.625 43.3125H38.2813C38.7188 43.3125 39.1563 43.0938 39.5938 42.875C40.0313 42.6563 40.0312 42.2188 40.0312 41.7813C40.0312 40.9063 39.5938 40.4688 38.7188 40.4688H37.8437V43.3125H37.625Z",fill:"white"}),d("path",{d:"M52.9375 40.4688C52.9375 41.3438 52.7188 42 52.2813 42.4375C51.8438 42.875 51.1875 43.5312 50.3125 43.75C52.5 43.9688 53.375 45.0625 53.375 46.8125C53.375 47.9062 52.9375 48.7813 52.0625 49.6563C51.1875 50.5313 49.875 50.75 48.125 50.75C47.4688 50.75 46.8125 50.75 46.1563 50.5313C45.5 50.3125 45.0625 50.3125 44.4062 50.0937V47.25C44.8438 47.4688 45.5 47.6875 46.1563 47.9062C46.8125 48.125 47.25 48.125 47.6875 48.125C48.3438 48.125 49 48.125 49.2188 47.9062C49.4375 47.6875 49.6563 47.4688 49.6563 47.0312C49.6563 46.5938 49.6563 46.375 49.4375 46.1563C49.2188 45.9375 49 45.9375 48.5625 45.7187C48.125 45.5 47.6875 45.5 47.0313 45.5H46.1563V42.875H47.0313C48.7813 42.875 49.6563 42.4375 49.6563 41.5625C49.6563 41.125 49.4375 40.9063 49.2188 40.9063C49 40.9063 48.5625 40.6875 48.125 40.6875C47.25 40.6875 46.5938 40.9062 45.7188 41.5625L44.4062 39.375C45.0625 38.9375 45.7188 38.5 46.375 38.5C47.0313 38.5 47.9062 38.2812 48.7812 38.2812C50.0938 38.2812 51.1875 38.5 51.8438 39.1562C52.5 39.8125 52.9375 39.5938 52.9375 40.4688Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},X$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3682)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.75 50.3125L20.125 41.3438C20.3437 42.875 20.3438 43.9688 20.3438 44.8438V50.3125H17.2812V37.8438H21.875L24.5 46.8125L27.125 37.8438H31.7188V50.3125H28.4375V44.8438C28.4375 44.625 28.4375 44.1875 28.4375 43.9688C28.4375 43.75 28.4375 42.875 28.6563 41.3438L25.8125 50.3125H22.75Z",fill:"white"}),d("path",{d:"M43.3125 41.7813C43.3125 43.0938 42.875 44.1875 42 45.0625C41.125 45.9375 40.0313 46.1563 38.5 46.1563H37.625V50.3125H34.3438V37.8438H38.7188C40.25 37.8438 41.5625 38.2812 42.2187 38.9375C42.875 39.5938 43.3125 40.4688 43.3125 41.7813ZM37.625 43.3125H38.2813C38.7188 43.3125 39.1563 43.0938 39.5938 42.875C40.0313 42.6563 40.0312 42.2188 40.0312 41.7813C40.0312 40.9063 39.5938 40.4688 38.7188 40.4688H37.8437V43.3125H37.625Z",fill:"white"}),d("path",{d:"M53.8125 47.9063H52.5V50.3125H49.2187V47.9063H44.1875V45.5L49.4375 37.8438H52.5V45.5H53.8125V47.9063ZM49.2187 45.2813V43.75C49.2187 43.5313 49.2187 43.0938 49.2187 42.6563C49.2187 42.2188 49.2187 42 49.2187 42C49 42.4375 48.7812 42.875 48.5625 43.3125L47.25 45.2813H49.2187Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},K$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3625)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.7503 41.7923C28.7503 43.1879 28.3391 44.2664 27.5166 45.0276C26.6941 45.7889 25.5238 46.1673 24.0078 46.1673H23.0584V50.3126H19.6831V37.8198H24.0078C25.585 37.8198 26.7706 38.1633 27.5625 38.8545C28.3544 39.5458 28.7503 40.5214 28.7503 41.7923ZM23.0584 43.4176H23.6731C24.1806 43.4176 24.5831 43.2754 24.8828 42.9911C25.1825 42.7067 25.3312 42.313 25.3312 41.812C25.3312 40.9676 24.8653 40.5476 23.9291 40.5476H23.0584V43.4176Z",fill:"white"}),d("path",{d:"M41.3438 43.8005C41.3438 45.8851 40.7706 47.4929 39.6222 48.6195C38.4738 49.7461 36.8616 50.3126 34.7812 50.3126H30.7388V37.8198H35.0634C37.0694 37.8198 38.6181 38.3317 39.7075 39.3576C40.7969 40.3836 41.3438 41.8645 41.3438 43.8005ZM37.8416 43.9208C37.8416 42.7767 37.6141 41.9279 37.1613 41.3745C36.7084 40.8211 36.0216 40.5454 35.0984 40.5454H34.1162V47.5433H34.8687C35.8947 47.5433 36.645 47.2458 37.1241 46.6508C37.6031 46.0558 37.8416 45.1458 37.8416 43.9208Z",fill:"white"}),d("path",{d:"M46.9066 50.3126H43.5816V37.8198H50.9644V40.528H46.9066V42.9123H50.6494V45.6204H46.9066V50.3126Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},Q$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3568)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M26.0312 41.7813C26.0312 43.0938 25.5938 44.1875 24.7188 45.0625C23.8438 45.9375 22.75 46.1563 21.2187 46.1563H20.3438V50.3125H17.0625V37.8438H21.4375C22.9688 37.8438 24.2812 38.2812 24.9375 38.9375C25.5937 39.5938 26.0312 40.4688 26.0312 41.7813ZM20.3438 43.3125H21C21.4375 43.3125 21.875 43.0938 22.3125 42.875C22.75 42.6563 22.75 42.2188 22.75 41.7813C22.75 40.9063 22.3125 40.4688 21.4375 40.4688H20.3438V43.3125Z",fill:"white"}),d("path",{d:"M40.0312 50.3125H35.6562L31.0625 41.5625C31.0625 42.875 31.2813 43.9688 31.2813 44.625V50.3125H28.2188V37.8438H32.5938L37.1875 46.5938C37.1875 45.2812 36.9688 44.4063 36.9688 43.5313V37.8438H40.0312V50.3125Z",fill:"white"}),d("path",{d:"M47.6875 43.0938H53.1562V49.875C51.625 50.3125 50.0938 50.5312 48.3438 50.5312C46.375 50.5312 44.8438 49.875 43.9688 48.7812C43.0938 47.6875 42.4375 46.1562 42.4375 43.9688C42.4375 42 43.0938 40.4687 44.1875 39.1562C45.2813 37.8437 47.0312 37.4062 49 37.4062C49.875 37.4062 50.5312 37.4063 51.1875 37.625C51.8438 37.8438 52.5 38.0625 52.9375 38.2812L51.8438 40.9063C50.9688 40.4688 49.875 40.25 48.7812 40.25C47.6875 40.25 47.0312 40.4687 46.5937 41.125C46.1562 41.7812 45.7188 42.6562 45.7188 43.9688C45.7188 45.0625 45.9375 45.9375 46.375 46.5937C46.8125 47.25 47.4688 47.4688 48.5625 47.4688C49 47.4688 49.4375 47.4688 49.875 47.25V45.2813H47.6875V43.0938Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},J$=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3539)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.875 41.7813C28.875 43.0938 28.4375 44.1875 27.5625 45.0625C26.6875 45.9375 25.5938 46.1563 24.0625 46.1563H22.9688V50.3125H19.6875V37.8438H24.0625C25.5938 37.8438 26.9062 38.2812 27.5625 38.9375C28.2187 39.5938 28.875 40.4688 28.875 41.7813ZM22.9688 43.3125H23.625C24.0625 43.3125 24.5 43.0938 24.9375 42.875C25.375 42.6563 25.375 42.2188 25.375 41.7813C25.375 40.9063 24.9375 40.4688 24.0625 40.4688H22.9688V43.3125Z",fill:"white"}),d("path",{d:"M39.8122 41.7813C39.8122 43.0938 39.3747 44.1875 38.4997 45.0625C37.6247 45.9375 36.5309 46.1563 34.9997 46.1563H34.1247V50.3125H30.8434V37.8438H35.2184C36.7497 37.8438 38.0622 38.2812 38.7184 38.9375C39.3747 39.5938 39.8122 40.4688 39.8122 41.7813ZM34.1247 43.3125H34.7809C35.2184 43.3125 35.6559 43.0938 36.0934 42.875C36.5309 42.6563 36.5309 42.2188 36.5309 41.7813C36.5309 40.9063 36.0934 40.4688 35.2184 40.4688H34.3434V43.3125H34.1247Z",fill:"white"}),d("path",{d:"M47.2499 50.3125H43.9686V40.6875H40.9061V37.8438H50.3124V40.6875H47.2499V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},eD=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3553)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.9688 41.7813C22.9688 43.0938 22.5312 44.1875 21.6562 45.0625C20.7812 45.9375 19.6875 46.1563 18.1562 46.1563H17.0625V50.3125H13.7812V37.8438H18.1562C19.6875 37.8438 21 38.2812 21.6562 38.9375C22.3125 39.5938 22.9688 40.4688 22.9688 41.7813ZM17.0625 43.3125H17.7188C18.1563 43.3125 18.5937 43.0938 19.0312 42.875C19.4687 42.6563 19.4687 42.2188 19.4687 41.7813C19.4687 40.9063 19.0312 40.4688 18.1562 40.4688H17.0625V43.3125Z",fill:"white"}),d("path",{d:"M33.9063 41.7813C33.9063 43.0938 33.4688 44.1875 32.5938 45.0625C31.7188 45.9375 30.625 46.1563 29.0938 46.1563H28.2188V50.3125H24.9375V37.8438H29.3125C30.8438 37.8438 32.1563 38.2812 32.8125 38.9375C33.4688 39.5938 33.9063 40.4688 33.9063 41.7813ZM28.2188 43.3125H28.875C29.3125 43.3125 29.75 43.0938 30.1875 42.875C30.625 42.6563 30.625 42.2188 30.625 41.7813C30.625 40.9063 30.1875 40.4688 29.3125 40.4688H28.4375V43.3125H28.2188Z",fill:"white"}),d("path",{d:"M41.3437 50.3125H38.0625V40.6875H35V37.8438H44.4062V40.6875H41.3437V50.3125Z",fill:"white"}),d("path",{d:"M57.5312 50.3125H53.5937L51.1875 46.375L48.7812 50.3125H45.0625L49.2187 43.9688L45.2813 37.8438H49L51.1875 41.7813L53.375 37.8438H57.3125L53.375 44.1875L57.5312 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},tD=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3738)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.2187 50.3125H24.2812L23.1875 44.8438C23.1875 44.625 22.9688 44.1875 22.9688 43.5313C22.9688 42.875 22.75 42.2188 22.75 41.7813C22.75 42.2188 22.5312 42.6563 22.5312 43.0938C22.5312 43.5313 22.3125 44.1875 22.3125 44.625C22.3125 45.0625 21.6562 47.0313 20.7812 50.3125H16.8437L13.7812 37.8438H17.0625L18.375 44.1875C18.5937 45.5 18.8125 46.5938 19.0312 47.4688C19.0312 46.8125 19.25 46.1563 19.4687 45.0625C19.6875 43.9688 19.9063 43.3125 19.9063 42.6563L21 37.8438H24.0625L25.1562 42.6563C25.375 43.3125 25.5938 44.1875 25.8125 45.2813C26.0312 46.375 26.0312 47.0313 26.25 47.4688C26.25 46.8125 26.4688 45.7188 26.9062 44.1875L28.2187 37.8438H31.5L28.2187 50.3125Z",fill:"white"}),d("path",{d:"M40.6875 50.3125L40.0312 47.9063H35.875L35.4375 50.3125H31.7188L35.875 37.8438H40.4688L44.625 50.3125H40.6875ZM39.375 45.2813L38.9375 43.3125C38.7187 42.875 38.7188 42.2188 38.5 41.5625C38.2813 40.9063 38.2812 40.25 38.0625 40.0312C38.0625 40.25 37.8437 40.9063 37.8437 41.5625C37.8437 42.2188 37.4062 43.5312 36.75 45.5H39.375V45.2813Z",fill:"white"}),d("path",{d:"M52.7188 37.8438H56.4375L52.5 50.3125H48.5625L44.4062 37.8438H48.125L49.875 44.1875C50.3125 45.5 50.3125 46.5938 50.5313 47.0313C50.5313 46.5938 50.75 46.1562 50.75 45.5C50.75 44.8438 50.9688 44.4063 50.9688 44.1875L52.7188 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},rD=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3611)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M32.1563 50.3125H28.4375L26.0312 46.375L23.4063 50.3125H19.6875L23.8438 43.9688L19.9062 37.8438H23.625L25.8125 41.7813L28 37.8438H31.9375L28 44.1875L32.1563 50.3125Z",fill:"white"}),d("path",{d:"M33.6873 50.3125V37.8438H36.9685V47.6875H41.781V50.3125H33.6873Z",fill:"white"}),d("path",{d:"M52.0624 46.5937C52.0624 47.4687 51.8436 48.125 51.4061 48.5625C50.9686 49 50.5311 49.6562 49.6561 49.875C48.7811 50.0937 48.1249 50.3125 47.0311 50.3125C46.1561 50.3125 45.4999 50.3125 44.8436 50.0937C44.1874 49.875 43.7499 49.875 43.0936 49.4375V46.375C43.7499 46.8125 44.4061 47.0312 45.0624 47.25C45.7186 47.4687 46.3749 47.4688 47.0311 47.4688C47.4686 47.4688 47.9061 47.4687 48.1249 47.25C48.3436 47.0312 48.5624 46.8125 48.5624 46.5937C48.5624 46.375 48.5624 46.375 48.3436 46.1562C48.1249 45.9375 48.1249 45.9375 47.9061 45.7187C47.6874 45.5 47.2499 45.2812 46.1561 44.8437C45.2811 44.4062 44.6249 44.1875 44.4061 43.75C44.1874 43.3125 43.7499 43.0937 43.5311 42.6562C43.3124 42.2187 43.3124 41.7812 43.3124 41.125C43.3124 40.0312 43.7499 39.1562 44.6249 38.5C45.4999 37.8437 46.5936 37.625 48.1249 37.625C49.4374 37.625 50.7499 37.8437 52.0624 38.5L50.9686 41.125C49.8749 40.6875 48.7811 40.25 47.9061 40.25C47.4686 40.25 47.2499 40.25 47.0311 40.4687C46.8124 40.6875 46.8124 40.9062 46.8124 41.125C46.8124 41.3437 47.0311 41.5625 47.2499 41.7812C47.4686 42 48.1249 42.2187 49.2186 42.875C50.3124 43.3125 50.9686 43.9687 51.4061 44.4062C51.8436 44.8437 52.0624 45.7187 52.0624 46.5937Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},nD=()=>{const e=`clip${Ie()}`;return D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3171_3639)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M24.7188 50.3125H21L18.5938 46.375L15.9688 50.3125H12.25L16.4062 43.9688L12.4687 37.8438H16.1875L18.375 41.7813L20.5625 37.8438H24.5L20.5625 44.1875L24.7188 50.3125Z",fill:"white"}),d("path",{d:"M26.25 50.3125V37.8438H29.5312V47.6875H34.3438V50.3125H26.25Z",fill:"white"}),d("path",{d:"M44.625 46.5937C44.625 47.4687 44.4063 48.125 43.9688 48.5625C43.5313 49 43.0938 49.6562 42.2188 49.875C41.3438 50.0937 40.6875 50.3125 39.5938 50.3125C38.7188 50.3125 38.0625 50.3125 37.4063 50.0937C36.75 49.875 36.3125 49.875 35.6562 49.4375V46.375C36.3125 46.8125 36.9688 47.0312 37.625 47.25C38.2813 47.4687 38.9375 47.4688 39.5938 47.4688C40.0313 47.4688 40.4688 47.4687 40.6875 47.25C40.9063 47.0312 41.125 46.8125 41.125 46.5937C41.125 46.375 41.125 46.375 40.9063 46.1562C40.6875 45.9375 40.6875 45.9375 40.4688 45.7187C40.25 45.5 39.8125 45.2812 38.7188 44.8437C37.8438 44.4062 37.1875 44.1875 36.9688 43.75C36.75 43.3125 36.3125 43.0937 36.0938 42.6562C35.875 42.2187 35.875 41.7812 35.875 41.125C35.875 40.0312 36.3125 39.1562 37.1875 38.5C38.0625 37.8437 39.1563 37.625 40.6875 37.625C42 37.625 43.3125 37.8437 44.625 38.5L43.5313 41.125C42.4375 40.6875 41.3438 40.25 40.4688 40.25C40.0313 40.25 39.8125 40.25 39.5938 40.4687C39.375 40.6875 39.375 40.9062 39.375 41.125C39.375 41.3437 39.5938 41.5625 39.8125 41.7812C40.0313 42 40.6875 42.2187 41.7813 42.875C42.875 43.3125 43.5313 43.9687 43.9688 44.4062C44.4063 44.8437 44.625 45.7187 44.625 46.5937Z",fill:"white"}),d("path",{d:"M57.75 50.3125H53.8125L51.4062 46.375L49 50.3125H45.2812L49.4375 43.9688L45.5 37.8438H49.2187L51.4062 41.7813L53.5937 37.8438H57.5312L53.5937 44.1875L57.75 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},iD=()=>D(Fe,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M38.5416 22.1768L33.6394 27.0768C33.5081 27.2102 33.4206 27.3611 33.2938 27.4989C35.6231 27.8201 37.785 28.8895 39.4537 30.5461C41.5013 32.5997 42.6511 35.3812 42.6511 38.2811C42.6511 41.181 41.5013 43.9626 39.4537 46.0161L27.4225 58.0474C25.3711 60.0988 22.5887 61.2513 19.6875 61.2513C16.7863 61.2513 14.004 60.0988 11.9525 58.0474C9.90105 55.9959 8.74856 53.2136 8.74856 50.3124C8.74856 47.4112 9.90105 44.6288 11.9525 42.5774L17.1697 37.3602C16.4134 34.4991 16.2423 31.5149 16.6666 28.5861L7.31281 37.9377C4.03084 41.2197 2.18705 45.671 2.18705 50.3124C2.18705 54.9538 4.03084 59.4051 7.31281 62.6871C10.5948 65.969 15.0461 67.8128 19.6875 67.8128C24.3289 67.8128 28.7802 65.969 32.0622 62.6871L44.0934 50.6558C46.1231 48.6313 47.6235 46.1386 48.4627 43.3975C49.3018 40.6563 49.4538 37.7508 48.9052 34.9371C48.3567 32.1233 47.1245 29.4877 45.3172 27.2625C43.5099 25.0372 41.183 23.2907 38.5416 22.1768Z",fill:"white"}),d("path",{d:"M37.9378 7.31274L25.9066 19.344C23.8769 21.3685 22.3765 23.8612 21.5373 26.6023C20.6982 29.3435 20.5462 32.249 21.0948 35.0627C21.6433 37.8765 22.8755 40.5121 24.6828 42.7373C26.4901 44.9626 28.817 46.7091 31.4584 47.8231L36.3606 42.9231C36.4919 42.7896 36.5947 42.6409 36.715 42.5009C34.3823 42.1823 32.2168 41.1127 30.5462 39.4537C28.4987 37.4001 27.3489 34.6186 27.3489 31.7187C27.3489 28.8188 28.4987 26.0372 30.5462 23.9837L42.5775 11.9524C44.629 9.90098 47.4113 8.74848 50.3125 8.74848C51.749 8.74848 53.1715 9.03143 54.4987 9.58116C55.8258 10.1309 57.0317 10.9367 58.0475 11.9524C59.0633 12.9682 59.869 14.1741 60.4188 15.5013C60.9685 16.8284 61.2514 18.2509 61.2514 19.6874C61.2514 21.1239 60.9685 22.5464 60.4188 23.8736C59.869 25.2008 59.0633 26.4067 58.0475 27.4224L52.8347 32.6331C53.5939 35.4851 53.7732 38.4605 53.3619 41.3831L62.6872 32.0577C65.9081 28.7633 67.6999 24.3316 67.6737 19.7243C67.6476 15.117 65.8055 10.7059 62.5473 7.44827C59.2891 4.19066 54.8777 2.34937 50.2704 2.324C45.6631 2.29862 41.2317 4.09121 37.9378 7.31274Z",fill:"white"})]}),oD=({colorFill:e})=>{const t=`clip${Ie()}`;return D("svg",{width:"285",height:"139",viewBox:"0 0 285 139",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[D("g",{clipPath:"url(#clip0_3257_1585)",children:[d("rect",{width:"285",height:"139",fill:e}),d("path",{opacity:"0.2",d:"M335.794 126.97C335.598 127.095 335.394 127.206 335.178 127.304C332.361 128.577 328.837 127.078 327.309 123.953C314.975 98.7512 292.415 78.0666 269.833 71.2542C260.582 68.4618 247.36 66.9169 236.854 75.3544C223.824 85.8458 226.087 115.23 228.082 141.156C229.969 165.653 231.608 186.993 220.594 193.985C219.953 194.391 219.273 194.748 218.543 195.056C206.274 200.23 182.57 192.261 107.538 83.7917C105.555 80.9251 105.989 77.1581 108.508 75.3735C111.028 73.5889 114.677 74.4684 116.658 77.3319C146.815 120.925 171.063 151.682 188.736 168.743C205.61 185.033 211.76 184.259 213.242 183.634C219.603 180.949 217.96 159.621 216.514 140.804C214.296 112.002 211.783 79.3557 229.191 65.3468C240.074 56.572 255.237 54.5108 271.865 59.5262C297.79 67.3495 323.558 90.825 337.51 119.333C338.918 122.219 338.137 125.484 335.794 126.97Z",fill:"white"}),d("path",{opacity:"0.2",d:"M225.02 31.4635C227.693 30.696 230.537 30.772 233.152 31.6809L240.58 34.2811C241.227 34.5043 241.931 34.5167 242.59 34.3165C243.248 34.1164 243.826 33.7141 244.239 33.1683L248.388 27.6392C250.11 25.3689 252.516 23.6958 255.256 22.8636C257.996 22.0314 260.926 22.0836 263.621 23.0126L271.049 25.6128C271.696 25.836 272.401 25.8484 273.059 25.6483C273.717 25.4481 274.295 25.0458 274.709 24.5001L278.858 18.971C280.579 16.7006 282.985 15.0275 285.725 14.1953C288.465 13.3631 291.396 13.4154 294.091 14.3444L301.518 16.9445C302.165 17.1677 302.869 17.1801 303.527 16.9801C304.185 16.78 304.763 16.3779 305.176 15.8324L309.327 10.3027C311.048 8.03236 313.454 6.35924 316.194 5.52706C318.934 4.69488 321.865 4.7471 324.56 5.67612L331.987 8.27626C332.607 8.49344 333.177 8.82977 333.663 9.26594C334.15 9.70212 334.544 10.2296 334.823 10.8181C335.102 11.4066 335.26 12.0445 335.288 12.6953C335.317 13.3461 335.215 13.997 334.988 14.6107C334.524 15.8536 333.583 16.8685 332.37 17.4338C331.157 17.9992 329.771 18.0694 328.513 17.6289L321.086 15.0287C320.438 14.8073 319.734 14.7964 319.076 14.9976C318.418 15.1988 317.841 15.6017 317.428 16.1477L313.28 21.6788C311.557 23.9484 309.151 25.6209 306.412 26.453C303.672 27.2851 300.741 27.2334 298.047 26.3054L290.619 23.7053C289.97 23.4807 289.264 23.4676 288.604 23.6678C287.944 23.8681 287.365 24.2712 286.95 24.8183L282.802 30.3495C281.08 32.619 278.674 34.2915 275.934 35.1236C273.194 35.9558 270.264 35.9041 267.569 34.9761L260.142 32.3759C259.494 32.153 258.79 32.1406 258.132 32.3403C257.473 32.5401 256.895 32.9416 256.481 33.4866L252.333 39.0178C250.611 41.2873 248.205 42.9598 245.465 43.7919C242.725 44.624 239.795 44.5723 237.1 43.6443L229.674 41.0347C229.027 40.8118 228.323 40.7994 227.664 40.9991C227.006 41.1988 226.428 41.6004 226.014 42.1454L221.865 47.6766C221.065 48.7411 219.875 49.4534 218.552 49.6583C217.23 49.8633 215.883 49.5443 214.804 48.7709C214.274 48.387 213.826 47.9029 213.487 47.3463C213.148 46.7896 212.924 46.1715 212.827 45.5273C212.731 44.883 212.765 44.2254 212.926 43.5922C213.088 42.959 213.374 42.3625 213.768 41.8372L217.919 36.3075C219.685 33.9659 222.182 32.2626 225.02 31.4635Z",fill:"white"}),d("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M62.5 167.961C78.771 167.961 91.9612 154.771 91.9612 138.5C91.9612 122.229 78.771 109.039 62.5 109.039C46.229 109.039 33.0388 122.229 33.0388 138.5C33.0388 154.771 46.229 167.961 62.5 167.961ZM62.5 183C87.0767 183 107 163.077 107 138.5C107 113.923 87.0767 94 62.5 94C37.9233 94 18 113.923 18 138.5C18 163.077 37.9233 183 62.5 183Z",fill:"white"}),d("path",{opacity:"0.2",d:"M-59.9428 95.7098C-60.6472 95.4213 -61.3193 95.0119 -61.9264 94.4852C-64.9185 91.8878 -65.2379 87.3663 -62.6372 84.3909L50.6575 -45.219L66.0579 59.2779L174.017 18.8183C177.728 17.4303 181.869 19.3013 183.276 22.9985C184.677 26.6991 182.807 30.8245 179.1 32.2138L54.4444 78.9283L40.9914 -12.3506L-51.7958 93.7987C-53.8693 96.1704 -57.1693 96.847 -59.9428 95.7098Z",fill:"white"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"285",height:"139",fill:"white"})})})]})},aD=({id:e,resourceType:t,resourceTitle:r,resourceDetail:n,resourceTextDownload:i,resourceLink:o,targetBlank:a})=>{const l={boxShadow:`0 2px 7px 0 ${V("colors-neutral-silverSand")}`},s=()=>({jpeg:"#FFBC27",jpg:"#FFBC27",png:"#FFBC27",gif:"#FFBC27",ppt:"#FF7A14",pptx:"#FF7A14",doc:"#0189FF",docx:"#0189FF",csv:"#28A745",xls:"#28A745",xlsx:"#28A745",pdf:"#CC0000",mp4:"#56CCF2",avi:"#56CCF2",mkv:"#56CCF2",mp3:"#9B51E0",wav:"#9B51E0",url:"#1E2DFF"})[t]||"#FFBC27";return d(oc,{href:o,target:a?"_blank":"_self",rel:a?"noopener noreferrer":void 0,transition:"box-shadow 0.3s",_active:l,_hover:l,_focus:l,cursor:"pointer",borderRadius:V("radii-big"),border:V("borders-light"),overflow:"hidden",children:D(wo,{children:[D(ee,{width:"285px",height:"139px",justifyContent:"center",textAlign:"center",alignItems:"center",display:"grid",padding:"1rem",children:[d(U$,{type:t}),d(ee,{position:"absolute",width:"100%",height:"100%",zIndex:"-1",top:"0px",left:"0px",opacity:"0.8",children:d(oD,{colorFill:s()})})]}),D(ee,{width:"285px",height:"auto",justifyContent:"center",textAlign:"center",display:"grid",gap:"8px",padding:"1rem",children:[d(ee,{children:d(tt,{fontFamily:"Roboto",fontWeight:"700",lineHeight:"21px",fontSize:"16px",color:"#555555",m:"0px",children:r})}),d(ee,{children:d(tt,{fontFamily:"Roboto",fontWeight:"400",lineHeight:"14px",fontSize:"12px",color:"#555555",m:"0px",children:n})}),d(ee,{display:"flex",alignItems:"center",justifyContent:"center",children:D(tt,{fontFamily:"Roboto",fontWeight:"500",fontSize:"14px",lineHeight:"16px",color:V("colors-neutral-gray"),textDecoration:"underline",gap:"8px",display:"flex",m:"0px",children:[t==="url"?d(ch,{color:V("colors-main-deepSkyBlue")}):d(Cc,{color:V("colors-main-deepSkyBlue")}),i]})})]})]})})};se.Alert=Zy,se.Btn=Sc,se.BtnLink=El,se.BtnPrimary=dh,se.BtnSecondary=Ry,se.BtnTertiary=Vy,se.CourseList=Uy,se.CourseStatus=$y,se.Eventos=D$,se.FlashNotification=V$,se.Icons=AB,se.Label=kl,se.ModalAlert=Jy,se.NewTooltip=OB,se.Progress=Ly,se.Resources=aD,se.Ripples=wo,se.TinyAlert=Fy,se.UserWay=RB,se.UserWayCookie=VB,se.dataFake=$B,se.maxWidthCoursesList=DB,se.theme=EB,se.useFlashNotification=I$,se.vars=V,Object.defineProperties(se,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
562
+ `,Zc=16,SN=({reverseOrder:e,position:t="top-center",toastOptions:r,gutter:n,children:i,containerStyle:o,containerClassName:a})=>{let{toasts:l,handlers:s}=XB(r);return x.createElement("div",{style:{position:"fixed",zIndex:9999,top:Zc,left:Zc,right:Zc,bottom:Zc,pointerEvents:"none",...o},className:a,onMouseEnter:s.startPause,onMouseLeave:s.endPause},l.map(u=>{let c=u.position||t,p=s.calculateOffset(u,{reverseOrder:e,gutter:n,defaultPosition:t}),f=wN(c,p);return x.createElement(xN,{id:u.id,key:u.id,onHeightUpdate:s.updateHeight,className:u.visible?CN:"",style:f},u.type==="custom"?Hc(u.message,u):i?i(u):x.createElement(bN,{toast:u,position:c}))}))};const D6=e=>{function t(n){var o,a;return(a=(o=n.match(/(\w+)/g))==null?void 0:o.length)!=null?a:0}let r=3e3;return e&&t(e)>5&&(r=6e3),r};function kN({message:e,state:t,show:r,m:n}){const i=A.useCallback(()=>{Et(o=>d(M6,{isFlash:!0,state:t,canDismiss:!0,onClick:()=>Et.dismiss(o.id),children:e}),{duration:D6(e),id:jh[t].id})},[e,t]);return A.useEffect(()=>{r&&i()},[r,i]),d(X,{children:d(SN,{toastOptions:{className:"toastContainer",style:{background:"transparent",boxShadow:"none"}}})})}const EN=({state:e,message:t})=>{const[r,n]=A.useState(!1);return A.useEffect(()=>{if(r){const o=setTimeout(()=>{n(!1)},D6(t));return()=>clearTimeout(o)}},[t,r]),{show:r,active:()=>{r||n(!0)},config:{state:e,message:t}}};function R6({showModal:e,typeAlert:t,title:r,description:n,optionsButton:i,top:o}){const[a]=w1("(min-width: 650px)"),l={content:{top:o}},s=i.length>1;return V(Ll,{id:"modal-alert",isOpen:e,onClose:()=>{},closeOnEsc:!1,closeOnOverlayClick:!1,size:a?"xl":"sm",isCentered:!1,children:[d(ih,{bg:"rgba(0, 0, 0, 0.5)",position:"fixed",top:"0",left:"0",right:"0",bottom:"0",zIndex:"998"}),V(nh,{zIndex:"999",sx:l.content,children:[V(X,{alignItems:"center",justifyContent:"center",textAlign:"center",py:"2rem",borderBottom:"1px solid #E6E6E6",children:[d(X,{display:"flex",justifyContent:"center",children:FB[t].icon}),d(oh,{py:"1rem",children:r}),d(ah,{py:"0.5rem",px:"2rem",children:n})]}),d(lh,{justifyContent:"center",padding:"0",children:i.map((u,c)=>d(X,{width:"99%",textAlign:"center",padding:"1rem",borderLeftWidth:s&&u.id===i[1].id?"1px":"0",borderLeftColor:"#E6E6E6",onClick:()=>u.action(),children:d(Il,{textDecorationLine:!1,fontSize:"1rem",children:u.label})},c))})]})]})}R6.displayName="ModalAlert";const V6=({color:e="white"})=>V(Ve,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M15 2.5H13V0.5H11V2.5H9V0.5H7V2.5H5V0.5H3V2.5H1C0.447 2.5 0 2.947 0 3.5V15.5C0 16.053 0.447 16.5 1 16.5H15C15.553 16.5 16 16.053 16 15.5V3.5C16 2.947 15.553 2.5 15 2.5ZM14 14.5H2V5.5H14V14.5Z",fill:e}),d("path",{d:"M6 7.5H4V9.5H6V7.5Z",fill:e}),d("path",{d:"M9 7.5H7V9.5H9V7.5Z",fill:e}),d("path",{d:"M6 10.5H4V12.5H6V10.5Z",fill:e}),d("path",{d:"M9 10.5H7V12.5H9V10.5Z",fill:e}),d("path",{d:"M12 7.5H10V9.5H12V7.5Z",fill:e}),d("path",{d:"M12 10.5H10V12.5H12V10.5Z",fill:e})]}),$6=({color:e="white"})=>d(Ve,{width:"16px",height:"17px",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:d("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 8.5C0 4.1 3.6 0.5 8 0.5C12.4 0.5 16 4.1 16 8.5C16 12.9 12.4 16.5 8 16.5C3.6 16.5 0 12.9 0 8.5ZM7 9.5H12V7.5H9V4.5H7V9.5Z",fill:e})}),_N=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l,isMobile:s})=>{const u={boxShadow:`0 2px 7px 0 ${B("colors-neutral-silverSand")}`};return d(bc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,w:"fit-content",h:"fit-content",transition:"box-shadow .3s",borderRadius:B("radii-big"),_active:u,_hover:u,_focus:u,children:d(Po,{children:V(xl,{cursor:"pointer",w:"fit-content",display:s?"block":"flex",children:[d(X,{width:"285px",height:s?"140px":"168px",bgImage:`url(${a})`,backgroundSize:"cover",borderRadius:s?"8px 8px 0px 0px":"8px 0 0 8px"}),V(X,{width:s?"285px":"305px",minHeight:s?"160px":"168px",borderRadius:s?"0 0 8px 8px":"0 8px 8px 0",border:B("borders-light"),display:"flex",flexDirection:"column",cursor:"pointer",children:[V(X,{width:"inherit",height:"100%",padding:"16px",color:"#555555",gap:"16px",display:"grid",children:[d(it,{fontWeight:"700",m:"0px",p:"0px",children:t}),V(X,{display:"flex",alignItems:"center",gap:"4px",children:[d(V6,{color:B("colors-main-ziggurat")}),d(it,{fontWeight:"400",m:"0px",p:"0px",children:r}),d(it,{color:B("borders-light"),m:"0px",p:"0px",children:"|"}),d($6,{color:B("colors-main-ziggurat")}),d(it,{m:"0px",p:"0px",children:n})]})]}),d(X,{borderTop:`${B("borders-light")}`,width:"100%",height:"50px",padding:"12px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:B("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})]})})},e)},PN=({id:e,eventTitle:t,startDate:r,startTime:n,buttonInfo:i,redirect:o,eventImage:a,targetBlank:l})=>{const s={boxShadow:`0 2px 7px 0 ${B("colors-neutral-silverSand")}`};return d(bc,{href:o,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,transition:"box-shadow .3s",_active:s,_hover:s,_focus:s,width:"286px",height:"247px",borderRadius:B("radii-big"),children:d(Po,{children:V(X,{width:"286px",height:"247px",borderRadius:B("radii-big"),border:B("borders-light"),justifyContent:"center",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",children:[d(X,{flex:"1",bgImage:`linear-gradient(to bottom, rgba(0,0,0,0) 35%, rgba(0,0,0,1) 100%), url(${a})`,backgroundSize:"cover",borderRadius:"8px 8px 0 0",margin:"0",display:"grid",alignItems:"flex-end",children:V(X,{color:B("colors-neutral-white"),padding:"16px",textAlign:"initial",fontFamily:"Roboto",fontSize:"16px",lineHeight:"21px",display:"grid",gap:"8px",children:[d(it,{fontWeight:"700",m:"0px",children:t}),V(X,{display:"flex",alignItems:"center",gap:"4px",children:[d(V6,{}),d(it,{fontWeight:"400",m:"0px",children:r}),d(it,{m:"0px",children:"|"}),d($6,{}),d(it,{m:"0px",children:n})]})]})}),d(X,{width:"100%",height:"50px",backgroundColor:"white",alignItems:"center",display:"flex",justifyContent:"center",borderRadius:" 0 0 8px 8px",fontSize:"16px",fontFamily:"Roboto",color:B("colors-main-deepSkyBlue"),fontWeight:"500",children:i})]})})},e)},TN=({typeEvent:e,itemsEvent:t})=>e==="LARGE_EVENTS"?d(_N,{...t}):d(PN,{...t}),MN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3696)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.4375 50.3125L27.7812 47.9063H23.625L23.1875 50.3125H19.4688L23.625 37.8438H28.2188L32.375 50.3125H28.4375ZM27.125 45.2813L26.6875 43.3125C26.4688 42.875 26.4688 42.2188 26.25 41.5625C26.0313 40.9063 26.0313 40.25 25.8125 40.0312C25.8125 40.25 25.5938 40.9063 25.5938 41.5625C25.5938 42.2188 25.1563 43.5312 24.5 45.5H27.125V45.2813Z",fill:"white"}),d("path",{d:"M40.6875 37.8438H44.4062L40.25 50.3125H36.3125L32.1562 37.8438H35.875L37.625 44.1875C38.0625 45.5 38.0625 46.5938 38.2813 47.0313C38.2813 46.5938 38.5 46.1562 38.5 45.5C38.5 44.8438 38.7188 44.4063 38.7188 44.1875L40.6875 37.8438Z",fill:"white"}),d("path",{d:"M45.7188 50.3125V37.8438H49.2188V50.3125H45.7188Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},ON=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3654)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M25.1563 40.4688C24.2813 40.4688 23.625 40.9062 23.1875 41.5625C22.75 42.2188 22.5313 43.0938 22.5313 44.1875C22.5313 46.5938 23.4063 47.6875 25.375 47.6875C26.0313 47.6875 26.4688 47.6875 26.9063 47.4688C27.3438 47.25 28 47.0312 28.4375 46.8125V49.6563C27.3438 50.0938 26.25 50.3125 24.9375 50.3125C22.9687 50.3125 21.6562 49.875 20.5625 48.5625C19.4687 47.25 19.0312 45.9375 19.0312 43.75C19.0312 42.4375 19.25 41.3437 19.6875 40.25C20.125 39.1562 20.7813 38.5 21.875 38.0625C22.9688 37.625 23.8438 37.1875 25.1563 37.1875C26.4688 37.1875 27.7813 37.4062 29.0938 38.0625L28 40.6875C27.5625 40.4688 27.125 40.25 26.6875 40.25C26.25 40.25 25.5938 40.4688 25.1563 40.4688Z",fill:"white"}),d("path",{d:"M39.1562 46.5938C39.1562 47.4688 38.9375 48.125 38.5 48.5625C38.0625 49 37.625 49.6562 36.75 49.875C35.875 50.0938 35.2188 50.3125 34.125 50.3125C33.25 50.3125 32.5938 50.3125 31.9375 50.0938C31.2813 49.875 30.8438 49.875 30.1875 49.4375V46.375C30.8438 46.8125 31.5 47.0313 32.1562 47.25C32.8125 47.4688 33.4688 47.4688 34.125 47.4688C34.5625 47.4688 35 47.4688 35.2188 47.25C35.4375 47.0313 35.6562 46.8125 35.6562 46.5938C35.6562 46.375 35.6563 46.375 35.4375 46.1563C35.2188 45.9375 35.2187 46.1563 35 45.9375C34.7812 45.7188 34.3437 45.5 33.25 45.0625C32.375 44.625 31.7187 44.4063 31.5 43.9688C31.2812 43.5313 30.8437 43.3125 30.625 42.875C30.4062 42.4375 30.4062 42 30.4062 41.3438C30.4062 40.25 30.8437 39.375 31.7187 38.7188C32.5937 38.0625 33.6875 37.8438 35.2188 37.8438C36.5313 37.8438 37.8437 38.0625 39.1562 38.7188L38.0625 41.3438C36.9687 40.9063 35.875 40.4688 35 40.4688C34.5625 40.4688 34.3438 40.4688 34.125 40.6875C33.9063 40.9063 33.9062 41.125 33.9062 41.3438C33.9062 41.5625 34.125 41.7813 34.3437 42C34.5625 42.2188 35.2188 42.4375 36.3125 43.0938C37.4063 43.5313 38.0625 44.1875 38.5 44.625C38.9375 45.0625 39.1562 45.7188 39.1562 46.5938Z",fill:"white"}),d("path",{d:"M48.125 37.8438H51.8438L47.6875 50.3125H43.75L39.5938 37.8438H43.3125L45.0625 44.1875C45.5 45.5 45.5 46.5938 45.7187 47.0313C45.7187 46.5938 45.9375 46.1562 45.9375 45.5C45.9375 44.8438 46.1562 44.4063 46.1562 44.1875L48.125 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},LN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3668)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M27.7812 43.75C27.7812 45.9375 27.125 47.4688 26.0312 48.5625C24.9375 49.6563 23.4062 50.3125 21.2187 50.3125H17.2812V37.8438H21.6562C23.625 37.8438 25.1562 38.2813 26.25 39.375C27.3438 40.4688 27.7812 41.7813 27.7812 43.75ZM24.2813 43.9688C24.2813 42.875 24.0625 42 23.625 41.3438C23.1875 40.6875 22.5312 40.4688 21.6562 40.4688H20.5625V47.4688H21.2187C22.3125 47.4688 22.9687 47.25 23.4062 46.5938C23.8437 45.9375 24.2813 45.0625 24.2813 43.9688Z",fill:"white"}),d("path",{d:"M41.7813 43.9688C41.7813 46.1562 41.3437 47.6875 40.25 48.7812C39.1562 49.875 37.625 50.5312 35.6562 50.5312C33.6875 50.5312 32.1562 49.875 31.0625 48.7812C29.9687 47.6875 29.5312 46.1562 29.5312 43.9688C29.5312 41.7812 29.9687 40.25 31.0625 39.1562C32.1562 38.0625 33.6875 37.4062 35.6562 37.4062C37.625 37.4062 39.1562 37.8437 40.25 38.9375C41.3437 40.0312 41.7813 42 41.7813 43.9688ZM33.25 43.9688C33.25 46.375 34.125 47.6875 35.875 47.6875C36.75 47.6875 37.4062 47.4687 37.8437 46.8125C38.2812 46.1562 38.5 45.2812 38.5 43.9688C38.5 42.6562 38.2812 41.7812 37.8437 41.125C37.4062 40.4687 36.75 40.25 35.875 40.25C34.125 40.4687 33.25 41.5625 33.25 43.9688Z",fill:"white"}),d("path",{d:"M49.6563 40.4688C48.7813 40.4688 48.125 40.9062 47.6875 41.5625C47.25 42.2188 47.0313 43.0938 47.0313 44.1875C47.0313 46.5938 47.9062 47.6875 49.875 47.6875C50.5312 47.6875 50.9688 47.6875 51.4063 47.4688C51.8438 47.25 52.5 47.0312 52.9375 46.8125V49.6563C51.8438 50.0938 50.75 50.3125 49.4375 50.3125C47.4688 50.3125 46.1563 49.875 45.0625 48.5625C43.9688 47.25 43.5312 45.9375 43.5312 43.75C43.5312 42.4375 43.75 41.3437 44.1875 40.25C44.625 39.1562 45.2813 38.5 46.375 38.0625C47.4688 37.625 48.3438 37.1875 49.6563 37.1875C50.9688 37.1875 52.2813 37.4062 53.5938 38.0625L52.5 41.125C52.0625 40.9062 51.625 40.6875 51.1875 40.6875C50.75 40.6875 50.0938 40.4688 49.6563 40.4688Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},AN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3752)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M21.6562 43.75C21.6562 45.9375 21 47.4688 19.9063 48.5625C18.8125 49.6563 17.0625 50.3125 15.0938 50.3125H10.9375V37.8438H15.3125C17.2812 37.8438 18.8125 38.2813 19.9063 39.375C21 40.4688 21.6562 41.7813 21.6562 43.75ZM18.1563 43.9688C18.1563 42.875 17.9375 42 17.5 41.3438C17.0625 40.6875 16.1875 40.4688 15.3125 40.4688H14.2188V47.4688H14.875C15.9688 47.4688 16.625 47.25 17.0625 46.5938C17.5 45.9375 18.1563 45.0625 18.1563 43.9688Z",fill:"white"}),d("path",{d:"M35.4375 43.9688C35.4375 46.1562 35 47.6875 33.9062 48.7812C32.8125 49.875 31.2812 50.5312 29.3125 50.5312C27.3437 50.5312 25.8125 49.875 24.7187 48.7812C23.625 47.6875 23.1875 46.1562 23.1875 43.9688C23.1875 41.7812 23.625 40.25 24.7187 39.1562C25.8125 38.0625 27.3437 37.4062 29.3125 37.4062C31.2812 37.4062 32.8125 37.8437 33.9062 38.9375C35 40.0312 35.4375 42 35.4375 43.9688ZM26.9062 43.9688C26.9062 46.375 27.7812 47.6875 29.5312 47.6875C30.4062 47.6875 31.0625 47.4687 31.5 46.8125C31.9375 46.1562 32.1562 45.2812 32.1562 43.9688C32.1562 42.6562 31.9375 41.7812 31.5 41.125C31.0625 40.4687 30.4062 40.25 29.5312 40.25C27.7812 40.4687 26.9062 41.5625 26.9062 43.9688Z",fill:"white"}),d("path",{d:"M43.3125 40.4687C42.4375 40.4687 41.7812 40.9062 41.3437 41.5625C40.9062 42.2187 40.6875 43.0938 40.6875 44.1875C40.6875 46.5938 41.5625 47.6875 43.5312 47.6875C44.1875 47.6875 44.625 47.6875 45.0625 47.4688C45.5 47.25 46.1562 47.0312 46.5937 46.8125V49.6562C45.5 50.0938 44.4063 50.3125 43.0938 50.3125C41.125 50.3125 39.8125 49.875 38.7188 48.5625C37.625 47.25 37.1875 46.1562 37.1875 44.1875C37.1875 42.875 37.4062 41.7812 37.8437 40.6875C38.2812 39.5937 38.9375 38.9375 40.0312 38.5C41.125 38.0625 42 37.625 43.3125 37.625C44.625 37.625 45.9375 37.8437 47.25 38.5L46.1563 41.125C45.7188 40.9062 45.2812 40.6875 44.8438 40.6875C44.4062 40.6875 43.75 40.4687 43.3125 40.4687Z",fill:"white"}),d("path",{d:"M60.375 50.3125H56.4375L54.0313 46.375L51.625 50.3125H47.9062L52.0625 43.9688L48.125 37.8438H51.8438L54.0313 41.7813L56.2188 37.8438H60.1563L56.2188 44.1875L60.375 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},FN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3597)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M27.125 43.0938H32.5937V49.875C31.0625 50.3125 29.5312 50.5312 27.7812 50.5312C25.8125 50.5312 24.2812 49.875 23.4062 48.7812C22.5312 47.6875 21.875 46.1562 21.875 43.9688C21.875 42 22.5313 40.4687 23.625 39.1562C24.7188 37.8437 26.4688 37.4062 28.4375 37.4062C29.3125 37.4062 29.9688 37.4063 30.625 37.625C31.2812 37.8438 31.9375 38.0625 32.375 38.2812L31.2812 40.9063C30.4062 40.4688 29.3125 40.25 28.2187 40.25C27.125 40.25 26.4687 40.4687 26.0312 41.125C25.5937 41.7812 25.1562 42.6562 25.1562 43.9688C25.1562 45.0625 25.375 45.9375 25.8125 46.5937C26.25 47.25 26.9063 47.4688 28 47.4688C28.4375 47.4688 28.875 47.4688 29.3125 47.25V45.2813H27.125V43.0938Z",fill:"white"}),d("path",{d:"M35 50.3125V37.8438H38.5V50.3125H35Z",fill:"white"}),d("path",{d:"M44.4062 50.3125H41.125V37.8438H48.5625V40.4688H44.4062V42.875H48.125V45.5H44.4062V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},IN=({type:e})=>{switch(e){case"avi":return d(MN,{});case"csv":return d(ON,{});case"doc":return d(LN,{});case"docx":return d(AN,{});case"gif":return d(FN,{});case"jpeg":return d(DN,{});case"jpg":return d(RN,{});case"png":return d(zN,{});case"pdf":return d(NN,{});case"ppt":return d(HN,{});case"pptx":return d(jN,{});case"xls":return d(UN,{});case"xlsx":return d(ZN,{});case"mp3":return d($N,{});case"wav":return d(WN,{});case"mp4":return d(BN,{});case"mkv":return d(VN,{});case"url":return d(GN,{});default:return null}},DN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3582)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M17.0625 54.25C16.4063 54.25 15.9688 54.25 15.3125 54.0313V51.4063C15.5312 51.4063 15.75 51.4063 15.9688 51.625C16.1875 51.8438 16.4063 51.625 16.625 51.625C17.2813 51.625 17.5 51.4063 17.7188 51.1875C17.9375 50.9688 18.1563 50.3125 18.1563 49.4375V37.8438H21.6562V49.2188C21.6562 50.9688 21.2187 52.2812 20.5625 53.1562C19.9062 54.0312 18.375 54.25 17.0625 54.25Z",fill:"white"}),d("path",{d:"M33.2502 41.7813C33.2502 43.0938 32.8127 44.1875 31.9377 45.0625C31.0627 45.9375 29.969 46.1563 28.4377 46.1563H27.5627V50.3125H24.2815V37.8438H28.6565C30.1877 37.8438 31.5002 38.2812 32.1565 38.9375C32.8127 39.5938 33.2502 40.4688 33.2502 41.7813ZM27.5627 43.3125H28.219C28.6565 43.3125 29.094 43.0938 29.5315 42.875C29.969 42.6563 29.969 42.2188 29.969 41.7813C29.969 40.9063 29.5315 40.4688 28.6565 40.4688H27.7815V43.3125H27.5627Z",fill:"white"}),d("path",{d:"M50.0937 43.0938H55.5625V49.875C54.0312 50.3125 52.5 50.5312 50.75 50.5312C48.7813 50.5312 47.25 49.875 46.375 48.7812C45.5 47.6875 44.8438 46.1562 44.8438 43.9688C44.8438 42 45.5 40.4687 46.5937 39.1562C47.6875 37.8437 49.4375 37.4062 51.4062 37.4062C52.2812 37.4062 52.9375 37.4063 53.5938 37.625C54.25 37.8438 54.9062 38.0625 55.3437 38.2812L54.25 40.9063C53.375 40.4688 52.2812 40.25 51.1875 40.25C50.0937 40.25 49.4375 40.4687 49 41.125C48.5625 41.7812 48.125 42.875 48.125 44.1875C48.125 45.2813 48.3437 46.1562 48.7812 46.8125C49.2187 47.4687 49.875 47.6875 50.9687 47.6875C51.4062 47.6875 51.8437 47.6875 52.2812 47.4688V45.5H50.0937V43.0938Z",fill:"white"}),d("path",{d:"M42.4375 50.3125H35V37.8438H42.4375V40.4688H38.5V42.4375H42.2187V45.0625H38.5V47.4688H42.4375V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},RN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3525)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M20.3438 54.25C19.6875 54.25 19.25 54.25 18.5938 54.0313V51.4063C18.8125 51.4063 19.0313 51.4063 19.25 51.625C19.4688 51.8438 19.6875 51.625 19.9063 51.625C20.5625 51.625 20.7813 51.4063 21 51.1875C21.2188 50.9688 21.4375 50.3125 21.4375 49.4375V37.8438H24.9375V49.2188C24.9375 50.9688 24.5 52.2812 23.8437 53.1562C23.1875 54.0312 21.6563 54.25 20.3438 54.25Z",fill:"white"}),d("path",{d:"M36.5313 41.7813C36.5313 43.0938 36.0938 44.1875 35.2188 45.0625C34.3438 45.9375 33.25 46.1563 31.7187 46.1563H30.8438V50.3125H27.5625V37.8438H31.9375C33.4688 37.8438 34.7813 38.2812 35.4375 38.9375C36.0938 39.5937 36.5313 40.4688 36.5313 41.7813ZM30.8438 43.3125H31.5C31.9375 43.3125 32.375 43.0938 32.8125 42.875C33.25 42.6563 33.25 42.2188 33.25 41.7813C33.25 40.9063 32.8125 40.4688 31.9375 40.4688H31.0625V43.3125H30.8438Z",fill:"white"}),d("path",{d:"M43.5312 43.0938H49V49.875C47.4687 50.3125 45.9375 50.5312 44.1875 50.5312C42.2188 50.5312 40.6875 49.875 39.8125 48.7812C38.9375 47.6875 38.2812 46.1562 38.2812 43.9688C38.2812 42 38.9375 40.4687 40.0312 39.1562C41.125 37.8437 42.875 37.4062 44.8438 37.4062C45.7188 37.4062 46.375 37.4063 47.0312 37.625C47.6875 37.8438 48.3437 38.0625 48.7812 38.2812L47.6875 40.9063C46.8125 40.4688 45.7187 40.25 44.625 40.25C43.5312 40.25 42.875 40.4687 42.4375 41.125C42 41.7812 41.5625 42.875 41.5625 44.1875C41.5625 45.2813 41.7812 46.1562 42.2187 46.8125C42.6562 47.4687 43.3125 47.6875 44.4062 47.6875C44.8437 47.6875 45.2812 47.6875 45.7187 47.4688V45.5H43.5312V43.0938Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},VN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3710)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M21.2188 50.3125L18.5938 41.3438C18.8125 42.875 18.8125 43.9688 18.8125 44.8438V50.3125H15.75V37.8438H20.3438L22.9688 46.8125L25.5938 37.8438H30.1875V50.3125H27.125V44.8438C27.125 44.625 27.125 44.1875 27.125 43.9688C27.125 43.75 27.125 42.875 27.3438 41.3438L24.5 50.3125H21.2188Z",fill:"white"}),d("path",{d:"M43.3125 50.3125H39.5938L37.1875 45.5L36.0938 46.1563V50.3125H32.8125V37.8438H36.3125V43.3125C36.5313 42.875 36.75 42.4375 37.4063 41.7813L40.0312 37.8438H43.75L39.8125 43.5313L43.3125 50.3125Z",fill:"white"}),d("path",{d:"M51.8438 37.8438H55.5625L51.4063 50.3125H47.4688L43.3125 37.8438H47.0313L48.7812 44.1875C49.2188 45.5 49.2188 46.5938 49.4375 47.0313C49.4375 46.5938 49.6563 46.1562 49.6563 45.5C49.6563 44.8438 49.875 44.4063 49.875 44.1875L51.8438 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},$N=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3724)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.75 50.3125L20.125 41.3438C20.3437 42.875 20.3438 43.9688 20.3438 44.8438V50.3125H17.2812V37.8438H21.875L24.5 46.8125L27.125 37.8438H31.7188V50.3125H28.4375V44.8438C28.4375 44.625 28.4375 44.1875 28.4375 43.9688C28.4375 43.75 28.4375 42.875 28.6563 41.3438L25.8125 50.3125H22.75Z",fill:"white"}),d("path",{d:"M43.3125 41.7813C43.3125 43.0938 42.875 44.1875 42 45.0625C41.125 45.9375 40.0313 46.1563 38.5 46.1563H37.625V50.3125H34.3438V37.8438H38.7188C40.25 37.8438 41.5625 38.2812 42.2187 38.9375C42.875 39.5938 43.3125 40.4688 43.3125 41.7813ZM37.625 43.3125H38.2813C38.7188 43.3125 39.1563 43.0938 39.5938 42.875C40.0313 42.6563 40.0312 42.2188 40.0312 41.7813C40.0312 40.9063 39.5938 40.4688 38.7188 40.4688H37.8437V43.3125H37.625Z",fill:"white"}),d("path",{d:"M52.9375 40.4688C52.9375 41.3438 52.7188 42 52.2813 42.4375C51.8438 42.875 51.1875 43.5312 50.3125 43.75C52.5 43.9688 53.375 45.0625 53.375 46.8125C53.375 47.9062 52.9375 48.7813 52.0625 49.6563C51.1875 50.5313 49.875 50.75 48.125 50.75C47.4688 50.75 46.8125 50.75 46.1563 50.5313C45.5 50.3125 45.0625 50.3125 44.4062 50.0937V47.25C44.8438 47.4688 45.5 47.6875 46.1563 47.9062C46.8125 48.125 47.25 48.125 47.6875 48.125C48.3438 48.125 49 48.125 49.2188 47.9062C49.4375 47.6875 49.6563 47.4688 49.6563 47.0312C49.6563 46.5938 49.6563 46.375 49.4375 46.1563C49.2188 45.9375 49 45.9375 48.5625 45.7187C48.125 45.5 47.6875 45.5 47.0313 45.5H46.1563V42.875H47.0313C48.7813 42.875 49.6563 42.4375 49.6563 41.5625C49.6563 41.125 49.4375 40.9063 49.2188 40.9063C49 40.9063 48.5625 40.6875 48.125 40.6875C47.25 40.6875 46.5938 40.9062 45.7188 41.5625L44.4062 39.375C45.0625 38.9375 45.7188 38.5 46.375 38.5C47.0313 38.5 47.9062 38.2812 48.7812 38.2812C50.0938 38.2812 51.1875 38.5 51.8438 39.1562C52.5 39.8125 52.9375 39.5938 52.9375 40.4688Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},BN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3682)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.75 50.3125L20.125 41.3438C20.3437 42.875 20.3438 43.9688 20.3438 44.8438V50.3125H17.2812V37.8438H21.875L24.5 46.8125L27.125 37.8438H31.7188V50.3125H28.4375V44.8438C28.4375 44.625 28.4375 44.1875 28.4375 43.9688C28.4375 43.75 28.4375 42.875 28.6563 41.3438L25.8125 50.3125H22.75Z",fill:"white"}),d("path",{d:"M43.3125 41.7813C43.3125 43.0938 42.875 44.1875 42 45.0625C41.125 45.9375 40.0313 46.1563 38.5 46.1563H37.625V50.3125H34.3438V37.8438H38.7188C40.25 37.8438 41.5625 38.2812 42.2187 38.9375C42.875 39.5938 43.3125 40.4688 43.3125 41.7813ZM37.625 43.3125H38.2813C38.7188 43.3125 39.1563 43.0938 39.5938 42.875C40.0313 42.6563 40.0312 42.2188 40.0312 41.7813C40.0312 40.9063 39.5938 40.4688 38.7188 40.4688H37.8437V43.3125H37.625Z",fill:"white"}),d("path",{d:"M53.8125 47.9063H52.5V50.3125H49.2187V47.9063H44.1875V45.5L49.4375 37.8438H52.5V45.5H53.8125V47.9063ZM49.2187 45.2813V43.75C49.2187 43.5313 49.2187 43.0938 49.2187 42.6563C49.2187 42.2188 49.2187 42 49.2187 42C49 42.4375 48.7812 42.875 48.5625 43.3125L47.25 45.2813H49.2187Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},NN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3625)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.7503 41.7923C28.7503 43.1879 28.3391 44.2664 27.5166 45.0276C26.6941 45.7889 25.5238 46.1673 24.0078 46.1673H23.0584V50.3126H19.6831V37.8198H24.0078C25.585 37.8198 26.7706 38.1633 27.5625 38.8545C28.3544 39.5458 28.7503 40.5214 28.7503 41.7923ZM23.0584 43.4176H23.6731C24.1806 43.4176 24.5831 43.2754 24.8828 42.9911C25.1825 42.7067 25.3312 42.313 25.3312 41.812C25.3312 40.9676 24.8653 40.5476 23.9291 40.5476H23.0584V43.4176Z",fill:"white"}),d("path",{d:"M41.3438 43.8005C41.3438 45.8851 40.7706 47.4929 39.6222 48.6195C38.4738 49.7461 36.8616 50.3126 34.7812 50.3126H30.7388V37.8198H35.0634C37.0694 37.8198 38.6181 38.3317 39.7075 39.3576C40.7969 40.3836 41.3438 41.8645 41.3438 43.8005ZM37.8416 43.9208C37.8416 42.7767 37.6141 41.9279 37.1613 41.3745C36.7084 40.8211 36.0216 40.5454 35.0984 40.5454H34.1162V47.5433H34.8687C35.8947 47.5433 36.645 47.2458 37.1241 46.6508C37.6031 46.0558 37.8416 45.1458 37.8416 43.9208Z",fill:"white"}),d("path",{d:"M46.9066 50.3126H43.5816V37.8198H50.9644V40.528H46.9066V42.9123H50.6494V45.6204H46.9066V50.3126Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},zN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3568)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M26.0312 41.7813C26.0312 43.0938 25.5938 44.1875 24.7188 45.0625C23.8438 45.9375 22.75 46.1563 21.2187 46.1563H20.3438V50.3125H17.0625V37.8438H21.4375C22.9688 37.8438 24.2812 38.2812 24.9375 38.9375C25.5937 39.5938 26.0312 40.4688 26.0312 41.7813ZM20.3438 43.3125H21C21.4375 43.3125 21.875 43.0938 22.3125 42.875C22.75 42.6563 22.75 42.2188 22.75 41.7813C22.75 40.9063 22.3125 40.4688 21.4375 40.4688H20.3438V43.3125Z",fill:"white"}),d("path",{d:"M40.0312 50.3125H35.6562L31.0625 41.5625C31.0625 42.875 31.2813 43.9688 31.2813 44.625V50.3125H28.2188V37.8438H32.5938L37.1875 46.5938C37.1875 45.2812 36.9688 44.4063 36.9688 43.5313V37.8438H40.0312V50.3125Z",fill:"white"}),d("path",{d:"M47.6875 43.0938H53.1562V49.875C51.625 50.3125 50.0938 50.5312 48.3438 50.5312C46.375 50.5312 44.8438 49.875 43.9688 48.7812C43.0938 47.6875 42.4375 46.1562 42.4375 43.9688C42.4375 42 43.0938 40.4687 44.1875 39.1562C45.2813 37.8437 47.0312 37.4062 49 37.4062C49.875 37.4062 50.5312 37.4063 51.1875 37.625C51.8438 37.8438 52.5 38.0625 52.9375 38.2812L51.8438 40.9063C50.9688 40.4688 49.875 40.25 48.7812 40.25C47.6875 40.25 47.0312 40.4687 46.5937 41.125C46.1562 41.7812 45.7188 42.6562 45.7188 43.9688C45.7188 45.0625 45.9375 45.9375 46.375 46.5937C46.8125 47.25 47.4688 47.4688 48.5625 47.4688C49 47.4688 49.4375 47.4688 49.875 47.25V45.2813H47.6875V43.0938Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},HN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3539)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.875 41.7813C28.875 43.0938 28.4375 44.1875 27.5625 45.0625C26.6875 45.9375 25.5938 46.1563 24.0625 46.1563H22.9688V50.3125H19.6875V37.8438H24.0625C25.5938 37.8438 26.9062 38.2812 27.5625 38.9375C28.2187 39.5938 28.875 40.4688 28.875 41.7813ZM22.9688 43.3125H23.625C24.0625 43.3125 24.5 43.0938 24.9375 42.875C25.375 42.6563 25.375 42.2188 25.375 41.7813C25.375 40.9063 24.9375 40.4688 24.0625 40.4688H22.9688V43.3125Z",fill:"white"}),d("path",{d:"M39.8122 41.7813C39.8122 43.0938 39.3747 44.1875 38.4997 45.0625C37.6247 45.9375 36.5309 46.1563 34.9997 46.1563H34.1247V50.3125H30.8434V37.8438H35.2184C36.7497 37.8438 38.0622 38.2812 38.7184 38.9375C39.3747 39.5938 39.8122 40.4688 39.8122 41.7813ZM34.1247 43.3125H34.7809C35.2184 43.3125 35.6559 43.0938 36.0934 42.875C36.5309 42.6563 36.5309 42.2188 36.5309 41.7813C36.5309 40.9063 36.0934 40.4688 35.2184 40.4688H34.3434V43.3125H34.1247Z",fill:"white"}),d("path",{d:"M47.2499 50.3125H43.9686V40.6875H40.9061V37.8438H50.3124V40.6875H47.2499V50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},jN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3553)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M22.9688 41.7813C22.9688 43.0938 22.5312 44.1875 21.6562 45.0625C20.7812 45.9375 19.6875 46.1563 18.1562 46.1563H17.0625V50.3125H13.7812V37.8438H18.1562C19.6875 37.8438 21 38.2812 21.6562 38.9375C22.3125 39.5938 22.9688 40.4688 22.9688 41.7813ZM17.0625 43.3125H17.7188C18.1563 43.3125 18.5937 43.0938 19.0312 42.875C19.4687 42.6563 19.4687 42.2188 19.4687 41.7813C19.4687 40.9063 19.0312 40.4688 18.1562 40.4688H17.0625V43.3125Z",fill:"white"}),d("path",{d:"M33.9063 41.7813C33.9063 43.0938 33.4688 44.1875 32.5938 45.0625C31.7188 45.9375 30.625 46.1563 29.0938 46.1563H28.2188V50.3125H24.9375V37.8438H29.3125C30.8438 37.8438 32.1563 38.2812 32.8125 38.9375C33.4688 39.5938 33.9063 40.4688 33.9063 41.7813ZM28.2188 43.3125H28.875C29.3125 43.3125 29.75 43.0938 30.1875 42.875C30.625 42.6563 30.625 42.2188 30.625 41.7813C30.625 40.9063 30.1875 40.4688 29.3125 40.4688H28.4375V43.3125H28.2188Z",fill:"white"}),d("path",{d:"M41.3437 50.3125H38.0625V40.6875H35V37.8438H44.4062V40.6875H41.3437V50.3125Z",fill:"white"}),d("path",{d:"M57.5312 50.3125H53.5937L51.1875 46.375L48.7812 50.3125H45.0625L49.2187 43.9688L45.2813 37.8438H49L51.1875 41.7813L53.375 37.8438H57.3125L53.375 44.1875L57.5312 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},WN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3738)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M28.2187 50.3125H24.2812L23.1875 44.8438C23.1875 44.625 22.9688 44.1875 22.9688 43.5313C22.9688 42.875 22.75 42.2188 22.75 41.7813C22.75 42.2188 22.5312 42.6563 22.5312 43.0938C22.5312 43.5313 22.3125 44.1875 22.3125 44.625C22.3125 45.0625 21.6562 47.0313 20.7812 50.3125H16.8437L13.7812 37.8438H17.0625L18.375 44.1875C18.5937 45.5 18.8125 46.5938 19.0312 47.4688C19.0312 46.8125 19.25 46.1563 19.4687 45.0625C19.6875 43.9688 19.9063 43.3125 19.9063 42.6563L21 37.8438H24.0625L25.1562 42.6563C25.375 43.3125 25.5938 44.1875 25.8125 45.2813C26.0312 46.375 26.0312 47.0313 26.25 47.4688C26.25 46.8125 26.4688 45.7188 26.9062 44.1875L28.2187 37.8438H31.5L28.2187 50.3125Z",fill:"white"}),d("path",{d:"M40.6875 50.3125L40.0312 47.9063H35.875L35.4375 50.3125H31.7188L35.875 37.8438H40.4688L44.625 50.3125H40.6875ZM39.375 45.2813L38.9375 43.3125C38.7187 42.875 38.7188 42.2188 38.5 41.5625C38.2813 40.9063 38.2812 40.25 38.0625 40.0312C38.0625 40.25 37.8437 40.9063 37.8437 41.5625C37.8437 42.2188 37.4062 43.5312 36.75 45.5H39.375V45.2813Z",fill:"white"}),d("path",{d:"M52.7188 37.8438H56.4375L52.5 50.3125H48.5625L44.4062 37.8438H48.125L49.875 44.1875C50.3125 45.5 50.3125 46.5938 50.5313 47.0313C50.5313 46.5938 50.75 46.1562 50.75 45.5C50.75 44.8438 50.9688 44.4063 50.9688 44.1875L52.7188 37.8438Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},UN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3611)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M32.1563 50.3125H28.4375L26.0312 46.375L23.4063 50.3125H19.6875L23.8438 43.9688L19.9062 37.8438H23.625L25.8125 41.7813L28 37.8438H31.9375L28 44.1875L32.1563 50.3125Z",fill:"white"}),d("path",{d:"M33.6873 50.3125V37.8438H36.9685V47.6875H41.781V50.3125H33.6873Z",fill:"white"}),d("path",{d:"M52.0624 46.5937C52.0624 47.4687 51.8436 48.125 51.4061 48.5625C50.9686 49 50.5311 49.6562 49.6561 49.875C48.7811 50.0937 48.1249 50.3125 47.0311 50.3125C46.1561 50.3125 45.4999 50.3125 44.8436 50.0937C44.1874 49.875 43.7499 49.875 43.0936 49.4375V46.375C43.7499 46.8125 44.4061 47.0312 45.0624 47.25C45.7186 47.4687 46.3749 47.4688 47.0311 47.4688C47.4686 47.4688 47.9061 47.4687 48.1249 47.25C48.3436 47.0312 48.5624 46.8125 48.5624 46.5937C48.5624 46.375 48.5624 46.375 48.3436 46.1562C48.1249 45.9375 48.1249 45.9375 47.9061 45.7187C47.6874 45.5 47.2499 45.2812 46.1561 44.8437C45.2811 44.4062 44.6249 44.1875 44.4061 43.75C44.1874 43.3125 43.7499 43.0937 43.5311 42.6562C43.3124 42.2187 43.3124 41.7812 43.3124 41.125C43.3124 40.0312 43.7499 39.1562 44.6249 38.5C45.4999 37.8437 46.5936 37.625 48.1249 37.625C49.4374 37.625 50.7499 37.8437 52.0624 38.5L50.9686 41.125C49.8749 40.6875 48.7811 40.25 47.9061 40.25C47.4686 40.25 47.2499 40.25 47.0311 40.4687C46.8124 40.6875 46.8124 40.9062 46.8124 41.125C46.8124 41.3437 47.0311 41.5625 47.2499 41.7812C47.4686 42 48.1249 42.2187 49.2186 42.875C50.3124 43.3125 50.9686 43.9687 51.4061 44.4062C51.8436 44.8437 52.0624 45.7187 52.0624 46.5937Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},ZN=()=>{const e=`clip${Ne()}`;return V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3171_3639)",children:[d("path",{d:"M43.75 2.1875V19.6875H61.25",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10"}),d("path",{d:"M61.25 28.4375V19.6875L43.75 2.1875H8.75V28.4375",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M8.75 59.0625V67.8125H61.25V59.0625",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"}),d("path",{d:"M24.7188 50.3125H21L18.5938 46.375L15.9688 50.3125H12.25L16.4062 43.9688L12.4687 37.8438H16.1875L18.375 41.7813L20.5625 37.8438H24.5L20.5625 44.1875L24.7188 50.3125Z",fill:"white"}),d("path",{d:"M26.25 50.3125V37.8438H29.5312V47.6875H34.3438V50.3125H26.25Z",fill:"white"}),d("path",{d:"M44.625 46.5937C44.625 47.4687 44.4063 48.125 43.9688 48.5625C43.5313 49 43.0938 49.6562 42.2188 49.875C41.3438 50.0937 40.6875 50.3125 39.5938 50.3125C38.7188 50.3125 38.0625 50.3125 37.4063 50.0937C36.75 49.875 36.3125 49.875 35.6562 49.4375V46.375C36.3125 46.8125 36.9688 47.0312 37.625 47.25C38.2813 47.4687 38.9375 47.4688 39.5938 47.4688C40.0313 47.4688 40.4688 47.4687 40.6875 47.25C40.9063 47.0312 41.125 46.8125 41.125 46.5937C41.125 46.375 41.125 46.375 40.9063 46.1562C40.6875 45.9375 40.6875 45.9375 40.4688 45.7187C40.25 45.5 39.8125 45.2812 38.7188 44.8437C37.8438 44.4062 37.1875 44.1875 36.9688 43.75C36.75 43.3125 36.3125 43.0937 36.0938 42.6562C35.875 42.2187 35.875 41.7812 35.875 41.125C35.875 40.0312 36.3125 39.1562 37.1875 38.5C38.0625 37.8437 39.1563 37.625 40.6875 37.625C42 37.625 43.3125 37.8437 44.625 38.5L43.5313 41.125C42.4375 40.6875 41.3438 40.25 40.4688 40.25C40.0313 40.25 39.8125 40.25 39.5938 40.4687C39.375 40.6875 39.375 40.9062 39.375 41.125C39.375 41.3437 39.5938 41.5625 39.8125 41.7812C40.0313 42 40.6875 42.2187 41.7813 42.875C42.875 43.3125 43.5313 43.9687 43.9688 44.4062C44.4063 44.8437 44.625 45.7187 44.625 46.5937Z",fill:"white"}),d("path",{d:"M57.75 50.3125H53.8125L51.4062 46.375L49 50.3125H45.2812L49.4375 43.9688L45.5 37.8438H49.2187L51.4062 41.7813L53.5937 37.8438H57.5312L53.5937 44.1875L57.75 50.3125Z",fill:"white"}),d("path",{d:"M67.8125 28.4375H2.1875V59.0625H67.8125V28.4375Z",stroke:"white",strokeWidth:"4",strokeMiterlimit:"10",strokeLinecap:"square"})]}),d("defs",{children:d("clipPath",{id:e,children:d("rect",{width:"70px",height:"70px",fill:"white"})})})]})},GN=()=>V(Ve,{width:"70px",height:"70px",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[d("path",{d:"M38.5416 22.1768L33.6394 27.0768C33.5081 27.2102 33.4206 27.3611 33.2938 27.4989C35.6231 27.8201 37.785 28.8895 39.4537 30.5461C41.5013 32.5997 42.6511 35.3812 42.6511 38.2811C42.6511 41.181 41.5013 43.9626 39.4537 46.0161L27.4225 58.0474C25.3711 60.0988 22.5887 61.2513 19.6875 61.2513C16.7863 61.2513 14.004 60.0988 11.9525 58.0474C9.90105 55.9959 8.74856 53.2136 8.74856 50.3124C8.74856 47.4112 9.90105 44.6288 11.9525 42.5774L17.1697 37.3602C16.4134 34.4991 16.2423 31.5149 16.6666 28.5861L7.31281 37.9377C4.03084 41.2197 2.18705 45.671 2.18705 50.3124C2.18705 54.9538 4.03084 59.4051 7.31281 62.6871C10.5948 65.969 15.0461 67.8128 19.6875 67.8128C24.3289 67.8128 28.7802 65.969 32.0622 62.6871L44.0934 50.6558C46.1231 48.6313 47.6235 46.1386 48.4627 43.3975C49.3018 40.6563 49.4538 37.7508 48.9052 34.9371C48.3567 32.1233 47.1245 29.4877 45.3172 27.2625C43.5099 25.0372 41.183 23.2907 38.5416 22.1768Z",fill:"white"}),d("path",{d:"M37.9378 7.31274L25.9066 19.344C23.8769 21.3685 22.3765 23.8612 21.5373 26.6023C20.6982 29.3435 20.5462 32.249 21.0948 35.0627C21.6433 37.8765 22.8755 40.5121 24.6828 42.7373C26.4901 44.9626 28.817 46.7091 31.4584 47.8231L36.3606 42.9231C36.4919 42.7896 36.5947 42.6409 36.715 42.5009C34.3823 42.1823 32.2168 41.1127 30.5462 39.4537C28.4987 37.4001 27.3489 34.6186 27.3489 31.7187C27.3489 28.8188 28.4987 26.0372 30.5462 23.9837L42.5775 11.9524C44.629 9.90098 47.4113 8.74848 50.3125 8.74848C51.749 8.74848 53.1715 9.03143 54.4987 9.58116C55.8258 10.1309 57.0317 10.9367 58.0475 11.9524C59.0633 12.9682 59.869 14.1741 60.4188 15.5013C60.9685 16.8284 61.2514 18.2509 61.2514 19.6874C61.2514 21.1239 60.9685 22.5464 60.4188 23.8736C59.869 25.2008 59.0633 26.4067 58.0475 27.4224L52.8347 32.6331C53.5939 35.4851 53.7732 38.4605 53.3619 41.3831L62.6872 32.0577C65.9081 28.7633 67.6999 24.3316 67.6737 19.7243C67.6476 15.117 65.8055 10.7059 62.5473 7.44827C59.2891 4.19066 54.8777 2.34937 50.2704 2.324C45.6631 2.29862 41.2317 4.09121 37.9378 7.31274Z",fill:"white"})]}),YN=({colorFill:e})=>{const t=`clip${Ne()}`;return V("svg",{width:"285",height:"139",viewBox:"0 0 285 139",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[V("g",{clipPath:"url(#clip0_3257_1585)",children:[d("rect",{width:"285",height:"139",fill:e}),d("path",{opacity:"0.2",d:"M335.794 126.97C335.598 127.095 335.394 127.206 335.178 127.304C332.361 128.577 328.837 127.078 327.309 123.953C314.975 98.7512 292.415 78.0666 269.833 71.2542C260.582 68.4618 247.36 66.9169 236.854 75.3544C223.824 85.8458 226.087 115.23 228.082 141.156C229.969 165.653 231.608 186.993 220.594 193.985C219.953 194.391 219.273 194.748 218.543 195.056C206.274 200.23 182.57 192.261 107.538 83.7917C105.555 80.9251 105.989 77.1581 108.508 75.3735C111.028 73.5889 114.677 74.4684 116.658 77.3319C146.815 120.925 171.063 151.682 188.736 168.743C205.61 185.033 211.76 184.259 213.242 183.634C219.603 180.949 217.96 159.621 216.514 140.804C214.296 112.002 211.783 79.3557 229.191 65.3468C240.074 56.572 255.237 54.5108 271.865 59.5262C297.79 67.3495 323.558 90.825 337.51 119.333C338.918 122.219 338.137 125.484 335.794 126.97Z",fill:"white"}),d("path",{opacity:"0.2",d:"M225.02 31.4635C227.693 30.696 230.537 30.772 233.152 31.6809L240.58 34.2811C241.227 34.5043 241.931 34.5167 242.59 34.3165C243.248 34.1164 243.826 33.7141 244.239 33.1683L248.388 27.6392C250.11 25.3689 252.516 23.6958 255.256 22.8636C257.996 22.0314 260.926 22.0836 263.621 23.0126L271.049 25.6128C271.696 25.836 272.401 25.8484 273.059 25.6483C273.717 25.4481 274.295 25.0458 274.709 24.5001L278.858 18.971C280.579 16.7006 282.985 15.0275 285.725 14.1953C288.465 13.3631 291.396 13.4154 294.091 14.3444L301.518 16.9445C302.165 17.1677 302.869 17.1801 303.527 16.9801C304.185 16.78 304.763 16.3779 305.176 15.8324L309.327 10.3027C311.048 8.03236 313.454 6.35924 316.194 5.52706C318.934 4.69488 321.865 4.7471 324.56 5.67612L331.987 8.27626C332.607 8.49344 333.177 8.82977 333.663 9.26594C334.15 9.70212 334.544 10.2296 334.823 10.8181C335.102 11.4066 335.26 12.0445 335.288 12.6953C335.317 13.3461 335.215 13.997 334.988 14.6107C334.524 15.8536 333.583 16.8685 332.37 17.4338C331.157 17.9992 329.771 18.0694 328.513 17.6289L321.086 15.0287C320.438 14.8073 319.734 14.7964 319.076 14.9976C318.418 15.1988 317.841 15.6017 317.428 16.1477L313.28 21.6788C311.557 23.9484 309.151 25.6209 306.412 26.453C303.672 27.2851 300.741 27.2334 298.047 26.3054L290.619 23.7053C289.97 23.4807 289.264 23.4676 288.604 23.6678C287.944 23.8681 287.365 24.2712 286.95 24.8183L282.802 30.3495C281.08 32.619 278.674 34.2915 275.934 35.1236C273.194 35.9558 270.264 35.9041 267.569 34.9761L260.142 32.3759C259.494 32.153 258.79 32.1406 258.132 32.3403C257.473 32.5401 256.895 32.9416 256.481 33.4866L252.333 39.0178C250.611 41.2873 248.205 42.9598 245.465 43.7919C242.725 44.624 239.795 44.5723 237.1 43.6443L229.674 41.0347C229.027 40.8118 228.323 40.7994 227.664 40.9991C227.006 41.1988 226.428 41.6004 226.014 42.1454L221.865 47.6766C221.065 48.7411 219.875 49.4534 218.552 49.6583C217.23 49.8633 215.883 49.5443 214.804 48.7709C214.274 48.387 213.826 47.9029 213.487 47.3463C213.148 46.7896 212.924 46.1715 212.827 45.5273C212.731 44.883 212.765 44.2254 212.926 43.5922C213.088 42.959 213.374 42.3625 213.768 41.8372L217.919 36.3075C219.685 33.9659 222.182 32.2626 225.02 31.4635Z",fill:"white"}),d("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M62.5 167.961C78.771 167.961 91.9612 154.771 91.9612 138.5C91.9612 122.229 78.771 109.039 62.5 109.039C46.229 109.039 33.0388 122.229 33.0388 138.5C33.0388 154.771 46.229 167.961 62.5 167.961ZM62.5 183C87.0767 183 107 163.077 107 138.5C107 113.923 87.0767 94 62.5 94C37.9233 94 18 113.923 18 138.5C18 163.077 37.9233 183 62.5 183Z",fill:"white"}),d("path",{opacity:"0.2",d:"M-59.9428 95.7098C-60.6472 95.4213 -61.3193 95.0119 -61.9264 94.4852C-64.9185 91.8878 -65.2379 87.3663 -62.6372 84.3909L50.6575 -45.219L66.0579 59.2779L174.017 18.8183C177.728 17.4303 181.869 19.3013 183.276 22.9985C184.677 26.6991 182.807 30.8245 179.1 32.2138L54.4444 78.9283L40.9914 -12.3506L-51.7958 93.7987C-53.8693 96.1704 -57.1693 96.847 -59.9428 95.7098Z",fill:"white"})]}),d("defs",{children:d("clipPath",{id:t,children:d("rect",{width:"285",height:"139",fill:"white"})})})]})},KN=({id:e,resourceType:t,resourceTitle:r,resourceDetail:n,resourceTextDownload:i,resourceLink:o,targetBlank:a})=>{const l={boxShadow:`0 2px 7px 0 ${B("colors-neutral-silverSand")}`},s=()=>({jpeg:"#FFBC27",jpg:"#FFBC27",png:"#FFBC27",gif:"#FFBC27",ppt:"#FF7A14",pptx:"#FF7A14",doc:"#0189FF",docx:"#0189FF",csv:"#28A745",xls:"#28A745",xlsx:"#28A745",pdf:"#CC0000",mp4:"#56CCF2",avi:"#56CCF2",mkv:"#56CCF2",mp3:"#9B51E0",wav:"#9B51E0",url:"#1E2DFF"})[t]||"#FFBC27";return d(bc,{href:o,target:a?"_blank":"_self",rel:a?"noopener noreferrer":void 0,transition:"box-shadow 0.3s",_active:l,_hover:l,_focus:l,cursor:"pointer",borderRadius:B("radii-big"),border:B("borders-light"),overflow:"hidden",children:V(Po,{children:[V(X,{width:"285px",height:"139px",justifyContent:"center",textAlign:"center",alignItems:"center",display:"grid",padding:"1rem",children:[d(IN,{type:t}),d(X,{position:"absolute",width:"100%",height:"100%",zIndex:"-1",top:"0px",left:"0px",opacity:"0.8",children:d(YN,{colorFill:s()})})]}),V(X,{width:"285px",height:"auto",justifyContent:"center",textAlign:"center",display:"grid",gap:"8px",padding:"1rem",children:[d(X,{children:d(it,{fontFamily:"Roboto",fontWeight:"700",lineHeight:"21px",fontSize:"16px",color:"#555555",m:"0px",children:r})}),d(X,{children:d(it,{fontFamily:"Roboto",fontWeight:"400",lineHeight:"14px",fontSize:"12px",color:"#555555",m:"0px",children:n})}),d(X,{display:"flex",alignItems:"center",justifyContent:"center",children:V(it,{fontFamily:"Roboto",fontWeight:"500",fontSize:"14px",lineHeight:"16px",color:B("colors-neutral-gray"),textDecoration:"underline",gap:"8px",display:"flex",m:"0px",children:[t==="url"?d(Vh,{color:B("colors-main-deepSkyBlue")}):d($c,{color:B("colors-main-deepSkyBlue")}),i]})})]})]})})},B6=6e4,N6=36e5,z6=Symbol.for("constructDateFrom");function Gc(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&z6 in e?e[z6](t):e instanceof Date?new e.constructor(t):new Date(t)}function To(e,t){return Gc(t||e,e)}function qN(e,t,r){const n=To(e,r==null?void 0:r.in);return isNaN(t)?Gc((r==null?void 0:r.in)||e,NaN):(t&&n.setDate(n.getDate()+t),n)}function XN(e,...t){const r=Gc.bind(null,e||t.find(n=>typeof n=="object"));return t.map(r)}function Gh(e,t){const r=To(e,t==null?void 0:t.in);return r.setHours(0,0,0,0),r}function H6(e,t,r){const[n,i]=XN(r==null?void 0:r.in,e,t);return+Gh(n)==+Gh(i)}function QN(e,t){return+To(e)>+To(t)}function j6(e,t){var u;const r=()=>Gc(t==null?void 0:t.in,NaN),n=(u=t==null?void 0:t.additionalDigits)!=null?u:2,i=rz(e);let o;if(i.date){const c=nz(i.date,n);o=iz(c.restDateString,c.year)}if(!o||isNaN(+o))return r();const a=+o;let l=0,s;if(i.time&&(l=oz(i.time),isNaN(l)))return r();if(i.timezone){if(s=az(i.timezone),isNaN(s))return r()}else{const c=new Date(a+l),p=To(0,t==null?void 0:t.in);return p.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),p.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),p}return To(a+l+s,t==null?void 0:t.in)}const Yc={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},JN=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ez=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,tz=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rz(e){const t={},r=e.split(Yc.dateTimeDelimiter);let n;if(r.length>2)return t;if(/:/.test(r[0])?n=r[0]:(t.date=r[0],n=r[1],Yc.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Yc.timeZoneDelimiter)[0],n=e.substr(t.date.length,e.length))),n){const i=Yc.timezone.exec(n);i?(t.time=n.replace(i[1],""),t.timezone=i[1]):t.time=n}return t}function nz(e,t){const r=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(r);if(!n)return{year:NaN,restDateString:""};const i=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:o===null?i:o*100,restDateString:e.slice((n[1]||n[2]).length)}}function iz(e,t){if(t===null)return new Date(NaN);const r=e.match(JN);if(!r)return new Date(NaN);const n=!!r[4],i=Vl(r[1]),o=Vl(r[2])-1,a=Vl(r[3]),l=Vl(r[4]),s=Vl(r[5])-1;if(n)return dz(t,l,s)?lz(t,l,s):new Date(NaN);{const u=new Date(0);return!uz(t,o,a)||!cz(t,i)?new Date(NaN):(u.setUTCFullYear(t,o,Math.max(i,a)),u)}}function Vl(e){return e?parseInt(e):1}function oz(e){const t=e.match(ez);if(!t)return NaN;const r=Yh(t[1]),n=Yh(t[2]),i=Yh(t[3]);return fz(r,n,i)?r*N6+n*B6+i*1e3:NaN}function Yh(e){return e&&parseFloat(e.replace(",","."))||0}function az(e){if(e==="Z")return 0;const t=e.match(tz);if(!t)return 0;const r=t[1]==="+"?-1:1,n=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return pz(n,i)?r*(n*N6+i*B6):NaN}function lz(e,t,r){const n=new Date(0);n.setUTCFullYear(e,0,4);const i=n.getUTCDay()||7,o=(t-1)*7+r+1-i;return n.setUTCDate(n.getUTCDate()+o),n}const sz=[31,null,31,30,31,30,31,31,30,31,30,31];function W6(e){return e%400===0||e%4===0&&e%100!==0}function uz(e,t,r){return t>=0&&t<=11&&r>=1&&r<=(sz[t]||(W6(e)?29:28))}function cz(e,t){return t>=1&&t<=(W6(e)?366:365)}function dz(e,t,r){return t>=1&&t<=53&&r>=0&&r<=6}function fz(e,t,r){return e===24?t===0&&r===0:r>=0&&r<60&&t>=0&&t<60&&e>=0&&e<25}function pz(e,t){return t>=0&&t<=59}const U6="todayEvents",Kh="seenEvents",Z6="hasNewEvents",hz=(e,t)=>{const[r,n]=A.useState([]),[i,o]=A.useState([]),[a,l]=A.useState([]),[s,u]=A.useState(!1);return A.useEffect(()=>{var _,E;const f=j6(t),h=Gh(f),m=qN(h,1),y=JSON.parse((_=localStorage.getItem(U6))!=null?_:"[]"),v=JSON.parse((E=localStorage.getItem(Kh))!=null?E:"[]");let g=!1;const b=[],w=[],C=[];e.forEach(M=>{const O=j6(M.start);if(H6(O,h)){const R=v.includes(M.id);R||(g=!0,y.includes(M.id)||y.push(M.id)),b.push({...M,isNew:!R})}else H6(O,m)?w.push(M):QN(O,h)&&C.push(M)}),n(b),o(w);let k=[...C];C.length>5&&(k=k.slice(0,5)),l(k),u(g),localStorage.setItem(U6,JSON.stringify(y)),localStorage.setItem(Z6,JSON.stringify(g))},[e,t]),{today:r,tomorrow:i,next:a,hasNew:s,closeAndMarkSeen:()=>{var m;const f=JSON.parse((m=localStorage.getItem(Kh))!=null?m:"[]"),h=Array.from(new Set([...f,...r.map(y=>y.id)]));localStorage.setItem(Kh,JSON.stringify(h)),localStorage.setItem(Z6,JSON.stringify(!1)),setTimeout(()=>{n(r.map(y=>({...y,isNew:!1})))},300),u(!1)},empty:!1}},vz=()=>V("svg",{width:16,height:16,fill:"none",children:[d("path",{fill:"#fff",d:"M15 2h-2V0h-2v2H9V0H7v2H5V0H3v2H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1Zm-1 12H2V5h12v9Z"}),d("path",{fill:"#fff",d:"M6 7H4v2h2V7ZM9 7H7v2h2V7ZM6 10H4v2h2v-2ZM9 10H7v2h2v-2ZM12 7h-2v2h2V7ZM12 10h-2v2h2v-2Z"})]}),G6=()=>d("svg",{xmlns:"http://www.w3.org/2000/svg",width:8,height:9,fill:"none",className:"notification",children:d("circle",{cx:4,cy:4.5,r:4,fill:"#FF7A14"})}),mz=({hasNew:e,text:t,tooltipDisabled:r})=>d(y6,{label:t!=null?t:"Calendario",m:"2px 0 0 0",isDisabled:r,children:V(BR,{background:"#60798E",border:"1px solid transparent",borderRadius:"100%",height:"30px",width:"30px",position:"relative",sx:{">span":{justifyItems:"center",alignContent:"center"},".notification":{position:"absolute",top:"-1px",right:"-1px"}},children:[d(vz,{}),e&&d(G6,{})]})}),gz=({text:e,isMobile:t})=>V(Ir,{children:[d(X,{as:"header",bg:"#5C5C5C",borderRadius:t?"none":"10px 10px 0 0",color:"#FFFFFF",fontSize:"14px",fontWeight:"500",lineHeight:"normal",padding:"16px",position:"absolute",width:t?"100vw":"100%",top:0,zIndex:"1",children:e!=null?e:"Pr\xF3ximas fechas importantes de tus cursos"}),d(X,{className:"arrow","aria-hidden":!0,borderBottom:"12px solid #5C5C5C",borderLeft:"14px solid transparent",borderRight:"14px solid transparent",display:t?"none":"block",height:"0",position:"fixed",right:t?"71px":"-437px",top:t?"54px":"-9px",width:"0"})]}),yz=()=>V("svg",{width:197,height:197,fill:"none",children:[V("g",{clipPath:"url(#a)",children:[d("path",{fill:"#F4F4F4",d:"M98.5 197c54.4 0 98.5-44.1 98.5-98.5S152.9 0 98.5 0 0 44.1 0 98.5 44.1 197 98.5 197Z"}),d("rect",{width:74,height:29,x:106,y:12,fill:"#FF554D",rx:5}),d("rect",{width:40,height:6,x:125,y:24,fill:"#08044F",rx:3}),d("rect",{width:6,height:6,x:114,y:24,fill:"#08044F",rx:3}),d("rect",{width:106,height:29,x:11,y:159,fill:"#1EBDAF",rx:5}),d("rect",{width:67,height:6,x:21,y:170,fill:"#08044F",rx:3}),d("rect",{width:6,height:6,x:99,y:170,fill:"#08044F",rx:3}),d("rect",{width:123,height:82,x:37,y:66,fill:"#0189FF",rx:5}),d("rect",{width:16,height:6,x:131,y:93,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:131,y:110,fill:"#F4F4F4",rx:3}),d("path",{stroke:"#FFBC27",strokeLinecap:"round",strokeWidth:13,d:"M68.5 56.5v19M132.5 56.5v19"}),d("rect",{width:16,height:6,x:50,y:93,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:50,y:110,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:50,y:127,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:77,y:93,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:104,y:93,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:104,y:110,fill:"#F4F4F4",rx:3}),d("rect",{width:16,height:6,x:104,y:127,fill:"#F4F4F4",rx:3})]}),d("defs",{children:d("clipPath",{id:"a",children:d("path",{fill:"#fff",d:"M0 0h197v197H0z"})})})]}),bz=({text:e})=>V(X,{alignItems:"center",display:"flex",flexDirection:"column",gap:"24px",padding:"104px 0px 64px",children:[d(yz,{}),d(X,{fontSize:"20px",fontWeight:700,color:"#2F2F2F",children:e!=null?e:"A\xFAn no tienes eventos en tu calendario"})]});function Y6(e){return d(le,{...e,title:"Calendar",children:V("g",{fill:"#B0CFE0",children:[d("path",{fill:"#B0CFE0",d:"M15 2h-2V0h-2v2H9V0H7v2H5V0H3v2H1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1zm-1 12H2V5h12v9z"}),d("path",{d:"M4 7h2v2H4zM7 7h2v2H7zM4 10h2v2H4zM7 10h2v2H7zM10 7h2v2h-2zM10 10h2v2h-2z"})]})})}Y6.displayName="Calendar";function K6(e){return d(le,{...e,title:"Clock",children:d("path",{fill:"#B0CFE0",d:"M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm4 9H7V4h2v3h3v2z"})})}K6.displayName="Clock";const q6=({hasNotification:e,isDropdown:t,name:r,courseName:n,color:i,text:o,date:a,hours:l})=>{const s="1px solid #E8E8E8";return d(X,{className:"eventsList",borderTop:s,padding:"16px 24px",children:V(X,{display:"flex",flexDirection:"column",gap:"8px",children:[V(X,{lineHeight:"21px",display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:"16px",children:[r," ",e&&d(G6,{})]}),V(X,{display:"flex",lineHeight:"19px",fontSize:"14px",sx:{svg:{marginRight:"4px"},span:{verticalAlign:"middle"}},children:[V(X,{paddingRight:"8px",borderRight:s,children:[d(Y6,{}),d("span",{children:a})]}),V(X,{paddingLeft:"8px",children:[d(K6,{}),d("span",{children:l})]})]}),t&&V(X,{display:"flex",alignItems:"center",gap:"4px",lineHeight:"19px",children:[d(X,{h:"10px",w:"10px",bg:i||"#82504A",borderRadius:"50%",display:"block",alignSelf:"flex-start",mt:"4px"}),V(X,{as:"span",color:"#808080",fontSize:"14px",children:[V("strong",{children:[o!=null?o:"Curso",":"]})," ",n]})]})]})})},xz=({events:e,text:t,redirecToCalendar:r,isMobile:n,colors:i})=>{var s,u,c,p,f,h,m;const{today:o,tomorrow:a,next:l}=e;return V(X,{borderRadius:"10px",color:"#1C1818",h:n?"auto":"552px",overflowY:"scroll",pb:"32px",sx:{".calendar-events-group":{borderBottom:"1px solid #E8E8E8"}},children:[r&&d(X,{sx:{button:{p:"8px ",fontSize:"14px",lineHeight:"14px",minW:"fit-content",minH:"fit-content"}},children:d(Bh,{onClick:r,m:"72px 0 0 24px",children:(s=t==null?void 0:t.buttonCalendar)!=null?s:"Ir a Mi Calendario"})}),d(qh,{colors:i,text:t.course,title:(c=(u=t==null?void 0:t.events)==null?void 0:u.today)!=null?c:"Hoy",events:o}),d(qh,{colors:i,text:t.course,title:(f=(p=t==null?void 0:t.events)==null?void 0:p.tomorrow)!=null?f:"Ma\xF1ana",events:a}),d(qh,{colors:i,text:t.course,title:(m=(h=t==null?void 0:t.events)==null?void 0:h.next)!=null?m:"Pr\xF3ximos",events:l})]})},qh=({title:e,events:t,text:r,colors:n})=>!t||t&&t.length===0?d(Ir,{}):d(X,{className:"calendar-events-group",_focus:{background:"none !important",border:"1px solid #0189FF"},sx:{".chakra-menu__menuitem > div":{w:"100%"}},children:d(GR,{title:e,children:t.map(i=>d(X,{bg:"#FFFFFF",border:"none",cursor:"default",padding:"0",_hover:{boxShadow:"none !important",cursor:"default !important",bg:"none !important"},_focus:{background:"none !important",boxShadow:"none !important"},children:d(q6,{name:i.associated_resource.name||"",courseName:i.course.name,date:i.formatedDate.start,hours:i.formatedDate.hours,color:i.course_id&&(n==null?void 0:n[i.course_id]),text:r,hasNotification:i.isNew,isDropdown:!0},i.id)},i.id))})}),wz=({events:e,loading:t,text:r,now:n,redirectToCalendar:i,courseColors:o})=>{const[a]=w1("(max-width: 577px)"),{closeAndMarkSeen:l,empty:s,hasNew:u,...c}=hz(e,n),[p,f]=A.useState(!1),[h,m]=A.useState(!1);return A.useEffect(()=>{if(h)f(!0);else{const v=setTimeout(()=>f(!1),300);return()=>clearTimeout(v)}},[h]),d(X,{zIndex:4,className:"calendarDropdown",mr:"24px",position:"relative",sx:{">div":{position:a?"fixed !important":"absolute",left:a?"0 !important":"auto",top:a?"62px !important":"auto",transform:a?"none !important":"translate3d(-409px, 38px, 0px) !important"},".chakra-menu__menu-list":{padding:"0",position:"absolute",width:a?"100vw":"500px",maxHeight:a?"calc(100vh - 62px)":"auto",overflowY:a?"auto":"hidden",borderRadius:a?"0":"10px",boxShadow:a?"none":"rgba(47, 47, 47, 0.2) -1px 6px 40px 0px",animation:"none !important",transition:"none !important",transform:"none !important",opacity:"1 !important"},".chakra-menu__group__title":{fontSize:"18px",lineHeight:"31px",margin:"32px 0 0",padding:"0 0 8px 24px"},".react-ripples":{width:"inherit"}},children:d(VR,{autoSelect:!1,onOpen:()=>m(!0),onClose:()=>{l(),m(!1)},children:V(Ir,{children:[d(mz,{hasNew:u!=null?u:!1,text:(r==null?void 0:r.tooltip)||"Ir a Mi Calendario",tooltipDisabled:p}),V(jR,{children:[d(gz,{text:(r==null?void 0:r.header)||"Pr\xF3ximas fechas importantes de tus cursos",isMobile:a}),t?d(Cz,{text:(r==null?void 0:r.loading)||"Cargando"}):e.length===0||s?d(bz,{text:(r==null?void 0:r.empty)||"A\xFAn no tienes eventos en tu calendario"}):d(xz,{colors:o,events:c,text:r,redirecToCalendar:i,isMobile:a})]})]})})})},Cz=({text:e})=>d("div",{children:e!=null?e:"Loading..."}),Sz=({redirectToCalendar:e,text:t,courseColors:r,now:n,events:i,loading:o})=>{const l=new Date(n).toISOString();return d(wz,{events:i,loading:o,now:l,courseColors:r,redirectToCalendar:e,text:t})};ue.Alert=M6,ue.Btn=Bc,ue.BtnLink=Il,ue.BtnPrimary=$h,ue.BtnSecondary=Bh,ue.BtnTertiary=g6,ue.CalendarDropdown=Sz,ue.CourseList=T6,ue.CourseStatus=w6,ue.Eventos=TN,ue.EventsList=q6,ue.FlashNotification=kN,ue.Icons=wB,ue.Label=Fl,ue.ModalAlert=R6,ue.NewTooltip=y6,ue.Progress=p6,ue.Resources=KN,ue.Ripples=Po,ue.TinyAlert=m6,ue.UserWay=SB,ue.UserWayCookie=kB,ue.dataFake=PB,ue.maxWidthCoursesList=TB,ue.theme=vB,ue.useFlashNotification=EN,ue.vars=B,Object.defineProperties(ue,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
563
563
  //# sourceMappingURL=eclass-ui-kit.umd.js.map