(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5050],{58331:function(e){var t;t=function(){"use strict";for(var e=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e<t?t:e>r?r:e},t={},r=0,i=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r<i.length;r+=1){var n=i[r];t["[object "+n+"]"]=n.toLowerCase()}var o=function(e){return t[Object.prototype.toString.call(e)]||"object"},a=Math.PI,s={clip_rgb:function(t){t._clipped=!1,t._unclipped=t.slice(0);for(var r=0;r<=3;r++)r<3?((t[r]<0||t[r]>255)&&(t._clipped=!0),t[r]=e(t[r],0,255)):3===r&&(t[r]=e(t[r],0,1));return t},limit:e,type:o,unpack:function(e,t){return(void 0===t&&(t=null),e.length>=3)?Array.prototype.slice.call(e):"object"==o(e[0])&&t?t.split("").filter(function(t){return void 0!==e[0][t]}).map(function(t){return e[0][t]}):e[0]},last:function(e){if(e.length<2)return null;var t=e.length-1;return"string"==o(e[t])?e[t].toLowerCase():null},TWOPI:2*a,PITHIRD:a/3,DEG2RAD:a/180,RAD2DEG:180/a},l={format:{},autodetect:[]},u=s.last,c=s.clip_rgb,h=s.type,d=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("object"===h(e[0])&&e[0].constructor&&e[0].constructor===this.constructor)return e[0];var r=u(e),i=!1;if(!r){i=!0,l.sorted||(l.autodetect=l.autodetect.sort(function(e,t){return t.p-e.p}),l.sorted=!0);for(var n=0,o=l.autodetect;n<o.length;n+=1){var a=o[n];if(r=a.test.apply(a,e))break}}if(l.format[r]){var s=l.format[r].apply(null,i?e:e.slice(0,-1));this._rgb=c(s)}else throw Error("unknown format: "+e);3===this._rgb.length&&this._rgb.push(1)};d.prototype.toString=function(){return"function"==h(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var f=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(f.Color,[null].concat(e)))};f.Color=d,f.version="2.4.2";var p=s.unpack,m=Math.max,g=s.unpack,v=s.unpack,b=s.type,y=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=p(e,"rgb"),i=r[0],n=r[1],o=r[2],a=1-m(i/=255,m(n/=255,o/=255)),s=a<1?1/(1-a):0;return[(1-i-a)*s,(1-n-a)*s,(1-o-a)*s,a]};d.prototype.cmyk=function(){return y(this._rgb)},f.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["cmyk"])))},l.format.cmyk=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=g(e,"cmyk"))[0],i=e[1],n=e[2],o=e[3],a=e.length>4?e[4]:1;return 1===o?[0,0,0,a]:[r>=1?0:255*(1-r)*(1-o),i>=1?0:255*(1-i)*(1-o),n>=1?0:255*(1-n)*(1-o),a]},l.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===b(e=v(e,"cmyk"))&&4===e.length)return"cmyk"}});var x=s.unpack,k=s.last,w=function(e){return Math.round(100*e)/100},S=s.unpack,P=function(){for(var e,t,r=[],i=arguments.length;i--;)r[i]=arguments[i];var n=(r=S(r,"rgba"))[0],o=r[1],a=r[2],s=Math.min(n/=255,o/=255,a/=255),l=Math.max(n,o,a),u=(l+s)/2;return(l===s?(e=0,t=Number.NaN):e=u<.5?(l-s)/(l+s):(l-s)/(2-l-s),n==l?t=(o-a)/(l-s):o==l?t=2+(a-n)/(l-s):a==l&&(t=4+(n-o)/(l-s)),(t*=60)<0&&(t+=360),r.length>3&&void 0!==r[3])?[t,e,u,r[3]]:[t,e,u]},A=s.unpack,C=s.last,_=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=x(e,"hsla"),i=k(e)||"lsa";return r[0]=w(r[0]||0),r[1]=w(100*r[1])+"%",r[2]=w(100*r[2])+"%","hsla"===i||r.length>3&&r[3]<1?(r[3]=r.length>3?r[3]:1,i="hsla"):r.length=3,i+"("+r.join(",")+")"},T=Math.round,E=s.unpack,z=Math.round,M=function(){for(var e,t,r,i,n=[],o=arguments.length;o--;)n[o]=arguments[o];var a=(n=E(n,"hsl"))[0],s=n[1],l=n[2];if(0===s)t=r=i=255*l;else{var u=[0,0,0],c=[0,0,0],h=l<.5?l*(1+s):l+s-l*s,d=2*l-h,f=a/360;u[0]=f+1/3,u[1]=f,u[2]=f-1/3;for(var p=0;p<3;p++)u[p]<0&&(u[p]+=1),u[p]>1&&(u[p]-=1),6*u[p]<1?c[p]=d+(h-d)*6*u[p]:2*u[p]<1?c[p]=h:3*u[p]<2?c[p]=d+(h-d)*(2/3-u[p])*6:c[p]=d;t=(e=[z(255*c[0]),z(255*c[1]),z(255*c[2])])[0],r=e[1],i=e[2]}return n.length>3?[t,r,i,n[3]]:[t,r,i,1]},D=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,F=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,R=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,V=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,j=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,B=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,$=Math.round,L=function(e){if(e=e.toLowerCase().trim(),l.format.named)try{return l.format.named(e)}catch(e){}if(t=e.match(D)){for(var t,r=t.slice(1,4),i=0;i<3;i++)r[i]=+r[i];return r[3]=1,r}if(t=e.match(F)){for(var n=t.slice(1,5),o=0;o<4;o++)n[o]=+n[o];return n}if(t=e.match(R)){for(var a=t.slice(1,4),s=0;s<3;s++)a[s]=$(2.55*a[s]);return a[3]=1,a}if(t=e.match(V)){for(var u=t.slice(1,5),c=0;c<3;c++)u[c]=$(2.55*u[c]);return u[3]=+u[3],u}if(t=e.match(j)){var h=t.slice(1,4);h[1]*=.01,h[2]*=.01;var d=M(h);return d[3]=1,d}if(t=e.match(B)){var f=t.slice(1,4);f[1]*=.01,f[2]*=.01;var p=M(f);return p[3]=+t[4],p}};L.test=function(e){return D.test(e)||F.test(e)||R.test(e)||V.test(e)||j.test(e)||B.test(e)};var W=s.type,I=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=A(e,"rgba"),i=C(e)||"rgb";return"hsl"==i.substr(0,3)?_(P(r),i):(r[0]=T(r[0]),r[1]=T(r[1]),r[2]=T(r[2]),("rgba"===i||r.length>3&&r[3]<1)&&(r[3]=r.length>3?r[3]:1,i="rgba"),i+"("+r.slice(0,"rgb"===i?3:4).join(",")+")")};d.prototype.css=function(e){return I(this._rgb,e)},f.css=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["css"])))},l.format.css=L,l.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===W(e)&&L.test(e))return"css"}});var N=s.unpack;l.format.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=N(e,"rgba");return r[0]*=255,r[1]*=255,r[2]*=255,r},f.gl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["gl"])))},d.prototype.gl=function(){var e=this._rgb;return[e[0]/255,e[1]/255,e[2]/255,e[3]]};var O=s.unpack,H=s.unpack,U=Math.floor,q=s.unpack,J=s.type,Y=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var i=O(t,"rgb"),n=i[0],o=i[1],a=i[2],s=Math.min(n,o,a),l=Math.max(n,o,a),u=l-s;return 0===u?e=Number.NaN:(n===l&&(e=(o-a)/u),o===l&&(e=2+(a-n)/u),a===l&&(e=4+(n-o)/u),(e*=60)<0&&(e+=360)),[e,100*u/255,s/(255-u)*100]};d.prototype.hcg=function(){return Y(this._rgb)},f.hcg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hcg"])))},l.format.hcg=function(){for(var e,t,r,i,n,o,a,s,l,u=[],c=arguments.length;c--;)u[c]=arguments[c];var h=(u=H(u,"hcg"))[0],d=u[1],f=u[2];f*=255;var p=255*d;if(0===d)a=s=l=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var m=U(h/=60),g=h-m,v=f*(1-d),b=v+p*(1-g),y=v+p*g,x=v+p;switch(m){case 0:a=(e=[x,y,v])[0],s=e[1],l=e[2];break;case 1:a=(t=[b,x,v])[0],s=t[1],l=t[2];break;case 2:a=(r=[v,x,y])[0],s=r[1],l=r[2];break;case 3:a=(i=[v,b,x])[0],s=i[1],l=i[2];break;case 4:a=(n=[y,v,x])[0],s=n[1],l=n[2];break;case 5:a=(o=[x,v,b])[0],s=o[1],l=o[2]}}return[a,s,l,u.length>3?u[3]:1]},l.autodetect.push({p:1,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===J(e=q(e,"hcg"))&&3===e.length)return"hcg"}});var X=s.unpack,G=s.last,K=Math.round,Z=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=X(e,"rgba"),i=r[0],n=r[1],o=r[2],a=r[3],s=G(e)||"auto";void 0===a&&(a=1),"auto"===s&&(s=a<1?"rgba":"rgb");var l="000000"+((i=K(i))<<16|(n=K(n))<<8|(o=K(o))).toString(16);l=l.substr(l.length-6);var u="0"+K(255*a).toString(16);switch(u=u.substr(u.length-2),s.toLowerCase()){case"rgba":return"#"+l+u;case"argb":return"#"+u+l;default:return"#"+l}},Q=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,ee=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,et=function(e){if(e.match(Q)){(4===e.length||7===e.length)&&(e=e.substr(1)),3===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,1]}if(e.match(ee)){(5===e.length||9===e.length)&&(e=e.substr(1)),4===e.length&&(e=(e=e.split(""))[0]+e[0]+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]);var r=parseInt(e,16);return[r>>24&255,r>>16&255,r>>8&255,Math.round((255&r)/255*100)/100]}throw Error("unknown hex color: "+e)},er=s.type;d.prototype.hex=function(e){return Z(this._rgb,e)},f.hex=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hex"])))},l.format.hex=et,l.autodetect.push({p:4,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===er(e)&&[3,4,5,6,7,8,9].indexOf(e.length)>=0)return"hex"}});var ei=s.unpack,en=s.TWOPI,eo=Math.min,ea=Math.sqrt,es=Math.acos,el=s.unpack,eu=s.limit,ec=s.TWOPI,eh=s.PITHIRD,ed=Math.cos,ef=s.unpack,ep=s.type,em=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];var i=ei(t,"rgb"),n=i[0],o=i[1],a=i[2],s=eo(n/=255,o/=255,a/=255),l=(n+o+a)/3,u=l>0?1-s/l:0;return 0===u?e=NaN:(e=es(e=(n-o+(n-a))/2/ea((n-o)*(n-o)+(n-a)*(o-a))),a>o&&(e=en-e),e/=en),[360*e,u,l]};d.prototype.hsi=function(){return em(this._rgb)},f.hsi=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsi"])))},l.format.hsi=function(){for(var e,t,r,i=[],n=arguments.length;n--;)i[n]=arguments[n];var o=(i=el(i,"hsi"))[0],a=i[1],s=i[2];return isNaN(o)&&(o=0),isNaN(a)&&(a=0),o>360&&(o-=360),o<0&&(o+=360),(o/=360)<1/3?t=1-((r=(1-a)/3)+(e=(1+a*ed(ec*o)/ed(eh-ec*o))/3)):o<2/3?(o-=1/3,r=1-((e=(1-a)/3)+(t=(1+a*ed(ec*o)/ed(eh-ec*o))/3))):(o-=2/3,e=1-((t=(1-a)/3)+(r=(1+a*ed(ec*o)/ed(eh-ec*o))/3))),[255*(e=eu(s*e*3)),255*(t=eu(s*t*3)),255*(r=eu(s*r*3)),i.length>3?i[3]:1]},l.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ep(e=ef(e,"hsi"))&&3===e.length)return"hsi"}});var eg=s.unpack,ev=s.type;d.prototype.hsl=function(){return P(this._rgb)},f.hsl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsl"])))},l.format.hsl=M,l.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ev(e=eg(e,"hsl"))&&3===e.length)return"hsl"}});var eb=s.unpack,ey=Math.min,ex=Math.max,ek=s.unpack,ew=Math.floor,eS=s.unpack,eP=s.type,eA=function(){for(var e,t,r,i=[],n=arguments.length;n--;)i[n]=arguments[n];var o=(i=eb(i,"rgb"))[0],a=i[1],s=i[2],l=ey(o,a,s),u=ex(o,a,s),c=u-l;return r=u/255,0===u?(e=Number.NaN,t=0):(t=c/u,o===u&&(e=(a-s)/c),a===u&&(e=2+(s-o)/c),s===u&&(e=4+(o-a)/c),(e*=60)<0&&(e+=360)),[e,t,r]};d.prototype.hsv=function(){return eA(this._rgb)},f.hsv=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hsv"])))},l.format.hsv=function(){for(var e,t,r,i,n,o,a,s,l,u=[],c=arguments.length;c--;)u[c]=arguments[c];var h=(u=ek(u,"hsv"))[0],d=u[1],f=u[2];if(f*=255,0===d)a=s=l=f;else{360===h&&(h=0),h>360&&(h-=360),h<0&&(h+=360);var p=ew(h/=60),m=h-p,g=f*(1-d),v=f*(1-d*m),b=f*(1-d*(1-m));switch(p){case 0:a=(e=[f,b,g])[0],s=e[1],l=e[2];break;case 1:a=(t=[v,f,g])[0],s=t[1],l=t[2];break;case 2:a=(r=[g,f,b])[0],s=r[1],l=r[2];break;case 3:a=(i=[g,v,f])[0],s=i[1],l=i[2];break;case 4:a=(n=[b,g,f])[0],s=n[1],l=n[2];break;case 5:a=(o=[f,g,v])[0],s=o[1],l=o[2]}}return[a,s,l,u.length>3?u[3]:1]},l.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===eP(e=eS(e,"hsv"))&&3===e.length)return"hsv"}});var eC={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},e_=s.unpack,eT=Math.pow,eE=function(e){return(e/=255)<=.04045?e/12.92:eT((e+.055)/1.055,2.4)},ez=function(e){return e>eC.t3?eT(e,1/3):e/eC.t2+eC.t0},eM=function(){for(var e,t,r,i=[],n=arguments.length;n--;)i[n]=arguments[n];var o=e_(i,"rgb"),a=(e=o[0],t=o[1],r=o[2],[ez((.4124564*(e=eE(e))+.3575761*(t=eE(t))+.1804375*(r=eE(r)))/eC.Xn),ez((.2126729*e+.7151522*t+.072175*r)/eC.Yn),ez((.0193339*e+.119192*t+.9503041*r)/eC.Zn)]),s=a[0],l=a[1],u=a[2],c=116*l-16;return[c<0?0:c,500*(s-l),200*(l-u)]},eD=s.unpack,eF=Math.pow,eR=function(e){return 255*(e<=.00304?12.92*e:1.055*eF(e,1/2.4)-.055)},eV=function(e){return e>eC.t1?e*e*e:eC.t2*(e-eC.t0)},ej=function(){for(var e,t,r,i=[],n=arguments.length;n--;)i[n]=arguments[n];var o=(i=eD(i,"lab"))[0],a=i[1],s=i[2];return t=(o+16)/116,e=isNaN(a)?t:t+a/500,r=isNaN(s)?t:t-s/200,t=eC.Yn*eV(t),[eR(3.2404542*(e=eC.Xn*eV(e))-1.5371385*t-.4985314*(r=eC.Zn*eV(r))),eR(-.969266*e+1.8760108*t+.041556*r),eR(.0556434*e-.2040259*t+1.0572252*r),i.length>3?i[3]:1]},eB=s.unpack,e$=s.type;d.prototype.lab=function(){return eM(this._rgb)},f.lab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["lab"])))},l.format.lab=ej,l.autodetect.push({p:2,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===e$(e=eB(e,"lab"))&&3===e.length)return"lab"}});var eL=s.unpack,eW=s.RAD2DEG,eI=Math.sqrt,eN=Math.atan2,eO=Math.round,eH=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eL(e,"lab"),i=r[0],n=r[1],o=r[2],a=eI(n*n+o*o),s=(eN(o,n)*eW+360)%360;return 0===eO(1e4*a)&&(s=Number.NaN),[i,a,s]},eU=s.unpack,eq=s.unpack,eJ=s.DEG2RAD,eY=Math.sin,eX=Math.cos,eG=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eq(e,"lch"),i=r[0],n=r[1],o=r[2];return isNaN(o)&&(o=0),[i,eX(o*=eJ)*n,eY(o)*n]},eK=s.unpack,eZ=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eG((e=eK(e,"lch"))[0],e[1],e[2]),i=ej(r[0],r[1],r[2]);return[i[0],i[1],i[2],e.length>3?e[3]:1]},eQ=s.unpack,e0=s.unpack,e1=s.type,e2=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eU(e,"rgb"),i=eM(r[0],r[1],r[2]);return eH(i[0],i[1],i[2])};d.prototype.lch=function(){return e2(this._rgb)},d.prototype.hcl=function(){return e2(this._rgb).reverse()},f.lch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["lch"])))},f.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["hcl"])))},l.format.lch=eZ,l.format.hcl=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eQ(e,"hcl").reverse();return eZ.apply(void 0,r)},["lch","hcl"].forEach(function(e){return l.autodetect.push({p:2,test:function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if("array"===e1(t=e0(t,e))&&3===t.length)return e}})});var e5={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",cornflower:"#6495ed",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",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",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",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",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"},e3=s.type;d.prototype.name=function(){for(var e=Z(this._rgb,"rgb"),t=0,r=Object.keys(e5);t<r.length;t+=1){var i=r[t];if(e5[i]===e)return i.toLowerCase()}return e},l.format.named=function(e){if(e5[e=e.toLowerCase()])return et(e5[e]);throw Error("unknown color name: "+e)},l.autodetect.push({p:5,test:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if(!t.length&&"string"===e3(e)&&e5[e.toLowerCase()])return"named"}});var e6=s.unpack,e4=s.type,e9=s.type,e8=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e6(e,"rgb");return(r[0]<<16)+(r[1]<<8)+r[2]};d.prototype.num=function(){return e8(this._rgb)},f.num=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["num"])))},l.format.num=function(e){if("number"==e4(e)&&e>=0&&e<=16777215)return[e>>16,e>>8&255,255&e,1];throw Error("unknown num color: "+e)},l.autodetect.push({p:5,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if(1===e.length&&"number"===e9(e[0])&&e[0]>=0&&e[0]<=16777215)return"num"}});var e7=s.unpack,te=s.type,tt=Math.round;d.prototype.rgb=function(e){return(void 0===e&&(e=!0),!1===e)?this._rgb.slice(0,3):this._rgb.slice(0,3).map(tt)},d.prototype.rgba=function(e){return void 0===e&&(e=!0),this._rgb.slice(0,4).map(function(t,r){return r<3?!1===e?t:tt(t):t})},f.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["rgb"])))},l.format.rgb=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=e7(e,"rgba");return void 0===r[3]&&(r[3]=1),r},l.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===te(e=e7(e,"rgba"))&&(3===e.length||4===e.length&&"number"==te(e[3])&&e[3]>=0&&e[3]<=1))return"rgb"}});var tr=Math.log,ti=function(e){var t,r,i,n=e/100;return n<66?(t=255,r=n<6?0:-155.25485562709179-.44596950469579133*(r=n-2)+104.49216199393888*tr(r),i=n<20?0:-254.76935184120902+.8274096064007395*(i=n-10)+115.67994401066147*tr(i)):(t=351.97690566805693+.114206453784165*(t=n-55)-40.25366309332127*tr(t),r=325.4494125711974+.07943456536662342*(r=n-50)-28.0852963507957*tr(r),i=255),[t,r,i,1]},tn=s.unpack,to=Math.round,ta=function(){for(var e,t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=tn(t,"rgb"),n=i[0],o=i[2],a=1e3,s=4e4;s-a>.4;){var l=ti(e=(s+a)*.5);l[2]/l[0]>=o/n?s=e:a=e}return to(e)};d.prototype.temp=d.prototype.kelvin=d.prototype.temperature=function(){return ta(this._rgb)},f.temp=f.kelvin=f.temperature=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["temp"])))},l.format.temp=l.format.kelvin=l.format.temperature=ti;var ts=s.unpack,tl=Math.cbrt,tu=Math.pow,tc=Math.sign,th=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=ts(e,"rgb"),i=r[0],n=r[1],o=r[2],a=[td(i/255),td(n/255),td(o/255)],s=a[0],l=a[1],u=a[2],c=tl(.4122214708*s+.5363325363*l+.0514459929*u),h=tl(.2119034982*s+.6806995451*l+.1073969566*u),d=tl(.0883024619*s+.2817188376*l+.6299787005*u);return[.2104542553*c+.793617785*h-.0040720468*d,1.9779984951*c-2.428592205*h+.4505937099*d,.0259040371*c+.7827717662*h-.808675766*d]};function td(e){var t=Math.abs(e);return t<.04045?e/12.92:(tc(e)||1)*tu((t+.055)/1.055,2.4)}var tf=s.unpack,tp=Math.pow,tm=Math.sign,tg=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=(e=tf(e,"lab"))[0],i=e[1],n=e[2],o=tp(r+.3963377774*i+.2158037573*n,3),a=tp(r-.1055613458*i-.0638541728*n,3),s=tp(r-.0894841775*i-1.291485548*n,3);return[255*tv(4.0767416621*o-3.3077115913*a+.2309699292*s),255*tv(-1.2684380046*o+2.6097574011*a-.3413193965*s),255*tv(-.0041960863*o-.7034186147*a+1.707614701*s),e.length>3?e[3]:1]};function tv(e){var t=Math.abs(e);return t>.0031308?(tm(e)||1)*(1.055*tp(t,1/2.4)-.055):12.92*e}var tb=s.unpack,ty=s.type;d.prototype.oklab=function(){return th(this._rgb)},f.oklab=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["oklab"])))},l.format.oklab=tg,l.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===ty(e=tb(e,"oklab"))&&3===e.length)return"oklab"}});var tx=s.unpack,tk=s.unpack,tw=s.unpack,tS=s.type,tP=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=tx(e,"rgb"),i=th(r[0],r[1],r[2]);return eH(i[0],i[1],i[2])};d.prototype.oklch=function(){return tP(this._rgb)},f.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return new(Function.prototype.bind.apply(d,[null].concat(e,["oklch"])))},l.format.oklch=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var r=eG((e=tk(e,"lch"))[0],e[1],e[2]),i=tg(r[0],r[1],r[2]);return[i[0],i[1],i[2],e.length>3?e[3]:1]},l.autodetect.push({p:3,test:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];if("array"===tS(e=tw(e,"oklch"))&&3===e.length)return"oklch"}});var tA=s.type;d.prototype.alpha=function(e,t){return(void 0===t&&(t=!1),void 0!==e&&"number"===tA(e))?t?(this._rgb[3]=e,this):new d([this._rgb[0],this._rgb[1],this._rgb[2],e],"rgb"):this._rgb[3]},d.prototype.clipped=function(){return this._rgb._clipped||!1},d.prototype.darken=function(e){void 0===e&&(e=1);var t=this.lab();return t[0]-=eC.Kn*e,new d(t,"lab").alpha(this.alpha(),!0)},d.prototype.brighten=function(e){return void 0===e&&(e=1),this.darken(-e)},d.prototype.darker=d.prototype.darken,d.prototype.brighter=d.prototype.brighten,d.prototype.get=function(e){var t=e.split("."),r=t[0],i=t[1],n=this[r]();if(!i)return n;var o=r.indexOf(i)-("ok"===r.substr(0,2)?2:0);if(o>-1)return n[o];throw Error("unknown channel "+i+" in mode "+r)};var tC=s.type,t_=Math.pow;d.prototype.luminance=function(e){if(void 0!==e&&"number"===tC(e)){if(0===e)return new d([0,0,0,this._rgb[3]],"rgb");if(1===e)return new d([255,255,255,this._rgb[3]],"rgb");var t=this.luminance(),r=20,i=function(t,n){var o=t.interpolate(n,.5,"rgb"),a=o.luminance();return!(1e-7>Math.abs(e-a))&&r--?a>e?i(t,o):i(o,n):o},n=(t>e?i(new d([0,0,0]),this):i(this,new d([255,255,255]))).rgb();return new d(n.concat([this._rgb[3]]))}return tT.apply(void 0,this._rgb.slice(0,3))};var tT=function(e,t,r){return .2126*(e=tE(e))+.7152*(t=tE(t))+.0722*(r=tE(r))},tE=function(e){return(e/=255)<=.03928?e/12.92:t_((e+.055)/1.055,2.4)},tz={},tM=s.type,tD=function(e,t,r){void 0===r&&(r=.5);for(var i=[],n=arguments.length-3;n-- >0;)i[n]=arguments[n+3];var o=i[0]||"lrgb";if(tz[o]||i.length||(o=Object.keys(tz)[0]),!tz[o])throw Error("interpolation mode "+o+" is not defined");return"object"!==tM(e)&&(e=new d(e)),"object"!==tM(t)&&(t=new d(t)),tz[o](e,t,r).alpha(e.alpha()+r*(t.alpha()-e.alpha()))};d.prototype.mix=d.prototype.interpolate=function(e,t){void 0===t&&(t=.5);for(var r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];return tD.apply(void 0,[this,e,t].concat(r))},d.prototype.premultiply=function(e){void 0===e&&(e=!1);var t=this._rgb,r=t[3];return e?(this._rgb=[t[0]*r,t[1]*r,t[2]*r,r],this):new d([t[0]*r,t[1]*r,t[2]*r,r],"rgb")},d.prototype.saturate=function(e){void 0===e&&(e=1);var t=this.lch();return t[1]+=eC.Kn*e,t[1]<0&&(t[1]=0),new d(t,"lch").alpha(this.alpha(),!0)},d.prototype.desaturate=function(e){return void 0===e&&(e=1),this.saturate(-e)};var tF=s.type;d.prototype.set=function(e,t,r){void 0===r&&(r=!1);var i=e.split("."),n=i[0],o=i[1],a=this[n]();if(!o)return a;var s=n.indexOf(o)-("ok"===n.substr(0,2)?2:0);if(s>-1){if("string"==tF(t))switch(t.charAt(0)){case"+":case"-":a[s]+=+t;break;case"*":a[s]*=+t.substr(1);break;case"/":a[s]/=+t.substr(1);break;default:a[s]=+t}else if("number"===tF(t))a[s]=t;else throw Error("unsupported value for Color.set");var l=new d(a,n);return r?(this._rgb=l._rgb,this):l}throw Error("unknown channel "+o+" in mode "+n)},tz.rgb=function(e,t,r){var i=e._rgb,n=t._rgb;return new d(i[0]+r*(n[0]-i[0]),i[1]+r*(n[1]-i[1]),i[2]+r*(n[2]-i[2]),"rgb")};var tR=Math.sqrt,tV=Math.pow;tz.lrgb=function(e,t,r){var i=e._rgb,n=i[0],o=i[1],a=i[2],s=t._rgb,l=s[0],u=s[1],c=s[2];return new d(tR(tV(n,2)*(1-r)+tV(l,2)*r),tR(tV(o,2)*(1-r)+tV(u,2)*r),tR(tV(a,2)*(1-r)+tV(c,2)*r),"rgb")},tz.lab=function(e,t,r){var i=e.lab(),n=t.lab();return new d(i[0]+r*(n[0]-i[0]),i[1]+r*(n[1]-i[1]),i[2]+r*(n[2]-i[2]),"lab")};var tj=function(e,t,r,i){var n,o,a,s,l,u,c,h,f,p,m,g,v,b;return"hsl"===i?(a=e.hsl(),s=t.hsl()):"hsv"===i?(a=e.hsv(),s=t.hsv()):"hcg"===i?(a=e.hcg(),s=t.hcg()):"hsi"===i?(a=e.hsi(),s=t.hsi()):"lch"===i||"hcl"===i?(i="hcl",a=e.hcl(),s=t.hcl()):"oklch"===i&&(a=e.oklch().reverse(),s=t.oklch().reverse()),("h"===i.substr(0,1)||"oklch"===i)&&(l=(n=a)[0],c=n[1],f=n[2],u=(o=s)[0],h=o[1],p=o[2]),isNaN(l)||isNaN(u)?isNaN(l)?isNaN(u)?g=Number.NaN:(g=u,(1==f||0==f)&&"hsv"!=i&&(m=h)):(g=l,(1==p||0==p)&&"hsv"!=i&&(m=c)):(b=u>l&&u-l>180?u-(l+360):u<l&&l-u>180?u+360-l:u-l,g=l+r*b),void 0===m&&(m=c+r*(h-c)),v=f+r*(p-f),"oklch"===i?new d([v,m,g],i):new d([g,m,v],i)},tB=function(e,t,r){return tj(e,t,r,"lch")};tz.lch=tB,tz.hcl=tB,tz.num=function(e,t,r){var i=e.num();return new d(i+r*(t.num()-i),"num")},tz.hcg=function(e,t,r){return tj(e,t,r,"hcg")},tz.hsi=function(e,t,r){return tj(e,t,r,"hsi")},tz.hsl=function(e,t,r){return tj(e,t,r,"hsl")},tz.hsv=function(e,t,r){return tj(e,t,r,"hsv")},tz.oklab=function(e,t,r){var i=e.oklab(),n=t.oklab();return new d(i[0]+r*(n[0]-i[0]),i[1]+r*(n[1]-i[1]),i[2]+r*(n[2]-i[2]),"oklab")},tz.oklch=function(e,t,r){return tj(e,t,r,"oklch")};var t$=s.clip_rgb,tL=Math.pow,tW=Math.sqrt,tI=Math.PI,tN=Math.cos,tO=Math.sin,tH=Math.atan2,tU=function(e,t){for(var r=e.length,i=[0,0,0,0],n=0;n<e.length;n++){var o=e[n],a=t[n]/r,s=o._rgb;i[0]+=tL(s[0],2)*a,i[1]+=tL(s[1],2)*a,i[2]+=tL(s[2],2)*a,i[3]+=s[3]*a}return i[0]=tW(i[0]),i[1]=tW(i[1]),i[2]=tW(i[2]),i[3]>.9999999&&(i[3]=1),new d(t$(i))},tq=s.type,tJ=Math.pow,tY=function(e){var t="rgb",r=f("#ccc"),i=0,n=[0,1],o=[],a=[0,0],s=!1,l=[],u=!1,c=0,h=1,d=!1,p={},m=!0,g=1,v=function(e){if("string"===tq(e=e||["#fff","#000"])&&f.brewer&&f.brewer[e.toLowerCase()]&&(e=f.brewer[e.toLowerCase()]),"array"===tq(e)){1===e.length&&(e=[e[0],e[0]]),e=e.slice(0);for(var t=0;t<e.length;t++)e[t]=f(e[t]);o.length=0;for(var r=0;r<e.length;r++)o.push(r/(e.length-1))}return w(),l=e},b=function(e){if(null!=s){for(var t=s.length-1,r=0;r<t&&e>=s[r];)r++;return r-1}return 0},y=function(e){return e},x=function(e){return e},k=function(e,i){if(null==i&&(i=!1),isNaN(e)||null===e)return r;if(i)u=e;else if(s&&s.length>2){var n,u;u=b(e)/(s.length-2)}else u=h!==c?(e-c)/(h-c):1;u=x(u),i||(u=y(u)),1!==g&&(u=tJ(u,g));var d=Math.floor(1e4*(u=Math.min(1,Math.max(0,u=a[0]+u*(1-a[0]-a[1])))));if(m&&p[d])n=p[d];else{if("array"===tq(l))for(var v=0;v<o.length;v++){var k=o[v];if(u<=k||u>=k&&v===o.length-1){n=l[v];break}if(u>k&&u<o[v+1]){u=(u-k)/(o[v+1]-k),n=f.interpolate(l[v],l[v+1],u,t);break}}else"function"===tq(l)&&(n=l(u));m&&(p[d]=n)}return n},w=function(){return p={}};v(e);var S=function(e){var t=f(k(e));return u&&t[u]?t[u]():t};return S.classes=function(e){if(null!=e){if("array"===tq(e))s=e,n=[e[0],e[e.length-1]];else{var t=f.analyze(n);s=0===e?[t.min,t.max]:f.limits(t,"e",e)}return S}return s},S.domain=function(e){if(!arguments.length)return n;c=e[0],h=e[e.length-1],o=[];var t=l.length;if(e.length===t&&c!==h)for(var r=0,i=Array.from(e);r<i.length;r+=1){var a=i[r];o.push((a-c)/(h-c))}else{for(var s=0;s<t;s++)o.push(s/(t-1));if(e.length>2){var u=e.map(function(t,r){return r/(e.length-1)}),d=e.map(function(e){return(e-c)/(h-c)});d.every(function(e,t){return u[t]===e})||(x=function(e){if(e<=0||e>=1)return e;for(var t=0;e>=d[t+1];)t++;var r=(e-d[t])/(d[t+1]-d[t]);return u[t]+r*(u[t+1]-u[t])})}}return n=[c,h],S},S.mode=function(e){return arguments.length?(t=e,w(),S):t},S.range=function(e,t){return v(e),S},S.out=function(e){return u=e,S},S.spread=function(e){return arguments.length?(i=e,S):i},S.correctLightness=function(e){return null==e&&(e=!0),d=e,w(),y=d?function(e){for(var t=k(0,!0).lab()[0],r=k(1,!0).lab()[0],i=t>r,n=k(e,!0).lab()[0],o=t+(r-t)*e,a=n-o,s=0,l=1,u=20;Math.abs(a)>.01&&u-- >0;)i&&(a*=-1),a<0?(s=e,e+=(l-e)*.5):(l=e,e+=(s-e)*.5),a=(n=k(e,!0).lab()[0])-o;return e}:function(e){return e},S},S.padding=function(e){return null!=e?("number"===tq(e)&&(e=[e,e]),a=e,S):a},S.colors=function(t,r){arguments.length<2&&(r="hex");var i=[];if(0==arguments.length)i=l.slice(0);else if(1===t)i=[S(.5)];else if(t>1){var o=n[0],a=n[1]-o;i=(function(e,t,r){for(var i=[],n=0<t,o=r?n?t+1:t-1:t,a=0;n?a<o:a>o;n?a++:a--)i.push(a);return i})(0,t,!1).map(function(e){return S(o+e/(t-1)*a)})}else{e=[];var u=[];if(s&&s.length>2)for(var c=1,h=s.length,d=1<=h;d?c<h:c>h;d?c++:c--)u.push((s[c-1]+s[c])*.5);else u=n;i=u.map(function(e){return S(e)})}return f[r]&&(i=i.map(function(e){return e[r]()})),i},S.cache=function(e){return null!=e?(m=e,S):m},S.gamma=function(e){return null!=e?(g=e,S):g},S.nodata=function(e){return null!=e?(r=f(e),S):r},S},tX=function(e){for(var t=[1,1],r=1;r<e;r++){for(var i=[1],n=1;n<=t.length;n++)i[n]=(t[n]||0)+t[n-1];t=i}return t},tG=function(e){var t,r,i,n,o,a,s,l,u,c,h;if(2===(e=e.map(function(e){return new d(e)})).length)o=(t=e.map(function(e){return e.lab()}))[0],a=t[1],n=function(e){return new d([0,1,2].map(function(t){return o[t]+e*(a[t]-o[t])}),"lab")};else if(3===e.length)o=(r=e.map(function(e){return e.lab()}))[0],a=r[1],s=r[2],n=function(e){return new d([0,1,2].map(function(t){return(1-e)*(1-e)*o[t]+2*(1-e)*e*a[t]+e*e*s[t]}),"lab")};else if(4===e.length)o=(i=e.map(function(e){return e.lab()}))[0],a=i[1],s=i[2],l=i[3],n=function(e){return new d([0,1,2].map(function(t){return(1-e)*(1-e)*(1-e)*o[t]+3*(1-e)*(1-e)*e*a[t]+3*(1-e)*e*e*s[t]+e*e*e*l[t]}),"lab")};else if(e.length>=5)u=e.map(function(e){return e.lab()}),c=tX(h=e.length-1),n=function(e){var t=1-e;return new d([0,1,2].map(function(r){return u.reduce(function(i,n,o){return i+c[o]*Math.pow(t,h-o)*Math.pow(e,o)*n[r]},0)}),"lab")};else throw RangeError("No point in running bezier with only one color.");return n},tK=function(e,t,r){if(!tK[r])throw Error("unknown blend mode "+r);return tK[r](e,t)},tZ=function(e){return function(t,r){var i=f(r).rgb(),n=f(t).rgb();return f.rgb(e(i,n))}},tQ=function(e){return function(t,r){var i=[];return i[0]=e(t[0],r[0]),i[1]=e(t[1],r[1]),i[2]=e(t[2],r[2]),i}};tK.normal=tZ(tQ(function(e){return e})),tK.multiply=tZ(tQ(function(e,t){return e*t/255})),tK.screen=tZ(tQ(function(e,t){return 255*(1-(1-e/255)*(1-t/255))})),tK.overlay=tZ(tQ(function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))})),tK.darken=tZ(tQ(function(e,t){return e>t?t:e})),tK.lighten=tZ(tQ(function(e,t){return e>t?e:t})),tK.dodge=tZ(tQ(function(e,t){return 255===e?255:(e=t/255*255/(1-e/255))>255?255:e})),tK.burn=tZ(tQ(function(e,t){return 255*(1-(1-t/255)/(e/255))}));for(var t0=s.type,t1=s.clip_rgb,t2=s.TWOPI,t5=Math.pow,t3=Math.sin,t6=Math.cos,t4=Math.floor,t9=Math.random,t8=Math.log,t7=Math.pow,re=Math.floor,rt=Math.abs,rr=function(e,t){void 0===t&&(t=null);var r={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===o(e)&&(e=Object.values(e)),e.forEach(function(e){t&&"object"===o(e)&&(e=e[t]),null==e||isNaN(e)||(r.values.push(e),r.sum+=e,e<r.min&&(r.min=e),e>r.max&&(r.max=e),r.count+=1)}),r.domain=[r.min,r.max],r.limits=function(e,t){return ri(r,e,t)},r},ri=function(e,t,r){void 0===t&&(t="equal"),void 0===r&&(r=7),"array"==o(e)&&(e=rr(e));var i=e.min,n=e.max,a=e.values.sort(function(e,t){return e-t});if(1===r)return[i,n];var s=[];if("c"===t.substr(0,1)&&(s.push(i),s.push(n)),"e"===t.substr(0,1)){s.push(i);for(var l=1;l<r;l++)s.push(i+l/r*(n-i));s.push(n)}else if("l"===t.substr(0,1)){if(i<=0)throw Error("Logarithmic scales are only possible for values > 0");var u=Math.LOG10E*t8(i),c=Math.LOG10E*t8(n);s.push(i);for(var h=1;h<r;h++)s.push(t7(10,u+h/r*(c-u)));s.push(n)}else if("q"===t.substr(0,1)){s.push(i);for(var d=1;d<r;d++){var f=(a.length-1)*d/r,p=re(f);if(p===f)s.push(a[p]);else{var m=f-p;s.push(a[p]*(1-m)+a[p+1]*m)}}s.push(n)}else if("k"===t.substr(0,1)){var g,v=a.length,b=Array(v),y=Array(r),x=!0,k=0,w=null;(w=[]).push(i);for(var S=1;S<r;S++)w.push(i+S/r*(n-i));for(w.push(n);x;){for(var P=0;P<r;P++)y[P]=0;for(var A=0;A<v;A++)for(var C=a[A],_=Number.MAX_VALUE,T=void 0,E=0;E<r;E++){var z=rt(w[E]-C);z<_&&(_=z,T=E),y[T]++,b[A]=T}for(var M=Array(r),D=0;D<r;D++)M[D]=null;for(var F=0;F<v;F++)null===M[g=b[F]]?M[g]=a[F]:M[g]+=a[F];for(var R=0;R<r;R++)M[R]*=1/y[R];x=!1;for(var V=0;V<r;V++)if(M[V]!==w[V]){x=!0;break}w=M,++k>200&&(x=!1)}for(var j={},B=0;B<r;B++)j[B]=[];for(var $=0;$<v;$++)j[g=b[$]].push(a[$]);for(var L=[],W=0;W<r;W++)L.push(j[W][0]),L.push(j[W][j[W].length-1]);L=L.sort(function(e,t){return e-t}),s.push(L[0]);for(var I=1;I<L.length;I+=2){var N=L[I];isNaN(N)||-1!==s.indexOf(N)||s.push(N)}}return s},rn=Math.sqrt,ro=Math.pow,ra=Math.min,rs=Math.max,rl=Math.atan2,ru=Math.abs,rc=Math.cos,rh=Math.sin,rd=Math.exp,rf=Math.PI,rp={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},rm=0,rg=Object.keys(rp);rm<rg.length;rm+=1){var rv=rg[rm];rp[rv.toLowerCase()]=rp[rv]}return f.average=function(e,t,r){void 0===t&&(t="lrgb"),void 0===r&&(r=null);var i=e.length;r||(r=Array.from(Array(i)).map(function(){return 1}));var n=i/r.reduce(function(e,t){return e+t});if(r.forEach(function(e,t){r[t]*=n}),e=e.map(function(e){return new d(e)}),"lrgb"===t)return tU(e,r);for(var o=e.shift(),a=o.get(t),s=[],l=0,u=0,c=0;c<a.length;c++)if(a[c]=(a[c]||0)*r[0],s.push(isNaN(a[c])?0:r[0]),"h"===t.charAt(c)&&!isNaN(a[c])){var h=a[c]/180*tI;l+=tN(h)*r[0],u+=tO(h)*r[0]}var f=o.alpha()*r[0];e.forEach(function(e,i){var n=e.get(t);f+=e.alpha()*r[i+1];for(var o=0;o<a.length;o++)if(!isNaN(n[o])){if(s[o]+=r[i+1],"h"===t.charAt(o)){var c=n[o]/180*tI;l+=tN(c)*r[i+1],u+=tO(c)*r[i+1]}else a[o]+=n[o]*r[i+1]}});for(var p=0;p<a.length;p++)if("h"===t.charAt(p)){for(var m=tH(u/s[p],l/s[p])/tI*180;m<0;)m+=360;for(;m>=360;)m-=360;a[p]=m}else a[p]=a[p]/s[p];return f/=i,new d(a,t).alpha(f>.99999?1:f,!0)},f.bezier=function(e){var t=tG(e);return t.scale=function(){return tY(t)},t},f.blend=tK,f.cubehelix=function(e,t,r,i,n){void 0===e&&(e=300),void 0===t&&(t=-1.5),void 0===r&&(r=1),void 0===i&&(i=1),void 0===n&&(n=[0,1]);var o,a=0;"array"===t0(n)?o=n[1]-n[0]:(o=0,n=[n,n]);var s=function(s){var l=t2*((e+120)/360+t*s),u=t5(n[0]+o*s,i),c=(0!==a?r[0]+s*a:r)*u*(1-u)/2,h=t6(l),d=t3(l);return f(t1([255*(u+c*(-.14861*h+1.78277*d)),255*(u+c*(-.29227*h-.90649*d)),255*(u+1.97294*h*c),1]))};return s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?i:(i=e,s)},s.hue=function(e){return null==e?r:("array"===t0(r=e)?0==(a=r[1]-r[0])&&(r=r[1]):a=0,s)},s.lightness=function(e){return null==e?n:("array"===t0(e)?(n=e,o=e[1]-e[0]):(n=[e,e],o=0),s)},s.scale=function(){return f.scale(s)},s.hue(r),s},f.mix=f.interpolate=tD,f.random=function(){for(var e="#",t=0;t<6;t++)e+="0123456789abcdef".charAt(t4(16*t9()));return new d(e,"hex")},f.scale=tY,f.analyze=rr,f.contrast=function(e,t){e=new d(e),t=new d(t);var r=e.luminance(),i=t.luminance();return r>i?(r+.05)/(i+.05):(i+.05)/(r+.05)},f.deltaE=function(e,t,r,i,n){void 0===r&&(r=1),void 0===i&&(i=1),void 0===n&&(n=1);var o=function(e){return 360*e/(2*rf)},a=function(e){return 2*rf*e/360};e=new d(e),t=new d(t);var s=Array.from(e.lab()),l=s[0],u=s[1],c=s[2],h=Array.from(t.lab()),f=h[0],p=h[1],m=h[2],g=(l+f)/2,v=(rn(ro(u,2)+ro(c,2))+rn(ro(p,2)+ro(m,2)))/2,b=.5*(1-rn(ro(v,7)/(ro(v,7)+ro(25,7)))),y=u*(1+b),x=p*(1+b),k=rn(ro(y,2)+ro(c,2)),w=rn(ro(x,2)+ro(m,2)),S=(k+w)/2,P=o(rl(c,y)),A=o(rl(m,x)),C=P>=0?P:P+360,_=A>=0?A:A+360,T=ru(C-_)>180?(C+_+360)/2:(C+_)/2,E=1-.17*rc(a(T-30))+.24*rc(a(2*T))+.32*rc(a(3*T+6))-.2*rc(a(4*T-63)),z=_-C;z=180>=ru(z)?z:_<=C?z+360:z-360,z=2*rn(k*w)*rh(a(z)/2);var M=w-k,D=1+.015*ro(g-50,2)/rn(20+ro(g-50,2)),F=1+.045*S,R=1+.015*S*E,V=30*rd(-ro((T-275)/25,2)),j=-(2*rn(ro(S,7)/(ro(S,7)+ro(25,7))))*rh(2*a(V));return rs(0,ra(100,rn(ro((f-l)/(r*D),2)+ro(M/(i*F),2)+ro(z/(n*R),2)+M/(i*F)*j*(z/(n*R)))))},f.distance=function(e,t,r){void 0===r&&(r="lab"),e=new d(e),t=new d(t);var i=e.get(r),n=t.get(r),o=0;for(var a in i){var s=(i[a]||0)-(n[a]||0);o+=s*s}return Math.sqrt(o)},f.limits=ri,f.valid=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];try{return new(Function.prototype.bind.apply(d,[null].concat(e))),!0}catch(e){return!1}},f.scales={cool:function(){return tY([f.hsl(180,1,.9),f.hsl(250,.7,.4)])},hot:function(){return tY(["#000","#f00","#ff0","#fff"]).mode("rgb")}},f.colors=e5,f.brewer=rp,f},e.exports=t()},80405:function(e,t,r){"use strict";r.d(t,{J:function(){return u}});var i=r(92996),n=r(78545),o=r(1826),a=r(24771),s=r(84796),l={path:(0,s.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,s.jsx)("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"}),(0,s.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,s.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},u=(0,i.G)((e,t)=>{let{as:r,viewBox:i,color:u="currentColor",focusable:c=!1,children:h,className:d,__css:f,...p}=e,m=(0,a.cx)("chakra-icon",d),g=(0,n.mq)("Icon",e),v={ref:t,focusable:c,className:m,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:u,...f,...g}},b=null!=i?i:l.viewBox;if(r&&"string"!=typeof r)return(0,s.jsx)(o.m.svg,{as:r,...v,...p});let y=null!=h?h:l.path;return(0,s.jsx)(o.m.svg,{verticalAlign:"middle",viewBox:b,...v,...p,children:y})});u.displayName="Icon"},45128:function(e,t,r){"use strict";r.d(t,{h:function(){return m}});var i=r(59065),n=r(78943),o=r(37571),a=r(64634),s=r(14212),l=r(84796),[u,c]=(0,o.k)({strict:!1,name:"PortalContext"}),h="chakra-portal",d=e=>(0,l.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),f=e=>{let{appendToParentPortal:t,children:r}=e,[o,f]=(0,s.useState)(null),p=(0,s.useRef)(null),[,m]=(0,s.useState)({});(0,s.useEffect)(()=>m({}),[]);let g=c(),v=(0,i.L)();(0,n.G)(()=>{if(!o)return;let e=o.ownerDocument,r=t&&null!=g?g:e.body;if(!r)return;p.current=e.createElement("div"),p.current.className=h,r.appendChild(p.current),m({});let i=p.current;return()=>{r.contains(i)&&r.removeChild(i)}},[o]);let b=(null==v?void 0:v.zIndex)?(0,l.jsx)(d,{zIndex:null==v?void 0:v.zIndex,children:r}):r;return p.current?(0,a.createPortal)((0,l.jsx)(u,{value:p.current,children:b}),p.current):(0,l.jsx)("span",{ref:e=>{e&&f(e)}})},p=e=>{let{children:t,containerRef:r,appendToParentPortal:i}=e,o=r.current,c=null!=o?o:"undefined"!=typeof window?document.body:void 0,d=(0,s.useMemo)(()=>{let e=null==o?void 0:o.ownerDocument.createElement("div");return e&&(e.className=h),e},[o]),[,f]=(0,s.useState)({});return((0,n.G)(()=>f({}),[]),(0,n.G)(()=>{if(d&&c)return c.appendChild(d),()=>{c.removeChild(d)}},[d,c]),c&&d)?(0,a.createPortal)((0,l.jsx)(u,{value:i?d:null,children:t}),d):null};function m(e){let{containerRef:t,...r}={appendToParentPortal:!0,...e};return t?(0,l.jsx)(p,{containerRef:t,...r}):(0,l.jsx)(f,{...r})}m.className=h,m.selector=".chakra-portal",m.displayName="Portal"},59065:function(e,t,r){"use strict";r.d(t,{L:function(){return a},h:function(){return s}});var i=r(37571),n=r(84796),[o,a]=(0,i.k)({strict:!1,name:"PortalManagerContext"});function s(e){let{children:t,zIndex:r}=e;return(0,n.jsx)(o,{value:{zIndex:r},children:t})}s.displayName="PortalManager"},24562:function(e,t,r){"use strict";r.d(t,{W:function(){return n}});var i=r(14212);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=(0,i.useRef)(e);return(0,i.useEffect)(()=>{r.current=e}),(0,i.useCallback)(function(){for(var e,t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];return null==(e=r.current)?void 0:e.call(r,...i)},t)}},78943:function(e,t,r){"use strict";r.d(t,{G:function(){return n}});var i=r(14212),n=(null==globalThis?void 0:globalThis.document)?i.useLayoutEffect:i.useEffect},1411:function(e,t,r){"use strict";function i(e,t){return r=>"dark"===r.colorMode?t:e}function n(e){let{orientation:t,vertical:r,horizontal:i}=e;return t?"vertical"===t?r:i:{}}r.d(t,{f:function(){return n},x:function(){return i}})},63835:function(e,t,r){"use strict";r.d(t,{wE:function(){return n0},rS:function(){return nQ}});var i,n,o,a,s,l,u,c,h,d,f,p,m,g,v,b,y,x,k,w,S,P,A,C={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:{"3xs":"0.45rem","2xs":"0.625rem",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"}},_={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"},T={..._,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},E={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...C,sizes:T,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:_,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},z=r(55188),{defineMultiStyleConfig:M,definePartsStyle:D}=(0,z.D)(["stepper","step","title","description","indicator","separator","icon","number"]),F=(0,z.gJ)("stepper-indicator-size"),R=(0,z.gJ)("stepper-icon-size"),V=(0,z.gJ)("stepper-title-font-size"),j=(0,z.gJ)("stepper-description-font-size"),B=(0,z.gJ)("stepper-accent-color"),$=M({baseStyle:D(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[B.variable]:`colors.${e}.500`,_dark:{[B.variable]:`colors.${e}.200`}},title:{fontSize:V.reference,fontWeight:"medium"},description:{fontSize:j.reference,color:"chakra-subtle-text"},number:{fontSize:V.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:R.reference,height:R.reference},indicator:{flexShrink:0,borderRadius:"full",width:F.reference,height:F.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:B.reference},"&[data-status=complete]":{bg:B.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:B.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${F.reference} - 8px)`,top:`calc(${F.reference} + 4px)`,insetStart:`calc(${F.reference} / 2 - 1px)`}}})),sizes:{xs:D({stepper:{[F.variable]:"sizes.4",[R.variable]:"sizes.3",[V.variable]:"fontSizes.xs",[j.variable]:"fontSizes.xs"}}),sm:D({stepper:{[F.variable]:"sizes.6",[R.variable]:"sizes.4",[V.variable]:"fontSizes.sm",[j.variable]:"fontSizes.xs"}}),md:D({stepper:{[F.variable]:"sizes.8",[R.variable]:"sizes.5",[V.variable]:"fontSizes.md",[j.variable]:"fontSizes.sm"}}),lg:D({stepper:{[F.variable]:"sizes.10",[R.variable]:"sizes.6",[V.variable]:"fontSizes.lg",[j.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}});function L(e,t={}){let r=!1;function i(t){let r=(["container","root"].includes(null!=t?t:"")?[e]:[e,t]).filter(Boolean).join("__"),i=`chakra-${r}`;return{className:i,selector:`.${i}`,toString:()=>t}}return{parts:function(...n){for(let e of(!function(){if(!r){r=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),n))t[e]=i(e);return L(e,t)},toPart:i,extend:function(...r){for(let e of r)e in t||(t[e]=i(e));return L(e,t)},selectors:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(t).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(t)},__type:{}}}var W=L("accordion").parts("root","container","button","panel").extend("icon"),I=L("alert").parts("title","description","container").extend("icon","spinner"),N=L("avatar").parts("label","badge","container").extend("excessLabel","group"),O=L("breadcrumb").parts("link","item","container").extend("separator");L("button").parts();var H=L("checkbox").parts("control","icon","container").extend("label");L("progress").parts("track","filledTrack").extend("label");var U=L("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),q=L("editable").parts("preview","input","textarea"),J=L("form").parts("container","requiredIndicator","helperText"),Y=L("formError").parts("text","icon"),X=L("input").parts("addon","field","element","group"),G=L("list").parts("container","item","icon"),K=L("menu").parts("button","list","item").extend("groupTitle","icon","command","divider"),Z=L("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),Q=L("numberinput").parts("root","field","stepperGroup","stepper");L("pininput").parts("field");var ee=L("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),et=L("progress").parts("label","filledTrack","track"),er=L("radio").parts("container","control","label"),ei=L("select").parts("field","icon"),en=L("slider").parts("container","track","thumb","filledTrack","mark"),eo=L("stat").parts("container","label","helpText","number","icon"),ea=L("switch").parts("container","track","thumb","label"),es=L("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),el=L("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),eu=L("tag").parts("container","label","closeButton"),ec=L("card").parts("container","header","body","footer");function eh(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function ed(e,t){var r,i;let n=function(e,t=""){return`--${function(e,t=""){return[t,eh(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:n,reference:(r="string"==typeof(i=null==t?void 0:t.fallback)?i:null==i?void 0:i.reference,`var(${eh(n)}${r?`, ${r}`:""})`)}}L("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");var ef=r(24771);function ep(e){return(0,ef.Kn)(e)&&e.reference?e.reference:String(e)}var em=(e,...t)=>t.map(ep).join(` ${e} `).replace(/calc/g,""),eg=(...e)=>`calc(${em("+",...e)})`,ev=(...e)=>`calc(${em("-",...e)})`,eb=(...e)=>`calc(${em("*",...e)})`,ey=(...e)=>`calc(${em("/",...e)})`,ex=e=>{let t=ep(e);return null==t||Number.isNaN(parseFloat(t))?eb(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},ek=Object.assign(e=>({add:(...t)=>ek(eg(e,...t)),subtract:(...t)=>ek(ev(e,...t)),multiply:(...t)=>ek(eb(e,...t)),divide:(...t)=>ek(ey(e,...t)),negate:()=>ek(ex(e)),toString:()=>e.toString()}),{add:eg,subtract:ev,multiply:eb,divide:ey,negate:ex}),{defineMultiStyleConfig:ew,definePartsStyle:eS}=(0,z.D)(ea.keys),eP=ed("switch-track-width"),eA=ed("switch-track-height"),eC=ed("switch-track-diff"),e_=ek.subtract(eP,eA),eT=ed("switch-thumb-x"),eE=ed("switch-bg"),ez=(0,z.k0)(e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[eP.reference],height:[eA.reference],transitionProperty:"common",transitionDuration:"fast",[eE.variable]:"colors.gray.300",_dark:{[eE.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[eE.variable]:`colors.${t}.500`,_dark:{[eE.variable]:`colors.${t}.200`}},bg:eE.reference}}),eM=(0,z.k0)({bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[eA.reference],height:[eA.reference],_checked:{transform:`translateX(${eT.reference})`}}),eD=ew({baseStyle:eS(e=>({container:{[eC.variable]:e_,[eT.variable]:eC.reference,_rtl:{[eT.variable]:ek(eC).negate().toString()}},track:ez(e),thumb:eM})),sizes:{sm:eS({container:{[eP.variable]:"1.375rem",[eA.variable]:"sizes.3"}}),md:eS({container:{[eP.variable]:"1.875rem",[eA.variable]:"sizes.4"}}),lg:eS({container:{[eP.variable]:"2.875rem",[eA.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),eF=r(1411),{defineMultiStyleConfig:eR,definePartsStyle:eV}=(0,z.D)(es.keys),ej=eV({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"}}),eB=(0,z.k0)({"&[data-is-numeric=true]":{textAlign:"end"}}),e$=eR({baseStyle:ej,variants:{simple:eV(e=>{let{colorScheme:t}=e;return{th:{color:(0,eF.x)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,eF.x)(`${t}.100`,`${t}.700`)(e),...eB},td:{borderBottom:"1px",borderColor:(0,eF.x)(`${t}.100`,`${t}.700`)(e),...eB},caption:{color:(0,eF.x)("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:eV(e=>{let{colorScheme:t}=e;return{th:{color:(0,eF.x)("gray.600","gray.400")(e),borderBottom:"1px",borderColor:(0,eF.x)(`${t}.100`,`${t}.700`)(e),...eB},td:{borderBottom:"1px",borderColor:(0,eF.x)(`${t}.100`,`${t}.700`)(e),...eB},caption:{color:(0,eF.x)("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:(0,eF.x)(`${t}.100`,`${t}.700`)(e)},td:{background:(0,eF.x)(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:(0,z.k0)({})},sizes:{sm:eV({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:eV({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:eV({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function eL(e,t,r){return Math.min(Math.max(e,r),t)}class eW extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}}function eI(e){if("string"!=typeof e)throw new eW(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=eX.test(e)?function(e){let t=eO[function(e){let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new eW(e);return`#${t}`}(e):e;let r=eU.exec(t);if(r){let e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(eH(e,2),16)),parseInt(eH(e[3]||"f",2),16)/255]}let i=eq.exec(t);if(i){let e=Array.from(i).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let n=eJ.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let o=eY.exec(t);if(o){let[t,r,i,n]=Array.from(o).slice(1).map(parseFloat);if(eL(0,100,r)!==r||eL(0,100,i)!==i)throw new eW(e);return[...eK(t,r,i),Number.isNaN(n)?1:n]}throw new eW(e)}let eN=e=>parseInt(e.replace(/_/g,""),36),eO="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let r=eN(t.substring(0,3)),i=eN(t.substring(3)).toString(16),n="";for(let e=0;e<6-i.length;e++)n+="0";return e[r]=`${n}${i}`,e},{}),eH=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),eU=RegExp(`^#${eH("([a-f0-9])",3)}([a-f0-9])?$`,"i"),eq=RegExp(`^#${eH("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),eJ=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${eH(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),eY=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,eX=/^[a-z]+$/i,eG=e=>Math.round(255*e),eK=(e,t,r)=>{let i=r/100;if(0===t)return[i,i,i].map(eG);let n=(e%360+360)%360/60,o=t/100*(1-Math.abs(2*i-1)),a=o*(1-Math.abs(n%2-1)),s=0,l=0,u=0;n>=0&&n<1?(s=o,l=a):n>=1&&n<2?(s=a,l=o):n>=2&&n<3?(l=o,u=a):n>=3&&n<4?(l=a,u=o):n>=4&&n<5?(s=a,u=o):n>=5&&n<6&&(s=o,u=a);let c=i-o/2;return[s+c,l+c,u+c].map(eG)};var eZ=e=>0===Object.keys(e).length,eQ=(e,t,r)=>{let i=function(e,t,r,i,n){for(t=t.split?t.split("."):t,i=0;i<t.length;i++)e=e?e[t[i]]:void 0;return void 0===e?r:e}(e,`colors.${t}`,t);try{return!function(e){let[t,r,i,n]=eI(e),o=e=>{let t=eL(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(r),o(i),n<1&&o(Math.round(255*n))}(i),i}catch{return null!=r?r:"#000000"}},e0=e=>{let[t,r,i]=eI(e);return(299*t+587*r+114*i)/1e3},e1=e=>t=>128>e0(eQ(t,e))?"dark":"light",e2=e=>t=>"dark"===e1(e)(t),e5=(e,t)=>r=>(function(e,t){var r;let[i,n,o,a]=eI(e);return r=a-t,`rgba(${eL(0,255,i).toFixed()}, ${eL(0,255,n).toFixed()}, ${eL(0,255,o).toFixed()}, ${parseFloat(eL(0,1,r).toFixed(3))})`})(eQ(r,e),1-t);function e3(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(
    45deg,
    ${t} 25%,
    transparent 25%,
    transparent 50%,
    ${t} 50%,
    ${t} 75%,
    transparent 75%,
    transparent
  )`,backgroundSize:`${e} ${e}`}}var e6=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,e4=(0,z.gJ)("tabs-color"),e9=(0,z.gJ)("tabs-bg"),e8=(0,z.gJ)("tabs-border-color"),{defineMultiStyleConfig:e7,definePartsStyle:te}=(0,z.D)(el.keys),tt=(0,z.k0)(e=>{let{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}}),tr=(0,z.k0)(e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}}),ti=(0,z.k0)(e=>{let{align:t="start",orientation:r}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[t],flexDirection:"vertical"===r?"column":"row"}}),tn=(0,z.k0)({p:4}),to=e7({baseStyle:te(e=>({root:tt(e),tab:tr(e),tablist:ti(e),tabpanel:tn})),sizes:{sm:te({tab:{py:1,px:4,fontSize:"sm"}}),md:te({tab:{fontSize:"md",py:2,px:4}}),lg:te({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:te(e=>{let{colorScheme:t,orientation:r}=e,i="vertical"===r,n=i?"borderStart":"borderBottom";return{tablist:{[n]:"2px solid",borderColor:"inherit"},tab:{[n]:"2px solid",borderColor:"transparent",[i?"marginStart":"marginBottom"]:"-2px",_selected:{[e4.variable]:`colors.${t}.600`,_dark:{[e4.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[e9.variable]:"colors.gray.200",_dark:{[e9.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:e4.reference,bg:e9.reference}}}),enclosed:te(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[e8.variable]:"transparent",_selected:{[e4.variable]:`colors.${t}.600`,[e8.variable]:"colors.white",_dark:{[e4.variable]:`colors.${t}.300`,[e8.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:e8.reference},color:e4.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":te(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[e9.variable]:"colors.gray.50",_dark:{[e9.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[e9.variable]:"colors.white",[e4.variable]:`colors.${t}.600`,_dark:{[e9.variable]:"colors.gray.800",[e4.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:e4.reference,bg:e9.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":te(e=>{let{colorScheme:t,theme:r}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:eQ(r,`${t}.700`),bg:eQ(r,`${t}.100`)}}}}),"solid-rounded":te(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[e4.variable]:"colors.gray.600",_dark:{[e4.variable]:"inherit"},_selected:{[e4.variable]:"colors.white",[e9.variable]:`colors.${t}.600`,_dark:{[e4.variable]:"colors.gray.800",[e9.variable]:`colors.${t}.300`}},color:e4.reference,bg:e9.reference}}}),unstyled:te({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),ta=(0,z._6)("badge",["bg","color","shadow"]),ts=(0,z.k0)({px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:ta.bg.reference,color:ta.color.reference,boxShadow:ta.shadow.reference}),tl=(0,z.k0)(e=>{let{colorScheme:t,theme:r}=e,i=e5(`${t}.500`,.6)(r);return{[ta.bg.variable]:`colors.${t}.500`,[ta.color.variable]:"colors.white",_dark:{[ta.bg.variable]:i,[ta.color.variable]:"colors.whiteAlpha.800"}}}),tu=(0,z.k0)(e=>{let{colorScheme:t,theme:r}=e,i=e5(`${t}.200`,.16)(r);return{[ta.bg.variable]:`colors.${t}.100`,[ta.color.variable]:`colors.${t}.800`,_dark:{[ta.bg.variable]:i,[ta.color.variable]:`colors.${t}.200`}}}),tc=(0,z.k0)(e=>{let{colorScheme:t,theme:r}=e,i=e5(`${t}.200`,.8)(r);return{[ta.color.variable]:`colors.${t}.500`,_dark:{[ta.color.variable]:i},[ta.shadow.variable]:`inset 0 0 0px 1px ${ta.color.reference}`}}),th=(0,z.fj)({baseStyle:ts,variants:{solid:tl,subtle:tu,outline:tc},defaultProps:{variant:"subtle",colorScheme:"gray"}}),{defineMultiStyleConfig:td,definePartsStyle:tf}=(0,z.D)(eu.keys),tp=(0,z.gJ)("tag-bg"),tm=(0,z.gJ)("tag-color"),tg=(0,z.gJ)("tag-shadow"),tv=(0,z.gJ)("tag-min-height"),tb=(0,z.gJ)("tag-min-width"),ty=(0,z.gJ)("tag-font-size"),tx=(0,z.gJ)("tag-padding-inline"),tk=tf({container:(0,z.k0)({fontWeight:"medium",lineHeight:1.2,outline:0,[tm.variable]:ta.color.reference,[tp.variable]:ta.bg.reference,[tg.variable]:ta.shadow.reference,color:tm.reference,bg:tp.reference,boxShadow:tg.reference,borderRadius:"md",minH:tv.reference,minW:tb.reference,fontSize:ty.reference,px:tx.reference,_focusVisible:{[tg.variable]:"shadows.outline"}}),label:(0,z.k0)({lineHeight:1.2,overflow:"visible"}),closeButton:(0,z.k0)({fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}})}),tw={sm:tf({container:{[tv.variable]:"sizes.5",[tb.variable]:"sizes.5",[ty.variable]:"fontSizes.xs",[tx.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:tf({container:{[tv.variable]:"sizes.6",[tb.variable]:"sizes.6",[ty.variable]:"fontSizes.sm",[tx.variable]:"space.2"}}),lg:tf({container:{[tv.variable]:"sizes.8",[tb.variable]:"sizes.8",[ty.variable]:"fontSizes.md",[tx.variable]:"space.3"}})},tS=td({variants:{subtle:tf(e=>{var t;return{container:null==(t=th.variants)?void 0:t.subtle(e)}}),solid:tf(e=>{var t;return{container:null==(t=th.variants)?void 0:t.solid(e)}}),outline:tf(e=>{var t;return{container:null==(t=th.variants)?void 0:t.outline(e)}})},baseStyle:tk,sizes:tw,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:tP,defineMultiStyleConfig:tA}=(0,z.D)(X.keys),tC=(0,z.gJ)("input-height"),t_=(0,z.gJ)("input-font-size"),tT=(0,z.gJ)("input-padding"),tE=(0,z.gJ)("input-border-radius"),tz=tP({addon:{height:tC.reference,fontSize:t_.reference,px:tT.reference,borderRadius:tE.reference},field:{width:"100%",height:tC.reference,fontSize:t_.reference,px:tT.reference,borderRadius:tE.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),tM={lg:(0,z.k0)({[t_.variable]:"fontSizes.lg",[tT.variable]:"space.4",[tE.variable]:"radii.md",[tC.variable]:"sizes.12"}),md:(0,z.k0)({[t_.variable]:"fontSizes.md",[tT.variable]:"space.4",[tE.variable]:"radii.md",[tC.variable]:"sizes.10"}),sm:(0,z.k0)({[t_.variable]:"fontSizes.sm",[tT.variable]:"space.3",[tE.variable]:"radii.sm",[tC.variable]:"sizes.8"}),xs:(0,z.k0)({[t_.variable]:"fontSizes.xs",[tT.variable]:"space.2",[tE.variable]:"radii.sm",[tC.variable]:"sizes.6"})};function tD(e){let{focusBorderColor:t,errorBorderColor:r}=e;return{focusBorderColor:t||(0,eF.x)("blue.500","blue.300")(e),errorBorderColor:r||(0,eF.x)("red.500","red.300")(e)}}var tF=tA({baseStyle:tz,sizes:{lg:tP({field:tM.lg,group:tM.lg}),md:tP({field:tM.md,group:tM.md}),sm:tP({field:tM.sm,group:tM.sm}),xs:tP({field:tM.xs,group:tM.xs})},variants:{outline:tP(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:i}=tD(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:(0,eF.x)("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eQ(t,i),boxShadow:`0 0 0 1px ${eQ(t,i)}`},_focusVisible:{zIndex:1,borderColor:eQ(t,r),boxShadow:`0 0 0 1px ${eQ(t,r)}`}},addon:{border:"1px solid",borderColor:(0,eF.x)("inherit","whiteAlpha.50")(e),bg:(0,eF.x)("gray.100","whiteAlpha.300")(e)}}}),filled:tP(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:i}=tD(e);return{field:{border:"2px solid",borderColor:"transparent",bg:(0,eF.x)("gray.100","whiteAlpha.50")(e),_hover:{bg:(0,eF.x)("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eQ(t,i)},_focusVisible:{bg:"transparent",borderColor:eQ(t,r)}},addon:{border:"2px solid",borderColor:"transparent",bg:(0,eF.x)("gray.100","whiteAlpha.50")(e)}}}),flushed:tP(e=>{let{theme:t}=e,{focusBorderColor:r,errorBorderColor:i}=tD(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:eQ(t,i),boxShadow:`0px 1px 0px 0px ${eQ(t,i)}`},_focusVisible:{borderColor:eQ(t,r),boxShadow:`0px 1px 0px 0px ${eQ(t,r)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:tP({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),tR=(0,z.k0)({...null==(i=tF.baseStyle)?void 0:i.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),tV={outline:(0,z.k0)(e=>{var t,r;return null!=(r=null==(t=tF.variants)?void 0:t.outline(e).field)?r:{}}),flushed:(0,z.k0)(e=>{var t,r;return null!=(r=null==(t=tF.variants)?void 0:t.flushed(e).field)?r:{}}),filled:(0,z.k0)(e=>{var t,r;return null!=(r=null==(t=tF.variants)?void 0:t.filled(e).field)?r:{}}),unstyled:null!=(o=null==(n=tF.variants)?void 0:n.unstyled.field)?o:{}},tj={xs:null!=(s=null==(a=tF.sizes)?void 0:a.xs.field)?s:{},sm:null!=(u=null==(l=tF.sizes)?void 0:l.sm.field)?u:{},md:null!=(h=null==(c=tF.sizes)?void 0:c.md.field)?h:{},lg:null!=(f=null==(d=tF.sizes)?void 0:d.lg.field)?f:{}},tB=(0,z.fj)({baseStyle:tR,sizes:tj,variants:tV,defaultProps:{size:"md",variant:"outline"}}),t$=ed("tooltip-bg"),tL=ed("tooltip-fg"),tW=ed("popper-arrow-bg"),tI=(0,z.k0)({bg:t$.reference,color:tL.reference,[t$.variable]:"colors.gray.700",[tL.variable]:"colors.whiteAlpha.900",_dark:{[t$.variable]:"colors.gray.300",[tL.variable]:"colors.gray.900"},[tW.variable]:t$.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"}),tN=(0,z.fj)({baseStyle:tI}),{defineMultiStyleConfig:tO,definePartsStyle:tH}=(0,z.D)(et.keys),tU=(0,z.k0)(e=>{let{colorScheme:t,theme:r,isIndeterminate:i,hasStripe:n}=e,o=(0,eF.x)(e3(),e3("1rem","rgba(0,0,0,0.1)"))(e),a=(0,eF.x)(`${t}.500`,`${t}.200`)(e),s=`linear-gradient(
    to right,
    transparent 0%,
    ${eQ(r,a)} 50%,
    transparent 100%
  )`;return{...!i&&n&&o,...i?{bgImage:s}:{bgColor:a}}}),tq=(0,z.k0)({lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"}),tJ=(0,z.k0)(e=>({bg:(0,eF.x)("gray.100","whiteAlpha.300")(e)})),tY=(0,z.k0)(e=>({transitionProperty:"common",transitionDuration:"slow",...tU(e)})),tX=tH(e=>({label:tq,filledTrack:tY(e),track:tJ(e)})),tG=tO({sizes:{xs:tH({track:{h:"1"}}),sm:tH({track:{h:"2"}}),md:tH({track:{h:"3"}}),lg:tH({track:{h:"4"}})},baseStyle:tX,defaultProps:{size:"md",colorScheme:"blue"}}),tK=e=>"function"==typeof e;function tZ(e,...t){return tK(e)?e(...t):e}var{definePartsStyle:tQ,defineMultiStyleConfig:t0}=(0,z.D)(H.keys),t1=(0,z.gJ)("checkbox-size"),t2=(0,z.k0)(e=>{let{colorScheme:t}=e;return{w:t1.reference,h:t1.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:(0,eF.x)(`${t}.500`,`${t}.200`)(e),borderColor:(0,eF.x)(`${t}.500`,`${t}.200`)(e),color:(0,eF.x)("white","gray.900")(e),_hover:{bg:(0,eF.x)(`${t}.600`,`${t}.300`)(e),borderColor:(0,eF.x)(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:(0,eF.x)("gray.200","transparent")(e),bg:(0,eF.x)("gray.200","whiteAlpha.300")(e),color:(0,eF.x)("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:(0,eF.x)(`${t}.500`,`${t}.200`)(e),borderColor:(0,eF.x)(`${t}.500`,`${t}.200`)(e),color:(0,eF.x)("white","gray.900")(e)},_disabled:{bg:(0,eF.x)("gray.100","whiteAlpha.100")(e),borderColor:(0,eF.x)("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:(0,eF.x)("red.500","red.300")(e)}}}),t5=(0,z.k0)({_disabled:{cursor:"not-allowed"}}),t3=(0,z.k0)({userSelect:"none",_disabled:{opacity:.4}}),t6=(0,z.k0)({transitionProperty:"transform",transitionDuration:"normal"}),t4=t0({baseStyle:tQ(e=>({icon:t6,container:t5,control:tZ(t2,e),label:t3})),sizes:{sm:tQ({control:{[t1.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:tQ({control:{[t1.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:tQ({control:{[t1.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:t9,definePartsStyle:t8}=(0,z.D)(er.keys),t7=(0,z.k0)(e=>{var t;let r=null==(t=tZ(t4.baseStyle,e))?void 0:t.control;return{...r,borderRadius:"full",_checked:{...null==r?void 0:r._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}}),re=t9({baseStyle:t8(e=>{var t,r;return{label:null==(t=t4.baseStyle)?void 0:t.call(t4,e).label,container:null==(r=t4.baseStyle)?void 0:r.call(t4,e).container,control:t7(e)}}),sizes:{md:t8({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:t8({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:t8({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:rt,definePartsStyle:rr}=(0,z.D)(ei.keys),ri=(0,z.gJ)("select-bg"),rn=rr({field:(0,z.k0)({...null==(p=tF.baseStyle)?void 0:p.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:ri.reference,[ri.variable]:"colors.white",_dark:{[ri.variable]:"colors.gray.700"},"> option, > optgroup":{bg:ri.reference}}),icon:(0,z.k0)({width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}})}),ro=(0,z.k0)({paddingInlineEnd:"8"}),ra=rt({baseStyle:rn,sizes:{lg:{...null==(m=tF.sizes)?void 0:m.lg,field:{...null==(g=tF.sizes)?void 0:g.lg.field,...ro}},md:{...null==(v=tF.sizes)?void 0:v.md,field:{...null==(b=tF.sizes)?void 0:b.md.field,...ro}},sm:{...null==(y=tF.sizes)?void 0:y.sm,field:{...null==(x=tF.sizes)?void 0:x.sm.field,...ro}},xs:{...null==(k=tF.sizes)?void 0:k.xs,field:{...null==(w=tF.sizes)?void 0:w.xs.field,...ro},icon:{insetEnd:"1"}}},variants:tF.variants,defaultProps:tF.defaultProps}),rs=(0,z.gJ)("skeleton-start-color"),rl=(0,z.gJ)("skeleton-end-color"),ru=(0,z.k0)({[rs.variable]:"colors.gray.100",[rl.variable]:"colors.gray.400",_dark:{[rs.variable]:"colors.gray.800",[rl.variable]:"colors.gray.600"},background:rs.reference,borderColor:rl.reference,opacity:.7,borderRadius:"sm"}),rc=(0,z.fj)({baseStyle:ru}),rh=(0,z.gJ)("skip-link-bg"),rd=(0,z.k0)({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[rh.variable]:"colors.white",_dark:{[rh.variable]:"colors.gray.700"},bg:rh.reference}}),rf=(0,z.fj)({baseStyle:rd}),{defineMultiStyleConfig:rp,definePartsStyle:rm}=(0,z.D)(en.keys),rg=(0,z.gJ)("slider-thumb-size"),rv=(0,z.gJ)("slider-track-size"),rb=(0,z.gJ)("slider-bg"),ry=(0,z.k0)(e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...(0,eF.f)({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}}),rx=(0,z.k0)(e=>({...(0,eF.f)({orientation:e.orientation,horizontal:{h:rv.reference},vertical:{w:rv.reference}}),overflow:"hidden",borderRadius:"sm",[rb.variable]:"colors.gray.200",_dark:{[rb.variable]:"colors.whiteAlpha.200"},_disabled:{[rb.variable]:"colors.gray.300",_dark:{[rb.variable]:"colors.whiteAlpha.300"}},bg:rb.reference})),rk=(0,z.k0)(e=>{let{orientation:t}=e;return{...(0,eF.f)({orientation:t,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)"}}}),w:rg.reference,h:rg.reference,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",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}}),rw=(0,z.k0)(e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[rb.variable]:`colors.${t}.500`,_dark:{[rb.variable]:`colors.${t}.200`},bg:rb.reference}}),rS=rp({baseStyle:rm(e=>({container:ry(e),track:rx(e),thumb:rk(e),filledTrack:rw(e)})),sizes:{lg:rm({container:{[rg.variable]:"sizes.4",[rv.variable]:"sizes.1"}}),md:rm({container:{[rg.variable]:"sizes.3.5",[rv.variable]:"sizes.1"}}),sm:rm({container:{[rg.variable]:"sizes.2.5",[rv.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rP=ed("spinner-size"),rA=(0,z.k0)({width:[rP.reference],height:[rP.reference]}),rC={xs:(0,z.k0)({[rP.variable]:"sizes.3"}),sm:(0,z.k0)({[rP.variable]:"sizes.4"}),md:(0,z.k0)({[rP.variable]:"sizes.6"}),lg:(0,z.k0)({[rP.variable]:"sizes.8"}),xl:(0,z.k0)({[rP.variable]:"sizes.12"})},r_=(0,z.fj)({baseStyle:rA,sizes:rC,defaultProps:{size:"md"}}),{defineMultiStyleConfig:rT,definePartsStyle:rE}=(0,z.D)(eo.keys),rz=rT({baseStyle:rE({container:{},label:(0,z.k0)({fontWeight:"medium"}),helpText:(0,z.k0)({opacity:.8,marginBottom:"2"}),number:(0,z.k0)({verticalAlign:"baseline",fontWeight:"semibold"}),icon:(0,z.k0)({marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"})}),sizes:{md:rE({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),rM=(0,z.gJ)("kbd-bg"),rD=(0,z.k0)({[rM.variable]:"colors.gray.100",_dark:{[rM.variable]:"colors.whiteAlpha.100"},bg:rM.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}),rF=(0,z.fj)({baseStyle:rD}),rR=(0,z.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}),rV=(0,z.fj)({baseStyle:rR}),{defineMultiStyleConfig:rj,definePartsStyle:rB}=(0,z.D)(G.keys),r$=rj({baseStyle:rB({icon:(0,z.k0)({marginEnd:"2",display:"inline",verticalAlign:"text-bottom"})})}),{defineMultiStyleConfig:rL,definePartsStyle:rW}=(0,z.D)(K.keys),rI=(0,z.gJ)("menu-bg"),rN=(0,z.gJ)("menu-shadow"),rO=(0,z.k0)({[rI.variable]:"#fff",[rN.variable]:"shadows.sm",_dark:{[rI.variable]:"colors.gray.700",[rN.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:rI.reference,boxShadow:rN.reference}),rH=(0,z.k0)({py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[rI.variable]:"colors.gray.100",_dark:{[rI.variable]:"colors.whiteAlpha.100"}},_active:{[rI.variable]:"colors.gray.200",_dark:{[rI.variable]:"colors.whiteAlpha.200"}},_expanded:{[rI.variable]:"colors.gray.100",_dark:{[rI.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:rI.reference}),rU=(0,z.k0)({mx:4,my:2,fontWeight:"semibold",fontSize:"sm"}),rq=(0,z.k0)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0}),rJ=(0,z.k0)({opacity:.6}),rY=(0,z.k0)({border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}),rX=rL({baseStyle:rW({button:(0,z.k0)({transitionProperty:"common",transitionDuration:"normal"}),list:rO,item:rH,groupTitle:rU,icon:rq,command:rJ,divider:rY})}),{defineMultiStyleConfig:rG,definePartsStyle:rK}=(0,z.D)(Z.keys),rZ=(0,z.gJ)("modal-bg"),rQ=(0,z.gJ)("modal-shadow"),r0=(0,z.k0)({bg:"blackAlpha.600",zIndex:"modal"}),r1=(0,z.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===r?"hidden":"auto",overscrollBehaviorY:"none"}}),r2=(0,z.k0)(e=>{let{isCentered:t,scrollBehavior:r}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===r?"calc(100% - 7.5rem)":void 0,[rZ.variable]:"colors.white",[rQ.variable]:"shadows.lg",_dark:{[rZ.variable]:"colors.gray.700",[rQ.variable]:"shadows.dark-lg"},bg:rZ.reference,boxShadow:rQ.reference}}),r5=(0,z.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),r3=(0,z.k0)({position:"absolute",top:"2",insetEnd:"3"}),r6=(0,z.k0)(e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}}),r4=(0,z.k0)({px:"6",py:"4"});function r9(e){return"full"===e?rK({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):rK({dialog:{maxW:e}})}var r8=rG({baseStyle:rK(e=>({overlay:r0,dialogContainer:tZ(r1,e),dialog:tZ(r2,e),header:r5,closeButton:r3,body:tZ(r6,e),footer:r4})),sizes:{xs:r9("xs"),sm:r9("sm"),md:r9("md"),lg:r9("lg"),xl:r9("xl"),"2xl":r9("2xl"),"3xl":r9("3xl"),"4xl":r9("4xl"),"5xl":r9("5xl"),"6xl":r9("6xl"),full:r9("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:r7,definePartsStyle:ie}=(0,z.D)(Q.keys),it=ed("number-input-stepper-width"),ir=ed("number-input-input-padding"),ii=ek(it).add("0.5rem").toString(),io=ed("number-input-bg"),ia=ed("number-input-color"),is=ed("number-input-border-color"),il=(0,z.k0)({[it.variable]:"sizes.6",[ir.variable]:ii}),iu=(0,z.k0)(e=>{var t,r;return null!=(r=null==(t=tZ(tF.baseStyle,e))?void 0:t.field)?r:{}}),ic=(0,z.k0)({width:it.reference}),ih=(0,z.k0)({borderStart:"1px solid",borderStartColor:is.reference,color:ia.reference,bg:io.reference,[ia.variable]:"colors.chakra-body-text",[is.variable]:"colors.chakra-border-color",_dark:{[ia.variable]:"colors.whiteAlpha.800",[is.variable]:"colors.whiteAlpha.300"},_active:{[io.variable]:"colors.gray.200",_dark:{[io.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}});function id(e){var t,r,i;let n=null==(t=tF.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},a=null!=(i=null==(r=n.field)?void 0:r.fontSize)?i:"md",s=C.fontSizes[a];return ie({field:{...n.field,paddingInlineEnd:ir.reference,verticalAlign:"top"},stepper:{fontSize:ek(s).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var ip=r7({baseStyle:ie(e=>{var t;return{root:il,field:null!=(t=tZ(iu,e))?t:{},stepperGroup:ic,stepper:ih}}),sizes:{xs:id("xs"),sm:id("sm"),md:id("md"),lg:id("lg")},variants:tF.variants,defaultProps:tF.defaultProps}),im=(0,z.k0)({...null==(S=tF.baseStyle)?void 0:S.field,textAlign:"center"}),ig={lg:(0,z.k0)({fontSize:"lg",w:12,h:12,borderRadius:"md"}),md:(0,z.k0)({fontSize:"md",w:10,h:10,borderRadius:"md"}),sm:(0,z.k0)({fontSize:"sm",w:8,h:8,borderRadius:"sm"}),xs:(0,z.k0)({fontSize:"xs",w:6,h:6,borderRadius:"sm"})},iv={outline:(0,z.k0)(e=>{var t,r,i;return null!=(i=null==(r=tZ(null==(t=tF.variants)?void 0:t.outline,e))?void 0:r.field)?i:{}}),flushed:(0,z.k0)(e=>{var t,r,i;return null!=(i=null==(r=tZ(null==(t=tF.variants)?void 0:t.flushed,e))?void 0:r.field)?i:{}}),filled:(0,z.k0)(e=>{var t,r,i;return null!=(i=null==(r=tZ(null==(t=tF.variants)?void 0:t.filled,e))?void 0:r.field)?i:{}}),unstyled:null!=(A=null==(P=tF.variants)?void 0:P.unstyled.field)?A:{}},ib=(0,z.fj)({baseStyle:im,sizes:ig,variants:iv,defaultProps:tF.defaultProps}),{defineMultiStyleConfig:iy,definePartsStyle:ix}=(0,z.D)(ee.keys),ik=ed("popper-bg"),iw=ed("popper-arrow-bg"),iS=ed("popper-arrow-shadow-color"),iP=iy({baseStyle:ix({popper:(0,z.k0)({zIndex:10}),content:(0,z.k0)({[ik.variable]:"colors.white",bg:ik.reference,[iw.variable]:ik.reference,[iS.variable]:"colors.gray.200",_dark:{[ik.variable]:"colors.gray.700",[iS.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}}),header:(0,z.k0)({px:3,py:2,borderBottomWidth:"1px"}),body:(0,z.k0)({px:3,py:2}),footer:(0,z.k0)({px:3,py:2,borderTopWidth:"1px"}),closeButton:(0,z.k0)({position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2})})}),{definePartsStyle:iA,defineMultiStyleConfig:iC}=(0,z.D)(U.keys),i_=(0,z.gJ)("drawer-bg"),iT=(0,z.gJ)("drawer-box-shadow");function iE(e){return"full"===e?iA({dialog:{maxW:"100vw",h:"100vh"}}):iA({dialog:{maxW:e}})}var iz=(0,z.k0)({bg:"blackAlpha.600",zIndex:"modal"}),iM=(0,z.k0)({display:"flex",zIndex:"modal",justifyContent:"center"}),iD=(0,z.k0)(e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[i_.variable]:"colors.white",[iT.variable]:"shadows.lg",_dark:{[i_.variable]:"colors.gray.700",[iT.variable]:"shadows.dark-lg"},bg:i_.reference,boxShadow:iT.reference}}),iF=(0,z.k0)({px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"}),iR=(0,z.k0)({position:"absolute",top:"2",insetEnd:"3"}),iV=(0,z.k0)({px:"6",py:"2",flex:"1",overflow:"auto"}),ij=(0,z.k0)({px:"6",py:"4"}),iB=iC({baseStyle:iA(e=>({overlay:iz,dialogContainer:iM,dialog:tZ(iD,e),header:iF,closeButton:iR,body:iV,footer:ij})),sizes:{xs:iE("xs"),sm:iE("md"),md:iE("lg"),lg:iE("2xl"),xl:iE("4xl"),full:iE("full")},defaultProps:{size:"xs"}}),{definePartsStyle:i$,defineMultiStyleConfig:iL}=(0,z.D)(q.keys),iW=iL({baseStyle:i$({preview:(0,z.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"}),input:(0,z.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}),textarea:(0,z.k0)({borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}})})}),{definePartsStyle:iI,defineMultiStyleConfig:iN}=(0,z.D)(J.keys),iO=(0,z.gJ)("form-control-color"),iH=iN({baseStyle:iI({container:{width:"100%",position:"relative"},requiredIndicator:(0,z.k0)({marginStart:"1",[iO.variable]:"colors.red.500",_dark:{[iO.variable]:"colors.red.300"},color:iO.reference}),helperText:(0,z.k0)({mt:"2",[iO.variable]:"colors.gray.600",_dark:{[iO.variable]:"colors.whiteAlpha.600"},color:iO.reference,lineHeight:"normal",fontSize:"sm"})})}),{definePartsStyle:iU,defineMultiStyleConfig:iq}=(0,z.D)(Y.keys),iJ=(0,z.gJ)("form-error-color"),iY=iq({baseStyle:iU({text:(0,z.k0)({[iJ.variable]:"colors.red.500",_dark:{[iJ.variable]:"colors.red.300"},color:iJ.reference,mt:"2",fontSize:"sm",lineHeight:"normal"}),icon:(0,z.k0)({marginEnd:"0.5em",[iJ.variable]:"colors.red.500",_dark:{[iJ.variable]:"colors.red.300"},color:iJ.reference})})}),iX=(0,z.k0)({fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}),iG=(0,z.fj)({baseStyle:iX}),iK=(0,z.k0)({fontFamily:"heading",fontWeight:"bold"}),iZ={"4xl":(0,z.k0)({fontSize:["6xl",null,"7xl"],lineHeight:1}),"3xl":(0,z.k0)({fontSize:["5xl",null,"6xl"],lineHeight:1}),"2xl":(0,z.k0)({fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]}),xl:(0,z.k0)({fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]}),lg:(0,z.k0)({fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]}),md:(0,z.k0)({fontSize:"xl",lineHeight:1.2}),sm:(0,z.k0)({fontSize:"md",lineHeight:1.2}),xs:(0,z.k0)({fontSize:"sm",lineHeight:1.2})},iQ=(0,z.fj)({baseStyle:iK,sizes:iZ,defaultProps:{size:"xl"}}),{defineMultiStyleConfig:i0,definePartsStyle:i1}=(0,z.D)(O.keys),i2=(0,z.gJ)("breadcrumb-link-decor"),i5=i0({baseStyle:i1({link:(0,z.k0)({transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:i2.reference,[i2.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[i2.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}})})}),i3=(0,z.k0)({lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}}),i6=(0,z.k0)(e=>{let{colorScheme:t,theme:r}=e;if("gray"===t)return{color:(0,eF.x)("gray.800","whiteAlpha.900")(e),_hover:{bg:(0,eF.x)("gray.100","whiteAlpha.200")(e)},_active:{bg:(0,eF.x)("gray.200","whiteAlpha.300")(e)}};let i=e5(`${t}.200`,.12)(r),n=e5(`${t}.200`,.24)(r);return{color:(0,eF.x)(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:(0,eF.x)(`${t}.50`,i)(e)},_active:{bg:(0,eF.x)(`${t}.100`,n)(e)}}}),i4=(0,z.k0)(e=>{let{colorScheme:t}=e,r=(0,eF.x)("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?r:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...tZ(i6,e)}}),i9={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},i8=(0,z.k0)(e=>{var t;let{colorScheme:r}=e;if("gray"===r){let t=(0,eF.x)("gray.100","whiteAlpha.200")(e);return{bg:t,color:(0,eF.x)("gray.800","whiteAlpha.900")(e),_hover:{bg:(0,eF.x)("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:(0,eF.x)("gray.300","whiteAlpha.400")(e)}}}let{bg:i=`${r}.500`,color:n="white",hoverBg:o=`${r}.600`,activeBg:a=`${r}.700`}=null!=(t=i9[r])?t:{},s=(0,eF.x)(i,`${r}.200`)(e);return{bg:s,color:(0,eF.x)(n,"gray.800")(e),_hover:{bg:(0,eF.x)(o,`${r}.300`)(e),_disabled:{bg:s}},_active:{bg:(0,eF.x)(a,`${r}.400`)(e)}}}),i7=(0,z.k0)(e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:(0,eF.x)(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:(0,eF.x)(`${t}.700`,`${t}.500`)(e)}}}),ne=(0,z.k0)({bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}),nt={lg:(0,z.k0)({h:"12",minW:"12",fontSize:"lg",px:"6"}),md:(0,z.k0)({h:"10",minW:"10",fontSize:"md",px:"4"}),sm:(0,z.k0)({h:"8",minW:"8",fontSize:"sm",px:"3"}),xs:(0,z.k0)({h:"6",minW:"6",fontSize:"xs",px:"2"})},nr=(0,z.fj)({baseStyle:i3,variants:{ghost:i6,outline:i4,solid:i8,link:i7,unstyled:ne},sizes:nt,defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}}),{definePartsStyle:ni,defineMultiStyleConfig:nn}=(0,z.D)(ec.keys),no=(0,z.gJ)("card-bg"),na=(0,z.gJ)("card-padding"),ns=(0,z.gJ)("card-shadow"),nl=(0,z.gJ)("card-radius"),nu=(0,z.gJ)("card-border-width","0"),nc=(0,z.gJ)("card-border-color"),nh=ni({container:{[no.variable]:"colors.chakra-body-bg",backgroundColor:no.reference,boxShadow:ns.reference,borderRadius:nl.reference,color:"chakra-body-text",borderWidth:nu.reference,borderColor:nc.reference},body:{padding:na.reference,flex:"1 1 0%"},header:{padding:na.reference},footer:{padding:na.reference}}),nd={sm:ni({container:{[nl.variable]:"radii.base",[na.variable]:"space.3"}}),md:ni({container:{[nl.variable]:"radii.md",[na.variable]:"space.5"}}),lg:ni({container:{[nl.variable]:"radii.xl",[na.variable]:"space.7"}})},nf=nn({baseStyle:nh,variants:{elevated:ni({container:{[ns.variable]:"shadows.base",_dark:{[no.variable]:"colors.gray.700"}}}),outline:ni({container:{[nu.variable]:"1px",[nc.variable]:"colors.chakra-border-color"}}),filled:ni({container:{[no.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[na.variable]:0},header:{[na.variable]:0},footer:{[na.variable]:0}}},sizes:nd,defaultProps:{variant:"elevated",size:"md"}}),np=ed("close-button-size"),nm=ed("close-button-bg"),ng=(0,z.k0)({w:[np.reference],h:[np.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[nm.variable]:"colors.blackAlpha.100",_dark:{[nm.variable]:"colors.whiteAlpha.100"}},_active:{[nm.variable]:"colors.blackAlpha.200",_dark:{[nm.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:nm.reference}),nv={lg:(0,z.k0)({[np.variable]:"sizes.10",fontSize:"md"}),md:(0,z.k0)({[np.variable]:"sizes.8",fontSize:"xs"}),sm:(0,z.k0)({[np.variable]:"sizes.6",fontSize:"2xs"})},nb=(0,z.fj)({baseStyle:ng,sizes:nv,defaultProps:{size:"md"}}),{variants:ny,defaultProps:nx}=th,nk=(0,z.k0)({fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:ta.bg.reference,color:ta.color.reference,boxShadow:ta.shadow.reference}),nw=(0,z.fj)({baseStyle:nk,variants:ny,defaultProps:nx}),nS=(0,z.k0)({w:"100%",mx:"auto",maxW:"prose",px:"4"}),nP=(0,z.fj)({baseStyle:nS}),nA=(0,z.k0)({opacity:.6,borderColor:"inherit"}),nC=(0,z.k0)({borderStyle:"solid"}),n_=(0,z.k0)({borderStyle:"dashed"}),nT=(0,z.fj)({baseStyle:nA,variants:{solid:nC,dashed:n_},defaultProps:{variant:"solid"}}),{definePartsStyle:nE,defineMultiStyleConfig:nz}=(0,z.D)(W.keys),nM=nz({baseStyle:nE({container:(0,z.k0)({borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}}),button:(0,z.k0)({transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"}),panel:(0,z.k0)({pt:"2",px:"4",pb:"5"}),icon:(0,z.k0)({fontSize:"1.25em"})})}),{definePartsStyle:nD,defineMultiStyleConfig:nF}=(0,z.D)(I.keys),nR=(0,z.gJ)("alert-fg"),nV=(0,z.gJ)("alert-bg");function nj(e){let{theme:t,colorScheme:r}=e,i=e5(`${r}.200`,.16)(t);return{light:`colors.${r}.100`,dark:i}}var nB=nF({baseStyle:nD({container:{bg:nV.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:nR.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:nR.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:nD(e=>{let{colorScheme:t}=e,r=nj(e);return{container:{[nR.variable]:`colors.${t}.600`,[nV.variable]:r.light,_dark:{[nR.variable]:`colors.${t}.200`,[nV.variable]:r.dark}}}}),"left-accent":nD(e=>{let{colorScheme:t}=e,r=nj(e);return{container:{[nR.variable]:`colors.${t}.600`,[nV.variable]:r.light,_dark:{[nR.variable]:`colors.${t}.200`,[nV.variable]:r.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:nR.reference}}}),"top-accent":nD(e=>{let{colorScheme:t}=e,r=nj(e);return{container:{[nR.variable]:`colors.${t}.600`,[nV.variable]:r.light,_dark:{[nR.variable]:`colors.${t}.200`,[nV.variable]:r.dark},pt:"2",borderTopWidth:"4px",borderTopColor:nR.reference}}}),solid:nD(e=>{let{colorScheme:t}=e;return{container:{[nR.variable]:"colors.white",[nV.variable]:`colors.${t}.600`,_dark:{[nR.variable]:"colors.gray.900",[nV.variable]:`colors.${t}.200`},color:nR.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:n$,defineMultiStyleConfig:nL}=(0,z.D)(N.keys),nW=(0,z.gJ)("avatar-border-color"),nI=(0,z.gJ)("avatar-bg"),nN=(0,z.gJ)("avatar-font-size"),nO=(0,z.gJ)("avatar-size"),nH=(0,z.k0)({borderRadius:"full",border:"0.2em solid",borderColor:nW.reference,[nW.variable]:"white",_dark:{[nW.variable]:"colors.gray.800"}}),nU=(0,z.k0)({bg:nI.reference,fontSize:nN.reference,width:nO.reference,height:nO.reference,lineHeight:"1",[nI.variable]:"colors.gray.200",_dark:{[nI.variable]:"colors.whiteAlpha.400"}}),nq=(0,z.k0)(e=>{let{name:t,theme:r}=e,i=t?function(e){var t;let r=e6();return!e||eZ(e)?r:e.string&&e.colors?function(e,t){let r=0;if(0===e.length)return t[0];for(let t=0;t<e.length;t+=1)r=e.charCodeAt(t)+((r<<5)-r),r&=r;return r=(r%t.length+t.length)%t.length,t[r]}(e.string,e.colors):e.string&&!e.colors?function(e){let t=0;if(0===e.length)return t.toString();for(let r=0;r<e.length;r+=1)t=e.charCodeAt(r)+((t<<5)-t),t&=t;let r="#";for(let e=0;e<3;e+=1){let i=t>>8*e&255;r+=`00${i.toString(16)}`.substr(-2)}return r}(e.string):e.colors&&!e.string?(t=e.colors)[Math.floor(Math.random()*t.length)]:r}({string:t}):"colors.gray.400",n=e2(i)(r),o="white";return n||(o="gray.800"),{bg:nI.reference,fontSize:nN.reference,color:o,borderColor:nW.reference,verticalAlign:"top",width:nO.reference,height:nO.reference,"&:not([data-loaded])":{[nI.variable]:i},[nW.variable]:"colors.white",_dark:{[nW.variable]:"colors.gray.800"}}}),nJ=(0,z.k0)({fontSize:nN.reference,lineHeight:"1"});function nY(e){let t="100%"!==e?T[e]:void 0;return n$({container:{[nO.variable]:null!=t?t:e,[nN.variable]:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{[nO.variable]:null!=t?t:e,[nN.variable]:`calc(${null!=t?t:e} / 2.5)`}})}var nX=nL({baseStyle:n$(e=>({badge:tZ(nH,e),excessLabel:tZ(nU,e),container:tZ(nq,e),label:nJ})),sizes:{"2xs":nY(4),xs:nY(6),sm:nY(8),md:nY(12),lg:nY(16),xl:nY(24),"2xl":nY(32),full:nY("100%")},defaultProps:{size:"md"}}),nG={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},nK={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},nZ={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},nQ={semanticTokens:nG,direction:"ltr",...E,components:{Accordion:nM,Alert:nB,Avatar:nX,Badge:th,Breadcrumb:i5,Button:nr,Checkbox:t4,CloseButton:nb,Code:nw,Container:nP,Divider:nT,Drawer:iB,Editable:iW,Form:iH,FormError:iY,FormLabel:iG,Heading:iQ,Input:tF,Kbd:rF,Link:rV,List:r$,Menu:rX,Modal:r8,NumberInput:ip,PinInput:ib,Popover:iP,Progress:tG,Radio:re,Select:ra,Skeleton:rc,SkipLink:rf,Slider:rS,Spinner:r_,Stat:rz,Switch:eD,Table:e$,Tabs:to,Tag:tS,Textarea:tB,Tooltip:tN,Card:nf,Stepper:$},styles:nK,config:nZ},n0={semanticTokens:nG,direction:"ltr",components:{},...E,styles:nK,config:nZ}},74353:function(e,t,r){"use strict";r.d(t,{M:function(){return b}});var i=r(84796),n=r(14212),o=r(91112);function a(){let e=(0,n.useRef)(!1);return(0,o.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var s=r(1973),l=r(16222),u=r(63839),c=r(65750);class h extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t}){let r=(0,n.useId)(),o=(0,n.useRef)(null),a=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:s}=(0,n.useContext)(c._);return(0,n.useInsertionEffect)(()=>{let{width:e,height:i,top:n,left:l}=a.current;if(t||!o.current||!e||!i)return;o.current.dataset.motionPopId=r;let u=document.createElement("style");return s&&(u.nonce=s),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
          [data-motion-pop-id="${r}"] {
            position: absolute !important;
            width: ${e}px !important;
            height: ${i}px !important;
            top: ${n}px !important;
            left: ${l}px !important;
          }
        `),()=>{document.head.removeChild(u)}},[t]),(0,i.jsx)(h,{isPresent:t,childRef:o,sizeRef:a,children:n.cloneElement(e,{ref:o})})}let f=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:a,presenceAffectsLayout:s,mode:c})=>{let h=(0,u.h)(p),f=(0,n.useId)(),m=(0,n.useMemo)(()=>({id:f,initial:t,isPresent:r,custom:a,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;o&&o()},register:e=>(h.set(e,!1),()=>h.delete(e))}),s?[Math.random()]:[r]);return(0,n.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[r]),n.useEffect(()=>{r||h.size||!o||o()},[r]),"popLayout"===c&&(e=(0,i.jsx)(d,{isPresent:r,children:e})),(0,i.jsx)(l.O.Provider,{value:m,children:e})};function p(){return new Map}var m=r(15601),g=r(23828);let v=e=>e.key||"",b=({children:e,custom:t,initial:r=!0,onExitComplete:l,exitBeforeEnter:u,presenceAffectsLayout:c=!0,mode:h="sync"})=>{var d;(0,g.k)(!u,"Replace exitBeforeEnter with mode='wait'");let p=(0,n.useContext)(m.p).forceRender||function(){let e=a(),[t,r]=(0,n.useState)(0),i=(0,n.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,n.useCallback)(()=>s.Wi.postRender(i),[i]),t]}()[0],b=a(),y=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),x=y,k=(0,n.useRef)(new Map).current,w=(0,n.useRef)(x),S=(0,n.useRef)(new Map).current,P=(0,n.useRef)(!0);if((0,o.L)(()=>{P.current=!1,function(e,t){e.forEach(e=>{let r=v(e);t.set(r,e)})}(y,S),w.current=x}),d=()=>{P.current=!0,S.clear(),k.clear()},(0,n.useEffect)(()=>()=>d(),[]),P.current)return(0,i.jsx)(i.Fragment,{children:x.map(e=>(0,i.jsx)(f,{isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:c,mode:h,children:e},v(e)))});x=[...x];let A=w.current.map(v),C=y.map(v),_=A.length;for(let e=0;e<_;e++){let t=A[e];-1!==C.indexOf(t)||k.has(t)||k.set(t,void 0)}return"wait"===h&&k.size&&(x=[]),k.forEach((e,r)=>{if(-1!==C.indexOf(r))return;let n=S.get(r);if(!n)return;let o=A.indexOf(r),a=e;a||(a=(0,i.jsx)(f,{isPresent:!1,onExitComplete:()=>{k.delete(r);let e=Array.from(S.keys()).filter(e=>!C.includes(e));if(e.forEach(e=>S.delete(e)),w.current=y.filter(t=>{let i=v(t);return i===r||e.includes(i)}),!k.size){if(!1===b.current)return;p(),l&&l()}},custom:t,presenceAffectsLayout:c,mode:h,children:n},v(n)),k.set(r,a)),x.splice(o,0,a)}),x=x.map(e=>{let t=e.key;return k.has(t)?e:(0,i.jsx)(f,{isPresent:!0,presenceAffectsLayout:c,mode:h,children:e},v(e))}),(0,i.jsx)(i.Fragment,{children:k.size?x:x.map(e=>(0,n.cloneElement)(e))})}},87500:function(e,t,r){"use strict";r.d(t,{hO:function(){return a},oO:function(){return o}});var i=r(14212),n=r(16222);function o(){let e=(0,i.useContext)(n.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:o}=e,a=(0,i.useId)();return(0,i.useEffect)(()=>o(a),[]),!t&&r?[!1,()=>r&&r(a)]:[!0]}function a(){var e;return null===(e=(0,i.useContext)(n.O))||e.isPresent}},15601:function(e,t,r){"use strict";r.d(t,{p:function(){return i}});let i=(0,r(14212).createContext)({})},65750:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});let i=(0,r(14212).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},16222:function(e,t,r){"use strict";r.d(t,{O:function(){return i}});let i=(0,r(14212).createContext)(null)},80602:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var i=r(74971);class n{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let o=["read","resolveKeyframes","update","preRender","render","postRender"];function a(e,t){let r=!1,a=!0,s={delta:0,timestamp:0,isProcessing:!1},l=o.reduce((e,t)=>(e[t]=function(e){let t=new n,r=new n,i=0,o=!1,a=!1,s=new WeakSet,l={schedule:(e,n=!1,a=!1)=>{let l=a&&o,u=l?t:r;return n&&s.add(e),u.add(e)&&l&&o&&(i=t.order.length),e},cancel:e=>{r.remove(e),s.delete(e)},process:n=>{if(o){a=!0;return}if(o=!0,[t,r]=[r,t],r.clear(),i=t.order.length)for(let r=0;r<i;r++){let i=t.order[r];s.has(i)&&(l.schedule(i),e()),i(n)}o=!1,a&&(a=!1,l.process(n))}};return l}(()=>r=!0),e),{}),u=e=>{l[e].process(s)},c=()=>{let n=i.c.useManualTiming?s.timestamp:performance.now();r=!1,s.delta=a?1e3/60:Math.max(Math.min(n-s.timestamp,40),1),s.timestamp=n,s.isProcessing=!0,o.forEach(u),s.isProcessing=!1,r&&t&&(a=!1,e(c))},h=()=>{r=!0,a=!0,s.isProcessing||e(c)};return{schedule:o.reduce((e,t)=>{let i=l[t];return e[t]=(e,t=!1,n=!1)=>(r||h(),i.schedule(e,t,n)),e},{}),cancel:e=>o.forEach(t=>l[t].cancel(e)),state:s,steps:l}}},1973:function(e,t,r){"use strict";r.d(t,{Pn:function(){return o},S6:function(){return s},Wi:function(){return n},frameData:function(){return a}});var i=r(9385);let{schedule:n,cancel:o,state:a,steps:s}=(0,r(80602).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},72607:function(e,t,r){"use strict";let i;r.d(t,{X:function(){return s}});var n=r(74971),o=r(1973);function a(){i=void 0}let s={now:()=>(void 0===i&&s.set(o.frameData.isProcessing||n.c.useManualTiming?o.frameData.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(a)}}},52214:function(e,t,r){"use strict";r.d(t,{E:function(){return nb}});var i,n=r(84796),o=r(14212),a=r(65750);let s=(0,o.createContext)({});var l=r(16222),u=r(91112);let c=(0,o.createContext)({strict:!1}),h=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),d="data-"+h("framerAppearId"),{schedule:f,cancel:p}=(0,r(80602).Z)(queueMicrotask,!1);function m(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function g(e){return"string"==typeof e||Array.isArray(e)}function v(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let b=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],y=["initial",...b];function x(e){return v(e.animate)||y.some(t=>g(e[t]))}function k(e){return!!(x(e)||e.variants)}function w(e){return Array.isArray(e)?e.join(" "):e}let S={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},P={};for(let e in S)P[e]={isEnabled:t=>S[e].some(e=>!!t[e])};var A=r(6343),C=r(15601);let _=(0,o.createContext)({}),T=Symbol.for("motionComponentSymbol"),E=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function z(e){if("string"!=typeof e||e.includes("-"));else if(E.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let M={},D=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],F=new Set(D);function R(e,{layout:t,layoutId:r}){return F.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!M[e]||"opacity"===e)}let V=e=>!!(e&&e.getVelocity),j={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},B=D.length;var $=r(29085);let L=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var W=r(50449),I=r(88948);let N={...W.Rx,transform:Math.round},O={borderWidth:I.px,borderTopWidth:I.px,borderRightWidth:I.px,borderBottomWidth:I.px,borderLeftWidth:I.px,borderRadius:I.px,radius:I.px,borderTopLeftRadius:I.px,borderTopRightRadius:I.px,borderBottomRightRadius:I.px,borderBottomLeftRadius:I.px,width:I.px,maxWidth:I.px,height:I.px,maxHeight:I.px,size:I.px,top:I.px,right:I.px,bottom:I.px,left:I.px,padding:I.px,paddingTop:I.px,paddingRight:I.px,paddingBottom:I.px,paddingLeft:I.px,margin:I.px,marginTop:I.px,marginRight:I.px,marginBottom:I.px,marginLeft:I.px,rotate:I.RW,rotateX:I.RW,rotateY:I.RW,rotateZ:I.RW,scale:W.bA,scaleX:W.bA,scaleY:W.bA,scaleZ:W.bA,skew:I.RW,skewX:I.RW,skewY:I.RW,distance:I.px,translateX:I.px,translateY:I.px,translateZ:I.px,x:I.px,y:I.px,z:I.px,perspective:I.px,transformPerspective:I.px,opacity:W.Fq,originX:I.$C,originY:I.$C,originZ:I.px,zIndex:N,backgroundPositionX:I.px,backgroundPositionY:I.px,fillOpacity:W.Fq,strokeOpacity:W.Fq,numOctaves:N};function H(e,t,r,i){let{style:n,vars:o,transform:a,transformOrigin:s}=e,l=!1,u=!1,c=!0;for(let e in t){let r=t[e];if((0,$.f)(e)){o[e]=r;continue}let i=O[e],h=L(r,i);if(F.has(e)){if(l=!0,a[e]=h,!c)continue;r!==(i.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,s[e]=h):n[e]=h}if(!t.transform&&(l||i?n.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,n){let o="";for(let t=0;t<B;t++){let r=D[t];if(void 0!==e[r]){let t=j[r]||r;o+=`${t}(${e[r]}) `}}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),n?o=n(e,i?"":o):r&&i&&(o="none"),o}(e.transform,r,c,i):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=s;n.transformOrigin=`${e} ${t} ${r}`}}let U=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function q(e,t,r){for(let i in t)V(t[i])||R(i,r)||(e[i]=t[i])}let J=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Y(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||J.has(e)}let X=e=>!Y(e);try{(i=require("@emotion/is-prop-valid").default)&&(X=e=>e.startsWith("on")?!Y(e):i(e))}catch(e){}function G(e,t,r){return"string"==typeof e?e:I.px.transform(t+r*e)}let K={offset:"stroke-dashoffset",array:"stroke-dasharray"},Z={offset:"strokeDashoffset",array:"strokeDasharray"};function Q(e,{attrX:t,attrY:r,attrScale:i,originX:n,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,h,d){if(H(e,u,c,d),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p,dimensions:m}=e;f.transform&&(m&&(p.transform=f.transform),delete f.transform),m&&(void 0!==n||void 0!==o||p.transform)&&(p.transformOrigin=function(e,t,r){let i=G(t,e.x,e.width),n=G(r,e.y,e.height);return`${i} ${n}`}(m,void 0!==n?n:.5,void 0!==o?o:.5)),void 0!==t&&(f.x=t),void 0!==r&&(f.y=r),void 0!==i&&(f.scale=i),void 0!==a&&function(e,t,r=1,i=0,n=!0){e.pathLength=1;let o=n?K:Z;e[o.offset]=I.px.transform(-i);let a=I.px.transform(t),s=I.px.transform(r);e[o.array]=`${a} ${s}`}(f,a,s,l,!1)}let ee=()=>({...U(),attrs:{}}),et=e=>"string"==typeof e&&"svg"===e.toLowerCase();function er(e,{style:t,vars:r},i,n){for(let o in Object.assign(e.style,t,n&&n.getProjectionStyles(i)),r)e.style.setProperty(o,r[o])}let ei=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function en(e,t,r,i){for(let r in er(e,t,void 0,i),t.attrs)e.setAttribute(ei.has(r)?r:h(r),t.attrs[r])}function eo(e,t,r){var i;let{style:n}=e,o={};for(let a in n)(V(n[a])||t.style&&V(t.style[a])||R(a,e)||(null===(i=null==r?void 0:r.getValue(a))||void 0===i?void 0:i.liveStyle)!==void 0)&&(o[a]=n[a]);return o}function ea(e,t,r){let i=eo(e,t,r);for(let r in e)(V(e[r])||V(t[r]))&&(i[-1!==D.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return i}function es(e){let t=[{},{}];return null==e||e.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function el(e,t,r,i){if("function"==typeof t){let[n,o]=es(i);t=t(void 0!==r?r:e.custom,n,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,o]=es(i);t=t(void 0!==r?r:e.custom,n,o)}return t}var eu=r(63839);let ec=e=>Array.isArray(e),eh=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),ed=e=>ec(e)?e[e.length-1]||0:e;function ef(e){let t=V(e)?e.get():e;return eh(t)?t.toValue():t}let ep=e=>(t,r)=>{let i=(0,o.useContext)(s),n=(0,o.useContext)(l.O),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,n,o){let a={latestValues:function(e,t,r,i){let n={},o=i(e,{});for(let e in o)n[e]=ef(o[e]);let{initial:a,animate:s}=e,l=x(e),u=k(e);t&&u&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let c=!!r&&!1===r.initial,h=(c=c||!1===a)?s:a;return h&&"boolean"!=typeof h&&!v(h)&&(Array.isArray(h)?h:[h]).forEach(t=>{let r=el(e,t);if(!r)return;let{transitionEnd:i,transition:o,...a}=r;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let e in i)n[e]=i[e]}),n}(i,n,o,e),renderState:t()};return r&&(a.mount=e=>r(i,e,a)),a})(e,t,i,n);return r?a():(0,eu.h)(a)};var em=r(1973);let eg={useVisualState:ep({scrapeMotionValuesFromProps:ea,createRenderState:ee,onMount:(e,t,{renderState:r,latestValues:i})=>{em.Wi.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),em.Wi.render(()=>{Q(r,i,{enableHardwareAcceleration:!1},et(t.tagName),e.transformTemplate),en(t,r)})}})},ev={useVisualState:ep({scrapeMotionValuesFromProps:eo,createRenderState:U})};function eb(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}let ey=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ex(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}let ek=e=>t=>ey(t)&&e(t,ex(t));function ew(e,t,r,i){return eb(e,t,ek(r),i)}var eS=r(20893);function eP(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eA=eP("dragHorizontal"),eC=eP("dragVertical");function e_(e){let t=!1;if("y"===e)t=eC();else if("x"===e)t=eA();else{let e=eA(),r=eC();e&&r?t=()=>{e(),r()}:(e&&e(),r&&r())}return t}function eT(){let e=e_(!0);return!e||(e(),!1)}class eE{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ez(e,t){let r=t?"onHoverStart":"onHoverEnd";return ew(e.current,t?"pointerenter":"pointerleave",(i,n)=>{if("touch"===i.pointerType||eT())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t);let a=o[r];a&&em.Wi.postRender(()=>a(i,n))},{passive:!e.getProps()[r]})}class eM extends eE{mount(){this.unmount=(0,eS.z)(ez(this.node,!0),ez(this.node,!1))}unmount(){}}class eD extends eE{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eS.z)(eb(this.node.current,"focus",()=>this.onFocus()),eb(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eF=(e,t)=>!!t&&(e===t||eF(e,t.parentElement));var eR=r(9385);function eV(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,ex(r))}class ej extends eE{constructor(){super(...arguments),this.removeStartListeners=eR.Z,this.removeEndListeners=eR.Z,this.removeAccessibleListeners=eR.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),i=ew(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:i,globalTapTarget:n}=this.node.getProps(),o=n||eF(this.node.current,e.target)?r:i;o&&em.Wi.update(()=>o(e,t))},{passive:!(r.onTap||r.onPointerUp)}),n=ew(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=(0,eS.z)(i,n),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=eb(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eb(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&eV("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&em.Wi.postRender(()=>r(e,t))})}),eV("down",(e,t)=>{this.startPress(e,t)}))}),t=eb(this.node.current,"blur",()=>{this.isPressing&&eV("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,eS.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&em.Wi.postRender(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eT()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&em.Wi.postRender(()=>r(e,t))}mount(){let e=this.node.getProps(),t=ew(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=eb(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,eS.z)(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let eB=new WeakMap,e$=new WeakMap,eL=e=>{let t=eB.get(e.target);t&&t(e)},eW=e=>{e.forEach(eL)},eI={some:0,all:1};class eN extends eE{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:i="some",once:n}=e,o={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:eI[i]};return function(e,t,r){let i=function({root:e,...t}){let r=e||document;e$.has(r)||e$.set(r,{});let i=e$.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(eW,{root:e,...t})),i[n]}(t);return eB.set(e,r),i.observe(e),()=>{eB.delete(e),i.unobserve(e)}}(this.node.current,o,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),o=t?r:i;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}function eO(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function eH(e,t,r){let i=e.getProps();return el(i,t,void 0!==r?r:i.custom,e)}let eU=e=>1e3*e,eq=e=>e/1e3,eJ={type:"spring",stiffness:500,damping:25,restSpeed:10},eY=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),eX={type:"keyframes",duration:.8},eG={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eK=(e,{keyframes:t})=>t.length>2?eX:F.has(e)?e.startsWith("scale")?eY(t[1]):eJ:eG;function eZ(e,t){return e[t]||e.default||e}var eQ=r(74971);let e0={current:!1},e1=e=>null!==e;function e2(e,{repeat:t,repeatType:r="loop"},i){let n=e.filter(e1),o=t&&"loop"!==r&&t%2==1?0:n.length-1;return o&&void 0!==i?i:n[o]}var e5=r(72607);let e3=e=>/^0[^.\s]+$/u.test(e);var e6=r(23828);let e4=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),e9=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,e8=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),e7=e=>e===W.Rx||e===I.px,te=(e,t)=>parseFloat(e.split(", ")[t]),tt=(e,t)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/u);if(n)return te(n[1],t);{let t=i.match(/^matrix\((.+)\)$/u);return t?te(t[1],e):0}},tr=new Set(["x","y","z"]),ti=D.filter(e=>!tr.has(e)),tn={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:tt(4,13),y:tt(5,14)};tn.translateX=tn.x,tn.translateY=tn.y;let to=e=>t=>t.test(e),ta=[W.Rx,I.px,I.aQ,I.RW,I.vw,I.vh,{test:e=>"auto"===e,parse:e=>e}],ts=e=>ta.find(to(e)),tl=new Set,tu=!1,tc=!1;function th(){if(tc){let e=Array.from(tl).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=function(e){let t=[];return ti.forEach(r=>{let i=e.getValue(r);void 0!==i&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t}(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{var i;null===(i=e.getValue(t))||void 0===i||i.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tc=!1,tu=!1,tl.forEach(e=>e.complete()),tl.clear()}function td(){tl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tc=!0)})}class tf{constructor(e,t,r,i,n,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=i,this.element=n,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tl.add(this),tu||(tu=!0,em.Wi.read(td),em.Wi.resolveKeyframes(th))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:i}=this;for(let n=0;n<e.length;n++)if(null===e[n]){if(0===n){let n=null==i?void 0:i.get(),o=e[e.length-1];if(void 0!==n)e[0]=n;else if(r&&t){let i=r.readValue(t,o);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=o),i&&void 0===n&&i.set(e[0])}else e[n]=e[n-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),tl.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tl.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}var tp=r(74299),tm=r(73323);let tg=new Set(["brightness","contrast","saturate","opacity"]);function tv(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(tm.KP)||[];if(!i)return e;let n=r.replace(i,""),o=tg.has(t)?1:0;return i!==r&&(o*=100),t+"("+o+n+")"}let tb=/\b([a-z-]*)\(.*?\)/gu,ty={...tp.P,getAnimatableNone:e=>{let t=e.match(tb);return t?t.map(tv).join(" "):e}};var tx=r(42939);let tk={...O,color:tx.$,backgroundColor:tx.$,outlineColor:tx.$,fill:tx.$,stroke:tx.$,borderColor:tx.$,borderTopColor:tx.$,borderRightColor:tx.$,borderBottomColor:tx.$,borderLeftColor:tx.$,filter:ty,WebkitFilter:ty},tw=e=>tk[e];function tS(e,t){let r=tw(e);return r!==ty&&(r=tp.P),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let tP=new Set(["auto","none","0"]);class tA extends tf{constructor(e,t,r,i){super(e,t,r,i,null==i?void 0:i.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let i=e[r];if("string"==typeof i&&(i=i.trim(),(0,$.t)(i))){let n=function e(t,r,i=1){(0,e6.k)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,o]=function(e){let t=e9.exec(e);if(!t)return[,];let[,r,i,n]=t;return[`--${null!=r?r:i}`,n]}(t);if(!n)return;let a=window.getComputedStyle(r).getPropertyValue(n);if(a){let e=a.trim();return e4(e)?parseFloat(e):e}return(0,$.t)(o)?e(o,r,i+1):o}(i,t.current);void 0!==n&&(e[r]=n),r===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!e8.has(r)||2!==e.length)return;let[i,n]=e,o=ts(i),a=ts(n);if(o!==a){if(e7(o)&&e7(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var i;("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||e3(i))&&r.push(t)}r.length&&function(e,t,r){let i,n=0;for(;n<e.length&&!i;){let t=e[n];"string"==typeof t&&!tP.has(t)&&(0,tp.V)(t).values.length&&(i=e[n]),n++}if(i&&r)for(let n of t)e[n]=tS(r,i)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tn[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(r,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:i}=this;if(!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let o=i.length-1,a=i[o];i[o]=tn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}function tC(e){let t;return()=>(void 0===t&&(t=e()),t)}let t_=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(tp.P.test(e)||"0"===e)&&!e.startsWith("url("));class tT{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:r,repeat:i,repeatDelay:n,repeatType:o,...a},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(td(),th()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;let{name:r,type:i,velocity:n,delay:o,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,r,i){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=t_(n,t),s=t_(o,t);return(0,e6.K)(a===s,`You are trying to animate ${t} from "${n}" to "${o}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||"spring"===r&&i)}(e,r,i,n)){if(e0.current||!o){null==s||s(e2(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}this.options.duration=0}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}var tE=r(55109);function tz(e,t,r){let i=Math.max(t-5,0);return(0,tE.R)(r-e(i),t-i)}var tM=r(90529);function tD(e,t){return e*Math.sqrt(1-t*t)}let tF=["duration","bounce"],tR=["stiffness","damping","mass"];function tV(e,t){return t.some(t=>void 0!==e[t])}function tj({keyframes:e,restDelta:t,restSpeed:r,...i}){let n;let o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:h,velocity:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!tV(e,tR)&&tV(e,tF)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let n,o;(0,e6.K)(e<=eU(10),"Spring duration must be 10 seconds or less");let a=1-t;a=(0,tM.u)(.05,1,a),e=(0,tM.u)(.01,10,eq(e)),a<1?(n=t=>{let i=t*a,n=i*e;return .001-(i-r)/tD(t,a)*Math.exp(-n)},o=t=>{let i=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=tD(Math.pow(t,2),a);return(i*r+r-o)*Math.exp(-i)*(-n(t)+.001>0?-1:1)/s}):(n=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),o=t=>e*e*(r-t)*Math.exp(-t*e));let s=function(e,t,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(n,o,5/e);if(e=eU(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*i;return{stiffness:t,damping:2*a*Math.sqrt(i*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...i,velocity:-eq(i.velocity||0)}),p=d||0,m=u/(2*Math.sqrt(l*c)),g=a-o,v=eq(Math.sqrt(l/c)),b=5>Math.abs(g);if(r||(r=b?.01:2),t||(t=b?.005:.5),m<1){let e=tD(v,m);n=t=>a-Math.exp(-m*v*t)*((p+m*v*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(1===m)n=e=>a-Math.exp(-v*e)*(g+(p+v*g)*e);else{let e=v*Math.sqrt(m*m-1);n=t=>{let r=Math.exp(-m*v*t),i=Math.min(e*t,300);return a-r*((p+m*v*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}return{calculatedDuration:f&&h||null,next:e=>{let i=n(e);if(f)s.done=e>=h;else{let o=p;0!==e&&(o=m<1?tz(n,e,i):0);let l=Math.abs(o)<=r,u=Math.abs(a-i)<=t;s.done=l&&u}return s.value=s.done?a:i,s}}}function tB({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let h,d;let f=e[0],p={done:!1,value:f},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,v=r*t,b=f+v,y=void 0===a?b:a(b);y!==b&&(v=y-f);let x=e=>-v*Math.exp(-e/i),k=e=>y+x(e),w=e=>{let t=x(e),r=k(e);p.done=Math.abs(t)<=u,p.value=p.done?y:r},S=e=>{m(p.value)&&(h=e,d=tj({keyframes:[p.value,g(p.value)],velocity:tz(k,e,p.value),damping:n,stiffness:o,restDelta:u,restSpeed:c}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,w(e),S(e)),void 0!==h&&e>=h)?d.next(e-h):(t||w(e),p)}}}let t$=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function tL(e,t,r,i){if(e===t&&r===i)return eR.Z;let n=t=>(function(e,t,r,i,n){let o,a;let s=0;do(o=t$(a=t+(r-t)/2,i,n)-e)>0?r=a:t=a;while(Math.abs(o)>1e-7&&++s<12);return a})(t,0,1,e,r);return e=>0===e||1===e?e:t$(n(e),t,i)}let tW=tL(.42,0,1,1),tI=tL(0,0,.58,1),tN=tL(.42,0,.58,1),tO=e=>Array.isArray(e)&&"number"!=typeof e[0],tH=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tU=e=>t=>1-e(1-t),tq=e=>1-Math.sin(Math.acos(e)),tJ=tU(tq),tY=tH(tq),tX=tL(.33,1.53,.69,.99),tG=tU(tX),tK=tH(tG),tZ={linear:eR.Z,easeIn:tW,easeInOut:tN,easeOut:tI,circIn:tq,circInOut:tY,circOut:tJ,backIn:tG,backInOut:tK,backOut:tX,anticipate:e=>(e*=2)<1?.5*tG(e):.5*(2-Math.pow(2,-10*(e-1)))},tQ=e=>{if(Array.isArray(e)){(0,e6.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,i,n]=e;return tL(t,r,i,n)}return"string"==typeof e?((0,e6.k)(void 0!==tZ[e],`Invalid easing type '${e}'`),tZ[e]):e};var t0=r(28489),t1=r(28302);function t2({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){let n=tO(i)?i.map(tQ):tQ(i),o={done:!1,value:t[0]},a=(r&&r.length===t.length?r:(0,t1.Y)(t)).map(t=>t*e),s=(0,t0.s)(a,t,{ease:Array.isArray(n)?n:t.map(()=>n||tN).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}var t5=r(22594);let t3=e=>{let t=({timestamp:t})=>e(t);return{start:()=>em.Wi.update(t,!0),stop:()=>(0,em.Pn)(t),now:()=>em.frameData.isProcessing?em.frameData.timestamp:e5.X.now()}},t6={decay:tB,inertia:tB,tween:t2,keyframes:t2,spring:tj},t4=e=>e/100;class t9 extends tT{constructor({KeyframeResolver:e=tf,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:r,motionValue:i,keyframes:n}=this.options,o=(e,t)=>this.onKeyframesResolved(e,t);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(n,o,r,i):this.resolver=new e(n,o,r,i),this.resolver.scheduleResolve()}initPlayback(e){let t,r;let{type:i="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,l=t6[i]||t2;l!==t2&&"number"!=typeof e[0]&&(t=(0,eS.z)(t4,(0,t5.C)(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,h=c+o;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:h,totalDuration:h*(n+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:i,generator:n,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=r;if(null===this.startTime)return n.next(0);let{delay:h,repeat:d,repeatType:f,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-h*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let b=this.currentTime,y=n;if(d){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,d+1))%2&&("reverse"===f?(r=1-r,p&&(r-=p/c)):"mirror"===f&&(y=o)),b=(0,tM.u)(0,1,r)*c}let x=v?{done:!1,value:s[0]}:y.next(b);a&&(x.value=a(x.value));let{done:k}=x;v||null===l||(k=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let w=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return w&&void 0!==i&&(x.value=e2(s,this.options,i)),m&&m(x.value),w&&this.finish(),x}get duration(){let{resolved:e}=this;return e?eq(e.calculatedDuration):0}get time(){return eq(this.currentTime)}set time(e){e=eU(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=eq(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=t3,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let t8=e=>Array.isArray(e)&&"number"==typeof e[0],t7=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,re={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t7([0,.65,.55,1]),circOut:t7([.55,0,1,.45]),backIn:t7([.31,.01,.66,-.59]),backOut:t7([.33,1.53,.69,.99])};function rt(e){return rr(e)||re.easeOut}function rr(e){if(e)return t8(e)?t7(e):Array.isArray(e)?e.map(rt):re[e]}let ri=tC(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),rn=new Set(["opacity","clipPath","filter","transform"]);class ro extends tT{constructor(e){super(e);let{name:t,motionValue:r,keyframes:i}=this.options;this.resolver=new tA(i,(e,t)=>this.onKeyframesResolved(e,t),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r,i;let{duration:n=300,times:o,ease:a,type:s,motionValue:l,name:u}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(i=this.options).type||"backgroundColor"===i.name||!function e(t){return!!(!t||"string"==typeof t&&t in re||t8(t)||Array.isArray(t)&&t.every(e))}(i.ease)){let{onComplete:t,onUpdate:r,motionValue:i,...l}=this.options,u=function(e,t){let r=new t9({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),i={done:!1,value:e[0]},n=[],o=0;for(;!i.done&&o<2e4;)n.push((i=r.sample(o)).value),o+=10;return{times:void 0,keyframes:n,duration:o-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),n=u.duration,o=u.times,a=u.ease,s="keyframes"}let c=function(e,t,r,{delay:i=0,duration:n=300,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:r};l&&(u.offset=l);let c=rr(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:i,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:n,times:o,ease:a});return c.startTime=e5.X.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{let{onComplete:r}=this.options;l.set(e2(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:o,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return eq(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return eq(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=eU(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return eR.Z;let{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return eR.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:i,type:n,ease:o,times:a}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,...l}=this.options,u=new t9({...l,keyframes:r,duration:i,type:n,ease:o,times:a,isGenerator:!0}),c=eU(this.time);e.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}this.cancel()}}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:o,type:a}=e;return ri()&&r&&rn.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&"mirror"!==n&&0!==o&&"inertia"!==a}}let ra=tC(()=>void 0!==window.ScrollTimeline);class rs{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let r=0;r<this.animations.length;r++)this.animations[r][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(!ra()||!t.attachTimeline)return t.pause(),function(e,t){let r;let i=()=>{let{currentTime:i}=t,n=(null===i?0:i.value)/100;r!==n&&e(n),r=n};return em.Wi.update(i,!0),()=>(0,em.Pn)(i)}(e=>{t.time=t.duration*e},e);t.attachTimeline(e)});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let rl=(e,t,r,i={},n,o)=>a=>{let s=eZ(i,e)||{},l=s.delay||i.delay||0,{elapsed:u=0}=i;u-=eU(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-u,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:o?void 0:n};!function({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(s)&&(c={...c,...eK(e,c)}),c.duration&&(c.duration=eU(c.duration)),c.repeatDelay&&(c.repeatDelay=eU(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(c.duration=0,0!==c.delay||(h=!0)),(e0.current||eQ.c.skipAnimations)&&(h=!0,c.duration=0,c.delay=0),h&&!o&&void 0!==t.get()){let e=e2(c.keyframes,s);if(void 0!==e)return em.Wi.update(()=>{c.onUpdate(e),c.onComplete()}),new rs([])}return!o&&ro.supports(c)?new ro(c):new t9(c)};function ru(e){return!!(V(e)&&e.add)}var rc=r(72069);function rh(e){return e.getProps()[d]}function rd(e,t,{delay:r=0,transitionOverride:i,type:n}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t,u=e.getValue("willChange");i&&(a=i);let c=[],h=n&&e.animationState&&e.animationState.getState()[n];for(let t in l){let i=e.getValue(t,null!==(o=e.latestValues[t])&&void 0!==o?o:null),n=l[t];if(void 0===n||h&&function({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,i}(h,t))continue;let s={delay:r,elapsed:0,...eZ(a||{},t)},d=!1;if(window.HandoffAppearAnimations){let r=rh(e);if(r){let e=window.HandoffAppearAnimations(r,t,i,em.Wi);null!==e&&(s.elapsed=e,d=!0)}}i.start(rl(t,i,n,e.shouldReduceMotion&&F.has(t)?{type:!1}:s,e,d));let f=i.animation;f&&(ru(u)&&(u.add(t),f.then(()=>u.remove(t))),c.push(f))}return s&&Promise.all(c).then(()=>{em.Wi.update(()=>{s&&function(e,t){let{transitionEnd:r={},transition:i={},...n}=eH(e,t)||{};for(let t in n={...n,...r}){let r=ed(n[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,rc.BX)(r))}}(e,s)})}),c}function rf(e,t,r={}){var i;let n=eH(e,t,"exit"===r.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(o=r.transitionOverride);let a=n?()=>Promise.all(rd(e,n,r)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,r=0,i=0,n=1,o){let a=[],s=(e.variantChildren.size-1)*i,l=1===n?(e=0)=>e*i:(e=0)=>s-e*i;return Array.from(e.variantChildren).sort(rp).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(rf(e,t,{...o,delay:r+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,n+i,a,s,r)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(r.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function rp(e,t){return e.sortNodePosition(t)}let rm=[...b].reverse(),rg=b.length;function rv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class rb extends eE{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>rf(e,t,r)));else if("string"==typeof t)i=rf(e,t,r);else{let n="function"==typeof t?eH(e,t,r.custom):t;i=Promise.all(rd(e,n,r))}return i.then(()=>{em.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})})(e,t,r))),r={animate:rv(!0),whileInView:rv(),whileHover:rv(),whileTap:rv(),whileDrag:rv(),whileFocus:rv(),exit:rv()},i=!0,n=t=>(r,i)=>{var n;let o=eH(e,i,"exit"===t?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0);if(o){let{transition:e,transitionEnd:t,...i}=o;r={...r,...i,...t}}return r};function o(o){let a=e.getProps(),s=e.getVariantContext(!0)||{},l=[],u=new Set,c={},h=1/0;for(let t=0;t<rg;t++){var d;let f=rm[t],p=r[f],m=void 0!==a[f]?a[f]:s[f],b=g(m),y=f===o?p.isActive:null;!1===y&&(h=t);let x=m===s[f]&&m!==a[f]&&b;if(x&&i&&e.manuallyAnimateOnMount&&(x=!1),p.protectedKeys={...c},!p.isActive&&null===y||!m&&!p.prevProp||v(m)||"boolean"==typeof m)continue;let k=(d=p.prevProp,("string"==typeof m?m!==d:!!Array.isArray(m)&&!eO(m,d))||f===o&&p.isActive&&!x&&b||t>h&&b),w=!1,S=Array.isArray(m)?m:[m],P=S.reduce(n(f),{});!1===y&&(P={});let{prevResolvedValues:A={}}=p,C={...A,...P},_=t=>{k=!0,u.has(t)&&(w=!0,u.delete(t)),p.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in C){let t=P[e],r=A[e];if(!c.hasOwnProperty(e))(ec(t)&&ec(r)?eO(t,r):t===r)?void 0!==t&&u.has(e)?_(e):p.protectedKeys[e]=!0:null!=t?_(e):u.add(e)}p.prevProp=m,p.prevResolvedValues=P,p.isActive&&(c={...c,...P}),i&&e.blockInitialAnimation&&(k=!1),k&&(!x||w)&&l.push(...S.map(e=>({animation:e,options:{type:f}})))}if(u.size){let t={};u.forEach(r=>{let i=e.getBaseTarget(r),n=e.getValue(r);n&&(n.liveStyle=!0),t[r]=null!=i?i:null}),l.push({animation:t})}let f=!!l.length;return i&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),i=!1,f?t(l):Promise.resolve()}return{animateChanges:o,setActive:function(t,i){var n;if(r[t].isActive===i)return Promise.resolve();null===(n=e.variantChildren)||void 0===n||n.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,i)}),r[t].isActive=i;let a=o(t);for(let e in r)r[e].protectedKeys={};return a},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),v(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let ry=0;class rx extends eE{constructor(){super(...arguments),this.id=ry++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let rk=(e,t)=>Math.abs(e-t);class rw{constructor(e,t,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=rA(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,n=(e=r.offset,t={x:0,y:0},Math.sqrt(rk(e.x,t.x)**2+rk(e.y,t.y)**2)>=3);if(!i&&!n)return;let{point:o}=r,{timestamp:a}=em.frameData;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;i||(s&&s(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=rS(t,this.transformPagePoint),em.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=rA("pointercancel"===e.type?this.lastMoveEventInfo:rS(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,o),i&&i(e,o)},!ey(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=r,this.contextWindow=i||window;let o=rS(ex(e),this.transformPagePoint),{point:a}=o,{timestamp:s}=em.frameData;this.history=[{...a,timestamp:s}];let{onSessionStart:l}=t;l&&l(e,rA(o,this.history)),this.removeListeners=(0,eS.z)(ew(this.contextWindow,"pointermove",this.handlePointerMove),ew(this.contextWindow,"pointerup",this.handlePointerUp),ew(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,em.Pn)(this.updatePoint)}}function rS(e,t){return t?{point:t(e.point)}:e}function rP(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rA({point:e},t){return{point:e,delta:rP(e,rC(t)),offset:rP(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null,n=rC(e);for(;r>=0&&(i=e[r],!(n.timestamp-i.timestamp>eU(.1)));)r--;if(!i)return{x:0,y:0};let o=eq(n.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let a={x:(n.x-i.x)/o,y:(n.y-i.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,0)}}function rC(e){return e[e.length-1]}var r_=r(10097),rT=r(62404);function rE(e){return e.max-e.min}function rz(e,t=0,r=.01){return Math.abs(e-t)<=r}function rM(e,t,r,i=.5){e.origin=i,e.originPoint=(0,rT.t)(t.min,t.max,e.origin),e.scale=rE(r)/rE(t),(rz(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,rT.t)(r.min,r.max,e.origin)-e.originPoint,(rz(e.translate)||isNaN(e.translate))&&(e.translate=0)}function rD(e,t,r,i){rM(e.x,t.x,r.x,i?i.originX:void 0),rM(e.y,t.y,r.y,i?i.originY:void 0)}function rF(e,t,r){e.min=r.min+t.min,e.max=e.min+rE(t)}function rR(e,t,r){e.min=t.min-r.min,e.max=e.min+rE(t)}function rV(e,t,r){rR(e.x,t.x,r.x),rR(e.y,t.y,r.y)}function rj(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function rB(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function r$(e,t,r){return{min:rL(e,t),max:rL(e,r)}}function rL(e,t){return"number"==typeof e?e:e[t]||0}let rW=()=>({translate:0,scale:1,origin:0,originPoint:0}),rI=()=>({x:rW(),y:rW()}),rN=()=>({min:0,max:0}),rO=()=>({x:rN(),y:rN()});function rH(e){return[e("x"),e("y")]}function rU({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function rq(e){return void 0===e||1===e}function rJ({scale:e,scaleX:t,scaleY:r}){return!rq(e)||!rq(t)||!rq(r)}function rY(e){return rJ(e)||rX(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rX(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function rG(e,t,r,i,n){return void 0!==n&&(e=i+n*(e-i)),i+r*(e-i)+t}function rK(e,t=0,r=1,i,n){e.min=rG(e.min,t,r,i,n),e.max=rG(e.max,t,r,i,n)}function rZ(e,{x:t,y:r}){rK(e.x,t.translate,t.scale,t.originPoint),rK(e.y,r.translate,r.scale,r.originPoint)}function rQ(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function r0(e,t){e.min=e.min+t,e.max=e.max+t}function r1(e,t,[r,i,n]){let o=void 0!==t[n]?t[n]:.5,a=(0,rT.t)(e.min,e.max,o);rK(e,t[r],t[i],a,t.scale)}let r2=["x","scaleX","originX"],r5=["y","scaleY","originY"];function r3(e,t){r1(e.x,t,r2),r1(e.y,t,r5)}function r6(e,t){return rU(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}let r4=({current:e})=>e?e.ownerDocument.defaultView:null,r9=new WeakMap;class r8{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=rO(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new rw(e,{onSessionStart:e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(ex(e,"page").point)},onStart:(e,t)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=e_(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rH(e=>{let t=this.getAxisMotionValue(e).get()||0;if(I.aQ.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];if(i){let e=rE(i);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),n&&em.Wi.postRender(()=>n(e,t));let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:o}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:a}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>rH(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:r4(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&em.Wi.postRender(()=>n(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:i}=this.getProps();if(!r||!r7(e,i,this.currentDirection))return;let n=this.getAxisMotionValue(e),o=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:r},i){return void 0!==t&&e<t?e=i?(0,rT.t)(t,e,i.min):Math.max(e,t):void 0!==r&&e>r&&(e=i?(0,rT.t)(r,e,i.max):Math.min(e,r)),e}(o,this.constraints[e],this.elastic[e])),n.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,n=this.constraints;t&&m(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(e,{top:t,left:r,bottom:i,right:n}){return{x:rj(e.x,r,n),y:rj(e.y,t,i)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:r$(e,"left","right"),y:r$(e,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&rH(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!m(t))return!1;let i=t.current;(0,e6.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let o=function(e,t,r){let i=r6(e,r),{scroll:n}=t;return n&&(r0(i.x,n.offset.x),r0(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),a={x:rB((e=n.layout.layoutBox).x,o.x),y:rB(e.y,o.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=rU(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(rH(a=>{if(!r7(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(rl(e,r,0,t,this.visualElement))}stopAnimation(){rH(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){rH(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){rH(t=>{let{drag:r}=this.getProps();if(!r7(t,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(t);if(i&&i.layout){let{min:r,max:o}=i.layout.layoutBox[t];n.set(e[t]-(0,rT.t)(r,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!m(t)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};rH(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();i[e]=function(e,t){let r=.5,i=rE(e),n=rE(t);return n>i?r=(0,r_.Y)(t.min,t.max-i,e.min):i>n&&(r=(0,r_.Y)(e.min,e.max-n,t.min)),(0,tM.u)(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),rH(t=>{if(!r7(t,e,null))return;let r=this.getAxisMotionValue(t),{min:n,max:o}=this.constraints[t];r.set((0,rT.t)(n,o,i[t]))})}addListeners(){if(!this.visualElement.current)return;r9.set(this.visualElement,this);let e=ew(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();m(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();let n=eb(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rH(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:o,dragMomentum:a}}}function r7(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class ie extends eE{constructor(e){super(e),this.removeGroupControls=eR.Z,this.removeListeners=eR.Z,this.controls=new r8(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eR.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let it=e=>(t,r)=>{e&&em.Wi.postRender(()=>e(t,r))};class ir extends eE{constructor(){super(...arguments),this.removePointerDownListener=eR.Z}onPointerDown(e){this.session=new rw(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r4(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:it(e),onStart:it(t),onMove:r,onEnd:(e,t)=>{delete this.session,i&&em.Wi.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=ew(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var ii=r(87500);let io={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ia(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let is={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!I.px.test(e))return e;e=parseFloat(e)}let r=ia(e,t.target.x),i=ia(e,t.target.y);return`${r}% ${i}%`}};class il extends o.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=e;Object.assign(M,ic),n&&(t.group&&t.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),io.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:i,isPresent:n}=this.props,o=r.projection;return o&&(o.isPresent=n,i||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent===n||(n?o.promote():o.relegate()||em.Wi.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),f.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iu(e){let[t,r]=(0,ii.oO)(),i=(0,o.useContext)(C.p);return(0,n.jsx)(il,{...e,layoutGroup:i,switchLayoutGroup:(0,o.useContext)(_),isPresent:t,safeToRemove:r})}let ic={borderRadius:{...is,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:is,borderTopRightRadius:is,borderBottomLeftRadius:is,borderBottomRightRadius:is,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let i=tp.P.parse(e);if(i.length>5)return e;let n=tp.P.createTransformer(e),o="number"!=typeof i[0]?1:0,a=r.x.scale*t.x,s=r.y.scale*t.y;i[0+o]/=a,i[1+o]/=s;let l=(0,rT.t)(a,s,.5);return"number"==typeof i[2+o]&&(i[2+o]/=l),"number"==typeof i[3+o]&&(i[3+o]/=l),n(i)}}};var ih=r(5506);let id=["TopLeft","TopRight","BottomLeft","BottomRight"],ip=id.length,im=e=>"string"==typeof e?parseFloat(e):e,ig=e=>"number"==typeof e||I.px.test(e);function iv(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let ib=ix(0,.5,tJ),iy=ix(.5,.95,eR.Z);function ix(e,t,r){return i=>i<e?0:i>t?1:r((0,r_.Y)(e,t,i))}function ik(e,t){e.min=t.min,e.max=t.max}function iw(e,t){ik(e.x,t.x),ik(e.y,t.y)}function iS(e,t,r,i,n){return e-=t,e=i+1/r*(e-i),void 0!==n&&(e=i+1/n*(e-i)),e}function iP(e,t,[r,i,n],o,a){!function(e,t=0,r=1,i=.5,n,o=e,a=e){if(I.aQ.test(t)&&(t=parseFloat(t),t=(0,rT.t)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=(0,rT.t)(o.min,o.max,i);e===o&&(s-=t),e.min=iS(e.min,t,r,s,n),e.max=iS(e.max,t,r,s,n)}(e,t[r],t[i],t[n],t.scale,o,a)}let iA=["x","scaleX","originX"],iC=["y","scaleY","originY"];function i_(e,t,r,i){iP(e.x,t,iA,r?r.x:void 0,i?i.x:void 0),iP(e.y,t,iC,r?r.y:void 0,i?i.y:void 0)}function iT(e){return 0===e.translate&&1===e.scale}function iE(e){return iT(e.x)&&iT(e.y)}function iz(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function iM(e){return rE(e.x)/rE(e.y)}var iD=r(12689);class iF{constructor(){this.members=[]}add(e){(0,iD.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,iD.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function iR(e,t,r){let i="",n=e.x.translate/t.x,o=e.y.translate/t.y,a=(null==r?void 0:r.z)||0;if((n||o||a)&&(i=`translate3d(${n}px, ${o}px, ${a}px) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:n,rotateY:o,skewX:a,skewY:s}=r;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),n&&(i+=`rotateX(${n}deg) `),o&&(i+=`rotateY(${o}deg) `),a&&(i+=`skewX(${a}deg) `),s&&(i+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(i+=`scale(${s}, ${l})`),i||"none"}let iV=(e,t)=>e.depth-t.depth;class ij{constructor(){this.children=[],this.isDirty=!1}add(e){(0,iD.y4)(this.children,e),this.isDirty=!0}remove(e){(0,iD.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(iV),this.isDirty=!1,this.children.forEach(e)}}let iB=["","X","Y","Z"],i$={visibility:"hidden"},iL=0,iW={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function iI(e,t,r,i){let{latestValues:n}=t;n[e]&&(r[e]=n[e],t.setStaticValue(e,0),i&&(i[e]=0))}function iN({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(e={},r=null==t?void 0:t()){this.id=iL++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,iW.totalNodes=iW.resolvedTargetDeltas=iW.recalculatedProjection=0,this.nodes.forEach(iU),this.nodes.forEach(iZ),this.nodes.forEach(iQ),this.nodes.forEach(iq),window.MotionDebug&&window.MotionDebug.record(iW)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new ij)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ih.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:n,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(n||i)&&(this.isLayoutDirty=!0),e){let r;let i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=e5.X.now(),i=({timestamp:t})=>{let n=t-r;n>=250&&((0,em.Pn)(i),e(n-250))};return em.Wi.read(i,!0),()=>(0,em.Pn)(i)}(i,0),io.hasAnimatedSinceResize&&(io.hasAnimatedSinceResize=!1,this.nodes.forEach(iK))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||o.getDefaultTransition()||i6,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!iz(this.targetLayout,i)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...eZ(n,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||iK(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,em.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(i0),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.HandoffCancelAllAnimations&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return!1;let{visualElement:r}=t.options;return!!r&&(!!rh(r)||!!t.parent&&!t.parent.hasCheckedOptimisedAppear&&e(t.parent))}(this)&&window.HandoffCancelAllAnimations(),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iY);return}this.isUpdating||this.nodes.forEach(iX),this.isUpdating=!1,this.nodes.forEach(iG),this.nodes.forEach(iO),this.nodes.forEach(iH),this.clearAllSnapshots();let e=e5.X.now();em.frameData.delta=(0,tM.u)(0,1e3/60,e-em.frameData.timestamp),em.frameData.timestamp=e,em.frameData.isProcessing=!0,em.S6.update.process(em.frameData),em.S6.preRender.process(em.frameData),em.S6.render.process(em.frameData),em.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,f.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(iJ),this.sharedNodes.forEach(i1)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,em.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){em.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=rO(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!iE(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;e&&(t||rY(this.latestValues)||o)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),i=this.removeElementScroll(r);return e&&(i=this.removeTransform(i)),i8((t=i).x),i8(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return rO();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(r0(t.x,r.offset.x),r0(t.y,r.offset.y)),t}removeElementScroll(e){let t=rO();iw(t,e);for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:o}=i;if(i!==this.root&&n&&o.layoutScroll){if(n.isRoot){iw(t,e);let{scroll:r}=this.root;r&&(r0(t.x,-r.offset.x),r0(t.y,-r.offset.y))}r0(t.x,n.offset.x),r0(t.y,n.offset.y)}}return t}applyTransform(e,t=!1){let r=rO();iw(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&r3(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),rY(i.latestValues)&&r3(r,i.latestValues)}return rY(this.latestValues)&&r3(r,this.latestValues),r}removeTransform(e){let t=rO();iw(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!rY(r.latestValues))continue;rJ(r.latestValues)&&r.updateSnapshot();let i=rO();iw(i,r.measurePageBox()),i_(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return rY(this.latestValues)&&i_(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){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}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==em.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,i,n;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==o;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=em.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rO(),this.relativeTargetOrigin=rO(),rV(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),iw(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=rO(),this.targetWithTransforms=rO()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,i=this.relativeTarget,n=this.relativeParent.target,rF(r.x,i.x,n.x),rF(r.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):iw(this.target,this.layout.layoutBox),rZ(this.target,this.targetDelta)):iw(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=rO(),this.relativeTargetOrigin=rO(),rV(this.relativeTargetOrigin,this.target,e.target),iw(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}iW.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||rJ(this.parent.latestValues)||rX(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===em.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||o))return;iw(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,r,i=!1){let n,o;let a=r.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(n=r[s]).projectionDelta;let a=n.instance;(!a||!a.style||"contents"!==a.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&r3(e,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,rZ(e,o)),i&&rY(n.latestValues)&&r3(e,n.latestValues))}t.x=rQ(t.x),t.y=rQ(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=rO());let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=rI(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=rI(),this.projectionDeltaWithTransform=rI());let u=this.projectionTransform;rD(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=iR(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==a||this.treeScale.y!==s)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),iW.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},o={...this.latestValues},a=rI();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=rO(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,h=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(i3));this.animationProgress=0,this.mixTargetDelta=t=>{let i=t/1e3;if(i2(a.x,e.x,i),i2(a.y,e.y,i),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,f,p;rV(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,i5(f.x,p.x,s.x,i),i5(f.y,p.y,s.y,i),r&&(u=this.relativeTarget,d=r,u.x.min===d.x.min&&u.x.max===d.x.max&&u.y.min===d.y.min&&u.y.max===d.y.max)&&(this.isProjectionDirty=!1),r||(r=rO()),iw(r,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,r,i,n,o){n?(e.opacity=(0,rT.t)(0,void 0!==r.opacity?r.opacity:1,ib(i)),e.opacityExit=(0,rT.t)(void 0!==t.opacity?t.opacity:1,0,iy(i))):o&&(e.opacity=(0,rT.t)(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n<ip;n++){let o=`border${id[n]}Radius`,a=iv(t,o),s=iv(r,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||ig(a)===ig(s)?(e[o]=Math.max((0,rT.t)(im(a),im(s),i),0),(I.aQ.test(s)||I.aQ.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||r.rotate)&&(e.rotate=(0,rT.t)(t.rotate||0,r.rotate||0,i))}(o,n,this.latestValues,i,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,em.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=em.Wi.update(()=>{io.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let i=V(0)?0:(0,rc.BX)(0);return i.start(rl("",i,1e3,r)),i.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:i,latestValues:n}=e;if(t&&r&&i){if(this!==e&&this.layout&&i&&i7(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||rO();let t=rE(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let i=rE(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}iw(t,r),r3(t,n),rD(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new iF),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let i={};r.z&&iI("z",e,i,this.animationValues);for(let t=0;t<iB.length;t++)iI(`rotate${iB[t]}`,e,i,this.animationValues),iI(`skew${iB[t]}`,e,i,this.animationValues);for(let t in e.render(),i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return i$;let i={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=ef(null==e?void 0:e.pointerEvents)||"",i.transform=n?n(this.latestValues,""):"none",i;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ef(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!rY(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=iR(this.projectionDeltaWithTransform,this.treeScale,a),n&&(i.transform=n(a,i.transform));let{x:s,y:l}=this.projectionDelta;for(let e in i.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(r=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:i.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,M){if(void 0===a[e])continue;let{correct:t,applyTo:r}=M[e],n="none"===i.transform?a[e]:t(a[e],o);if(r){let e=r.length;for(let t=0;t<e;t++)i[r[t]]=n}else i[e]=n}return this.options.layoutId&&(i.pointerEvents=o===this?ef(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(iY),this.root.sharedNodes.clear()}}}function iO(e){e.updateLayout()}function iH(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:i}=e.layout,{animationType:n}=e.options,o=r.source!==e.layout.source;"size"===n?rH(e=>{let i=o?r.measuredBox[e]:r.layoutBox[e],n=rE(i);i.min=t[e].min,i.max=i.min+n}):i7(n,r.layoutBox,t)&&rH(i=>{let n=o?r.measuredBox[i]:r.layoutBox[i],a=rE(t[i]);n.max=n.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+a)});let a=rI();rD(a,t,r.layoutBox);let s=rI();o?rD(s,e.applyTransform(i,!0),r.measuredBox):rD(s,t,r.layoutBox);let l=!iE(a),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:o}=i;if(n&&o){let a=rO();rV(a,r.layoutBox,n.layoutBox);let s=rO();rV(s,t,o.layoutBox),iz(a,s)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function iU(e){iW.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function iq(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function iJ(e){e.clearSnapshot()}function iY(e){e.clearMeasurements()}function iX(e){e.isLayoutDirty=!1}function iG(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function iK(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function iZ(e){e.resolveTargetDelta()}function iQ(e){e.calcProjection()}function i0(e){e.resetSkewAndRotation()}function i1(e){e.removeLeadSnapshot()}function i2(e,t,r){e.translate=(0,rT.t)(t.translate,0,r),e.scale=(0,rT.t)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function i5(e,t,r,i){e.min=(0,rT.t)(t.min,r.min,i),e.max=(0,rT.t)(t.max,r.max,i)}function i3(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let i6={duration:.45,ease:[.4,0,.1,1]},i4=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),i9=i4("applewebkit/")&&!i4("chrome/")?Math.round:eR.Z;function i8(e){e.min=i9(e.min),e.max=i9(e.max)}function i7(e,t,r){return"position"===e||"preserve-aspect"===e&&!rz(iM(t),iM(r),.2)}let ne=iN({attachResizeListener:(e,t)=>eb(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nt={current:void 0},nr=iN({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nt.current){let e=new ne({});e.mount(window),e.setOptions({layoutScroll:!0}),nt.current=e}return nt.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),ni={current:null},nn={current:!1},no=new WeakMap,na=[...ta,tx.$,tp.P],ns=e=>na.find(to(e)),nl=Object.keys(P),nu=nl.length,nc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nh=y.length;class nd{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:o},a={}){this.resolveKeyframes=(e,t,r,i)=>new this.KeyframeResolver(e,t,r,i,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>em.Wi.render(this.render,!1,!0);let{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!n,this.isControllingVariants=x(t),this.isVariantNode=k(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in c){let t=c[e];void 0!==s[e]&&V(t)&&(t.set(s[e],!1),ru(u)&&u.add(e))}}mount(e){this.current=e,no.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),nn.current||function(){if(nn.current=!0,A.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ni.current=e.matches;e.addListener(t),t()}else ni.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ni.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var e;for(let e in no.delete(this.current),this.projection&&this.projection.unmount(),(0,em.Pn)(this.notifyUpdate),(0,em.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let t in this.features)null===(e=this.features[t])||void 0===e||e.unmount();this.current=null}bindToMotionValue(e,t){let r=F.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&em.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),n=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,i,n){let o,a;for(let e=0;e<nu;e++){let r=nl[e],{isEnabled:i,Feature:n,ProjectionNode:s,MeasureLayout:l}=P[r];s&&(o=s),i(t)&&(!this.features[r]&&n&&(this.features[r]=new n(this)),l&&(a=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){let{layoutId:e,layout:r,drag:i,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection=new o(this.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(this.parent)),this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!i||a&&m(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):rO()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<nc.length;t++){let r=nc[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,t,r){let{willChange:i}=t;for(let n in t){let o=t[n],a=r[n];if(V(o))e.addValue(n,o),ru(i)&&i.add(n);else if(V(a))e.addValue(n,(0,rc.BX)(o,{owner:e})),ru(i)&&i.remove(n);else if(a!==o){if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{let t=e.getStaticValue(n);e.addValue(n,(0,rc.BX)(void 0!==t?t:o,{owner:e}))}}}for(let i in r)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<nh;e++){let r=y[e],i=this.props[r];(g(i)||!1===i)&&(t[r]=i)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=(0,rc.BX)(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let i=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=i&&("string"==typeof i&&(e4(i)||e3(i))?i=parseFloat(i):!ns(i)&&tp.P.test(t)&&(i=tS(e,t)),this.setBaseTarget(e,V(i)?i.get():i)),V(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let r;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=el(this.props,i,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);n&&(r=n[e])}if(i&&void 0!==r)return r;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||V(n)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new ih.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class nf extends nd{constructor(){super(...arguments),this.KeyframeResolver=tA}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class np extends nf{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(F.has(t)){let e=tw(t);return e&&e.default||0}{let r=window.getComputedStyle(e),i=((0,$.f)(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return r6(e,t)}build(e,t,r,i){H(e,t,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return eo(e,t,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;V(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,r,i){er(e,t,r,i)}}class nm extends nf{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(F.has(t)){let e=tw(t);return e&&e.default||0}return t=ei.has(t)?t:h(t),e.getAttribute(t)}measureInstanceViewportBox(){return rO()}scrapeMotionValuesFromProps(e,t,r){return ea(e,t,r)}build(e,t,r,i){Q(e,t,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,r,i){en(e,t,r,i)}mount(e){this.isSVGTag=et(e.tagName),super.mount(e)}}let ng=(e,t)=>z(e)?new nm(t,{enableHardwareAcceleration:!1}):new np(t,{allowProjection:e!==o.Fragment,enableHardwareAcceleration:!0}),nv={animation:{Feature:rb},exit:{Feature:rx},inView:{Feature:eN},tap:{Feature:ej},focus:{Feature:eD},hover:{Feature:eM},pan:{Feature:ir},drag:{Feature:ie,ProjectionNode:nr,MeasureLayout:iu},layout:{ProjectionNode:nr,MeasureLayout:iu}},nb=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:h}){e&&function(e){for(let t in e)P[t]={...P[t],...e[t]}}(e);let p=(0,o.forwardRef)(function(p,v){var b;let y;let k={...(0,o.useContext)(a._),...p,layoutId:function({layoutId:e}){let t=(0,o.useContext)(C.p).id;return t&&void 0!==e?t+"-"+e:e}(p)},{isStatic:S}=k,P=function(e){let{initial:t,animate:r}=function(e,t){if(x(e)){let{initial:t,animate:r}=e;return{initial:!1===t||g(t)?t:void 0,animate:g(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(s));return(0,o.useMemo)(()=>({initial:t,animate:r}),[w(t),w(r)])}(p),T=i(p,S);if(!S&&A.j){P.visualElement=function(e,t,r,i){let{visualElement:n}=(0,o.useContext)(s),h=(0,o.useContext)(c),p=(0,o.useContext)(l.O),m=(0,o.useContext)(a._).reducedMotion,g=(0,o.useRef)();i=i||h.renderer,!g.current&&i&&(g.current=i(e,{visualState:t,parent:n,props:r,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:m}));let v=g.current;(0,o.useInsertionEffect)(()=>{v&&v.update(r,p)});let b=(0,o.useRef)(!!(r[d]&&!window.HandoffComplete));return(0,u.L)(()=>{v&&(f.render(v.render),b.current&&v.animationState&&v.animationState.animateChanges())}),(0,o.useEffect)(()=>{v&&(v.updateFeatures(),!b.current&&v.animationState&&v.animationState.animateChanges(),b.current&&(b.current=!1,window.HandoffComplete=!0))}),v}(h,T,k,t);let r=(0,o.useContext)(_),i=(0,o.useContext)(c).strict;P.visualElement&&(y=P.visualElement.loadFeatures(k,i,e,r))}return(0,n.jsxs)(s.Provider,{value:P,children:[y&&P.visualElement?(0,n.jsx)(y,{visualElement:P.visualElement,...k}):null,r(h,p,(b=P.visualElement,(0,o.useCallback)(e=>{e&&T.mount&&T.mount(e),b&&(e?b.mount(e):b.unmount()),v&&("function"==typeof v?v(e):m(v)&&(v.current=e))},[b])),T,S,P.visualElement)]})});return p[T]=h,p}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,i){return{...z(e)?eg:ev,preloadedFeatures:r,useRender:function(e=!1){return(t,r,i,{latestValues:n},a)=>{let s=(z(t)?function(e,t,r,i){let n=(0,o.useMemo)(()=>{let r=ee();return Q(r,t,{enableHardwareAcceleration:!1},et(i),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};q(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t,r){let i={},n=function(e,t,r){let i=e.style||{},n={};return q(n,i,e),Object.assign(n,function({transformTemplate:e},t,r){return(0,o.useMemo)(()=>{let i=U();return H(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}(e,t,r)),n}(e,t,r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=n,i})(r,n,a,t),l=function(e,t,r){let i={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&(X(n)||!0===r&&Y(n)||!t&&!Y(n)||e.draggable&&n.startsWith("onDrag"))&&(i[n]=e[n]);return i}(r,"string"==typeof t,e),u=t!==o.Fragment?{...l,...s,ref:i}:{},{children:c}=r,h=(0,o.useMemo)(()=>V(c)?c.get():c,[c]);return(0,o.createElement)(t,{...u,children:h})}}(t),createVisualElement:i,Component:e}})(e,t,nv,ng))},29085:function(e,t,r){"use strict";r.d(t,{f:function(){return n},t:function(){return a}});let i=e=>t=>"string"==typeof t&&t.startsWith(e),n=i("--"),o=i("var(--"),a=e=>!!o(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},74971:function(e,t,r){"use strict";r.d(t,{c:function(){return i}});let i={skipAnimations:!1,useManualTiming:!1}},12689:function(e,t,r){"use strict";function i(e,t){-1===e.indexOf(t)&&e.push(t)}function n(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}r.d(t,{cl:function(){return n},y4:function(){return i}})},90529:function(e,t,r){"use strict";r.d(t,{u:function(){return i}});let i=(e,t,r)=>r>t?t:r<e?e:r},23828:function(e,t,r){"use strict";r.d(t,{K:function(){return n},k:function(){return o}});var i=r(9385);let n=i.Z,o=i.Z},28489:function(e,t,r){"use strict";r.d(t,{s:function(){return u}});var i=r(23828),n=r(90529),o=r(20893),a=r(10097),s=r(9385),l=r(22594);function u(e,t,{clamp:r=!0,ease:u,mixer:c}={}){let h=e.length;if((0,i.k)(h===t.length,"Both input and output ranges must be the same length"),1===h)return()=>t[0];if(2===h&&e[0]===e[1])return()=>t[1];e[0]>e[h-1]&&(e=[...e].reverse(),t=[...t].reverse());let d=function(e,t,r){let i=[],n=r||l.C,a=e.length-1;for(let r=0;r<a;r++){let a=n(e[r],e[r+1]);if(t){let e=Array.isArray(t)?t[r]||s.Z:t;a=(0,o.z)(e,a)}i.push(a)}return i}(t,u,c),f=d.length,p=t=>{let r=0;if(f>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let i=(0,a.Y)(e[r],e[r+1],t);return d[r](i)};return r?t=>p((0,n.u)(e[0],e[h-1],t)):p}},6343:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let i="undefined"!=typeof document},22594:function(e,t,r){"use strict";r.d(t,{C:function(){return A}});var i=r(62404),n=r(23828);function o(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var a=r(99058),s=r(505),l=r(35941);function u(e,t){return r=>r>0?t:e}let c=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},h=[a.$,s.m,l.J],d=e=>h.find(t=>t.test(e));function f(e){let t=d(e);if((0,n.K)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let r=t.parse(e);return t===l.J&&(r=function({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,r/=100;let n=0,a=0,s=0;if(t/=100){let i=r<.5?r*(1+t):r+t-r*t,l=2*r-i;n=o(l,i,e+1/3),a=o(l,i,e),s=o(l,i,e-1/3)}else n=a=s=r;return{red:Math.round(255*n),green:Math.round(255*a),blue:Math.round(255*s),alpha:i}}(r)),r}let p=(e,t)=>{let r=f(e),n=f(t);if(!r||!n)return u(e,t);let o={...r};return e=>(o.red=c(r.red,n.red,e),o.green=c(r.green,n.green,e),o.blue=c(r.blue,n.blue,e),o.alpha=(0,i.t)(r.alpha,n.alpha,e),s.m.transform(o))};var m=r(20893),g=r(42939),v=r(74299),b=r(29085);let y=new Set(["none","hidden"]);function x(e,t){return r=>(0,i.t)(e,t,r)}function k(e){return"number"==typeof e?x:"string"==typeof e?(0,b.t)(e)?u:g.$.test(e)?p:P:Array.isArray(e)?w:"object"==typeof e?g.$.test(e)?p:S:u}function w(e,t){let r=[...e],i=r.length,n=e.map((e,r)=>k(e)(e,t[r]));return e=>{for(let t=0;t<i;t++)r[t]=n[t](e);return r}}function S(e,t){let r={...e,...t},i={};for(let n in r)void 0!==e[n]&&void 0!==t[n]&&(i[n]=k(e[n])(e[n],t[n]));return e=>{for(let t in i)r[t]=i[t](e);return r}}let P=(e,t)=>{let r=v.P.createTransformer(t),i=(0,v.V)(e),o=(0,v.V)(t);return i.indexes.var.length===o.indexes.var.length&&i.indexes.color.length===o.indexes.color.length&&i.indexes.number.length>=o.indexes.number.length?y.has(e)&&!o.values.length||y.has(t)&&!i.values.length?y.has(e)?r=>r<=0?e:t:r=>r>=1?t:e:(0,m.z)(w(function(e,t){var r;let i=[],n={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][n[a]],l=null!==(r=e.values[s])&&void 0!==r?r:0;i[o]=l,n[a]++}return i}(i,o),o.values),r):((0,n.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),u(e,t))};function A(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,i.t)(e,t,r):k(e)(e,t)}},62404:function(e,t,r){"use strict";r.d(t,{t:function(){return i}});let i=(e,t,r)=>e+(t-e)*r},9385:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});let i=e=>e},28302:function(e,t,r){"use strict";r.d(t,{Y:function(){return o}});var i=r(62404),n=r(10097);function o(e){let t=[0];return!function(e,t){let r=e[e.length-1];for(let o=1;o<=t;o++){let a=(0,n.Y)(0,t,o);e.push((0,i.t)(r,1,a))}}(t,e.length-1),t}},20893:function(e,t,r){"use strict";r.d(t,{z:function(){return n}});let i=(e,t)=>r=>t(e(r)),n=(...e)=>e.reduce(i)},10097:function(e,t,r){"use strict";r.d(t,{Y:function(){return i}});let i=(e,t,r)=>{let i=t-e;return 0===i?1:(r-e)/i}},5506:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});var i=r(12689);class n{constructor(){this.subscriptions=[]}add(e){return(0,i.y4)(this.subscriptions,e),()=>(0,i.cl)(this.subscriptions,e)}notify(e,t,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](e,t,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},63839:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});var i=r(14212);function n(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},91112:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});var i=r(14212);let n=r(6343).j?i.useLayoutEffect:i.useEffect},55109:function(e,t,r){"use strict";function i(e,t){return t?1e3/t*e:0}r.d(t,{R:function(){return i}})},72069:function(e,t,r){"use strict";r.d(t,{BX:function(){return c}});var i=r(5506),n=r(55109),o=r(72607),a=r(1973);let s=e=>!isNaN(parseFloat(e)),l={current:void 0};class u{constructor(e,t={}){this.version="11.2.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=o.X.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=o.X.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.L);let r=this.events[e].add(t);return"change"===e?()=>{r(),a.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=o.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function c(e,t){return new u(e,t)}},99058:function(e,t,r){"use strict";r.d(t,{$:function(){return n}});var i=r(505);let n={test:(0,r(22406).i)("#"),parse:function(e){let t="",r="",i="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:i.m.transform}},35941:function(e,t,r){"use strict";r.d(t,{J:function(){return s}});var i=r(50449),n=r(88948),o=r(73323),a=r(22406);let s={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:a=1})=>"hsla("+Math.round(e)+", "+n.aQ.transform((0,o.Nw)(t))+", "+n.aQ.transform((0,o.Nw)(r))+", "+(0,o.Nw)(i.Fq.transform(a))+")"}},42939:function(e,t,r){"use strict";r.d(t,{$:function(){return s}});var i=r(73323),n=r(99058),o=r(35941),a=r(505);let s={test:e=>a.m.test(e)||n.$.test(e)||o.J.test(e),parse:e=>a.m.test(e)?a.m.parse(e):o.J.test(e)?o.J.parse(e):n.$.parse(e),transform:e=>(0,i.HD)(e)?e:e.hasOwnProperty("red")?a.m.transform(e):o.J.transform(e)}},505:function(e,t,r){"use strict";r.d(t,{m:function(){return u}});var i=r(90529),n=r(50449),o=r(73323),a=r(22406);let s=e=>(0,i.u)(0,255,e),l={...n.Rx,transform:e=>Math.round(s(e))},u={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(r)+", "+(0,o.Nw)(n.Fq.transform(i))+")"}},22406:function(e,t,r){"use strict";r.d(t,{d:function(){return o},i:function(){return n}});var i=r(73323);let n=(e,t)=>r=>!!((0,i.HD)(r)&&i.mj.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),o=(e,t,r)=>n=>{if(!(0,i.HD)(n))return n;let[o,a,s,l]=n.match(i.KP);return{[e]:parseFloat(o),[t]:parseFloat(a),[r]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},74299:function(e,t,r){"use strict";r.d(t,{P:function(){return d},V:function(){return l}});var i=r(42939),n=r(73323);let o="number",a="color",s=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function l(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},l=[],u=0,c=t.replace(s,e=>(i.$.test(e)?(n.color.push(u),l.push(a),r.push(i.$.parse(e))):e.startsWith("var(")?(n.var.push(u),l.push("var"),r.push(e)):(n.number.push(u),l.push(o),r.push(parseFloat(e))),++u,"${}")).split("${}");return{values:r,split:c,indexes:n,types:l}}function u(e){return l(e).values}function c(e){let{split:t,types:r}=l(e),s=t.length;return e=>{let l="";for(let u=0;u<s;u++)if(l+=t[u],void 0!==e[u]){let t=r[u];t===o?l+=(0,n.Nw)(e[u]):t===a?l+=i.$.transform(e[u]):l+=e[u]}return l}}let h=e=>"number"==typeof e?0:e,d={test:function(e){var t,r;return isNaN(e)&&(0,n.HD)(e)&&((null===(t=e.match(n.KP))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(n.dA))||void 0===r?void 0:r.length)||0)>0},parse:u,createTransformer:c,getAnimatableNone:function(e){let t=u(e);return c(e)(t.map(h))}}},50449:function(e,t,r){"use strict";r.d(t,{Fq:function(){return o},Rx:function(){return n},bA:function(){return a}});var i=r(90529);let n={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...n,transform:e=>(0,i.u)(0,1,e)},a={...n,default:1}},88948:function(e,t,r){"use strict";r.d(t,{$C:function(){return c},RW:function(){return o},aQ:function(){return a},px:function(){return s},vh:function(){return l},vw:function(){return u}});var i=r(73323);let n=e=>({test:t=>(0,i.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=n("deg"),a=n("%"),s=n("px"),l=n("vh"),u=n("vw"),c={...a,parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)}},73323:function(e,t,r){"use strict";r.d(t,{HD:function(){return s},KP:function(){return n},Nw:function(){return i},dA:function(){return o},mj:function(){return a}});let i=e=>Math.round(1e5*e)/1e5,n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,a=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function s(e){return"string"==typeof e}}}]);