From bcfa441ea34d7afc859b7826c1414feae46b64e3 Mon Sep 17 00:00:00 2001 From: aboveyunhai <35160613+aboveyunhai@users.noreply.github.com> Date: Tue, 19 Mar 2024 02:16:56 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20aboveyun?= =?UTF-8?q?hai/chakra-dayzed-datepicker@c5370546d5f2ae3341a1d9bf4b5143e0f5?= =?UTF-8?q?c1790f=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/index.959982b6.js | 340 --------------------------------- assets/index.ec30c867.js | 393 +++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 3 files changed, 394 insertions(+), 341 deletions(-) delete mode 100644 assets/index.959982b6.js create mode 100644 assets/index.ec30c867.js diff --git a/assets/index.959982b6.js b/assets/index.959982b6.js deleted file mode 100644 index f115943..0000000 --- a/assets/index.959982b6.js +++ /dev/null @@ -1,340 +0,0 @@ -const c$=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerpolicy&&(o.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?o.credentials="include":a.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}};c$();var kn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},th={},f$=rh;function rh(e){Dr.length||nc(),Dr[Dr.length]=e}var Dr=[],nc,_r=0,d$=1024;function dy(){for(;_rd$){for(var t=0,r=Dr.length-_r;t-1};function lu(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function nh(e){return typeof e!="string"&&(e=String(e)),e}function ah(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return _t.iterable&&(t[Symbol.iterator]=function(){return t}),t}function Ze(e){this.map={},e instanceof Ze?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}Ze.prototype.append=function(e,t){e=lu(e),t=nh(t);var r=this.map[e];this.map[e]=r?r+", "+t:t};Ze.prototype.delete=function(e){delete this.map[lu(e)]};Ze.prototype.get=function(e){return e=lu(e),this.has(e)?this.map[e]:null};Ze.prototype.has=function(e){return this.map.hasOwnProperty(lu(e))};Ze.prototype.set=function(e,t){this.map[lu(e)]=nh(t)};Ze.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)};Ze.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),ah(e)};Ze.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),ah(e)};Ze.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),ah(e)};_t.iterable&&(Ze.prototype[Symbol.iterator]=Ze.prototype.entries);function Ad(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function fS(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function A$(e){var t=new FileReader,r=fS(t);return t.readAsArrayBuffer(e),r}function R$(e){var t=new FileReader,r=fS(t);return t.readAsText(e),r}function I$(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?t:e}function Aa(e,t){if(!(this instanceof Aa))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof Aa){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Ze(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new Ze(t.headers)),this.method=F$(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var a=/\?/;this.url+=(a.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Aa.prototype.clone=function(){return new Aa(this,{body:this._bodyInit})};function L$(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),a=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(a),decodeURIComponent(o))}}),t}function B$(e){var t=new Ze,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(` -`)===0?n.substr(1,n.length):n}).forEach(function(n){var a=n.split(":"),o=a.shift().trim();if(o){var i=a.join(":").trim();t.append(o,i)}}),t}dS.call(Aa.prototype);function Wr(e,t){if(!(this instanceof Wr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new Ze(t.headers),this.url=t.url||"",this._initBody(e)}dS.call(Wr.prototype);Wr.prototype.clone=function(){return new Wr(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Ze(this.headers),url:this.url})};Wr.error=function(){var e=new Wr(null,{status:0,statusText:""});return e.type="error",e};var N$=[301,302,303,307,308];Wr.redirect=function(e,t){if(N$.indexOf(t)===-1)throw new RangeError("Invalid status code");return new Wr(null,{status:t,headers:{location:e}})};var ha=ht.DOMException;try{new ha}catch{ha=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},ha.prototype=Object.create(Error.prototype),ha.prototype.constructor=ha}function vS(e,t){return new Promise(function(r,n){var a=new Aa(e,t);if(a.signal&&a.signal.aborted)return n(new ha("Aborted","AbortError"));var o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var u={status:o.status,statusText:o.statusText,headers:B$(o.getAllResponseHeaders()||"")};u.url="responseURL"in o?o.responseURL:u.headers.get("X-Request-URL");var l="response"in o?o.response:o.responseText;setTimeout(function(){r(new Wr(l,u))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){n(new ha("Aborted","AbortError"))},0)};function s(u){try{return u===""&&ht.location.href?ht.location.href:u}catch{return u}}o.open(a.method,s(a.url),!0),a.credentials==="include"?o.withCredentials=!0:a.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(_t.blob?o.responseType="blob":_t.arrayBuffer&&a.headers.get("Content-Type")&&a.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof Ze)?Object.getOwnPropertyNames(t.headers).forEach(function(u){o.setRequestHeader(u,nh(t.headers[u]))}):a.headers.forEach(function(u,l){o.setRequestHeader(l,u)}),a.signal&&(a.signal.addEventListener("abort",i),o.onreadystatechange=function(){o.readyState===4&&a.signal.removeEventListener("abort",i)}),o.send(typeof a._bodyInit=="undefined"?null:a._bodyInit)})}vS.polyfill=!0;ht.fetch||(ht.fetch=vS,ht.Headers=Ze,ht.Request=Aa,ht.Response=Wr);/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var gy=Object.getOwnPropertySymbols,j$=Object.prototype.hasOwnProperty,z$=Object.prototype.propertyIsEnumerable;function W$(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function V$(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var U$=V$()?Object.assign:function(e,t){for(var r,n=W$(e),a,o=1;o0&&Pr[0]<4?1:+(Pr[0]+Pr[1]));!sc&&Md&&(Pr=Md.match(/Edge\/(\d+)/),(!Pr||Pr[1]>=74)&&(Pr=Md.match(/Chrome\/(\d+)/),Pr&&(sc=+Pr[1])));var uh=sc,Sy=uh,f2=kr,lh=!!Object.getOwnPropertySymbols&&!f2(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Sy&&Sy<41}),d2=lh,wS=d2&&!Symbol.sham&&typeof Symbol.iterator=="symbol",v2=de,p2=ri,m2=dt,h2=sh,g2=wS,y2=v2.Object,ch=g2?function(e){return typeof e=="symbol"}:function(e){var t=p2("Symbol");return m2(t)&&h2(t.prototype,y2(e))},b2=de,w2=b2.String,xS=function(e){try{return w2(e)}catch{return"Object"}},x2=de,S2=dt,E2=xS,P2=x2.TypeError,fh=function(e){if(S2(e))return e;throw P2(E2(e)+" is not a function")},C2=fh,dh=function(e,t){var r=e[t];return r==null?void 0:C2(r)},T2=de,Fd=Zn,Ld=dt,Bd=Jn,k2=T2.TypeError,O2=function(e,t){var r,n;if(t==="string"&&Ld(r=e.toString)&&!Bd(n=Fd(r,e))||Ld(r=e.valueOf)&&!Bd(n=Fd(r,e))||t!=="string"&&Ld(r=e.toString)&&!Bd(n=Fd(r,e)))return n;throw k2("Can't convert object to primitive value")},ff={exports:{}},Ey=de,_2=Object.defineProperty,vh=function(e,t){try{_2(Ey,e,{value:t,configurable:!0,writable:!0})}catch{Ey[e]=t}return t},$2=de,D2=vh,Py="__core-js_shared__",A2=$2[Py]||D2(Py,{}),ph=A2,Cy=ph;(ff.exports=function(e,t){return Cy[e]||(Cy[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"});var R2=de,I2=ih,M2=R2.Object,ni=function(e){return M2(I2(e))},F2=ft,L2=ni,B2=F2({}.hasOwnProperty),mr=Object.hasOwn||function(t,r){return B2(L2(t),r)},N2=ft,j2=0,z2=Math.random(),W2=N2(1 .toString),mh=function(e){return"Symbol("+(e===void 0?"":e)+")_"+W2(++j2+z2,36)},V2=de,U2=ff.exports,Ty=mr,H2=mh,ky=lh,SS=wS,qa=U2("wks"),Ta=V2.Symbol,Oy=Ta&&Ta.for,G2=SS?Ta:Ta&&Ta.withoutSetter||H2,xt=function(e){if(!Ty(qa,e)||!(ky||typeof qa[e]=="string")){var t="Symbol."+e;ky&&Ty(Ta,e)?qa[e]=Ta[e]:SS&&Oy?qa[e]=Oy(t):qa[e]=G2(t)}return qa[e]},K2=de,Y2=Zn,_y=Jn,$y=ch,q2=dh,X2=O2,Q2=xt,Z2=K2.TypeError,J2=Q2("toPrimitive"),eD=function(e,t){if(!_y(e)||$y(e))return e;var r=q2(e,J2),n;if(r){if(t===void 0&&(t="default"),n=Y2(r,e,t),!_y(n)||$y(n))return n;throw Z2("Can't convert object to primitive value")}return t===void 0&&(t="number"),X2(e,t)},tD=eD,rD=ch,df=function(e){var t=tD(e,"string");return rD(t)?t:t+""},nD=de,Dy=Jn,lp=nD.document,aD=Dy(lp)&&Dy(lp.createElement),hh=function(e){return aD?lp.createElement(e):{}},oD=Qn,iD=kr,sD=hh,ES=!oD&&!iD(function(){return Object.defineProperty(sD("div"),"a",{get:function(){return 7}}).a!=7}),uD=Qn,lD=Zn,cD=oh,fD=cu,dD=ja,vD=df,pD=mr,mD=ES,Ay=Object.getOwnPropertyDescriptor;lf.f=uD?Ay:function(t,r){if(t=dD(t),r=vD(r),mD)try{return Ay(t,r)}catch{}if(pD(t,r))return fD(!lD(cD.f,t,r),t[r])};var Hr={},PS=de,hD=Jn,gD=PS.String,yD=PS.TypeError,hn=function(e){if(hD(e))return e;throw yD(gD(e)+" is not an object")},bD=de,wD=Qn,xD=ES,Ry=hn,SD=df,ED=bD.TypeError,Iy=Object.defineProperty;Hr.f=wD?Iy:function(t,r,n){if(Ry(t),r=SD(r),Ry(n),xD)try{return Iy(t,r,n)}catch{}if("get"in n||"set"in n)throw ED("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var PD=Qn,CD=Hr,TD=cu,fu=PD?function(e,t,r){return CD.f(e,t,TD(1,r))}:function(e,t,r){return e[t]=r,e},ai={exports:{}},kD=ft,OD=dt,cp=ph,_D=kD(Function.toString);OD(cp.inspectSource)||(cp.inspectSource=function(e){return _D(e)});var gh=cp.inspectSource,$D=de,DD=dt,AD=gh,My=$D.WeakMap,RD=DD(My)&&/native code/.test(AD(My)),ID=ff.exports,MD=mh,Fy=ID("keys"),vf=function(e){return Fy[e]||(Fy[e]=MD(e))},pf={},FD=RD,CS=de,Nd=ft,LD=Jn,BD=fu,jd=mr,zd=ph,ND=vf,jD=pf,Ly="Object already initialized",fp=CS.TypeError,zD=CS.WeakMap,uc,xs,lc,WD=function(e){return lc(e)?xs(e):uc(e,{})},VD=function(e){return function(t){var r;if(!LD(t)||(r=xs(t)).type!==e)throw fp("Incompatible receiver, "+e+" required");return r}};if(FD||zd.state){var ua=zd.state||(zd.state=new zD),UD=Nd(ua.get),By=Nd(ua.has),HD=Nd(ua.set);uc=function(e,t){if(By(ua,e))throw new fp(Ly);return t.facade=e,HD(ua,e,t),t},xs=function(e){return UD(ua,e)||{}},lc=function(e){return By(ua,e)}}else{var Xa=ND("state");jD[Xa]=!0,uc=function(e,t){if(jd(e,Xa))throw new fp(Ly);return t.facade=e,BD(e,Xa,t),t},xs=function(e){return jd(e,Xa)?e[Xa]:{}},lc=function(e){return jd(e,Xa)}}var mf={set:uc,get:xs,has:lc,enforce:WD,getterFor:VD},dp=Qn,GD=mr,TS=Function.prototype,KD=dp&&Object.getOwnPropertyDescriptor,yh=GD(TS,"name"),YD=yh&&function(){}.name==="something",qD=yh&&(!dp||dp&&KD(TS,"name").configurable),kS={EXISTS:yh,PROPER:YD,CONFIGURABLE:qD},XD=de,Ny=dt,QD=mr,jy=fu,ZD=vh,JD=gh,OS=mf,eA=kS.CONFIGURABLE,tA=OS.get,rA=OS.enforce,nA=String(String).split("String");(ai.exports=function(e,t,r,n){var a=n?!!n.unsafe:!1,o=n?!!n.enumerable:!1,i=n?!!n.noTargetGet:!1,s=n&&n.name!==void 0?n.name:t,u;if(Ny(r)&&(String(s).slice(0,7)==="Symbol("&&(s="["+String(s).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!QD(r,"name")||eA&&r.name!==s)&&jy(r,"name",s),u=rA(r),u.source||(u.source=nA.join(typeof s=="string"?s:""))),e===XD){o?e[t]=r:ZD(t,r);return}else a?!i&&e[t]&&(o=!0):delete e[t];o?e[t]=r:jy(e,t,r)})(Function.prototype,"toString",function(){return Ny(this)&&tA(this).source||JD(this)});var hf={},aA=Math.ceil,oA=Math.floor,bh=function(e){var t=+e;return t!==t||t===0?0:(t>0?oA:aA)(t)},iA=bh,sA=Math.max,uA=Math.min,lA=function(e,t){var r=iA(e);return r<0?sA(r+t,0):uA(r,t)},cA=bh,fA=Math.min,dA=function(e){return e>0?fA(cA(e),9007199254740991):0},vA=dA,gf=function(e){return vA(e.length)},pA=ja,mA=lA,hA=gf,zy=function(e){return function(t,r,n){var a=pA(t),o=hA(a),i=mA(n,o),s;if(e&&r!=r){for(;o>i;)if(s=a[i++],s!=s)return!0}else for(;o>i;i++)if((e||i in a)&&a[i]===r)return e||i||0;return!e&&-1}},gA={includes:zy(!0),indexOf:zy(!1)},yA=ft,Wd=mr,bA=ja,wA=gA.indexOf,xA=pf,Wy=yA([].push),_S=function(e,t){var r=bA(e),n=0,a=[],o;for(o in r)!Wd(xA,o)&&Wd(r,o)&&Wy(a,o);for(;t.length>n;)Wd(r,o=t[n++])&&(~wA(a,o)||Wy(a,o));return a},wh=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],SA=_S,EA=wh,PA=EA.concat("length","prototype");hf.f=Object.getOwnPropertyNames||function(t){return SA(t,PA)};var xh={};xh.f=Object.getOwnPropertySymbols;var CA=ri,TA=ft,kA=hf,OA=xh,_A=hn,$A=TA([].concat),DA=CA("Reflect","ownKeys")||function(t){var r=kA.f(_A(t)),n=OA.f;return n?$A(r,n(t)):r},AA=mr,RA=DA,IA=lf,MA=Hr,$S=function(e,t){for(var r=RA(t),n=MA.f,a=IA.f,o=0;o=51||!TR(function(){var t=[],r=t.constructor={};return r[_R]=function(){return{foo:1}},t[e](Boolean).foo!==1})},DR=oi,AR=de,RR=kr,IR=Sh,MR=Jn,FR=ni,LR=gf,Hy=DS,BR=LS,NR=$R,jR=xt,zR=uh,BS=jR("isConcatSpreadable"),Gy=9007199254740991,Ky="Maximum allowed index exceeded",Yy=AR.TypeError,WR=zR>=51||!RR(function(){var e=[];return e[BS]=!1,e.concat()[0]!==e}),VR=NR("concat"),UR=function(e){if(!MR(e))return!1;var t=e[BS];return t!==void 0?!!t:IR(e)},HR=!WR||!VR;DR({target:"Array",proto:!0,forced:HR},{concat:function(t){var r=FR(this),n=BR(r,0),a=0,o,i,s,u,l;for(o=-1,s=arguments.length;oGy)throw Yy(Ky);for(i=0;i=Gy)throw Yy(Ky);Hy(n,a++,l)}return n.length=a,n}});var GR=Eh,KR=yf,YR=GR?{}.toString:function(){return"[object "+KR(this)+"]"},qR=Eh,XR=ai.exports,QR=YR;qR||XR(Object.prototype,"toString",QR,{unsafe:!0});var Ch=Function.prototype,qy=Ch.apply,ZR=Ch.bind,Xy=Ch.call,JR=typeof Reflect=="object"&&Reflect.apply||(ZR?Xy.bind(qy):function(){return Xy.apply(qy,arguments)}),eI=de,tI=yf,rI=eI.String,bf=function(e){if(tI(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return rI(e)},nI=_S,aI=wh,NS=Object.keys||function(t){return nI(t,aI)},oI=Qn,iI=Hr,sI=hn,uI=ja,lI=NS,cI=oI?Object.defineProperties:function(t,r){sI(t);for(var n=uI(r),a=lI(r),o=a.length,i=0,s;o>i;)iI.f(t,s=a[i++],n[s]);return t},fI=ri,dI=fI("document","documentElement"),vI=hn,pI=cI,Qy=wh,mI=pf,hI=dI,gI=hh,yI=vf,Zy=">",Jy="<",vp="prototype",pp="script",jS=yI("IE_PROTO"),Ud=function(){},zS=function(e){return Jy+pp+Zy+e+Jy+"/"+pp+Zy},eb=function(e){e.write(zS("")),e.close();var t=e.parentWindow.Object;return e=null,t},bI=function(){var e=gI("iframe"),t="java"+pp+":",r;return e.style.display="none",hI.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(zS("document.F=Object")),r.close(),r.F},Uu,Al=function(){try{Uu=new ActiveXObject("htmlfile")}catch{}Al=typeof document!="undefined"?document.domain&&Uu?eb(Uu):bI():eb(Uu);for(var e=Qy.length;e--;)delete Al[vp][Qy[e]];return Al()};mI[jS]=!0;var Th=Object.create||function(t,r){var n;return t!==null?(Ud[vp]=vI(t),n=new Ud,Ud[vp]=null,n[jS]=t):n=Al(),r===void 0?n:pI(n,r)},WS={},wI=ft,VS=wI([].slice),xI=cf,SI=ja,US=hf.f,EI=VS,HS=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],PI=function(e){try{return US(e)}catch{return EI(HS)}};WS.f=function(t){return HS&&xI(t)=="Window"?PI(t):US(SI(t))};var kh={},CI=xt;kh.f=CI;var TI=de,Oh=TI,tb=Oh,kI=mr,OI=kh,_I=Hr.f,He=function(e){var t=tb.Symbol||(tb.Symbol={});kI(t,e)||_I(t,e,{value:OI.f(e)})},$I=Hr.f,DI=mr,AI=xt,rb=AI("toStringTag"),ii=function(e,t,r){e&&!DI(e=r?e:e.prototype,rb)&&$I(e,rb,{configurable:!0,value:t})},nb=ft,RI=fh,ab=nb(nb.bind),GS=function(e,t){return RI(e),t===void 0?e:ab?ab(e,t):function(){return e.apply(t,arguments)}},II=GS,MI=ft,FI=yS,LI=ni,BI=gf,NI=LS,ob=MI([].push),bn=function(e){var t=e==1,r=e==2,n=e==3,a=e==4,o=e==6,i=e==7,s=e==5||o;return function(u,l,c,f){for(var v=LI(u),m=FI(v),h=II(l,c),y=BI(m),p=0,d=f||NI,g=t?d(u,y):r||i?d(u,0):void 0,w,S;y>p;p++)if((s||p in m)&&(w=m[p],S=h(w,p,v),e))if(t)g[p]=S;else if(S)switch(e){case 3:return!0;case 5:return w;case 6:return p;case 2:ob(g,w)}else switch(e){case 4:return!1;case 7:ob(g,w)}return o?-1:n||a?a:g}},jI={forEach:bn(0),map:bn(1),filter:bn(2),some:bn(3),every:bn(4),find:bn(5),findIndex:bn(6),filterReject:bn(7)},si=oi,_h=de,zI=ri,WI=JR,vu=Zn,VI=ft,Bo=Qn,Ra=lh,$h=kr,Ke=mr,UI=Sh,HI=dt,GI=Jn,KI=sh,mp=ch,hp=hn,YI=ni,wf=ja,Dh=df,KS=bf,gp=cu,Ss=Th,YS=NS,qI=hf,qS=WS,yp=xh,XS=lf,QS=Hr,ZS=oh,XI=VS,Rl=ai.exports,pu=ff.exports,QI=vf,JS=pf,ib=mh,eE=xt,ZI=kh,JI=He,eM=ii,tE=mf,xf=jI.forEach,Rt=QI("hidden"),Sf="Symbol",Es="prototype",sb=eE("toPrimitive"),tM=tE.set,ub=tE.getterFor(Sf),or=Object[Es],ln=_h.Symbol,On=ln&&ln[Es],rE=_h.TypeError,Hd=_h.QObject,xi=zI("JSON","stringify"),nE=XS.f,Cn=QS.f,aE=qS.f,rM=ZS.f,oE=VI([].push),fn=pu("symbols"),mu=pu("op-symbols"),Gd=pu("string-to-symbol-registry"),Kd=pu("symbol-to-string-registry"),nM=pu("wks"),bp=!Hd||!Hd[Es]||!Hd[Es].findChild,wp=Bo&&$h(function(){return Ss(Cn({},"a",{get:function(){return Cn(this,"a",{value:7}).a}})).a!=7})?function(e,t,r){var n=nE(or,t);n&&delete or[t],Cn(e,t,r),n&&e!==or&&Cn(or,t,n)}:Cn,Yd=function(e,t){var r=fn[e]=Ss(On);return tM(r,{type:Sf,tag:e,description:t}),Bo||(r.description=t),r},Ef=function(t,r,n){t===or&&Ef(mu,r,n),hp(t);var a=Dh(r);return hp(n),Ke(fn,a)?(n.enumerable?(Ke(t,Rt)&&t[Rt][a]&&(t[Rt][a]=!1),n=Ss(n,{enumerable:gp(0,!1)})):(Ke(t,Rt)||Cn(t,Rt,gp(1,{})),t[Rt][a]=!0),wp(t,a,n)):Cn(t,a,n)},iE=function(t,r){hp(t);var n=wf(r),a=YS(n).concat(Ah(n));return xf(a,function(o){(!Bo||vu(xp,n,o))&&Ef(t,o,n[o])}),t},aM=function(t,r){return r===void 0?Ss(t):iE(Ss(t),r)},xp=function(t){var r=Dh(t),n=vu(rM,this,r);return this===or&&Ke(fn,r)&&!Ke(mu,r)?!1:n||!Ke(this,r)||!Ke(fn,r)||Ke(this,Rt)&&this[Rt][r]?n:!0},sE=function(t,r){var n=wf(t),a=Dh(r);if(!(n===or&&Ke(fn,a)&&!Ke(mu,a))){var o=nE(n,a);return o&&Ke(fn,a)&&!(Ke(n,Rt)&&n[Rt][a])&&(o.enumerable=!0),o}},uE=function(t){var r=aE(wf(t)),n=[];return xf(r,function(a){!Ke(fn,a)&&!Ke(JS,a)&&oE(n,a)}),n},Ah=function(t){var r=t===or,n=aE(r?mu:wf(t)),a=[];return xf(n,function(o){Ke(fn,o)&&(!r||Ke(or,o))&&oE(a,fn[o])}),a};Ra||(ln=function(){if(KI(On,this))throw rE("Symbol is not a constructor");var t=!arguments.length||arguments[0]===void 0?void 0:KS(arguments[0]),r=ib(t),n=function(a){this===or&&vu(n,mu,a),Ke(this,Rt)&&Ke(this[Rt],r)&&(this[Rt][r]=!1),wp(this,r,gp(1,a))};return Bo&&bp&&wp(or,r,{configurable:!0,set:n}),Yd(r,t)},On=ln[Es],Rl(On,"toString",function(){return ub(this).tag}),Rl(ln,"withoutSetter",function(e){return Yd(ib(e),e)}),ZS.f=xp,QS.f=Ef,XS.f=sE,qI.f=qS.f=uE,yp.f=Ah,ZI.f=function(e){return Yd(eE(e),e)},Bo&&(Cn(On,"description",{configurable:!0,get:function(){return ub(this).description}}),Rl(or,"propertyIsEnumerable",xp,{unsafe:!0})));si({global:!0,wrap:!0,forced:!Ra,sham:!Ra},{Symbol:ln});xf(YS(nM),function(e){JI(e)});si({target:Sf,stat:!0,forced:!Ra},{for:function(e){var t=KS(e);if(Ke(Gd,t))return Gd[t];var r=ln(t);return Gd[t]=r,Kd[r]=t,r},keyFor:function(t){if(!mp(t))throw rE(t+" is not a symbol");if(Ke(Kd,t))return Kd[t]},useSetter:function(){bp=!0},useSimple:function(){bp=!1}});si({target:"Object",stat:!0,forced:!Ra,sham:!Bo},{create:aM,defineProperty:Ef,defineProperties:iE,getOwnPropertyDescriptor:sE});si({target:"Object",stat:!0,forced:!Ra},{getOwnPropertyNames:uE,getOwnPropertySymbols:Ah});si({target:"Object",stat:!0,forced:$h(function(){yp.f(1)})},{getOwnPropertySymbols:function(t){return yp.f(YI(t))}});if(xi){var oM=!Ra||$h(function(){var e=ln();return xi([e])!="[null]"||xi({a:e})!="{}"||xi(Object(e))!="{}"});si({target:"JSON",stat:!0,forced:oM},{stringify:function(t,r,n){var a=XI(arguments),o=r;if(!(!GI(r)&&t===void 0||mp(t)))return UI(r)||(r=function(i,s){if(HI(o)&&(s=vu(o,this,i,s)),!mp(s))return s}),a[1]=r,WI(xi,null,a)}})}if(!On[sb]){var iM=On.valueOf;Rl(On,sb,function(e){return vu(iM,this)})}eM(ln,Sf);JS[Rt]=!0;var sM=He;sM("asyncIterator");var uM=oi,lM=Qn,cM=de,Hu=ft,fM=mr,dM=dt,vM=sh,pM=bf,mM=Hr.f,hM=$S,Jr=cM.Symbol,la=Jr&&Jr.prototype;if(lM&&dM(Jr)&&(!("description"in la)||Jr().description!==void 0)){var lb={},Gu=function(){var t=arguments.length<1||arguments[0]===void 0?void 0:pM(arguments[0]),r=vM(la,this)?new Jr(t):t===void 0?Jr():Jr(t);return t===""&&(lb[r]=!0),r};hM(Gu,Jr),Gu.prototype=la,la.constructor=Gu;var gM=String(Jr("test"))=="Symbol(test)",yM=Hu(la.toString),bM=Hu(la.valueOf),wM=/^Symbol\((.*)\)[^)]+$/,xM=Hu("".replace),SM=Hu("".slice);mM(la,"description",{configurable:!0,get:function(){var t=bM(this),r=yM(t);if(fM(lb,t))return"";var n=gM?SM(r,7,-1):xM(r,wM,"$1");return n===""?void 0:n}}),uM({global:!0,forced:!0},{Symbol:Gu})}var EM=He;EM("hasInstance");var PM=He;PM("isConcatSpreadable");var CM=He;CM("iterator");var TM=He;TM("match");var kM=He;kM("matchAll");var OM=He;OM("replace");var _M=He;_M("search");var $M=He;$M("species");var DM=He;DM("split");var AM=He;AM("toPrimitive");var RM=He;RM("toStringTag");var IM=He;IM("unscopables");var MM=de,FM=ii;FM(MM.JSON,"JSON",!0);var LM=ii;LM(Math,"Math",!0);var BM=oi,NM=de,jM=ii;BM({global:!0},{Reflect:{}});jM(NM.Reflect,"Reflect",!0);var zM=Oh;zM.Symbol;var WM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},VM=hh,qd=VM("span").classList,cb=qd&&qd.constructor&&qd.constructor.prototype,UM=cb===Object.prototype?void 0:cb,HM=xt,GM=Th,KM=Hr,Sp=HM("unscopables"),Ep=Array.prototype;Ep[Sp]==null&&KM.f(Ep,Sp,{configurable:!0,value:GM(null)});var YM=function(e){Ep[Sp][e]=!0},hu={},qM=kr,XM=!qM(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),QM=de,ZM=mr,JM=dt,eF=ni,tF=vf,rF=XM,fb=tF("IE_PROTO"),Pp=QM.Object,nF=Pp.prototype,lE=rF?Pp.getPrototypeOf:function(e){var t=eF(e);if(ZM(t,fb))return t[fb];var r=t.constructor;return JM(r)&&t instanceof r?r.prototype:t instanceof Pp?nF:null},aF=kr,oF=dt,db=lE,iF=ai.exports,sF=xt,Cp=sF("iterator"),cE=!1,Ia,Xd,Qd;[].keys&&(Qd=[].keys(),"next"in Qd?(Xd=db(db(Qd)),Xd!==Object.prototype&&(Ia=Xd)):cE=!0);var uF=Ia==null||aF(function(){var e={};return Ia[Cp].call(e)!==e});uF&&(Ia={});oF(Ia[Cp])||iF(Ia,Cp,function(){return this});var fE={IteratorPrototype:Ia,BUGGY_SAFARI_ITERATORS:cE},lF=fE.IteratorPrototype,cF=Th,fF=cu,dF=ii,vF=hu,pF=function(){return this},mF=function(e,t,r){var n=t+" Iterator";return e.prototype=cF(lF,{next:fF(1,r)}),dF(e,n,!1),vF[n]=pF,e},dE=de,hF=dt,gF=dE.String,yF=dE.TypeError,bF=function(e){if(typeof e=="object"||hF(e))return e;throw yF("Can't set "+gF(e)+" as a prototype")},wF=ft,xF=hn,SF=bF,EF=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=wF(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(a,o){return xF(a),SF(o),e?r(a,o):a.__proto__=o,a}}():void 0),PF=oi,CF=Zn,vE=kS,TF=dt,kF=mF,vb=lE,pb=EF,OF=ii,_F=fu,Zd=ai.exports,$F=xt,DF=hu,pE=fE,AF=vE.PROPER,RF=vE.CONFIGURABLE,mb=pE.IteratorPrototype,Ku=pE.BUGGY_SAFARI_ITERATORS,Si=$F("iterator"),hb="keys",Ei="values",gb="entries",IF=function(){return this},mE=function(e,t,r,n,a,o,i){kF(r,t,n);var s=function(d){if(d===a&&v)return v;if(!Ku&&d in c)return c[d];switch(d){case hb:return function(){return new r(this,d)};case Ei:return function(){return new r(this,d)};case gb:return function(){return new r(this,d)}}return function(){return new r(this)}},u=t+" Iterator",l=!1,c=e.prototype,f=c[Si]||c["@@iterator"]||a&&c[a],v=!Ku&&f||s(a),m=t=="Array"&&c.entries||f,h,y,p;if(m&&(h=vb(m.call(new e)),h!==Object.prototype&&h.next&&(vb(h)!==mb&&(pb?pb(h,mb):TF(h[Si])||Zd(h,Si,IF)),OF(h,u,!0))),AF&&a==Ei&&f&&f.name!==Ei&&(RF?_F(c,"name",Ei):(l=!0,v=function(){return CF(f,this)})),a)if(y={values:s(Ei),keys:o?v:s(hb),entries:s(gb)},i)for(p in y)(Ku||l||!(p in c))&&Zd(c,p,y[p]);else PF({target:t,proto:!0,forced:Ku||l},y);return c[Si]!==v&&Zd(c,Si,v,{name:a}),DF[t]=v,y},MF=ja,Rh=YM,yb=hu,hE=mf,FF=mE,gE="Array Iterator",LF=hE.set,BF=hE.getterFor(gE),NF=FF(Array,"Array",function(e,t){LF(this,{type:gE,target:MF(e),index:0,kind:t})},function(){var e=BF(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values");yb.Arguments=yb.Array;Rh("keys");Rh("values");Rh("entries");var bb=de,yE=WM,jF=UM,Hi=NF,Jd=fu,bE=xt,ev=bE("iterator"),wb=bE("toStringTag"),tv=Hi.values,wE=function(e,t){if(e){if(e[ev]!==tv)try{Jd(e,ev,tv)}catch{e[ev]=tv}if(e[wb]||Jd(e,wb,t),yE[t]){for(var r in Hi)if(e[r]!==Hi[r])try{Jd(e,r,Hi[r])}catch{e[r]=Hi[r]}}}};for(var rv in yE)wE(bb[rv]&&bb[rv].prototype,rv);wE(jF,"DOMTokenList");var zF=He;zF("asyncDispose");var WF=He;WF("dispose");var VF=He;VF("matcher");var UF=He;UF("metadata");var HF=He;HF("observable");var GF=He;GF("patternMatch");var KF=He;KF("replaceAll");var Ih=ft,YF=bh,qF=bf,XF=ih,QF=Ih("".charAt),xb=Ih("".charCodeAt),ZF=Ih("".slice),Sb=function(e){return function(t,r){var n=qF(XF(t)),a=YF(r),o=n.length,i,s;return a<0||a>=o?e?"":void 0:(i=xb(n,a),i<55296||i>56319||a+1===o||(s=xb(n,a+1))<56320||s>57343?e?QF(n,a):i:e?ZF(n,a,a+2):(i-55296<<10)+(s-56320)+65536)}},JF={codeAt:Sb(!1),charAt:Sb(!0)},e5=JF.charAt,t5=bf,xE=mf,r5=mE,SE="String Iterator",n5=xE.set,a5=xE.getterFor(SE);r5(String,"String",function(e){n5(this,{type:SE,string:t5(e),index:0})},function(){var t=a5(this),r=t.string,n=t.index,a;return n>=r.length?{value:void 0,done:!0}:(a=e5(r,n),t.index+=a.length,{value:a,done:!1})});var o5=Zn,Eb=hn,i5=dh,s5=function(e,t,r){var n,a;Eb(e);try{if(n=i5(e,"return"),!n){if(t==="throw")throw r;return r}n=o5(n,e)}catch(o){a=!0,n=o}if(t==="throw")throw r;if(a)throw n;return Eb(n),r},u5=hn,l5=s5,c5=function(e,t,r,n){try{return n?t(u5(r)[0],r[1]):t(r)}catch(a){l5(e,"throw",a)}},f5=xt,d5=hu,v5=f5("iterator"),p5=Array.prototype,m5=function(e){return e!==void 0&&(d5.Array===e||p5[v5]===e)},h5=yf,Pb=dh,g5=hu,y5=xt,b5=y5("iterator"),EE=function(e){if(e!=null)return Pb(e,b5)||Pb(e,"@@iterator")||g5[h5(e)]},w5=de,x5=Zn,S5=fh,E5=hn,P5=xS,C5=EE,T5=w5.TypeError,k5=function(e,t){var r=arguments.length<2?C5(e):t;if(S5(r))return E5(x5(r,e));throw T5(P5(e)+" is not iterable")},O5=de,_5=GS,$5=Zn,D5=ni,A5=c5,R5=m5,I5=FS,M5=gf,Cb=DS,F5=k5,L5=EE,Tb=O5.Array,B5=function(t){var r=D5(t),n=I5(this),a=arguments.length,o=a>1?arguments[1]:void 0,i=o!==void 0;i&&(o=_5(o,a>2?arguments[2]:void 0));var s=L5(r),u=0,l,c,f,v,m,h;if(s&&!(this==Tb&&R5(s)))for(v=F5(r,s),m=v.next,c=n?new this:[];!(f=$5(m,v)).done;u++)h=i?A5(v,o,[f.value,u],!0):f.value,Cb(c,u,h);else for(l=M5(r),c=n?new this(l):Tb(l);l>u;u++)h=i?o(r[u],u):r[u],Cb(c,u,h);return c.length=u,c},N5=xt,PE=N5("iterator"),CE=!1;try{var j5=0,kb={next:function(){return{done:!!j5++}},return:function(){CE=!0}};kb[PE]=function(){return this},Array.from(kb,function(){throw 2})}catch{}var z5=function(e,t){if(!t&&!CE)return!1;var r=!1;try{var n={};n[PE]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},W5=oi,V5=B5,U5=z5,H5=!U5(function(e){Array.from(e)});W5({target:"Array",stat:!0,forced:H5},{from:V5});var G5=Oh;G5.Array.from;typeof Promise=="undefined"&&(th.enable(),self.Promise=S$);Object.assign=U$;var b={exports:{}},ie={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var gu=Symbol.for("react.element"),K5=Symbol.for("react.portal"),Y5=Symbol.for("react.fragment"),q5=Symbol.for("react.strict_mode"),X5=Symbol.for("react.profiler"),Q5=Symbol.for("react.provider"),Z5=Symbol.for("react.context"),J5=Symbol.for("react.forward_ref"),eL=Symbol.for("react.suspense"),tL=Symbol.for("react.memo"),rL=Symbol.for("react.lazy"),Ob=Symbol.iterator;function nL(e){return e===null||typeof e!="object"?null:(e=Ob&&e[Ob]||e["@@iterator"],typeof e=="function"?e:null)}var TE={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},kE=Object.assign,OE={};function ui(e,t,r){this.props=e,this.context=t,this.refs=OE,this.updater=r||TE}ui.prototype.isReactComponent={};ui.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _E(){}_E.prototype=ui.prototype;function Mh(e,t,r){this.props=e,this.context=t,this.refs=OE,this.updater=r||TE}var Fh=Mh.prototype=new _E;Fh.constructor=Mh;kE(Fh,ui.prototype);Fh.isPureReactComponent=!0;var _b=Array.isArray,$E=Object.prototype.hasOwnProperty,Lh={current:null},DE={key:!0,ref:!0,__self:!0,__source:!0};function AE(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)$E.call(t,n)&&!DE.hasOwnProperty(n)&&(a[n]=t[n]);var s=arguments.length-2;if(s===1)a.children=r;else if(1=g},a=function(){},e.unstable_forceFrameRate=function(D){0>D||125>>1,re=D[X];if(re!==void 0&&0<_(re,A))D[X]=A,D[N]=re,N=X;else break e}}function E(D){return D=D[0],D===void 0?null:D}function C(D){var A=D[0];if(A!==void 0){var N=D.pop();if(N!==A){D[0]=N;e:for(var X=0,re=D.length;X_(ve,N))be!==void 0&&0>_(be,ve)?(D[X]=be,D[ce]=N,X=ce):(D[X]=ve,D[ye]=N,X=ye);else if(be!==void 0&&0>_(be,N))D[X]=be,D[ce]=N,X=ce;else break e}}return A}return null}function _(D,A){var N=D.sortIndex-A.sortIndex;return N!==0?N:D.id-A.id}var k=[],R=[],B=1,V=null,z=3,q=!1,ee=!1,Y=!1;function te(D){for(var A=E(R);A!==null;){if(A.callback===null)C(R);else if(A.startTime<=D)C(R),A.sortIndex=A.expirationTime,P(k,A);else break;A=E(R)}}function se(D){if(Y=!1,te(D),!ee)if(E(k)!==null)ee=!0,t(me);else{var A=E(R);A!==null&&r(se,A.startTime-D)}}function me(D,A){ee=!1,Y&&(Y=!1,n()),q=!0;var N=z;try{for(te(A),V=E(k);V!==null&&(!(V.expirationTime>A)||D&&!e.unstable_shouldYield());){var X=V.callback;if(typeof X=="function"){V.callback=null,z=V.priorityLevel;var re=X(V.expirationTime<=A);A=e.unstable_now(),typeof re=="function"?V.callback=re:V===E(k)&&C(k),te(A)}else C(k);V=E(k)}if(V!==null)var ye=!0;else{var ve=E(R);ve!==null&&r(se,ve.startTime-A),ye=!1}return ye}finally{V=null,z=N,q=!1}}var oe=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){ee||q||(ee=!0,t(me))},e.unstable_getCurrentPriorityLevel=function(){return z},e.unstable_getFirstCallbackNode=function(){return E(k)},e.unstable_next=function(D){switch(z){case 1:case 2:case 3:var A=3;break;default:A=z}var N=z;z=A;try{return D()}finally{z=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=oe,e.unstable_runWithPriority=function(D,A){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var N=z;z=D;try{return A()}finally{z=N}},e.unstable_scheduleCallback=function(D,A,N){var X=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0X?(D.sortIndex=N,P(R,D),E(k)===null&&D===E(R)&&(Y?n():Y=!0,r(se,N-X))):(D.sortIndex=re,P(k,D),ee||q||(ee=!0,t(me))),D},e.unstable_wrapCallback=function(D){var A=z;return function(){var N=z;z=A;try{return D.apply(this,arguments)}finally{z=N}}}})(IE);RE.exports=IE;/** @license React v17.0.2 - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Cf=b.exports,Le=dL,rt=RE.exports;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rt}return!1}function Ct(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var lt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){lt[e]=new Ct(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];lt[t]=new Ct(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){lt[e]=new Ct(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){lt[e]=new Ct(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){lt[e]=new Ct(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){lt[e]=new Ct(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){lt[e]=new Ct(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){lt[e]=new Ct(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){lt[e]=new Ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nh=/[\-:]([a-z])/g;function jh(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Nh,jh);lt[t]=new Ct(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Nh,jh);lt[t]=new Ct(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Nh,jh);lt[t]=new Ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){lt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!1,!1)});lt.xlinkHref=new Ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){lt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!0,!0)});function zh(e,t,r,n){var a=lt.hasOwnProperty(t)?lt[t]:null,o=a!==null?a.type===0:n?!1:!(!(2s||a[i]!==o[s])return` -`+a[i].replace(" at new "," at ");while(1<=i&&0<=s);break}}}finally{ov=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ki(e):""}function gL(e){switch(e.tag){case 5:return Ki(e.type);case 16:return Ki("Lazy");case 13:return Ki("Suspense");case 19:return Ki("SuspenseList");case 0:case 2:case 15:return e=qu(e.type,!1),e;case 11:return e=qu(e.type.render,!1),e;case 22:return e=qu(e.type._render,!1),e;case 1:return e=qu(e.type,!0),e;default:return""}}function bo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Tn:return"Fragment";case ba:return"Portal";case Zi:return"Profiler";case Wh:return"StrictMode";case Ji:return"Suspense";case cc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Uh:return(e.displayName||"Context")+".Consumer";case Vh:return(e._context.displayName||"Context")+".Provider";case Tf:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case kf:return bo(e.type);case Gh:return bo(e._render);case Hh:t=e._payload,e=e._init;try{return bo(e(t))}catch{}}return null}function Un(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function LE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function yL(e){var t=LE(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Xu(e){e._valueTracker||(e._valueTracker=yL(e))}function BE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=LE(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function fc(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function kp(e,t){var r=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function Fb(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Un(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function NE(e,t){t=t.checked,t!=null&&zh(e,"checked",t,!1)}function Op(e,t){NE(e,t);var r=Un(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_p(e,t.type,r):t.hasOwnProperty("defaultValue")&&_p(e,t.type,Un(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Lb(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function _p(e,t,r){(t!=="number"||fc(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function bL(e){var t="";return Cf.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function $p(e,t){return e=Le({children:void 0},t),(t=bL(t.children))&&(e.children=t),e}function wo(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a=r.length))throw Error(j(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Un(r)}}function jE(e,t){var r=Un(t.value),n=Un(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function Nb(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Ap={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function zE(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Rp(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?zE(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Qu,WE=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,a)})}:e}(function(e,t){if(e.namespaceURI!==Ap.svg||"innerHTML"in e)e.innerHTML=t;else{for(Qu=Qu||document.createElement("div"),Qu.innerHTML=""+t.valueOf().toString()+"",t=Qu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Cs(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var es={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},wL=["Webkit","ms","Moz","O"];Object.keys(es).forEach(function(e){wL.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),es[t]=es[e]})});function VE(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||es.hasOwnProperty(e)&&es[e]?(""+t).trim():t+"px"}function UE(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=VE(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var xL=Le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ip(e,t){if(t){if(xL[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Mp(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function qh(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Fp=null,xo=null,So=null;function jb(e){if(e=bu(e)){if(typeof Fp!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Rf(t),Fp(e.stateNode,e.type,t))}}function HE(e){xo?So?So.push(e):So=[e]:xo=e}function GE(){if(xo){var e=xo,t=So;if(So=xo=null,jb(e),t)for(e=0;en?0:1<r;r++)t.push(e);return t}function _f(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-Hn(t),e[t]=r}var Hn=Math.clz32?Math.clz32:LL,ML=Math.log,FL=Math.LN2;function LL(e){return e===0?32:31-(ML(e)/FL|0)|0}var BL=rt.unstable_UserBlockingPriority,NL=rt.unstable_runWithPriority,Ll=!0;function jL(e,t,r,n){wa||Qh();var a=rg,o=wa;wa=!0;try{KE(a,e,t,r,n)}finally{(wa=o)||Zh()}}function zL(e,t,r,n){NL(BL,rg.bind(null,e,t,r,n))}function rg(e,t,r,n){if(Ll){var a;if((a=(t&4)===0)&&0=rs),Xb=String.fromCharCode(32),Qb=!1;function cP(e,t){switch(e){case"keyup":return cB.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fP(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var uo=!1;function dB(e,t){switch(e){case"compositionend":return fP(t);case"keypress":return t.which!==32?null:(Qb=!0,Xb);case"textInput":return e=t.data,e===Xb&&Qb?null:e;default:return null}}function vB(e,t){if(uo)return e==="compositionend"||!sg&&cP(e,t)?(e=uP(),Bl=ag=_n=null,uo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=t1(r)}}function mP(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?mP(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function n1(){for(var e=window,t=fc();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=fc(e.document)}return t}function zp(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var EB=dn&&"documentMode"in document&&11>=document.documentMode,lo=null,Wp=null,as=null,Vp=!1;function a1(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Vp||lo==null||lo!==fc(n)||(n=lo,"selectionStart"in n&&zp(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),as&&Ds(as,n)||(as=n,n=mc(Wp,"onSelect"),0fo||(e.current=Hp[fo],Hp[fo]=null,fo--)}function je(e,t){fo++,Hp[fo]=e.current,e.current=t}var Gn={},wt=ea(Gn),Ft=ea(!1),Ma=Gn;function jo(e,t){var r=e.type.contextTypes;if(!r)return Gn;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Lt(e){return e=e.childContextTypes,e!=null}function yc(){Ae(Ft),Ae(wt)}function v1(e,t,r){if(wt.current!==Gn)throw Error(j(168));je(wt,t),je(Ft,r)}function EP(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in e))throw Error(j(108,bo(t)||"Unknown",a));return Le({},r,n)}function jl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gn,Ma=wt.current,je(wt,e),je(Ft,Ft.current),!0}function p1(e,t,r){var n=e.stateNode;if(!n)throw Error(j(169));r?(e=EP(e,t,Ma),n.__reactInternalMemoizedMergedChildContext=e,Ae(Ft),Ae(wt),je(wt,e)):Ae(Ft),je(Ft,r)}var lg=null,ka=null,TB=rt.unstable_runWithPriority,cg=rt.unstable_scheduleCallback,Gp=rt.unstable_cancelCallback,kB=rt.unstable_shouldYield,m1=rt.unstable_requestPaint,Kp=rt.unstable_now,OB=rt.unstable_getCurrentPriorityLevel,If=rt.unstable_ImmediatePriority,PP=rt.unstable_UserBlockingPriority,CP=rt.unstable_NormalPriority,TP=rt.unstable_LowPriority,kP=rt.unstable_IdlePriority,yv={},_B=m1!==void 0?m1:function(){},tn=null,zl=null,bv=!1,h1=Kp(),yt=1e4>h1?Kp:function(){return Kp()-h1};function zo(){switch(OB()){case If:return 99;case PP:return 98;case CP:return 97;case TP:return 96;case kP:return 95;default:throw Error(j(332))}}function OP(e){switch(e){case 99:return If;case 98:return PP;case 97:return CP;case 96:return TP;case 95:return kP;default:throw Error(j(332))}}function Fa(e,t){return e=OP(e),TB(e,t)}function Rs(e,t,r){return e=OP(e),cg(e,t,r)}function Gr(){if(zl!==null){var e=zl;zl=null,Gp(e)}_P()}function _P(){if(!bv&&tn!==null){bv=!0;var e=0;try{var t=tn;Fa(99,function(){for(;eC?(_=E,E=null):_=E.sibling;var k=v(p,E,g[C],w);if(k===null){E===null&&(E=_);break}e&&E&&k.alternate===null&&t(p,E),d=o(k,d,C),P===null?S=k:P.sibling=k,P=k,E=_}if(C===g.length)return r(p,E),S;if(E===null){for(;CC?(_=E,E=null):_=E.sibling;var R=v(p,E,k.value,w);if(R===null){E===null&&(E=_);break}e&&E&&R.alternate===null&&t(p,E),d=o(R,d,C),P===null?S=R:P.sibling=R,P=R,E=_}if(k.done)return r(p,E),S;if(E===null){for(;!k.done;C++,k=g.next())k=f(p,k.value,w),k!==null&&(d=o(k,d,C),P===null?S=k:P.sibling=k,P=k);return S}for(E=n(p,E);!k.done;C++,k=g.next())k=m(E,p,C,k.value,w),k!==null&&(e&&k.alternate!==null&&E.delete(k.key===null?C:k.key),d=o(k,d,C),P===null?S=k:P.sibling=k,P=k);return e&&E.forEach(function(B){return t(p,B)}),S}return function(p,d,g,w){var S=typeof g=="object"&&g!==null&&g.type===Tn&&g.key===null;S&&(g=g.props.children);var P=typeof g=="object"&&g!==null;if(P)switch(g.$$typeof){case Gi:e:{for(P=g.key,S=d;S!==null;){if(S.key===P){switch(S.tag){case 7:if(g.type===Tn){r(p,S.sibling),d=a(S,g.props.children),d.return=p,p=d;break e}break;default:if(S.elementType===g.type){r(p,S.sibling),d=a(S,g.props),d.ref=$i(p,S,g),d.return=p,p=d;break e}}r(p,S);break}else t(p,S);S=S.sibling}g.type===Tn?(d=Oo(g.props.children,p.mode,w,g.key),d.return=p,p=d):(w=Hl(g.type,g.key,g.props,null,p.mode,w),w.ref=$i(p,d,g),w.return=p,p=w)}return i(p);case ba:e:{for(S=g.key;d!==null;){if(d.key===S)if(d.tag===4&&d.stateNode.containerInfo===g.containerInfo&&d.stateNode.implementation===g.implementation){r(p,d.sibling),d=a(d,g.children||[]),d.return=p,p=d;break e}else{r(p,d);break}else t(p,d);d=d.sibling}d=Cv(g,p.mode,w),d.return=p,p=d}return i(p)}if(typeof g=="string"||typeof g=="number")return g=""+g,d!==null&&d.tag===6?(r(p,d.sibling),d=a(d,g),d.return=p,p=d):(r(p,d),d=Pv(g,p.mode,w),d.return=p,p=d),i(p);if(el(g))return h(p,d,g,w);if(Pi(g))return y(p,d,g,w);if(P&&tl(p,g),typeof g=="undefined"&&!S)switch(p.tag){case 1:case 22:case 0:case 11:case 15:throw Error(j(152,bo(p.type)||"Component"))}return r(p,d)}}var Ec=IP(!0),MP=IP(!1),wu={},Br=ea(wu),Ms=ea(wu),Fs=ea(wu);function Sa(e){if(e===wu)throw Error(j(174));return e}function qp(e,t){switch(je(Fs,t),je(Ms,e),je(Br,wu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Rp(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Rp(t,e)}Ae(Br),je(Br,t)}function Wo(){Ae(Br),Ae(Ms),Ae(Fs)}function x1(e){Sa(Fs.current);var t=Sa(Br.current),r=Rp(t,e.type);t!==r&&(je(Ms,e),je(Br,r))}function pg(e){Ms.current===e&&(Ae(Br),Ae(Ms))}var Be=ea(0);function Pc(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var an=null,Dn=null,Nr=!1;function FP(e,t){var r=ar(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function S1(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Xp(e){if(Nr){var t=Dn;if(t){var r=t;if(!S1(e,t)){if(t=Eo(r.nextSibling),!t||!S1(e,t)){e.flags=e.flags&-1025|2,Nr=!1,an=e;return}FP(an,r)}an=e,Dn=Eo(t.firstChild)}else e.flags=e.flags&-1025|2,Nr=!1,an=e}}function E1(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;an=e}function rl(e){if(e!==an)return!1;if(!Nr)return E1(e),Nr=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Up(t,e.memoizedProps))for(t=Dn;t;)FP(e,t),t=Eo(t.nextSibling);if(E1(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Dn=Eo(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Dn=null}}else Dn=an?Eo(e.stateNode.nextSibling):null;return!0}function wv(){Dn=an=null,Nr=!1}var Co=[];function mg(){for(var e=0;eo))throw Error(j(301));o+=1,ot=pt=null,t.updateQueue=null,os.current=IB,e=r(n,a)}while(is)}if(os.current=_c,t=pt!==null&&pt.next!==null,Ls=0,ot=pt=We=null,Cc=!1,t)throw Error(j(300));return e}function Ea(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?We.memoizedState=ot=e:ot=ot.next=e,ot}function Ua(){if(pt===null){var e=We.alternate;e=e!==null?e.memoizedState:null}else e=pt.next;var t=ot===null?We.memoizedState:ot.next;if(t!==null)ot=t,pt=e;else{if(e===null)throw Error(j(310));pt=e,e={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},ot===null?We.memoizedState=ot=e:ot=ot.next=e}return ot}function Mr(e,t){return typeof t=="function"?t(e):t}function Di(e){var t=Ua(),r=t.queue;if(r===null)throw Error(j(311));r.lastRenderedReducer=e;var n=pt,a=n.baseQueue,o=r.pending;if(o!==null){if(a!==null){var i=a.next;a.next=o.next,o.next=i}n.baseQueue=a=o,r.pending=null}if(a!==null){a=a.next,n=n.baseState;var s=i=o=null,u=a;do{var l=u.lane;if((Ls&l)===l)s!==null&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),n=u.eagerReducer===e?u.eagerState:e(n,u.action);else{var c={lane:l,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};s===null?(i=s=c,o=n):s=s.next=c,We.lanes|=l,xu|=l}u=u.next}while(u!==null&&u!==a);s===null?o=n:s.next=i,nr(n,t.memoizedState)||(Cr=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=s,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function Ai(e){var t=Ua(),r=t.queue;if(r===null)throw Error(j(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(a!==null){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);nr(o,t.memoizedState)||(Cr=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function P1(e,t,r){var n=t._getVersion;n=n(t._source);var a=t._workInProgressVersionPrimary;if(a!==null?e=a===n:(e=e.mutableReadLanes,(e=(Ls&e)===e)&&(t._workInProgressVersionPrimary=n,Co.push(t))),e)return r(t._source);throw Co.push(t),Error(j(350))}function LP(e,t,r,n){var a=Et;if(a===null)throw Error(j(349));var o=t._getVersion,i=o(t._source),s=os.current,u=s.useState(function(){return P1(a,t,r)}),l=u[1],c=u[0];u=ot;var f=e.memoizedState,v=f.refs,m=v.getSnapshot,h=f.source;f=f.subscribe;var y=We;return e.memoizedState={refs:v,source:t,subscribe:n},s.useEffect(function(){v.getSnapshot=r,v.setSnapshot=l;var p=o(t._source);if(!nr(i,p)){p=r(t._source),nr(c,p)||(l(p),p=Bn(y),a.mutableReadLanes|=p&a.pendingLanes),p=a.mutableReadLanes,a.entangledLanes|=p;for(var d=a.entanglements,g=p;0r?98:r,function(){e(!0)}),Fa(97<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[$n]=t,e[gc]=n,GP(e,t,!1,!1),t.stateNode=e,i=Mp(r,n),r){case"dialog":$e("cancel",e),$e("close",e),a=n;break;case"iframe":case"object":case"embed":$e("load",e),a=n;break;case"video":case"audio":for(a=0;aim&&(t.flags|=64,o=!0,Ii(n,!1),t.lanes=33554432)}else{if(!o)if(e=Pc(i),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ii(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!Nr)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*yt()-n.renderingStartTime>im&&r!==1073741824&&(t.flags|=64,o=!0,Ii(n,!1),t.lanes=33554432);n.isBackwards?(i.sibling=t.child,t.child=i):(r=n.last,r!==null?r.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=yt(),r.sibling=null,t=Be.current,je(Be,o?t&1|2:t&1),r):null;case 23:case 24:return Cg(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(j(156,t.tag))}function LB(e){switch(e.tag){case 1:Lt(e.type)&&yc();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Wo(),Ae(Ft),Ae(wt),mg(),t=e.flags,(t&64)!==0)throw Error(j(285));return e.flags=t&-4097|64,e;case 5:return pg(e),null;case 13:return Ae(Be),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Ae(Be),null;case 4:return Wo(),null;case 10:return dg(e),null;case 23:case 24:return Cg(),null;default:return null}}function xg(e,t){try{var r="",n=t;do r+=gL(n),n=n.return;while(n);var a=r}catch(o){a=` -Error generating stack: `+o.message+` -`+o.stack}return{value:e,source:t,stack:a}}function tm(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var BB=typeof WeakMap=="function"?WeakMap:Map;function qP(e,t,r){r=Fn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Dc||(Dc=!0,sm=n),tm(e,t)},r}function XP(e,t,r){r=Fn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return tm(e,t),n(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Fr===null?Fr=new Set([this]):Fr.add(this),tm(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}var NB=typeof WeakSet=="function"?WeakSet:Set;function L1(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){jn(e,r)}else t.current=null}function jB(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:xr(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&ug(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(j(163))}function zB(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var a=e;n=a.next,a=a.tag,(a&4)!==0&&(a&1)!==0&&(oC(r,e),qB(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:xr(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&y1(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}y1(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&xP(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&eP(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(j(163))}function B1(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var a=r.memoizedProps.style;a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=VE("display",a)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function N1(e,t){if(ka&&typeof ka.onCommitFiberUnmount=="function")try{ka.onCommitFiberUnmount(lg,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,a=n.destroy;if(n=n.tag,a!==void 0)if((n&4)!==0)oC(t,r);else{n=t;try{a()}catch(o){jn(n,o)}}r=r.next}while(r!==e)}break;case 1:if(L1(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){jn(t,o)}break;case 5:L1(t);break;case 4:QP(e,t)}}function j1(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function z1(e){return e.tag===5||e.tag===3||e.tag===4}function W1(e){e:{for(var t=e.return;t!==null;){if(z1(t))break e;t=t.return}throw Error(j(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(j(161))}r.flags&16&&(Cs(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||z1(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?rm(e,r,t):nm(e,r,t)}function rm(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=hc));else if(n!==4&&(e=e.child,e!==null))for(rm(e,t,r),e=e.sibling;e!==null;)rm(e,t,r),e=e.sibling}function nm(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(nm(e,t,r),e=e.sibling;e!==null;)nm(e,t,r),e=e.sibling}function QP(e,t){for(var r=t,n=!1,a,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(j(160));switch(a=n.stateNode,n.tag){case 5:o=!1;break e;case 3:a=a.containerInfo,o=!0;break e;case 4:a=a.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var i=e,s=r,u=s;;)if(N1(i,u),u.child!==null&&u.tag!==4)u.child.return=u,u=u.child;else{if(u===s)break e;for(;u.sibling===null;){if(u.return===null||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(i=a,s=r.stateNode,i.nodeType===8?i.parentNode.removeChild(s):i.removeChild(s)):a.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){a=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(N1(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function Ev(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var a=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[gc]=n,e==="input"&&n.type==="radio"&&n.name!=null&&NE(r,n),Mp(e,a),t=Mp(e,n),a=0;aa&&(a=i),r&=~o}if(r=a,r=yt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*VB(r/1960))-r,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}it!==5&&(it=2),u=xg(u,s),v=i;do{switch(v.tag){case 3:o=u,v.flags|=4096,t&=-t,v.lanes|=t;var P=qP(v,o,t);g1(v,P);break e;case 1:o=u;var E=v.type,C=v.stateNode;if((v.flags&64)===0&&(typeof E.getDerivedStateFromError=="function"||C!==null&&typeof C.componentDidCatch=="function"&&(Fr===null||!Fr.has(C)))){v.flags|=4096,t&=-t,v.lanes|=t;var _=XP(v,o,t);g1(v,_);break e}}v=v.return}while(v!==null)}aC(r)}catch(k){t=k,Xe===r&&r!==null&&(Xe=r=r.return);continue}break}while(1)}function rC(){var e=$c.current;return $c.current=_c,e===null?_c:e}function Xi(e,t){var r=J;J|=16;var n=rC();Et===e&&bt===t||ko(e,t);do try{HB();break}catch(a){tC(e,a)}while(1);if(fg(),J=r,$c.current=n,Xe!==null)throw Error(j(261));return Et=null,bt=0,it}function HB(){for(;Xe!==null;)nC(Xe)}function GB(){for(;Xe!==null&&!kB();)nC(Xe)}function nC(e){var t=iC(e.alternate,e,La);e.memoizedProps=e.pendingProps,t===null?aC(e):Xe=t,Sg.current=null}function aC(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=FB(r,t,La),r!==null){Xe=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(La&1073741824)!==0||(r.mode&4)===0){for(var n=0,a=r.child;a!==null;)n|=a.lanes|a.childLanes,a=a.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1i&&(s=i,i=P,P=s),s=r1(g,P),o=r1(g,i),s&&o&&(S.rangeCount!==1||S.anchorNode!==s.node||S.anchorOffset!==s.offset||S.focusNode!==o.node||S.focusOffset!==o.offset)&&(w=w.createRange(),w.setStart(s.node,s.offset),S.removeAllRanges(),P>i?(S.addRange(w),S.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),S.addRange(w)))))),w=[],S=g;S=S.parentNode;)S.nodeType===1&&w.push({element:S,left:S.scrollLeft,top:S.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;gyt()-Pg?ko(e,0):Eg|=r),dr(e,t)}function ZB(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=zo()===99?1:2:(rn===0&&(rn=fi),t=io(62914560&~rn),t===0&&(t=4194304))),r=Gt(),e=Lf(e,t),e!==null&&(_f(e,t,r),dr(e,r))}var iC;iC=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Ft.current)Cr=!0;else if((r&n)!==0)Cr=(e.flags&16384)!==0;else{switch(Cr=!1,t.tag){case 3:$1(t),wv();break;case 5:x1(t);break;case 1:Lt(t.type)&&jl(t);break;case 4:qp(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var a=t.type._context;je(bc,a._currentValue),a._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?D1(e,t,r):(je(Be,Be.current&1),t=on(e,t,r),t!==null?t.sibling:null);je(Be,Be.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return F1(e,t,r);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),je(Be,Be.current),n)break;return null;case 23:case 24:return t.lanes=0,xv(e,t,r)}return on(e,t,r)}else Cr=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=jo(t,wt.current),Po(t,r),a=gg(null,t,n,e,a,r),t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Lt(n)){var o=!0;jl(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,vg(t);var i=n.getDerivedStateFromProps;typeof i=="function"&&Sc(t,n,i,e),a.updater=Mf,t.stateNode=a,a._reactInternals=t,Yp(t,n,e,r),t=Jp(null,t,n,!0,o,r)}else t.tag=0,$t(null,t,a,r),t=t.child;return t;case 16:a=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=e3(a),e=xr(a,e),o){case 0:t=Zp(null,t,a,e,r);break e;case 1:t=_1(null,t,a,e,r);break e;case 11:t=k1(null,t,a,e,r);break e;case 14:t=O1(null,t,a,xr(a.type,e),n,r);break e}throw Error(j(306,a,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:xr(n,a),Zp(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:xr(n,a),_1(e,t,n,a,r);case 3:if($1(t),n=t.updateQueue,e===null||n===null)throw Error(j(282));if(n=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,DP(e,t),Is(t,n,null,r),n=t.memoizedState.element,n===a)wv(),t=on(e,t,r);else{if(a=t.stateNode,(o=a.hydrate)&&(Dn=Eo(t.stateNode.containerInfo.firstChild),an=t,o=Nr=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a0?At(pi,--Bt):0,Vo--,Ge===10&&(Vo=1,jf--),Ge}function Kt(){return Ge=Bt2||Ns(Ge)>3?"":" "}function b3(e,t){for(;--t&&Kt()&&!(Ge<48||Ge>102||Ge>57&&Ge<65||Ge>70&&Ge<97););return Eu(e,Gl()+(t<6&&jr()==32&&Kt()==32))}function vm(e){for(;Kt();)switch(Ge){case e:return Bt;case 34:case 39:return vm(e===34||e===39?e:Ge);case 40:e===41&&vm(e);break;case 92:Kt();break}return Bt}function w3(e,t){for(;Kt()&&e+Ge!==47+10;)if(e+Ge===42+42&&jr()===47)break;return"/*"+Eu(t,Bt-1)+"*"+Nf(e===47?e:Kt())}function x3(e){for(;!Ns(jr());)Kt();return Eu(e,Bt)}function S3(e){return pC(Kl("",null,null,null,[""],e=vC(e),0,[0],e))}function Kl(e,t,r,n,a,o,i,s,u){for(var l=0,c=0,f=i,v=0,m=0,h=0,y=1,p=1,d=1,g=0,w="",S=a,P=o,E=n,C=w;p;)switch(h=g,g=Kt()){case 34:case 39:case 91:case 40:C+=dm(g);break;case 9:case 10:case 13:case 32:C+=y3(h);break;case 92:C+=b3(Gl()-1,7);continue;case 47:switch(jr()){case 42:case 47:il(E3(w3(Kt(),Gl()),t,r),u);break;default:C+="/"}break;case 123*y:s[l++]=Ar(C)*d;case 125*y:case 59:case 0:switch(g){case 0:case 125:p=0;case 59+c:m>0&&Ar(C)-f&&il(m>32?Y1(C+";",n,r,f-1):Y1(xe(C," ","")+";",n,r,f-2),u);break;case 59:C+=";";default:if(il(E=K1(C,t,r,l,c,a,s,w,S=[],P=[],f),o),g===123)if(c===0)Kl(C,t,E,E,S,o,f,s,P);else switch(v){case 100:case 109:case 115:Kl(e,E,E,n&&il(K1(e,E,E,0,0,a,s,w,a,S=[],f),P),a,P,f,s,n?S:P);break;default:Kl(C,E,E,E,[""],P,f,s,P)}}l=c=m=0,y=d=1,w=C="",f=i;break;case 58:f=1+Ar(C),m=h;default:if(y<1){if(g==123)--y;else if(g==125&&y++==0&&g3()==125)continue}switch(C+=Nf(g),g*y){case 38:d=c>0?1:(C+="\f",-1);break;case 44:s[l++]=(Ar(C)-1)*d,d=1;break;case 64:jr()===45&&(C+=dm(Kt())),v=jr(),c=Ar(w=C+=x3(Gl())),g++;break;case 45:h===45&&Ar(C)==2&&(y=0)}}return o}function K1(e,t,r,n,a,o,i,s,u,l,c){for(var f=a-1,v=a===0?o:[""],m=Ag(v),h=0,y=0,p=0;h0?v[d]+" "+g:xe(g,/&\f/g,v[d])))&&(u[p++]=w);return zf(e,t,r,a===0?$g:s,u,l,c)}function E3(e,t,r){return zf(e,t,r,cC,Nf(h3()),Bs(e,2,-2),0)}function Y1(e,t,r,n){return zf(e,t,r,Dg,Bs(e,0,n),Bs(e,n+1,-1),n)}function mC(e,t){switch(v3(e,t)){case 5103:return ge+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ge+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ge+e+Rc+e+vt+e+e;case 6828:case 4268:return ge+e+vt+e+e;case 6165:return ge+e+vt+"flex-"+e+e;case 5187:return ge+e+xe(e,/(\w+).+(:[^]+)/,ge+"box-$1$2"+vt+"flex-$1$2")+e;case 5443:return ge+e+vt+"flex-item-"+xe(e,/flex-|-self/,"")+e;case 4675:return ge+e+vt+"flex-line-pack"+xe(e,/align-content|flex-|-self/,"")+e;case 5548:return ge+e+vt+xe(e,"shrink","negative")+e;case 5292:return ge+e+vt+xe(e,"basis","preferred-size")+e;case 6060:return ge+"box-"+xe(e,"-grow","")+ge+e+vt+xe(e,"grow","positive")+e;case 4554:return ge+xe(e,/([^-])(transform)/g,"$1"+ge+"$2")+e;case 6187:return xe(xe(xe(e,/(zoom-|grab)/,ge+"$1"),/(image-set)/,ge+"$1"),e,"")+e;case 5495:case 3959:return xe(e,/(image-set\([^]*)/,ge+"$1$`$1");case 4968:return xe(xe(e,/(.+:)(flex-)?(.*)/,ge+"box-pack:$3"+vt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ge+e+e;case 4095:case 3583:case 4068:case 2532:return xe(e,/(.+)-inline(.+)/,ge+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ar(e)-1-t>6)switch(At(e,t+1)){case 109:if(At(e,t+4)!==45)break;case 102:return xe(e,/(.+:)(.+)-([^]+)/,"$1"+ge+"$2-$3$1"+Rc+(At(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~G1(e,"stretch")?mC(xe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(At(e,t+1)!==115)break;case 6444:switch(At(e,Ar(e)-3-(~G1(e,"!important")&&10))){case 107:return xe(e,":",":"+ge)+e;case 101:return xe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ge+(At(e,14)===45?"inline-":"")+"box$3$1"+ge+"$2$3$1"+vt+"$2box$3")+e}break;case 5936:switch(At(e,t+11)){case 114:return ge+e+vt+xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ge+e+vt+xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ge+e+vt+xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ge+e+vt+e+e}return e}function cs(e,t){for(var r="",n=Ag(e),a=0;a=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var H3={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},G3=/[A-Z]|^ms/g,K3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,SC=function(t){return t.charCodeAt(1)===45},Q1=function(t){return t!=null&&typeof t!="boolean"},kv=hC(function(e){return SC(e)?e:e.replace(G3,"-$&").toLowerCase()}),Z1=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(K3,function(n,a,o){return Rr={name:a,styles:o,next:Rr},a})}return H3[t]!==1&&!SC(t)&&typeof r=="number"&&r!==0?r+"px":r};function js(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Rr={name:r.name,styles:r.styles,next:Rr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Rr={name:n.name,styles:n.styles,next:Rr},n=n.next;var a=r.styles+";";return a}return Y3(e,t,r)}case"function":{if(e!==void 0){var o=Rr,i=r(e);return Rr=o,js(e,t,i)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Y3(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a-1}function w_(x,T){var $=this.__data__,U=Nu($,x);return U<0?(++this.size,$.push([x,T])):$[U][1]=T,this}Xr.prototype.clear=h_,Xr.prototype.delete=g_,Xr.prototype.get=y_,Xr.prototype.has=b_,Xr.prototype.set=w_;function Ka(x){var T=-1,$=x==null?0:x.length;for(this.clear();++T<$;){var U=x[T];this.set(U[0],U[1])}}function x_(){this.size=0,this.__data__={hash:new ia,map:new(ty||Xr),string:new ia}}function S_(x){var T=zu(this,x).delete(x);return this.size-=T?1:0,T}function E_(x){return zu(this,x).get(x)}function P_(x){return zu(this,x).has(x)}function C_(x,T){var $=zu(this,x),U=$.size;return $.set(x,T),this.size+=$.size==U?0:1,this}Ka.prototype.clear=x_,Ka.prototype.delete=S_,Ka.prototype.get=E_,Ka.prototype.has=P_,Ka.prototype.set=C_;function Ya(x){var T=this.__data__=new Xr(x);this.size=T.size}function T_(){this.__data__=new Xr,this.size=0}function k_(x){var T=this.__data__,$=T.delete(x);return this.size=T.size,$}function O_(x){return this.__data__.get(x)}function __(x){return this.__data__.has(x)}function $_(x,T){var $=this.__data__;if($ instanceof Xr){var U=$.__data__;if(!ty||U.length1?$[fe-1]:void 0,Ie=fe>2?$[2]:void 0;for(Te=x.length>3&&typeof Te=="function"?(fe--,Te):void 0,Ie&&q_($[0],$[1],Ie)&&(Te=fe<3?void 0:Te,fe=1),T=Object(T);++U-1&&x%1==0&&x0){if(++T>=a)return arguments[0]}else T=0;return x.apply(void 0,arguments)}}function n$(x){if(x!=null){try{return er.call(x)}catch{}try{return x+""}catch{}}return""}function Wu(x,T){return x===T||x!==x&&T!==T}var Td=ry(function(){return arguments}())?ry:function(x){return gi(x)&&Q.call(x,"callee")&&!i_.call(x,"callee")},kd=Array.isArray;function Od(x){return x!=null&&sy(x.length)&&!_d(x)}function a$(x){return gi(x)&&Od(x)}var iy=u_||l$;function _d(x){if(!sa(x))return!1;var T=ju(x);return T==m||T==h||T==l||T==w}function sy(x){return typeof x=="number"&&x>-1&&x%1==0&&x<=i}function sa(x){var T=typeof x;return x!=null&&(T=="object"||T=="function")}function gi(x){return x!=null&&typeof x=="object"}function o$(x){if(!gi(x)||ju(x)!=g)return!1;var T=Z0(x);if(T===null)return!0;var $=Q.call(T,"constructor")&&T.constructor;return typeof $=="function"&&$ instanceof $&&er.call($)==yn}var uy=Tt?F(Tt):M_;function i$(x){return U_(x,ly(x))}function ly(x){return Od(x)?D_(x,!0):F_(x)}var s$=H_(function(x,T,$,U){ny(x,T,$,U)});function u$(x){return function(){return x}}function cy(x){return x}function l$(){return!1}e.exports=s$})(pm,pm.exports);var ir=pm.exports,TC=1/60*1e3,tN=typeof performance!="undefined"?function(){return performance.now()}:function(){return Date.now()},kC=typeof window!="undefined"?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout(function(){return e(tN())},TC)};function rN(e){var t=[],r=[],n=0,a=!1,o=new WeakSet,i={schedule:function(s,u,l){u===void 0&&(u=!1),l===void 0&&(l=!1);var c=l&&a,f=c?t:r;return u&&o.add(s),f.indexOf(s)===-1&&(f.push(s),c&&a&&(n=t.length)),s},cancel:function(s){var u=r.indexOf(s);u!==-1&&r.splice(u,1),o.delete(s)},process:function(s){var u;if(a=!0,u=[r,t],t=u[0],r=u[1],r.length=0,n=t.length,n)for(var l=0;lparseInt(r[1],10)?1:-1},Vg=function(t){return Mc(Object.entries(t).sort(RC))};function ew(e){var t=Vg(e);return Object.assign(Object.values(t),t)}function vN(e){var t=Object.keys(Vg(e));return new Set(t)}function pN(e){var t;if(!e)return e;e=(t=Fc(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return $o(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function sl(e,t){var r=[];return e&&r.push("@media screen and (min-width: "+Fc(e)+")"),r.length>0&&t&&r.push("and"),t&&r.push("@media screen and (max-width: "+Fc(t)+")"),r.join(" ")}function mN(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=ew(e),n=Object.entries(e).sort(RC).map(function(i,s,u){var l,c=i[0],f=i[1],v=(l=u[s+1])!=null?l:[],m=v[1];return m=parseFloat(m)>0?pN(m):void 0,{breakpoint:c,minW:f,maxW:m,maxWQuery:sl(null,m),minWQuery:sl(f),minMaxQuery:sl(f,m)}}),a=vN(e),o=Array.from(a.values());return{keys:a,normalized:r,isResponsive:function(s){var u=Object.keys(s);return u.length>0&&u.every(function(l){return a.has(l)})},asObject:Vg(e),asArray:ew(e),details:n,media:[null].concat(r.map(function(i){return sl(i)}).slice(1)),toArrayValue:function(s){if(!lr(s))throw new Error("toArrayValue: value must be an object");for(var u=o.map(function(l){var c;return(c=s[l])!=null?c:null});iN(u)===null;)u.pop();return u},toObjectValue:function(s){if(!Array.isArray(s))throw new Error("toObjectValue: value must be an array");return s.reduce(function(u,l,c){var f=o[c];return f!=null&&l!=null&&(u[f]=l),u},{})}}}function IC(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function ed(e){var t;if(!IC(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function td(e){var t;return IC(e)&&(t=e.ownerDocument)!=null?t:document}function hN(e){var t;return(t=e.view)!=null?t:window}function gN(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Kr=gN(),qe=function(t){return t?"":void 0},Ov=function(t){return t?!0:void 0},ze=function(){for(var t=arguments.length,r=new Array(t),n=0;n=37&&r<=40&&t.indexOf("Arrow")!==0,a=n?"Arrow"+t:t;return a}function bN(e){var t,r,n=(t=e.target)!=null?t:e.currentTarget,a=MC(n);return(r=e.relatedTarget)!=null?r:a}function tw(e){return e.button!==0}var FC=function(t){return t.hasAttribute("tabindex")},wN=function(t){return FC(t)&&t.tabIndex===-1};function xN(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function SN(e){return ed(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function LC(e){var t=ed(e)?td(e):document;return t.activeElement===e}function BC(e){return e.parentElement&&BC(e.parentElement)?!0:e.hidden}function EN(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function NC(e){if(!ed(e)||BC(e)||xN(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():EN(e)?!0:FC(e)}function PN(e){return e?ed(e)&&NC(e)&&!wN(e):!1}var CN=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],TN=CN.join();function kN(e){var t=Array.from(e.querySelectorAll(TN));return t.unshift(e),t.filter(NC).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function rw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function It(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n0&&sn(c[0],{preventScroll:a,nextTick:!0})}},[u,a,s,n]);HC(function(){l()},[l]),UC("transitionend",l,s)}function sj(e,t){return t===void 0&&(t=[]),b.exports.useEffect(function(){return function(){return e()}},t)}function GC(){var e=b.exports.useRef(!1),t=b.exports.useState(0),r=t[0],n=t[1];return sj(function(){e.current=!0}),b.exports.useCallback(function(){e.current||n(r+1)},[r])}function uj(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function lj(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}var pj=["containerRef"],YC=gn({strict:!1,name:"PortalContext"}),qC=YC[0],mj=YC[1],Kg="chakra-portal",hj=".chakra-portal",gj=function(t){return b.exports.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},yj=function(t){var r=t.appendToParentPortal,n=t.children,a=b.exports.useRef(null),o=b.exports.useRef(null),i=GC(),s=mj(),u=fj();Uo(function(){if(!!a.current){var c=a.current.ownerDocument,f=r&&s!=null?s:c.body;if(!!f){o.current=c.createElement("div"),o.current.className=Kg,f.appendChild(o.current),i();var v=o.current;return function(){f.contains(v)&&f.removeChild(v)}}}},[]);var l=u!=null&&u.zIndex?b.exports.createElement(gj,{zIndex:u==null?void 0:u.zIndex},n):n;return o.current?Pf.exports.createPortal(b.exports.createElement(qC,{value:o.current},l),o.current):b.exports.createElement("span",{ref:a})},bj=function(t){var r=t.children,n=t.containerRef,a=t.appendToParentPortal,o=n.current,i=o!=null?o:Kr?document.body:void 0,s=b.exports.useMemo(function(){var l=o==null?void 0:o.ownerDocument.createElement("div");return l&&(l.className=Kg),l},[o]),u=GC();return Uo(function(){u()},[]),Uo(function(){if(!(!s||!i))return i.appendChild(s),function(){i.removeChild(s)}},[s,i]),i&&s?Pf.exports.createPortal(b.exports.createElement(qC,{value:a?s:null},r),s):null};function Cu(e){var t=e.containerRef,r=vj(e,pj);return t?b.exports.createElement(bj,ym({containerRef:t},r)):b.exports.createElement(yj,r)}Cu.defaultProps={appendToParentPortal:!0};Cu.className=Kg;Cu.selector=hj;var wj={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},XC=wj,Za=function(){},xj={document:XC,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:Za,removeEventListener:Za,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:Za,removeListener:Za}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:Za,setInterval:function(){return 0},clearInterval:Za},Sj=xj,Ej={window:Sj,document:XC},QC=Kr?{window,document}:Ej,ZC=b.exports.createContext(QC);function Pj(){return b.exports.useContext(ZC)}function Cj(e){var t=e.children,r=e.environment,n=b.exports.useState(null),a=n[0],o=n[1],i=b.exports.useMemo(function(){var u,l=a==null?void 0:a.ownerDocument,c=a==null?void 0:a.ownerDocument.defaultView,f=l?{document:l,window:c}:void 0,v=(u=r!=null?r:f)!=null?u:QC;return v},[a,r]),s=!a&&!r;return I.createElement(ZC.Provider,{value:i},t,s&&I.createElement("span",{ref:function(l){l&&o(l)}}))}var ll={light:"chakra-ui-light",dark:"chakra-ui-dark"},Tj={classList:{add:Us,remove:Us}},kj=function(t){return Kr?t.body:Tj};function Oj(e,t){var r=kj(t);r.classList.add(e?ll.dark:ll.light),r.classList.remove(e?ll.light:ll.dark)}function _j(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var JC={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function $j(e){var t,r=(t=_j(JC.dark))!=null?t:e==="dark";return r?"dark":"light"}function Dj(e){if(!("matchMedia"in window))return Us;var t=window.matchMedia(JC.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var nw={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")},set:function(t){Kr&&document.documentElement.style.setProperty("--chakra-ui-color-mode",t)}},aw=function(){return typeof Storage!="undefined"},ow="chakra-ui-color-mode",Aj={get:function(t){if(!aw())return t;try{var r=localStorage.getItem(ow);return r!=null?r:t}catch{return t}},set:function(t){if(!!aw())try{localStorage.setItem(ow,t)}catch{}},type:"localStorage"},eT=b.exports.createContext({}),Yg=function(){var t=b.exports.useContext(eT);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function Rj(e){var t=e.value,r=e.children,n=e.options,a=n.useSystemColorMode,o=n.initialColorMode,i=e.colorModeManager,s=i===void 0?Aj:i,u=o==="dark"?"dark":"light",l=b.exports.useState(s.type==="cookie"?s.get(u):u),c=l[0],f=l[1],v=Pj(),m=v.document;b.exports.useEffect(function(){if(Kr&&s.type==="localStorage"){var d=$j(u);if(a)return f(d);var g=nw.get(),w=s.get();return f(g||w||(o==="system"?d:u))}},[s,a,u,o]),b.exports.useEffect(function(){var d=c==="dark";Oj(d,m),nw.set(d?"dark":"light")},[c,m]);var h=b.exports.useCallback(function(d,g){if(g===void 0&&(g=!1),!g)s.set(d);else if(s.get()&&!a)return;f(d)},[s,a]),y=b.exports.useCallback(function(){h(c==="light"?"dark":"light")},[c,h]);b.exports.useEffect(function(){var d=a||o==="system",g;return d&&(g=Dj(h)),function(){g&&d&&g()}},[h,a,o]);var p=b.exports.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Us:y,setColorMode:t?Us:h}},[c,h,y,t]);return b.exports.createElement(eT.Provider,{value:p},r)}function Ij(e){var t=window.matchMedia("(prefers-color-scheme: dark)"),r=t.matches?"dark":"light",n;try{n=localStorage.getItem("chakra-ui-color-mode")}catch{console.log("Chakra UI: localStorage is not available. Color mode persistence might not work as expected")}var a=typeof n=="string",o;if(a?o=n:o=e==="system"?r:e,o){var i=document.documentElement;i.style.setProperty("--chakra-ui-color-mode",o)}}var Mj=function(t){var r=t.initialColorMode,n=r===void 0?"light":r,a="("+String(Ij)+")('"+n+"')";return b.exports.createElement("script",{nonce:t.nonce,dangerouslySetInnerHTML:{__html:a}})};function Ho(){return Ho=Object.assign||function(e){for(var t=1;t :not(style) ~ :not(style)",Hj=($v={},$v[rT]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},$v),Gj=(Dv={},Dv[rT]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},Dv);function Bc(e,t){return Bc=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Bc(e,t)}function Kj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bc(e,t)}function bm(){bm=function(a,o){return new r(a,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(a,o,i){var s=new RegExp(a,o);return t.set(s,i||t.get(a)),Bc(s,r.prototype)}Kj(r,RegExp),r.prototype.exec=function(a){var o=e.exec.call(this,a);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(a,o){if(typeof o=="string"){var i=t.get(this);return e[Symbol.replace].call(this,a,o.replace(/\$<([^>]+)>/g,function(u,l){return"$"+i[l]}))}else if(typeof o=="function"){var s=this;return e[Symbol.replace].call(this,a,function(){var u=arguments;return typeof u[u.length-1]!="object"&&(u=[].slice.call(u),u.push(n(u,s))),o.apply(this,u)})}else return e[Symbol.replace].call(this,a,o)};function n(a,o){var i=t.get(o);return Object.keys(i).reduce(function(s,u){return s[u]=a[i[u]],s},Object.create(null))}return bm.apply(this,arguments)}var wm={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},Yj=new Set(Object.values(wm)),nT=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),qj=function(t){return t.trim()};function Xj(e,t){var r,n;if(e==null||nT.has(e))return e;var a=bm(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=a.exec(e))==null?void 0:n.groups)!=null?r:{},i=o.type,s=o.values;if(!i||!s)return e;var u=i.includes("-gradient")?i:i+"-gradient",l=s.split(",").map(qj).filter(Boolean),c=l[0],f=l.slice(1);if((f==null?void 0:f.length)===0)return e;var v=c in wm?wm[c]:c;f.unshift(v);var m=f.map(function(h){if(Yj.has(h))return h;var y=h.indexOf(" "),p=y!==-1?[h.substr(0,y),h.substr(y+1)]:[h],d=p[0],g=p[1],w=aT(g)?g:g&&g.split(" "),S="colors."+d,P=S in t.__cssMap?t.__cssMap[S].varRef:d;return w?[P,w].join(" "):P});return u+"("+m.join(", ")+")"}var aT=function(t){return Ng(t)&&t.includes("(")&&t.includes(")")},Qj=function(t,r){return Xj(t,r!=null?r:{})},Zj=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},$r=function(t){return function(r){return t+"("+r+")"}},Ee={filter:function(t){return t!=="auto"?t:zj},backdropFilter:function(t){return t!=="auto"?t:Wj},ring:function(t){return Vj(Ee.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?Nj():t==="auto-gpu"?jj():t},px:function(t){if(t==null)return t;var r=Zj(t),n=r.unitless;return n||$o(t)?t+"px":t},fraction:function(t){return!$o(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if($C(t)||t==null)return t;var r=Ng(t)&&!t.endsWith("deg");return $o(t)||r?t+"deg":t},gradient:Qj,blur:$r("blur"),opacity:$r("opacity"),brightness:$r("brightness"),contrast:$r("contrast"),dropShadow:$r("drop-shadow"),grayscale:$r("grayscale"),hueRotate:$r("hue-rotate"),invert:$r("invert"),saturate:$r("saturate"),sepia:$r("sepia"),bgImage:function(t){if(t==null)return t;var r=aT(t)||nT.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=Uj[t])!=null?r:{},a=n.space,o=n.divide,i={flexDirection:t};return a&&(i[a]=1),o&&(i[o]=1),i}},O={borderWidths:yr("borderWidths"),borderStyles:yr("borderStyles"),colors:yr("colors"),borders:yr("borders"),radii:yr("radii",Ee.px),space:yr("space",Ee.px),spaceT:yr("space",Ee.px),degreeT:function(t){return{property:t,transform:Ee.degree}},prop:function(t,r,n){return Ho({property:t,scale:r},r&&{transform:Hs({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:yr("sizes",Ee.px),sizesT:yr("sizes",Ee.fraction),shadows:yr("shadows"),logical:Bj,blur:yr("blur",Ee.blur)},Yl={background:O.colors("background"),backgroundColor:O.colors("backgroundColor"),backgroundImage:O.propT("backgroundImage",Ee.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ee.bgClip},bgSize:O.prop("backgroundSize"),bgPosition:O.prop("backgroundPosition"),bg:O.colors("background"),bgColor:O.colors("backgroundColor"),bgPos:O.prop("backgroundPosition"),bgRepeat:O.prop("backgroundRepeat"),bgAttachment:O.prop("backgroundAttachment"),bgGradient:O.propT("backgroundImage",Ee.gradient),bgClip:{transform:Ee.bgClip}};Object.assign(Yl,{bgImage:Yl.backgroundImage,bgImg:Yl.backgroundImage});var he={border:O.borders("border"),borderWidth:O.borderWidths("borderWidth"),borderStyle:O.borderStyles("borderStyle"),borderColor:O.colors("borderColor"),borderRadius:O.radii("borderRadius"),borderTop:O.borders("borderTop"),borderBlockStart:O.borders("borderBlockStart"),borderTopLeftRadius:O.radii("borderTopLeftRadius"),borderStartStartRadius:O.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:O.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:O.radii("borderTopRightRadius"),borderStartEndRadius:O.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:O.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:O.borders("borderRight"),borderInlineEnd:O.borders("borderInlineEnd"),borderBottom:O.borders("borderBottom"),borderBlockEnd:O.borders("borderBlockEnd"),borderBottomLeftRadius:O.radii("borderBottomLeftRadius"),borderBottomRightRadius:O.radii("borderBottomRightRadius"),borderLeft:O.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:O.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:O.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:O.borders(["borderLeft","borderRight"]),borderInline:O.borders("borderInline"),borderY:O.borders(["borderTop","borderBottom"]),borderBlock:O.borders("borderBlock"),borderTopWidth:O.borderWidths("borderTopWidth"),borderBlockStartWidth:O.borderWidths("borderBlockStartWidth"),borderTopColor:O.colors("borderTopColor"),borderBlockStartColor:O.colors("borderBlockStartColor"),borderTopStyle:O.borderStyles("borderTopStyle"),borderBlockStartStyle:O.borderStyles("borderBlockStartStyle"),borderBottomWidth:O.borderWidths("borderBottomWidth"),borderBlockEndWidth:O.borderWidths("borderBlockEndWidth"),borderBottomColor:O.colors("borderBottomColor"),borderBlockEndColor:O.colors("borderBlockEndColor"),borderBottomStyle:O.borderStyles("borderBottomStyle"),borderBlockEndStyle:O.borderStyles("borderBlockEndStyle"),borderLeftWidth:O.borderWidths("borderLeftWidth"),borderInlineStartWidth:O.borderWidths("borderInlineStartWidth"),borderLeftColor:O.colors("borderLeftColor"),borderInlineStartColor:O.colors("borderInlineStartColor"),borderLeftStyle:O.borderStyles("borderLeftStyle"),borderInlineStartStyle:O.borderStyles("borderInlineStartStyle"),borderRightWidth:O.borderWidths("borderRightWidth"),borderInlineEndWidth:O.borderWidths("borderInlineEndWidth"),borderRightColor:O.colors("borderRightColor"),borderInlineEndColor:O.colors("borderInlineEndColor"),borderRightStyle:O.borderStyles("borderRightStyle"),borderInlineEndStyle:O.borderStyles("borderInlineEndStyle"),borderTopRadius:O.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:O.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:O.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:O.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(he,{rounded:he.borderRadius,roundedTop:he.borderTopRadius,roundedTopLeft:he.borderTopLeftRadius,roundedTopRight:he.borderTopRightRadius,roundedTopStart:he.borderStartStartRadius,roundedTopEnd:he.borderStartEndRadius,roundedBottom:he.borderBottomRadius,roundedBottomLeft:he.borderBottomLeftRadius,roundedBottomRight:he.borderBottomRightRadius,roundedBottomStart:he.borderEndStartRadius,roundedBottomEnd:he.borderEndEndRadius,roundedLeft:he.borderLeftRadius,roundedRight:he.borderRightRadius,roundedStart:he.borderInlineStartRadius,roundedEnd:he.borderInlineEndRadius,borderStart:he.borderInlineStart,borderEnd:he.borderInlineEnd,borderTopStartRadius:he.borderStartStartRadius,borderTopEndRadius:he.borderStartEndRadius,borderBottomStartRadius:he.borderEndStartRadius,borderBottomEndRadius:he.borderEndEndRadius,borderStartRadius:he.borderInlineStartRadius,borderEndRadius:he.borderInlineEndRadius,borderStartWidth:he.borderInlineStartWidth,borderEndWidth:he.borderInlineEndWidth,borderStartColor:he.borderInlineStartColor,borderEndColor:he.borderInlineEndColor,borderStartStyle:he.borderInlineStartStyle,borderEndStyle:he.borderInlineEndStyle});var Jj={color:O.colors("color"),textColor:O.colors("color"),fill:O.colors("fill"),stroke:O.colors("stroke")},xm={boxShadow:O.shadows("boxShadow"),mixBlendMode:!0,blendMode:O.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:O.prop("backgroundBlendMode"),opacity:!0};Object.assign(xm,{shadow:xm.boxShadow});var e4={filter:{transform:Ee.filter},blur:O.blur("--chakra-blur"),brightness:O.propT("--chakra-brightness",Ee.brightness),contrast:O.propT("--chakra-contrast",Ee.contrast),hueRotate:O.degreeT("--chakra-hue-rotate"),invert:O.propT("--chakra-invert",Ee.invert),saturate:O.propT("--chakra-saturate",Ee.saturate),dropShadow:O.propT("--chakra-drop-shadow",Ee.dropShadow),backdropFilter:{transform:Ee.backdropFilter},backdropBlur:O.blur("--chakra-backdrop-blur"),backdropBrightness:O.propT("--chakra-backdrop-brightness",Ee.brightness),backdropContrast:O.propT("--chakra-backdrop-contrast",Ee.contrast),backdropHueRotate:O.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:O.propT("--chakra-backdrop-invert",Ee.invert),backdropSaturate:O.propT("--chakra-backdrop-saturate",Ee.saturate)},Nc={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ee.flexDirection},experimental_spaceX:{static:Hj,transform:Hs({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:Gj,transform:Hs({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:O.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0};Object.assign(Nc,{flexDir:Nc.flexDirection});var oT={gridGap:O.space("gridGap"),gridColumnGap:O.space("gridColumnGap"),gridRowGap:O.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},t4={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ee.outline},outlineOffset:!0,outlineColor:O.colors("outlineColor")},rr={width:O.sizesT("width"),inlineSize:O.sizesT("inlineSize"),height:O.sizes("height"),blockSize:O.sizes("blockSize"),boxSize:O.sizes(["width","height"]),minWidth:O.sizes("minWidth"),minInlineSize:O.sizes("minInlineSize"),minHeight:O.sizes("minHeight"),minBlockSize:O.sizes("minBlockSize"),maxWidth:O.sizes("maxWidth"),maxInlineSize:O.sizes("maxInlineSize"),maxHeight:O.sizes("maxHeight"),maxBlockSize:O.sizes("maxBlockSize"),d:O.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:O.propT("float",Ee.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(rr,{w:rr.width,h:rr.height,minW:rr.minWidth,maxW:rr.maxWidth,minH:rr.minHeight,maxH:rr.maxHeight,overscroll:rr.overscrollBehavior,overscrollX:rr.overscrollBehaviorX,overscrollY:rr.overscrollBehaviorY});var r4={listStyleType:!0,listStylePosition:!0,listStylePos:O.prop("listStylePosition"),listStyleImage:!0,listStyleImg:O.prop("listStyleImage")},n4={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},a4={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Av=function(t,r,n){var a={},o=Jf(t,r,{});for(var i in o){var s=i in n&&n[i]!=null;s||(a[i]=o[i])}return a},o4={srOnly:{transform:function(t){return t===!0?n4:t==="focusable"?a4:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return Av(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return Av(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return Av(r,t,n)}}},ds={position:!0,pos:O.prop("position"),zIndex:O.prop("zIndex","zIndices"),inset:O.spaceT(["top","right","bottom","left"]),insetX:O.spaceT(["left","right"]),insetInline:O.spaceT("insetInline"),insetY:O.spaceT(["top","bottom"]),insetBlock:O.spaceT("insetBlock"),top:O.spaceT("top"),insetBlockStart:O.spaceT("insetBlockStart"),bottom:O.spaceT("bottom"),insetBlockEnd:O.spaceT("insetBlockEnd"),left:O.spaceT("left"),insetInlineStart:O.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:O.spaceT("right"),insetInlineEnd:O.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(ds,{insetStart:ds.insetInlineStart,insetEnd:ds.insetInlineEnd});var i4={ring:{transform:Ee.ring},ringColor:O.colors("--chakra-ring-color"),ringOffset:O.prop("--chakra-ring-offset-width"),ringOffsetColor:O.colors("--chakra-ring-offset-color"),ringInset:O.prop("--chakra-ring-inset")},De={margin:O.spaceT("margin"),marginTop:O.spaceT("marginTop"),marginBlockStart:O.spaceT("marginBlockStart"),marginRight:O.spaceT("marginRight"),marginInlineEnd:O.spaceT("marginInlineEnd"),marginBottom:O.spaceT("marginBottom"),marginBlockEnd:O.spaceT("marginBlockEnd"),marginLeft:O.spaceT("marginLeft"),marginInlineStart:O.spaceT("marginInlineStart"),marginX:O.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:O.spaceT("marginInline"),marginY:O.spaceT(["marginTop","marginBottom"]),marginBlock:O.spaceT("marginBlock"),padding:O.space("padding"),paddingTop:O.space("paddingTop"),paddingBlockStart:O.space("paddingBlockStart"),paddingRight:O.space("paddingRight"),paddingBottom:O.space("paddingBottom"),paddingBlockEnd:O.space("paddingBlockEnd"),paddingLeft:O.space("paddingLeft"),paddingInlineStart:O.space("paddingInlineStart"),paddingInlineEnd:O.space("paddingInlineEnd"),paddingX:O.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:O.space("paddingInline"),paddingY:O.space(["paddingTop","paddingBottom"]),paddingBlock:O.space("paddingBlock")};Object.assign(De,{m:De.margin,mt:De.marginTop,mr:De.marginRight,me:De.marginInlineEnd,marginEnd:De.marginInlineEnd,mb:De.marginBottom,ml:De.marginLeft,ms:De.marginInlineStart,marginStart:De.marginInlineStart,mx:De.marginX,my:De.marginY,p:De.padding,pt:De.paddingTop,py:De.paddingY,px:De.paddingX,pb:De.paddingBottom,pl:De.paddingLeft,ps:De.paddingInlineStart,paddingStart:De.paddingInlineStart,pr:De.paddingRight,pe:De.paddingInlineEnd,paddingEnd:De.paddingInlineEnd});var s4={textDecorationColor:O.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:O.shadows("textShadow")},u4={clipPath:!0,transform:O.propT("transform",Ee.transform),transformOrigin:!0,translateX:O.spaceT("--chakra-translate-x"),translateY:O.spaceT("--chakra-translate-y"),skewX:O.degreeT("--chakra-skew-x"),skewY:O.degreeT("--chakra-skew-y"),scaleX:O.prop("--chakra-scale-x"),scaleY:O.prop("--chakra-scale-y"),scale:O.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:O.degreeT("--chakra-rotate")},l4={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:O.prop("transitionDuration","transition.duration"),transitionProperty:O.prop("transitionProperty","transition.property"),transitionTimingFunction:O.prop("transitionTimingFunction","transition.easing")},c4={fontFamily:O.prop("fontFamily","fonts"),fontSize:O.prop("fontSize","fontSizes",Ee.px),fontWeight:O.prop("fontWeight","fontWeights"),lineHeight:O.prop("lineHeight","lineHeights"),letterSpacing:O.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}};function iw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ca={hover:function(t){return t+":hover &, "+t+"[data-hover] &"},focus:function(t){return t+":focus &, "+t+"[data-focus] &"},focusVisible:function(t){return t+":focus-visible &"},active:function(t){return t+":active &, "+t+"[data-active] &"},disabled:function(t){return t+":disabled &, "+t+"[data-disabled] &"},invalid:function(t){return t+":invalid &, "+t+"[data-invalid] &"},checked:function(t){return t+":checked &, "+t+"[data-checked] &"},indeterminate:function(t){return t+":indeterminate &, "+t+"[aria-checked=mixed] &, "+t+"[data-indeterminate] &"},readOnly:function(t){return t+":read-only &, "+t+"[readonly] &, "+t+"[data-read-only] &"},expanded:function(t){return t+":read-only &, "+t+"[aria-expanded=true] &, "+t+"[data-expanded] &"}},fa=function(t){return v4(t,"[role=group]","[data-group]",".group")},v4=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a=0)&&(r[a]=e[a]);return r}var O4=["__cssMap","__cssVars","__breakpoints"],_4=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function $4(e){var t=_4;return lN(e,t)}function D4(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=k4(e,O4);return t}function A4(e){var t,r=D4(e),n=$4(r),a=(t=r.config)==null?void 0:t.cssVarPrefix,o=T4(n,{cssVarPrefix:a}),i=o.cssMap,s=o.cssVars,u={"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"};return Object.assign(r,{__cssVars:Ho({},u,s),__cssMap:i,__breakpoints:mN(r.breakpoints)}),r}var R4=typeof Element!="undefined",I4=typeof Map=="function",M4=typeof Set=="function",F4=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ql(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!ql(e[n],t[n]))return!1;return!0}var o;if(I4&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!ql(n.value[1],t.get(n.value[0])))return!1;return!0}if(M4&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(F4&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;if(R4&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((a[n]==="_owner"||a[n]==="__v"||a[n]==="__o")&&e.$$typeof)&&!ql(e[a[n]],t[a[n]]))return!1;return!0}return e!==e&&t!==t}var L4=function(t,r){try{return ql(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},B4=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,N4=hC(function(e){return B4.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),j4=N4,z4=function(t){return t!=="theme"},dw=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?j4:z4},vw=function(t,r,n){var a;if(r){var o=r.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},W4=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=vw(t,r,n),u=s||dw(a),l=!u("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var v=c.length,m=1;m` or ``");return e}var cT=gn({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "}),fT=cT[0],ra=cT[1],H4=function(){var t=Yg(),r=t.colorMode;return b.exports.createElement(Lg,{styles:function(a){var o=Jf(a,"styles.global"),i=It(o,{theme:a,colorMode:r});if(!!i){var s=iT(i)(a);return s}}})},G4=["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"];function Yr(e){return jg(e,["styleConfig","size","variant","colorScheme"])}function K4(){var e=Yg(),t=lT();return Cm({},e,{theme:t})}function Qg(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var Y4=new Set([].concat(m4,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),q4=new Set(["htmlWidth","htmlHeight","htmlSize"]),X4=function(t){return q4.has(t)||!Y4.has(t)},Q4=["theme","css","__css","sx"],Z4=["baseStyle"],J4=function(t){var r=t.baseStyle;return function(n){n.theme;var a=n.css,o=n.__css,i=n.sx,s=Qg(n,Q4),u=AC(s,function(v,m){return g4(m)}),l=It(r,n),c=Object.assign({},o,l,zg(u),i),f=iT(c)(n.theme);return a?[f,a]:f}};function ez(e,t){var r=t!=null?t:{},n=r.baseStyle,a=Qg(r,Z4);a.shouldForwardProp||(a.shouldForwardProp=X4);var o=J4({baseStyle:n});return Pm(e,a)(o)}var ne=ez;G4.forEach(function(e){ne[e]=ne(e)});function ke(e){return b.exports.forwardRef(e)}var tz=["styleConfig"];function Ha(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var a=t,o=a.styleConfig,i=Qg(a,tz),s=K4(),u=s.theme,l=s.colorMode,c=Jf(u,"components."+e),f=o||c,v=ir({theme:u,colorMode:l},(n=f==null?void 0:f.defaultProps)!=null?n:{},zg(jg(i,["children"]))),m=b.exports.useRef({});if(f){var h,y,p,d,g,w,S=It((h=f.baseStyle)!=null?h:{},v),P=It((y=(p=f.variants)==null?void 0:p[v.variant])!=null?y:{},v),E=It((d=(g=f.sizes)==null?void 0:g[v.size])!=null?d:{},v),C=ir({},S,E,P);(w=r)!=null&&w.isMultiPart&&f.parts&&f.parts.forEach(function(k){var R;C[k]=(R=C[k])!=null?R:{}});var _=L4(m.current,C);_||(m.current=C)}return m.current}function ad(e,t){return Ha(e,t,{isMultiPart:!0})}var rz=function(t){var r=t.children,n=t.colorModeManager,a=t.portalZIndex,o=t.resetCSS,i=o===void 0?!0:o,s=t.theme,u=s===void 0?{}:s,l=t.environment,c=t.cssVarsRoot,f=b.exports.createElement(Cj,{environment:l},r);return b.exports.createElement(JN,null,b.exports.createElement(U4,{theme:u,cssVarsRoot:c},b.exports.createElement(Rj,{colorModeManager:n,options:u.config},i&&b.exports.createElement(eN,null),b.exports.createElement(H4,null),a?b.exports.createElement(dj,{zIndex:a},f):f)))};function st(e,t){nz(e)&&(e="100%");var r=az(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function cl(e){return Math.min(1,Math.max(0,e))}function nz(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function az(e){return typeof e=="string"&&e.indexOf("%")!==-1}function dT(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function fl(e){return e<=1?Number(e)*100+"%":e}function Ca(e){return e.length===1?"0"+e:String(e)}function oz(e,t,r){return{r:st(e,255)*255,g:st(t,255)*255,b:st(r,255)*255}}function pw(e,t,r){e=st(e,255),t=st(t,255),r=st(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=0,s=(n+a)/2;if(n===a)i=0,o=0;else{var u=n-a;switch(i=s>.5?u/(2-n-a):u/(n+a),n){case e:o=(t-r)/u+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function iz(e,t,r){var n,a,o;if(e=st(e,360),t=st(t,100),r=st(r,100),t===0)a=r,o=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,s=2*r-i;n=Rv(s,i,e+1/3),a=Rv(s,i,e),o=Rv(s,i,e-1/3)}return{r:n*255,g:a*255,b:o*255}}function mw(e,t,r){e=st(e,255),t=st(t,255),r=st(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=n,s=n-a,u=n===0?0:s/n;if(n===a)o=0;else{switch(n){case e:o=(t-r)/s+(t>16,g:(e&65280)>>8,b:e&255}}var Tm={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function fz(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,s=!1;return typeof e=="string"&&(e=pz(e)),typeof e=="object"&&(Qr(e.r)&&Qr(e.g)&&Qr(e.b)?(t=oz(e.r,e.g,e.b),i=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qr(e.h)&&Qr(e.s)&&Qr(e.v)?(n=fl(e.s),a=fl(e.v),t=sz(e.h,n,a),i=!0,s="hsv"):Qr(e.h)&&Qr(e.s)&&Qr(e.l)&&(n=fl(e.s),o=fl(e.l),t=iz(e.h,n,o),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=dT(r),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var dz="[-\\+]?\\d+%?",vz="[-\\+]?\\d*\\.\\d+%?",An="(?:"+vz+")|(?:"+dz+")",Iv="[\\s|\\(]+("+An+")[,|\\s]+("+An+")[,|\\s]+("+An+")\\s*\\)?",Mv="[\\s|\\(]+("+An+")[,|\\s]+("+An+")[,|\\s]+("+An+")[,|\\s]+("+An+")\\s*\\)?",wr={CSS_UNIT:new RegExp(An),rgb:new RegExp("rgb"+Iv),rgba:new RegExp("rgba"+Mv),hsl:new RegExp("hsl"+Iv),hsla:new RegExp("hsla"+Mv),hsv:new RegExp("hsv"+Iv),hsva:new RegExp("hsva"+Mv),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function pz(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Tm[e])e=Tm[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=wr.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=wr.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=wr.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=wr.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=wr.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=wr.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=wr.hex8.exec(e),r?{r:Ut(r[1]),g:Ut(r[2]),b:Ut(r[3]),a:gw(r[4]),format:t?"name":"hex8"}:(r=wr.hex6.exec(e),r?{r:Ut(r[1]),g:Ut(r[2]),b:Ut(r[3]),format:t?"name":"hex"}:(r=wr.hex4.exec(e),r?{r:Ut(r[1]+r[1]),g:Ut(r[2]+r[2]),b:Ut(r[3]+r[3]),a:gw(r[4]+r[4]),format:t?"name":"hex8"}:(r=wr.hex3.exec(e),r?{r:Ut(r[1]+r[1]),g:Ut(r[2]+r[2]),b:Ut(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function Qr(e){return Boolean(wr.CSS_UNIT.exec(String(e)))}var Tu=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=cz(t)),this.originalInput=t;var a=fz(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,a,o=t.r/255,i=t.g/255,s=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=dT(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=mw(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=mw(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv("+r+", "+n+"%, "+a+"%)":"hsva("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=pw(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=pw(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl("+r+", "+n+"%, "+a+"%)":"hsla("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),hw(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),uz(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb("+t+", "+r+", "+n+")":"rgba("+t+", "+r+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(r){return Math.round(st(r,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(st(r,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+hw(this.r,this.g,this.b,!1),r=0,n=Object.entries(Tm);r=0,o=!r&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=cl(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=cl(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=cl(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=cl(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),a=new e(t).toRgb(),o=r/100,i={r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),a=360/r,o=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(new e({h:n,s:a,v:o})),o=(o+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,a=[this],o=360/t,i=1;ir.length;)e.count=null,e.seed&&(e.seed+=1),r.push(vT(e));return e.count=t,r}var n=mz(e.hue,e.seed),a=hz(n,e),o=gz(n,a,e),i={h:n,s:a,v:o};return e.alpha!==void 0&&(i.a=e.alpha),new Tu(i)}function mz(e,t){var r=bz(e),n=jc(r,t);return n<0&&(n=360+n),n}function hz(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return jc([0,100],t.seed);var r=pT(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55;break}return jc([n,a],t.seed)}function gz(e,t,r){var n=yz(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100;break}return jc([n,a],r.seed)}function yz(e,t){for(var r=pT(e).lowerBounds,n=0;n=a&&t<=i){var u=(s-o)/(i-a),l=o-u*a;return u*t+l}}return 0}function bz(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=hT.find(function(i){return i.name===e});if(r){var n=mT(r);if(n.hueRange)return n.hueRange}var a=new Tu(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}function pT(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=hT;t=a.hueRange[0]&&e<=a.hueRange[1])return a}throw Error("Color not found")}function jc(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var a=t/233280;return Math.floor(n+a*(r-n))}function mT(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var hT=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],Qe=function(t,r,n){var a=Jf(t,"colors."+r,r),o=new Tu(a),i=o.isValid;return i?a:n},wz=function(t){return function(r){var n=Qe(r,t),a=new Tu(n).isDark();return a?"dark":"light"}},xz=function(t){return function(r){return wz(t)(r)==="dark"}},Go=function(t,r){return function(n){var a=Qe(n,t);return new Tu(a).setAlpha(r).toRgbString()}};function yw(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient( - 45deg, - `+t+` 25%, - transparent 25%, - transparent 50%, - `+t+` 50%, - `+t+` 75%, - transparent 75%, - transparent - )`,backgroundSize:e+" "+e}}function Sz(e){var t=vT().toHexString();return!e||sN(e)?t:e.string&&e.colors?Pz(e.string,e.colors):e.string&&!e.colors?Ez(e.string):e.colors&&!e.string?Cz(e.colors):t}function Ez(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r>a*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function Pz(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n1?r-1:0),a=1;a option, > optgroup":{bg:M("white","gray.700")(t)}})},s8={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},u8=function(t){return{field:i8(t),icon:s8}},gl={paddingInlineEnd:"2rem"},l8=ir({},Fe.sizes,{lg:{field:gl},md:{field:gl},sm:{field:gl},xs:{field:gl,icon:{insetEnd:"0.25rem"}}}),c8={parts:Zz.keys,baseStyle:u8,sizes:l8,variants:Fe.variants,defaultProps:Fe.defaultProps},f8=function(t,r){return CC({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},d8=function(t){var r=M("gray.100","gray.800")(t),n=M("gray.400","gray.600")(t),a=t.startColor,o=a===void 0?r:a,i=t.endColor,s=i===void 0?n:i,u=t.speed,l=t.theme,c=Qe(l,o),f=Qe(l,s);return{opacity:.7,borderRadius:"2px",borderColor:c,background:f,animation:u+"s linear infinite alternate "+f8(c,f)}},v8={baseStyle:d8},p8=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:M("white","gray.700")(t)}}},m8={baseStyle:p8};function h8(e){return ku({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}var g8=function(t){var r=t.orientation;return Ve({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},ku({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},y8=function(t){return{overflow:"hidden",borderRadius:"sm",bg:M("gray.200","whiteAlpha.200")(t),_disabled:{bg:M("gray.300","whiteAlpha.300")(t)}}},b8=function(t){return Ve({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},h8(t))},w8=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:M(r+".500",r+".200")(t)}},x8=function(t){return{container:g8(t),track:y8(t),thumb:b8(t),filledTrack:w8(t)}},S8=function(t){return{thumb:{w:"16px",h:"16px"},track:ku({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},E8=function(t){return{thumb:{w:"14px",h:"14px"},track:ku({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},P8=function(t){return{thumb:{w:"10px",h:"10px"},track:ku({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},C8={lg:S8,md:E8,sm:P8},T8={size:"md",colorScheme:"blue"},k8={parts:Jz.keys,sizes:C8,baseStyle:x8,defaultProps:T8},Lv,Bv,Nv,jv,zv,ya=Zt("spinner-size"),O8={width:[ya.reference],height:[ya.reference]},_8={xs:(Lv={},Lv[ya.variable]="0.75rem",Lv),sm:(Bv={},Bv[ya.variable]="1rem",Bv),md:(Nv={},Nv[ya.variable]="1.5rem",Nv),lg:(jv={},jv[ya.variable]="2rem",jv),xl:(zv={},zv[ya.variable]="3rem",zv)},$8={size:"md"},D8={baseStyle:O8,sizes:_8,defaultProps:$8},A8={fontWeight:"medium"},R8={opacity:.8,marginBottom:2},I8={verticalAlign:"baseline",fontWeight:"semibold"},M8={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},F8={container:{},label:A8,helpText:R8,number:I8,icon:M8},L8={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},B8={size:"md"},N8={parts:e6.keys,baseStyle:F8,sizes:L8,defaultProps:B8},yl,bl,wl,ps=Zt("switch-track-width"),Oa=Zt("switch-track-height"),Wv=Zt("switch-track-diff"),j8=nn.subtract(ps,Oa),_m=Zt("switch-thumb-x"),z8=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[ps.reference],height:[Oa.reference],transitionProperty:"common",transitionDuration:"fast",bg:M("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:M(r+".500",r+".200")(t)}}},W8={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Oa.reference],height:[Oa.reference],_checked:{transform:"translateX("+_m.reference+")"}},V8=function(t){var r,n;return{container:(n={},n[Wv.variable]=j8,n[_m.variable]=Wv.reference,n._rtl=(r={},r[_m.variable]=nn(Wv).negate().toString(),r),n),track:z8(t),thumb:W8}},U8={sm:{container:(yl={},yl[ps.variable]="1.375rem",yl[Oa.variable]="0.75rem",yl)},md:{container:(bl={},bl[ps.variable]="1.875rem",bl[Oa.variable]="1rem",bl)},lg:{container:(wl={},wl[ps.variable]="2.875rem",wl[Oa.variable]="1.5rem",wl)}},H8={size:"md",colorScheme:"blue"},G8={parts:t6.keys,baseStyle:V8,sizes:U8,defaultProps:H8},K8={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"}},zc={"&[data-is-numeric=true]":{textAlign:"end"}},Y8=function(t){var r=t.colorScheme;return{th:Ve({color:M("gray.600","gray.400")(t),borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},zc),td:Ve({borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},zc),caption:{color:M("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},q8=function(t){var r=t.colorScheme;return{th:Ve({color:M("gray.600","gray.400")(t),borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},zc),td:Ve({borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},zc),caption:{color:M("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:M(r+".100",r+".700")(t)},td:{background:M(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},X8={simple:Y8,striped:q8,unstyled:{}},Q8={sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},Z8={variant:"simple",size:"md",colorScheme:"gray"},J8={parts:r6.keys,baseStyle:K8,variants:X8,sizes:Q8,defaultProps:Z8},eU=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},tU=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},rU=function(t){var r=t.align,n=r===void 0?"start":r,a=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:a==="vertical"?"column":"row"}},nU={p:4},aU=function(t){return{root:eU(t),tab:tU(t),tablist:rU(t),tabpanel:nU}},oU={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},iU=function(t){var r,n,a=t.colorScheme,o=t.orientation,i=o==="vertical",s=o==="vertical"?"borderStart":"borderBottom",u=i?"marginStart":"marginBottom";return{tablist:(r={},r[s]="2px solid",r.borderColor="inherit",r),tab:(n={},n[s]="2px solid",n.borderColor="transparent",n[u]="-2px",n._selected={color:M(a+".600",a+".300")(t),borderColor:"currentColor"},n._active={bg:M("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},sU=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:M(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:M("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},uU=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:M("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:M("#fff","gray.800")(t),color:M(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},lU=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Qe(n,r+".700"),bg:Qe(n,r+".100")}}}},cU=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:M("gray.600","inherit")(t),_selected:{color:M("#fff","gray.800")(t),bg:M(r+".600",r+".300")(t)}}}},fU={},dU={line:iU,enclosed:sU,"enclosed-colored":uU,"soft-rounded":lU,"solid-rounded":cU,unstyled:fU},vU={size:"md",variant:"line",colorScheme:"blue"},pU={parts:n6.keys,baseStyle:aU,sizes:oU,variants:dU,defaultProps:vU},mU={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},hU={lineHeight:1.2,overflow:"visible"},gU={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},yU={container:mU,label:hU,closeButton:gU},bU={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},wU={subtle:function(t){return{container:Do.variants.subtle(t)}},solid:function(t){return{container:Do.variants.solid(t)}},outline:function(t){return{container:Do.variants.outline(t)}}},xU={size:"md",variant:"subtle",colorScheme:"gray"},SU={parts:a6.keys,variants:wU,baseStyle:yU,sizes:bU,defaultProps:xU},kw,Ow,_w,$w,Dw,EU=Ve({},Fe.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),PU={outline:function(t){var r;return(r=Fe.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Fe.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Fe.variants.filled(t).field)!=null?r:{}},unstyled:(kw=Fe.variants.unstyled.field)!=null?kw:{}},CU={xs:(Ow=Fe.sizes.xs.field)!=null?Ow:{},sm:(_w=Fe.sizes.sm.field)!=null?_w:{},md:($w=Fe.sizes.md.field)!=null?$w:{},lg:(Dw=Fe.sizes.lg.field)!=null?Dw:{}},TU={size:"md",variant:"outline"},kU={baseStyle:EU,sizes:CU,variants:PU,defaultProps:TU},Vv=Zt("tooltip-bg"),OU=Zt("popper-arrow-bg"),_U=function(t){var r,n=M("gray.700","gray.300")(t);return r={},r[Vv.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[Vv.reference],r[OU.variable]=[Vv.reference],r.color=M("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},$U={baseStyle:_U},DU=function(t){return{color:M("red.500","red.300")(t),mt:2,fontSize:"sm"}},AU=function(t){return{marginEnd:"0.5em",color:M("red.500","red.300")(t)}},RU=function(t){return{text:DU(t),icon:AU(t)}},IU={parts:Vz.keys,baseStyle:RU},MU={Accordion:c6,Alert:y6,Avatar:O6,Badge:Do,Breadcrumb:L6,Button:K6,Checkbox:Jg,CloseButton:nW,Code:sW,Container:lW,Divider:mW,Drawer:TW,Editable:$W,Form:IW,FormLabel:FW,Heading:jW,Input:Fe,Kbd:XW,Link:ZW,List:tV,Menu:lV,Modal:wV,NumberInput:DV,PinInput:FV,Popover:GV,Progress:e8,Radio:o8,Select:c8,Skeleton:v8,SkipLink:m8,Slider:k8,Spinner:D8,Stat:N8,Switch:G8,Table:J8,Tabs:pU,Tag:SU,Textarea:kU,Tooltip:$U,FormError:IU},FU={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},LU=FU,BU=Tz({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),NU=BU,jU={transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},zU=jU,WU={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},VU=WU,UU={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"},HU=UU,GU={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"},KU={"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)"},YU={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},qU={property:GU,easing:KU,duration:YU},XU=qU,QU={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},ZU=QU,JU={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},e9=JU,t9=Ve({breakpoints:NU,zIndices:ZU,radii:VU,blur:e9,colors:zU},ST,{sizes:wT,shadows:HU,space:bT,borders:LU,transition:XU}),r9=t9,n9={global:function(t){return{body:{fontFamily:"body",color:M("gray.800","whiteAlpha.900")(t),bg:M("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:M("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:M("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},a9=n9,o9=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function i9(e){return lr(e)?o9.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var s9="ltr",u9={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},PT=Ve({direction:s9},r9,{components:MU,styles:a9,config:u9}),$m=function(e,t){return $m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},$m(e,t)};function CT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$m(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var L=function(){return L=Object.assign||function(t){for(var r,n=1,a=arguments.length;n0)&&!(a=n.next()).done;)o.push(a.value)}catch(s){i={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function Nt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n-1||/[A-Z]/.test(e))}var ms={};function O9(e){for(var t in e)ms[t]=e[t]}var _9=["","X","Y","Z"],$9=["translate","scale","rotate","skew"],Ks=["transformPerspective","x","y","z"];$9.forEach(function(e){return _9.forEach(function(t){return Ks.push(e+t)})});function D9(e,t){return Ks.indexOf(e)-Ks.indexOf(t)}var A9=new Set(Ks);function fd(e){return A9.has(e)}var R9=new Set(["originX","originY","originZ"]);function AT(e){return R9.has(e)}function RT(e,t){var r=t.layout,n=t.layoutId;return fd(e)||AT(e)||(r||n!==void 0)&&(!!ms[e]||e==="opacity")}var qn=function(e){return e!==null&&typeof e=="object"&&e.getVelocity},I9={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function M9(e,t,r,n){var a=e.transform,o=e.transformKeys,i=t.enableHardwareAcceleration,s=i===void 0?!0:i,u=t.allowTransformNone,l=u===void 0?!0:u,c="";o.sort(D9);for(var f=!1,v=o.length,m=0;m5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}var Rm={test:o0("#"),parse:W9,transform:ho.transform},St={test:function(e){return ho.test(e)||Rm.test(e)||mo.test(e)},parse:function(e){return ho.test(e)?ho.parse(e):mo.test(e)?mo.parse(e):Rm.parse(e)},transform:function(e){return _u(e)?e:e.hasOwnProperty("red")?ho.transform(e):mo.transform(e)}},LT="${c}",BT="${n}";function V9(e){var t,r,n,a;return isNaN(e)&&_u(e)&&((r=(t=e.match(Ys))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((a=(n=e.match(Am))===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)>0}function NT(e){var t=[],r=0,n=e.match(Am);n&&(r=n.length,e=e.replace(Am,LT),t.push.apply(t,n.map(St.parse)));var a=e.match(Ys);return a&&(e=e.replace(Ys,BT),t.push.apply(t,a.map(Ga.parse))),{values:t,numColors:r,tokenised:e}}function jT(e){return NT(e).values}function zT(e){var t=NT(e),r=t.values,n=t.numColors,a=t.tokenised,o=r.length;return function(i){for(var s=a,u=0;u0?-1:1;return E*((g-w)*S)/P}):(l=function(y){var p=Math.exp(-y*r),d=(y-i)*r+1;return-Gv+p*d},c=function(y){var p=Math.exp(-y*r),d=(i-y)*(r*r);return p*d});var v=5/r,m=MH(l,c,v);if(r=r*1e3,isNaN(m))return{stiffness:100,damping:10,duration:r};var h=Math.pow(m,2)*u;return{stiffness:h,damping:f*2*Math.sqrt(u*h),duration:r}}var IH=12;function MH(e,t,r){for(var n=r,a=1;a=y;else{var E=g(S)*1e3,C=Math.abs(E)<=i,_=Math.abs(a-P)<=s;l.done=C&&_}return l.value=l.done?a:P,l},flipTarget:function(){var S;h=-h,S=[a,r],r=S[0],a=S[1],w()}}}v0.needsInterpolation=function(e,t){return typeof e=="string"||typeof t=="string"};var Ww=function(e){return 0},Xs=function(e,t,r){var n=t-e;return n===0?1:(r-e)/n},jt=function(e,t,r){return-r*e+r*t+e},NH=function(e,t,r){var n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},jH=[Rm,ho,mo],Vw=function(e){return jH.find(function(t){return t.test(e)})},sk=function(e,t){var r=Vw(e),n=Vw(t);Gs(r.transform===n.transform);var a=r.parse(e),o=n.parse(t),i=L({},a),s=r===mo?jt:NH;return function(u){for(var l in i)l!=="alpha"&&(i[l]=s(a[l],o[l],u));return i.alpha=jt(a.alpha,o.alpha,u),r.transform(i)}},Lm=function(e){return typeof e=="number"},zH=function(e,t){return function(r){return t(e(r))}},Du=function(){for(var e=[],t=0;t=e[n]&&(o=n-1,i=!0),!i){for(var s=1;sa||s===n);s++);o=s-1}var u=Xs(e[o],e[o+1],a);return t[o](u)}}function fk(e,t,r){var n=r===void 0?{}:r,a=n.clamp,o=a===void 0?!0:a,i=n.ease,s=n.mixer,u=e.length;Gs(u===t.length),Gs(!i||!Array.isArray(i)||i.length===u-1),e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=HH(t,i,s),c=u===2?GH(e,l):KH(e,l);return o?function(f){return c(Uc(e[0],e[u-1],f))}:c}var dd=function(e){return function(t){return 1-e(1-t)}},p0=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},YH=function(e){return function(t){return Math.pow(t,e)}},dk=function(e){return function(t){return t*t*((e+1)*t-e)}},qH=function(e){var t=dk(e);return function(r){return(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))}},vk=1.525,XH=4/11,QH=8/11,ZH=9/10,pk=function(e){return e},m0=YH(2),JH=dd(m0),mk=p0(m0),hk=function(e){return 1-Math.sin(Math.acos(e))},gk=dd(hk),e7=p0(gk),h0=dk(vk),t7=dd(h0),r7=p0(h0),n7=qH(vk),a7=4356/361,o7=35442/1805,i7=16061/1805,Hc=function(e){if(e===1||e===0)return e;var t=e*e;return e=u,l},flipTarget:function(){c.reverse(),m=v()}}}function d7(e){var t=e.velocity,r=t===void 0?0:t,n=e.from,a=n===void 0?0:n,o=e.power,i=o===void 0?.8:o,s=e.timeConstant,u=s===void 0?350:s,l=e.restDelta,c=l===void 0?.5:l,f=e.modifyTarget,v={done:!1,value:a},m=i*r,h=a+m,y=f===void 0?h:f(h);return y!==h&&(m=y-a),{next:function(p){var d=-m*Math.exp(-p/u);return v.done=!(d>c||d<-c),v.value=v.done?y:y+d,v},flipTarget:function(){}}}var Hw={keyframes:Xl,spring:v0,decay:d7};function v7(e){if(Array.isArray(e.to))return Xl;if(Hw[e.type])return Hw[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Xl:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?v0:Xl}function yk(e,t,r){return r===void 0&&(r=0),e-t-r}function p7(e,t,r,n){return r===void 0&&(r=0),n===void 0&&(n=!0),n?yk(t+-e,t,r):t-(e-t)+r}function m7(e,t,r,n){return n?e>=t+r:e<=-r}var h7=function(e){var t=function(r){var n=r.delta;return e(n)};return{start:function(){return Lr.update(t,!0)},stop:function(){return fs.update(t)}}};function bk(e){var t,r,n=e.from,a=e.autoplay,o=a===void 0?!0:a,i=e.driver,s=i===void 0?h7:i,u=e.elapsed,l=u===void 0?0:u,c=e.repeat,f=c===void 0?0:c,v=e.repeatType,m=v===void 0?"loop":v,h=e.repeatDelay,y=h===void 0?0:h,p=e.onPlay,d=e.onStop,g=e.onComplete,w=e.onRepeat,S=e.onUpdate,P=Jt(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),E=P.to,C,_=0,k=P.duration,R,B=!1,V=!0,z,q=v7(P);!((r=(t=q).needsInterpolation)===null||r===void 0)&&r.call(t,n,E)&&(z=fk([0,100],[n,E],{clamp:!1}),n=0,E=100);var ee=q(L(L({},P),{from:n,to:E}));function Y(){_++,m==="reverse"?(V=_%2===0,l=p7(l,k,y,V)):(l=yk(l,k,y),m==="mirror"&&ee.flipTarget()),B=!1,w&&w()}function te(){C.stop(),g&&g()}function se(oe){if(V||(oe=-oe),l+=oe,!B){var D=ee.next(Math.max(0,l));R=D.value,z&&(R=z(R)),B=V?D.done:l<=0}S==null||S(R),B&&(_===0&&(k!=null||(k=l)),_i}function C(Y){return o===void 0?i:i===void 0||Math.abs(o-Y)B||V===-1&&Y0?r=i:t=i;while(Math.abs(o)>y7&&++s=S7?E7(s,v,e,r):m===0?v:w7(s,u,u+El,e,r)}return function(s){return s===0||s===1?s:Gc(i(s),t,n)}}function C7(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,o=e.visualElement,i=t||r||n||a,s=b.exports.useRef(!1),u=b.exports.useRef(null);function l(){var h;(h=u.current)===null||h===void 0||h.call(u),u.current=null}function c(){var h;return l(),s.current=!1,(h=o.animationState)===null||h===void 0||h.setActive(Ne.Tap,!1),!ak()}function f(h,y){!c()||(ok(o.getInstance(),h.target)?t==null||t(h,y):n==null||n(h,y))}function v(h,y){!c()||n==null||n(h,y)}function m(h,y){var p;l(),!s.current&&(s.current=!0,u.current=Du(Ro(window,"pointerup",f),Ro(window,"pointercancel",v)),r==null||r(h,y),(p=o.animationState)===null||p===void 0||p.setActive(Ne.Tap,!0))}Vc(o,"pointerdown",i?m:void 0),ik(l)}var _a=function(e){return function(t){return e(t),null}},T7={tap:_a(C7),focus:_a(gH),hover:_a(OH)};function Tk(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n-1&&e.splice(r,1)}var Zl=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return kk(this.subscriptions,t),function(){return Ok(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var a=this.subscriptions.length;if(!!a)if(a===1)this.subscriptions[0](t,r,n);else for(var o=0;og&&B,ee=Array.isArray(R)?R:[R],Y=ee.reduce(o,{});V===!1&&(Y={});var te=k.prevResolvedValues,se=te===void 0?{}:te,me=L(L({},se),Y),oe=function(X){q=!0,p.delete(X),k.needsAnimating[X]=!0};for(var D in me){var A=Y[D],N=se[D];d.hasOwnProperty(D)||(A!==N?qs(A)&&qs(N)?Tk(A,N)?k.protectedKeys[D]=!0:oe(D):A!==void 0?oe(D):p.add(D):A!==void 0&&p.has(D)?oe(D):k.protectedKeys[D]=!0)}k.prevProp=R,k.prevResolvedValues=Y,k.isActive&&(d=L(L({},d),Y)),a&&e.blockInitialAnimation&&(q=!1),q&&!z&&y.push.apply(y,Nt([],Ue(ee.map(function(X){return{animation:X,options:L({type:_},c)}}))))},S=0;S=3;if(!(!m&&!h)){var y=v.point,p=Ic().timestamp;a.history.push(L(L({},y),{timestamp:p}));var d=a.handlers,g=d.onStart,w=d.onMove;m||(g&&g(a.lastMoveEvent,v),a.startEvent=a.lastMoveEvent),w&&w(a.lastMoveEvent,v)}}},this.handlePointerMove=function(v,m){if(a.lastMoveEvent=v,a.lastMoveEventInfo=Yv(m,a.transformPagePoint),ZT(v)&&v.buttons===0){a.handlePointerUp(v,m);return}Lr.update(a.updatePoint,!0)},this.handlePointerUp=function(v,m){a.end();var h=a.handlers,y=h.onEnd,p=h.onSessionEnd,d=qv(Yv(m,a.transformPagePoint),a.history);a.startEvent&&y&&y(v,d),p&&p(v,d)},!(JT(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=i;var s=d0(t),u=Yv(s,this.transformPagePoint),l=u.point,c=Ic().timestamp;this.history=[L(L({},l),{timestamp:c})];var f=r.onSessionStart;f&&f(t,qv(u,this.history)),this.removeListeners=Du(Ro(window,"pointermove",this.handlePointerMove),Ro(window,"pointerup",this.handlePointerUp),Ro(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),fs.update(this.updatePoint)},e}();function Yv(e,t){return t?{point:t(e.point)}:e}function Zw(e,t){return{x:e.x-t.x,y:e.y-t.y}}function qv(e,t){var r=e.point;return{point:r,delta:Zw(r,Rk(t)),offset:Zw(r,iG(t)),velocity:sG(t,.1)}}function iG(e){return e[0]}function Rk(e){return e[e.length-1]}function sG(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=Rk(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Kc(t)));)r--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function uG(e){return e}function Ik(e){var t=e.top,r=e.left,n=e.right,a=e.bottom;return{x:{min:r,max:n},y:{min:t,max:a}}}function lG(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}function cG(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right;t===void 0&&(t=uG);var i=t({x:n,y:r}),s=t({x:o,y:a});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function Xn(){return{x:{min:0,max:1},y:{min:0,max:1}}}function fG(e){return{x:L({},e.x),y:L({},e.y)}}var Jw={translate:0,scale:1,origin:0,originPoint:0};function ex(){return{x:L({},Jw),y:L({},Jw)}}function Dt(e){return[e("x"),e("y")]}function Mk(e,t,r){var n=t.min,a=t.max;return n!==void 0&&ea&&(e=r?jt(a,e,r.max):Math.min(e,a)),e}function dG(e,t,r,n,a){var o=e-t*r;return n?Mk(o,n,a):o}function tx(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function vG(e,t){var r=t.top,n=t.left,a=t.bottom,o=t.right;return{x:tx(e.x,n,o),y:tx(e.y,r,a)}}function rx(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.minn?r=Xs(t.min,t.max-n,e.min):n>a&&(r=Xs(e.min,e.max-a,t.min)),yG(r)}function ix(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=jt(t.min,t.max,e.origin),e.scale=Qs(r)/Qs(t),ox(e.scale,1,1e-4)&&(e.scale=1),e.translate=jt(r.min,r.max,e.origin)-e.originPoint,ox(e.translate)&&(e.translate=0)}function Bk(e,t,r,n){ix(e.x,t.x,r.x,sx(n.originX)),ix(e.y,t.y,r.y,sx(n.originY))}function sx(e){return typeof e=="number"?e:.5}function ux(e,t,r){e.min=r.min+t.min,e.max=e.min+Qs(t)}function wG(e,t){ux(e.target.x,e.relativeTarget.x,t.target.x),ux(e.target.y,e.relativeTarget.y,t.target.y)}var x0=function(e,t){return e.depth-t.depth};function Nk(e){var t=e.projection.isEnabled;return t||e.shouldResetTransform()}function qc(e,t){t===void 0&&(t=[]);var r=e.parent;return r&&qc(r,t),Nk(e)&&t.push(e),t}function xG(e){var t=[],r=function(n){Nk(n)&&t.push(n),n.children.forEach(r)};return e.children.forEach(r),t.sort(x0)}function Jl(e){if(!e.shouldResetTransform()){var t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=fG(t.layout),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),Lr.update(function(){return e.rebaseProjectionTarget()})}}function SG(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function EG(e,t,r,n){e.min=jt(t.min,r.min,n),e.max=jt(t.max,r.max,n)}function lx(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Ko(e,t){return{x:lx(e.x,t.x),y:lx(e.y,t.y)}}function PG(e,t){var r=e.getLayoutId(),n=t.getLayoutId();return r!==n||n===void 0&&e!==t}function jk(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function cx(e,t){e.min=t.min,e.max=t.max}function CG(e,t){cx(e.x,t.x),cx(e.y,t.y)}function Xc(e,t,r){var n=e-r,a=t*n;return r+a}function fx(e,t,r,n,a){return a!==void 0&&(e=Xc(e,a,n)),Xc(e,r,n)+t}function jm(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),e.min=fx(e.min,t,r,n,a),e.max=fx(e.max,t,r,n,a)}function TG(e,t){var r=t.x,n=t.y;jm(e.x,r.translate,r.scale,r.originPoint),jm(e.y,n.translate,n.scale,n.originPoint)}function dx(e,t,r,n){var a=Ue(n,3),o=a[0],i=a[1],s=a[2];e.min=t.min,e.max=t.max;var u=r[s]!==void 0?r[s]:.5,l=jt(t.min,t.max,u);jm(e,r[o],r[i],l,r.scale)}var zk=["x","scaleX","originX"],Wk=["y","scaleY","originY"];function zm(e,t,r){dx(e.x,t.x,r,zk),dx(e.y,t.y,r,Wk)}function vx(e,t,r,n,a){return e-=t,e=Xc(e,1/r,n),a!==void 0&&(e=Xc(e,1/a,n)),e}function kG(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5);var o=jt(e.min,e.max,n)-t;e.min=vx(e.min,t,r,o,a),e.max=vx(e.max,t,r,o,a)}function px(e,t,r){var n=Ue(r,3),a=n[0],o=n[1],i=n[2];kG(e,t[a],t[o],t[i],t.scale)}function Vk(e,t){px(e.x,t,zk),px(e.y,t,Wk)}function OG(e,t,r){var n=r.length;if(!!n){t.x=t.y=1;for(var a,o,i=0;it?r="y":Math.abs(e.x)>t&&(r="x"),r}function RG(e){var t=e.dragControls,r=e.visualElement,n=b.exports.useContext(id).transformPagePoint,a=n0(function(){return new DG({visualElement:r})});a.setProps(L(L({},e),{transformPagePoint:n})),b.exports.useEffect(function(){return t&&t.subscribe(a)},[a]),b.exports.useEffect(function(){return a.mount(r)},[])}function IG(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,o=e.visualElement,i=t||r||n||a,s=b.exports.useRef(null),u=b.exports.useContext(id).transformPagePoint,l={onSessionStart:a,onStart:r,onMove:t,onEnd:function(f,v){s.current=null,n&&n(f,v)}};b.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(l)});function c(f){s.current=new Ak(f,l,{transformPagePoint:u})}Vc(o,"pointerdown",i&&c),ik(function(){return s.current&&s.current.end()})}var MG={pan:_a(IG),drag:_a(RG)},Zs;(function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"})(Zs||(Zs={}));var Um;(function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"})(Um||(Um={}));function Hm(e){return typeof e=="string"&&e.startsWith("var(--")}var Uk=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function FG(e){var t=Uk.exec(e);if(!t)return[,];var r=Ue(t,3),n=r[1],a=r[2];return[n,a]}function Gm(e,t,r){var n=Ue(FG(e),2),a=n[0],o=n[1];if(!!a){var i=window.getComputedStyle(t).getPropertyValue(a);return i?i.trim():Hm(o)?Gm(o,t):o}}function LG(e,t,r){var n,a=Jt(t,[]),o=e.getInstance();if(!(o instanceof HTMLElement))return{target:a,transitionEnd:r};r&&(r=L({},r)),e.forEachValue(function(l){var c=l.get();if(!!Hm(c)){var f=Gm(c,o);f&&l.set(f)}});for(var i in a){var s=a[i];if(!!Hm(s)){var u=Gm(s,o);!u||(a[i]=u,r&&((n=r[i])!==null&&n!==void 0||(r[i]=s)))}}return{target:a,transitionEnd:r}}function yx(e,t){return e/(t.max-t.min)*100}function BG(e,t,r){var n=r.target;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;var a=yx(e,n.x),o=yx(e,n.y);return a+"% "+o+"%"}var bx="_$css";function NG(e,t){var r=t.delta,n=t.treeScale,a=e,o=e.includes("var("),i=[];o&&(e=e.replace(Uk,function(y){return i.push(y),bx}));var s=vn.parse(e);if(s.length>5)return a;var u=vn.createTransformer(e),l=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=f;var v=jt(c,f,.5);typeof s[2+l]=="number"&&(s[2+l]/=v),typeof s[3+l]=="number"&&(s[3+l]/=v);var m=u(s);if(o){var h=0;m=m.replace(bx,function(){var y=i[h];return h++,y})}return m}var Li={process:BG},jG={borderRadius:L(L({},Li),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Li,borderTopRightRadius:Li,borderBottomLeftRadius:Li,borderBottomRightRadius:Li,boxShadow:{process:NG}},wx=1e3,zG=function(e){CT(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.frameTarget=Xn(),r.currentAnimationTarget=Xn(),r.isAnimating={x:!1,y:!1},r.stopAxisAnimation={x:void 0,y:void 0},r.isAnimatingTree=!1,r.animate=function(n,a,o){o===void 0&&(o={});var i=o.originBox,s=o.targetBox,u=o.visibilityAction,l=o.shouldStackAnimate,c=o.onComplete,f=o.prevParent,v=Jt(o,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),m=r.props,h=m.visualElement,y=m.layout;if(l===!1)return r.isAnimatingTree=!1,r.safeToRemove();if(!(r.isAnimatingTree&&l!==!0)){l&&(r.isAnimatingTree=!0),a=i||a,n=s||n;var p=!1,d=h.getProjectionParent();if(d){var g=d.prevViewportBox,w=d.getLayoutState().layout;f&&(s&&(w=f.getLayoutState().layout),i&&!PG(f,d)&&f.prevViewportBox&&(g=f.prevViewportBox)),g&&HG(f,i,s)&&(p=!0,a=Ko(g,a),n=Ko(w,n))}var S=VG(a,n),P=Dt(function(E){var C,_;if(y==="position"){var k=n[E].max-n[E].min;a[E].max=a[E].min+k}if(!h.projection.isTargetLocked)if(u!==void 0)h.setVisibility(u===Um.Show);else return S?r.animateAxis(E,n[E],a[E],L(L({},v),{isRelative:p})):((_=(C=r.stopAxisAnimation)[E])===null||_===void 0||_.call(C),h.setProjectionTargetAxis(E,n[E].min,n[E].max,p))});return h.syncRender(),Promise.all(P).then(function(){r.isAnimatingTree=!1,c&&c(),h.notifyLayoutAnimationComplete()})}},r}return t.prototype.componentDidMount=function(){var r=this,n=this.props.visualElement;n.animateMotionValue=Yc,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return r.safeToRemove()},O9(jG)},t.prototype.componentWillUnmount=function(){var r=this;this.unsubLayoutReady(),Dt(function(n){var a,o;return(o=(a=r.stopAxisAnimation)[n])===null||o===void 0?void 0:o.call(a)})},t.prototype.animateAxis=function(r,n,a,o){var i=this,s,u,l=o===void 0?{}:o,c=l.transition,f=l.isRelative;if(!(this.isAnimating[r]&&Js(n,this.currentAnimationTarget[r]))){(u=(s=this.stopAxisAnimation)[r])===null||u===void 0||u.call(s),this.isAnimating[r]=!0;var v=this.props.visualElement,m=this.frameTarget[r],h=v.getProjectionAnimationProgress()[r];h.clearListeners(),h.set(0),h.set(0);var y=function(){var w=h.get()/wx;EG(m,a,n,w),v.setProjectionTargetAxis(r,m.min,m.max,f)};y();var p=h.onChange(y);this.stopAxisAnimation[r]=function(){i.isAnimating[r]=!1,h.stop(),p()},this.currentAnimationTarget[r]=n;var d=c||v.getDefaultTransition()||UG,g=Yc(r==="x"?"layoutX":"layoutY",h,wx,d&&b0(d,"layout")).then(this.stopAxisAnimation[r]);return g}},t.prototype.safeToRemove=function(){var r,n;(n=(r=this.props).safeToRemove)===null||n===void 0||n.call(r)},t.prototype.render=function(){return null},t}(b.exports.Component);function WG(e){var t=Ue(OT(),2),r=t[1];return b.exports.createElement(zG,L({},e,{safeToRemove:r}))}function VG(e,t){return!Sx(e)&&!Sx(t)&&(!Js(e.x,t.x)||!Js(e.y,t.y))}var xx={min:0,max:0};function Sx(e){return Js(e.x,xx)&&Js(e.y,xx)}function Js(e,t){return e.min===t.min&&e.max===t.max}var UG={duration:.45,ease:[.4,0,.1,1]};function HG(e,t,r){return e||!e&&!(t||r)}var GG={layoutReady:function(e){return e.notifyLayoutReady()}};function Hk(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=t===void 0?GG:t,n=r.layoutReady,a=r.parent;Wm(function(o,i){var s=Array.from(e).sort(x0),u=a?qc(a):[];i(function(){var l=Nt(Nt([],Ue(u)),Ue(s));l.forEach(function(c){return c.resetTransform()})}),o(function(){s.forEach(Jl)}),i(function(){u.forEach(function(l){return l.restoreTransform()}),s.forEach(n)}),o(function(){s.forEach(function(l){l.isPresent&&(l.presence=Zs.Present)})}),i(function(){po.preRender(),po.render()}),o(function(){Lr.postRender(function(){return s.forEach(KG)}),e.clear()})}),Vm()}}}function KG(e){e.prevViewportBox=e.projection.target}var YG=b.exports.createContext(Hk()),qG=b.exports.createContext(Hk());function to(e){return!!e.forceUpdate}var XG=function(e){CT(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this.props,n=r.syncLayout,a=r.framerSyncLayout,o=r.visualElement;to(n)&&n.register(o),to(a)&&a.register(o),o.onUnmount(function(){to(n)&&n.remove(o),to(a)&&a.remove(o)})},t.prototype.getSnapshotBeforeUpdate=function(){var r=this.props,n=r.syncLayout,a=r.visualElement;return to(n)?n.syncUpdate():(SG(a),n.add(a)),null},t.prototype.componentDidUpdate=function(){var r=this.props.syncLayout;to(r)||r.flush()},t.prototype.render=function(){return null},t}(I.Component);function QG(e){var t=b.exports.useContext(YG),r=b.exports.useContext(qG);return I.createElement(XG,L({},e,{syncLayout:t,framerSyncLayout:r}))}var ZG={measureLayout:QG,layoutAnimation:WG},JG=function(){return{isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:Xn(),targetFinal:Xn()}};function Gk(){return{isHydrated:!1,layout:Xn(),layoutCorrected:Xn(),treeScale:{x:1,y:1},delta:ex(),deltaFinal:ex(),deltaTransform:""}}var Ex=Gk();function vd(e,t,r){var n=e.x,a=e.y,o=n.translate/t.x,i=a.translate/t.y,s="translate3d("+o+"px, "+i+"px, 0) ";if(r){var u=r.rotate,l=r.rotateX,c=r.rotateY;u&&(s+="rotate("+u+") "),l&&(s+="rotateX("+l+") "),c&&(s+="rotateY("+c+") ")}return s+="scale("+n.scale+", "+a.scale+")",!r&&s===eK?"":s}function Kk(e){var t=e.deltaFinal;return t.x.origin*100+"% "+t.y.origin*100+"% 0"}var eK=vd(Ex.delta,Ex.treeScale,{x:1,y:1}),kl=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function tK(){var e=kl.map(function(){return new Zl}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){return kl.forEach(function(a){var o;(o=t[a])===null||o===void 0||o.call(t);var i="on"+a,s=n[i];s&&(t[a]=r[i](s))})}};return e.forEach(function(n,a){r["on"+kl[a]]=function(o){return n.add(o)},r["notify"+kl[a]]=function(){for(var o=[],i=0;i=0;W--){var ae=K.path[W];if(ae.projection.isEnabled){F=ae;break}}R=F}return R},resolveRelativeTargetBox:function(){var F=K.getProjectionParent();if(!(!k.relativeTarget||!F)&&(wG(k,F.projection),jk(F))){var W=k.target;zm(W,W,F.getLatestValues())}},shouldResetTransform:function(){return Boolean(d._layoutResetTransform)},pointTo:function(F){B=F.projection,V=F.getLatestValues(),z==null||z(),z=Du(F.onSetAxisTarget(K.scheduleUpdateLayoutProjection),F.onLayoutAnimationComplete(function(){var W;K.isPresent?K.presence=Zs.Present:(W=K.layoutSafeToRemove)===null||W===void 0||W.call(K)}))},isPresent:!0,presence:Zs.Entering});return K}};function iK(e){e.resolveRelativeTargetBox()}function sK(e){e.updateLayoutProjection()}var qk=Nt(["initial"],Ue(w0)),uK=qk.length,lK=new Set(["width","height","top","left","right","bottom","x","y"]),Xk=function(e){return lK.has(e)},cK=function(e){return Object.keys(e).some(Xk)},Qk=function(e,t){e.set(t,!1),e.set(t)},Px=function(e){return e===Ga||e===Z},Cx;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Cx||(Cx={}));var Tx=function(e,t){return parseFloat(e.split(", ")[t])},kx=function(e,t){return function(r,n){var a=n.transform;if(a==="none"||!a)return 0;var o=a.match(/^matrix3d\((.+)\)$/);if(o)return Tx(o[1],t);var i=a.match(/^matrix\((.+)\)$/);return i?Tx(i[1],e):0}},fK=new Set(["x","y","z"]),dK=Ks.filter(function(e){return!fK.has(e)});function vK(e){var t=[];return dK.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var Ox={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:kx(4,13),y:kx(5,14)},pK=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),o=getComputedStyle(a),i=o.display,s=o.top,u=o.left,l=o.bottom,c=o.right,f=o.transform,v={top:s,left:u,bottom:l,right:c,transform:f};i==="none"&&t.setStaticValue("display",e.display||"block"),t.syncRender();var m=t.measureViewportBox();return r.forEach(function(h){var y=t.getValue(h);Qk(y,Ox[h](n,v)),e[h]=Ox[h](m,o)}),e},mK=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=L({},t),n=L({},n);var a=Object.keys(t).filter(Xk),o=[],i=!1,s=[];if(a.forEach(function(l){var c=e.getValue(l);if(!!e.hasValue(l)){var f=r[l],v=t[l],m=Cl(f),h;if(qs(v))for(var y=v.length,p=v[0]===null?1:0;p=t&&(n=0),n}function Dx(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var Ym=typeof window!="undefined"?b.exports.useLayoutEffect:b.exports.useEffect,Qc=function(t){return t},PK=function(){var t=this;this.descendants=new Map,this.register=function(r){if(r!=null)return EK(r)?t.registerNode(r):function(n){t.registerNode(n,r)}},this.unregister=function(r){t.descendants.delete(r);var n=_x(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(r){t.descendants.forEach(function(n){var a=r.indexOf(n.node);n.index=a,n.node.dataset.index=n.index.toString()})},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){var r=Array.from(t.descendants.values());return r.sort(function(n,a){return n.index-a.index})},this.enabledValues=function(){return t.values().filter(function(r){return!r.disabled})},this.item=function(r){if(t.count()!==0)return t.values()[r]},this.enabledItem=function(r){if(t.enabledCount()!==0)return t.enabledValues()[r]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var r=t.enabledValues().length-1;return t.enabledItem(r)},this.indexOf=function(r){var n,a;return r&&(n=(a=t.descendants.get(r))==null?void 0:a.index)!=null?n:-1},this.enabledIndexOf=function(r){return r==null?-1:t.enabledValues().findIndex(function(n){return n.node.isSameNode(r)})},this.next=function(r,n){n===void 0&&(n=!0);var a=$x(r,t.count(),n);return t.item(a)},this.nextEnabled=function(r,n){n===void 0&&(n=!0);var a=t.item(r);if(!!a){var o=t.enabledIndexOf(a.node),i=$x(o,t.enabledCount(),n);return t.enabledItem(i)}},this.prev=function(r,n){n===void 0&&(n=!0);var a=Dx(r,t.count()-1,n);return t.item(a)},this.prevEnabled=function(r,n){n===void 0&&(n=!0);var a=t.item(r);if(!!a){var o=t.enabledIndexOf(a.node),i=Dx(o,t.enabledCount()-1,n);return t.enabledItem(i)}},this.registerNode=function(r,n){if(!(!r||t.descendants.has(r))){var a=Array.from(t.descendants.keys()).concat(r),o=_x(a);n!=null&&n.disabled&&(n.disabled=!!n.disabled);var i=Km({node:r,index:-1},n);t.descendants.set(r,i),t.assignIndex(o)}}};function CK(){var e=b.exports.useRef(new PK);return Ym(function(){return function(){return e.current.destroy()}}),e.current}var Jk=gn({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),TK=Jk[0],eO=Jk[1];function kK(e){var t=eO(),r=b.exports.useState(-1),n=r[0],a=r[1],o=b.exports.useRef(null);Ym(function(){return function(){!o.current||t.unregister(o.current)}},[]),Ym(function(){if(!!o.current){var s=Number(o.current.dataset.index);n!=s&&!Number.isNaN(s)&&a(s)}});var i=Qc(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:Tr(i,o)}}function OK(){var e=Qc(TK),t=function(){return Qc(eO())},r=function(o){return kK(o)},n=function(){return CK()};return[e,t,n,r]}var S0={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},_K=ne("span",{baseStyle:S0});ne("input",{baseStyle:S0});function Zc(){return Zc=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var DK=["label","thickness","speed","emptyColor","className"],AK=CC({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),RK=ke(function(e,t){var r=Ha("Spinner",e),n=Yr(e),a=n.label,o=a===void 0?"Loading...":a,i=n.thickness,s=i===void 0?"2px":i,u=n.speed,l=u===void 0?"0.45s":u,c=n.emptyColor,f=c===void 0?"transparent":c,v=n.className,m=$K(n,DK),h=ze("chakra-spinner",v),y=Zc({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:s,borderBottomColor:f,borderLeftColor:f,animation:AK+" "+l+" linear infinite"},r);return b.exports.createElement(ne.div,Zc({ref:t,__css:y,className:h},m),o&&b.exports.createElement(_K,null,o))});function E0(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function Wn(){return Wn=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}"custom"in ec?ec.custom(ne.svg):ec(ne.svg);var zK=["defaultIsChecked","defaultChecked","isChecked","isFocusable","isDisabled","isReadOnly","isRequired","onChange","isIndeterminate","isInvalid","name","value","id","onBlur","onFocus","tabIndex","aria-label","aria-labelledby","aria-invalid","aria-describedby"];function WK(e){e===void 0&&(e={});var t=e,r=t.defaultIsChecked,n=t.defaultChecked,a=n===void 0?r:n,o=t.isChecked,i=t.isFocusable,s=t.isDisabled,u=t.isReadOnly,l=t.isRequired,c=t.onChange,f=t.isIndeterminate,v=t.isInvalid,m=t.name,h=t.value,y=t.id,p=t.onBlur,d=t.onFocus,g=t.tabIndex,w=g===void 0?void 0:g,S=t["aria-label"],P=t["aria-labelledby"],E=t["aria-invalid"],C=t["aria-describedby"],_=jK(t,zK),k=zn(c),R=zn(p),B=zn(d),V=_v(),z=V[0],q=V[1],ee=_v(),Y=ee[0],te=ee[1],se=_v(),me=se[0],oe=se[1],D=b.exports.useRef(null),A=b.exports.useState(!0),N=A[0],X=A[1],re=b.exports.useState(!!a),ye=re[0],ve=re[1],ce=WC(o,ye),be=ce[0],we=ce[1];Ug({condition:!!r,message:'The "defaultIsChecked" prop has been deprecated and will be removed in a future version. Please use the "defaultChecked" prop instead, which mirrors default React checkbox behavior.'});var zt=b.exports.useCallback(function(G){if(u||s){G.preventDefault();return}be||ve(we?G.target.checked:f?!0:G.target.checked),k==null||k(G)},[u,s,we,be,f,k]);Uo(function(){D.current&&(D.current.indeterminate=Boolean(f))},[f]);var Tt=s&&!i,Wt=b.exports.useCallback(function(G){G.key===" "&&oe.on()},[oe]),K=b.exports.useCallback(function(G){G.key===" "&&oe.off()},[oe]);Uo(function(){if(!!D.current){var G=D.current.checked!==we;G&&ve(D.current.checked)}},[D.current]);var F=b.exports.useCallback(function(G,ue){G===void 0&&(G={}),ue===void 0&&(ue=null);var Je=function(Q){Q.preventDefault(),oe.on()};return go({},G,{ref:ue,"data-active":qe(me),"data-hover":qe(Y),"data-checked":qe(we),"data-focus":qe(z),"data-indeterminate":qe(f),"data-disabled":qe(s),"data-invalid":qe(v),"data-readonly":qe(u),"aria-hidden":!0,onMouseDown:Ce(G.onMouseDown,Je),onMouseUp:Ce(G.onMouseUp,oe.off),onMouseEnter:Ce(G.onMouseEnter,te.on),onMouseLeave:Ce(G.onMouseLeave,te.off)})},[me,we,s,z,Y,f,v,u,oe,te.off,te.on]),W=b.exports.useCallback(function(G,ue){return G===void 0&&(G={}),ue===void 0&&(ue=null),go({},_,G,{ref:Tr(ue,function(Je){!Je||X(Je.tagName==="LABEL")}),onClick:Ce(G.onClick,function(){if(!N){var Je;(Je=D.current)==null||Je.click(),sn(D.current,{nextTick:!0})}}),"data-disabled":qe(s),"data-checked":qe(we),"data-invalid":qe(v)})},[_,s,we,v,N]),ae=b.exports.useCallback(function(G,ue){return G===void 0&&(G={}),ue===void 0&&(ue=null),go({},G,{ref:Tr(D,ue),type:"checkbox",name:m,value:h,id:y,tabIndex:w,onChange:Ce(G.onChange,zt),onBlur:Ce(G.onBlur,R,q.off),onFocus:Ce(G.onFocus,B,q.on),onKeyDown:Ce(G.onKeyDown,Wt),onKeyUp:Ce(G.onKeyUp,K),required:l,checked:we,disabled:Tt,readOnly:u,"aria-label":S,"aria-labelledby":P,"aria-invalid":E?Boolean(E):v,"aria-describedby":C,"aria-disabled":s,style:S0})},[m,h,y,zt,q.off,q.on,R,B,Wt,K,l,we,Tt,u,S,P,E,v,C,s,w]),pe=b.exports.useCallback(function(G,ue){return G===void 0&&(G={}),ue===void 0&&(ue=null),go({},G,{ref:ue,onMouseDown:Ce(G.onMouseDown,Mx),onTouchStart:Ce(G.onTouchStart,Mx),"data-disabled":qe(s),"data-checked":qe(we),"data-invalid":qe(v)})},[we,s,v]);return{state:{isInvalid:v,isFocused:z,isChecked:we,isActive:me,isHovered:Y,isIndeterminate:f,isDisabled:s,isReadOnly:u,isRequired:l},getRootProps:W,getCheckboxProps:F,getInputProps:ae,getLabelProps:pe,htmlProps:_}}function Mx(e){e.preventDefault(),e.stopPropagation()}ne("span",{baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0}});ne("label",{baseStyle:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative",_disabled:{cursor:"not-allowed"}}});function Jc(){return Jc=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var VK=gn({strict:!1,name:"FormControlContext"}),UK=VK[1],HK=["isDisabled","isInvalid","isReadOnly","isRequired"],GK=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function KK(e){var t=YK(e),r=t.isDisabled,n=t.isInvalid,a=t.isReadOnly,o=t.isRequired,i=tO(t,HK);return Jc({},i,{disabled:r,readOnly:a,required:o,"aria-invalid":Ov(n),"aria-required":Ov(o),"aria-readonly":Ov(a)})}function YK(e){var t,r,n,a=UK(),o=e.id,i=e.disabled,s=e.readOnly,u=e.required,l=e.isRequired,c=e.isInvalid,f=e.isReadOnly,v=e.isDisabled,m=e.onFocus,h=e.onBlur,y=tO(e,GK),p=e["aria-describedby"]?[e["aria-describedby"]]:[];return a!=null&&a.hasFeedbackText&&a!=null&&a.isInvalid&&p.push(a.feedbackId),a!=null&&a.hasHelpText&&p.push(a.helpTextId),Jc({},y,{"aria-describedby":p.join(" ")||void 0,id:o!=null?o:a==null?void 0:a.id,isDisabled:(t=i!=null?i:v)!=null?t:a==null?void 0:a.isDisabled,isReadOnly:(r=s!=null?s:f)!=null?r:a==null?void 0:a.isReadOnly,isRequired:(n=u!=null?u:l)!=null?n:a==null?void 0:a.isRequired,isInvalid:c!=null?c:a==null?void 0:a.isInvalid,onFocus:Ce(a==null?void 0:a.onFocus,m),onBlur:Ce(a==null?void 0:a.onBlur,h)})}function Vr(){return Vr=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var qK=["placement"],XK={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},QK=ne("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),rO=ke(function(e,t){var r,n=e.placement,a=n===void 0?"left":n,o=pd(e,qK),i=(r=XK[a])!=null?r:{},s=ra();return b.exports.createElement(QK,Vr({ref:t},o,{__css:Vr({},s.addon,i)}))}),ZK=ke(function(e,t){return b.exports.createElement(rO,Vr({ref:t,placement:"left"},e,{className:ze("chakra-input__left-addon",e.className)}))});ZK.id="InputLeftAddon";var JK=ke(function(e,t){return b.exports.createElement(rO,Vr({ref:t,placement:"right"},e,{className:ze("chakra-input__right-addon",e.className)}))});JK.id="InputRightAddon";var eY=["placement"],tY=["className"],rY=["className"],nY=ne("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),C0=ke(function(e,t){var r,n,a,o=e.placement,i=o===void 0?"left":o,s=pd(e,eY),u=ra(),l=u.field,c=i==="left"?"insetStart":"insetEnd",f=(a={},a[c]="0",a.width=(r=l==null?void 0:l.height)!=null?r:l==null?void 0:l.h,a.height=(n=l==null?void 0:l.height)!=null?n:l==null?void 0:l.h,a.fontSize=l==null?void 0:l.fontSize,a);return b.exports.createElement(nY,Vr({ref:t,__css:f},s))});C0.id="InputElement";var aY=ke(function(e,t){var r=e.className,n=pd(e,tY),a=ze("chakra-input__left-element",r);return b.exports.createElement(C0,Vr({ref:t,placement:"left",className:a},n))});aY.id="InputLeftElement";var oY=ke(function(e,t){var r=e.className,n=pd(e,rY),a=ze("chakra-input__right-element",r);return b.exports.createElement(C0,Vr({ref:t,placement:"right",className:a},n))});oY.id="InputRightElement";function ct(){return ct=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var sr=ne("div");ne("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});var iY=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],sY=["className","orientation","__css"],nO=ke(function(e,t){var r=Ha("Divider",e),n=r.borderLeftWidth,a=r.borderBottomWidth,o=r.borderTopWidth,i=r.borderRightWidth,s=r.borderWidth,u=r.borderStyle,l=r.borderColor,c=pn(r,iY),f=Yr(e),v=f.className,m=f.orientation,h=m===void 0?"horizontal":m,y=f.__css,p=pn(f,sY),d={vertical:{borderLeftWidth:n||i||s||"1px",height:"100%"},horizontal:{borderBottomWidth:a||o||s||"1px",width:"100%"}};return b.exports.createElement(ne.hr,ct({ref:t,"aria-orientation":h},p,{__css:ct({},c,{border:"0",borderColor:l,borderStyle:u},d[h],y),className:ze("chakra-divider",v)}))}),uY=["direction","align","justify","wrap","basis","grow","shrink"],bs=ke(function(e,t){var r=e.direction,n=e.align,a=e.justify,o=e.wrap,i=e.basis,s=e.grow,u=e.shrink,l=pn(e,uY),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:o,flexBasis:i,flexGrow:s,flexShrink:u};return b.exports.createElement(ne.div,ct({ref:t,__css:c},l))}),lY=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],cY=ke(function(e,t){var r=e.area,n=e.templateAreas,a=e.gap,o=e.rowGap,i=e.columnGap,s=e.column,u=e.row,l=e.autoFlow,c=e.autoRows,f=e.templateRows,v=e.autoColumns,m=e.templateColumns,h=pn(e,lY),y={display:"grid",gridArea:r,gridTemplateAreas:n,gridGap:a,gridRowGap:o,gridColumnGap:i,gridAutoColumns:v,gridColumn:s,gridRow:u,gridAutoFlow:l,gridAutoRows:c,gridTemplateRows:f,gridTemplateColumns:m};return b.exports.createElement(ne.div,ct({ref:t,__css:y},h))}),fY=["className"],T0=ke(function(e,t){var r=Ha("Heading",e),n=Yr(e);n.className;var a=pn(n,fY);return b.exports.createElement(ne.h2,ct({ref:t,className:ze("chakra-heading",e.className)},a,{__css:r}))}),dY=["className","isExternal"],vY=ke(function(e,t){var r=Ha("Link",e),n=Yr(e),a=n.className,o=n.isExternal,i=pn(n,dY);return b.exports.createElement(ne.a,ct({target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,ref:t,className:ze("chakra-link",a)},i,{__css:r}))}),pY=["columns","spacingX","spacingY","spacing","minChildWidth"],mY=ke(function(e,t){var r=e.columns,n=e.spacingX,a=e.spacingY,o=e.spacing,i=e.minChildWidth,s=pn(e,pY),u=i?gY(i):yY(r);return b.exports.createElement(cY,ct({ref:t,gap:o,columnGap:n,rowGap:a,templateColumns:u},s))});function hY(e){return $o(e)?e+"px":e}function gY(e){return rd(e,function(t){return _C(t)?null:"repeat(auto-fit, minmax("+hY(t)+", 1fr))"})}function yY(e){return rd(e,function(t){return _C(t)?null:"repeat("+t+", minmax(0, 1fr))"})}ne("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var qm="& > *:not(style) ~ *:not(style)";function bY(e){var t,r=e.spacing,n=e.direction,a={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[qm]=rd(n,function(o){return a[o]}),t}function wY(e){var t=e.spacing,r=e.direction,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":rd(r,function(a){return n[a]})}}var xY=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],SY=function(t){return b.exports.createElement(ne.div,ct({className:"chakra-stack__divider"},t,{__css:ct({},t.__css,{borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"})}))},EY=function(t){return b.exports.createElement(ne.div,ct({className:"chakra-stack__item"},t,{__css:ct({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},k0=ke(function(e,t){var r,n=e.isInline,a=e.direction,o=e.align,i=e.justify,s=e.spacing,u=s===void 0?"0.5rem":s,l=e.wrap,c=e.children,f=e.divider,v=e.className,m=e.shouldWrapChildren,h=pn(e,xY),y=n?"row":a!=null?a:"column",p=b.exports.useMemo(function(){return bY({direction:y,spacing:u})},[y,u]),d=b.exports.useMemo(function(){return wY({spacing:u,direction:y})},[u,y]),g=!!f,w=!m&&!g,S=zC(c),P=w?S:S.map(function(C,_){var k=typeof C.key!="undefined"?C.key:_,R=_+1===S.length,B=b.exports.createElement(EY,{key:k},C),V=m?B:C;if(!g)return V;var z=b.exports.cloneElement(f,{__css:d}),q=R?null:z;return b.exports.createElement(b.exports.Fragment,{key:k},V,q)}),E=ze("chakra-stack",v);return b.exports.createElement(ne.div,ct({ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:p.flexDirection,flexWrap:l,className:E,__css:g?{}:(r={},r[qm]=p[qm],r)},h),P)}),aO=ke(function(e,t){return b.exports.createElement(k0,ct({align:"center"},e,{direction:"row",ref:t}))}),O0=ke(function(e,t){return b.exports.createElement(k0,ct({align:"center"},e,{direction:"column",ref:t}))}),PY=["className","align","decoration","casing"],CY=ke(function(e,t){var r=Ha("Text",e),n=Yr(e);n.className,n.align,n.decoration,n.casing;var a=pn(n,PY),o=zg({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return b.exports.createElement(ne.p,ct({ref:t,className:ze("chakra-text",e.className)},o,a,{__css:r}))});function ef(){return ef=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function kY(){var e=b.exports.useRef(new Map),t=e.current,r=b.exports.useCallback(function(a,o,i,s){e.current.set(i,{type:o,el:a,options:s}),a.addEventListener(o,i,s)},[]),n=b.exports.useCallback(function(a,o,i,s){a.removeEventListener(o,i,s),e.current.delete(i)},[]);return b.exports.useEffect(function(){return function(){t.forEach(function(a,o){n(a.el,a.type,o,a.options)})}},[n,t]),{add:r,remove:n}}var OY=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function Xv(e){var t=e.target,r=t.tagName,n=t.isContentEditable;return r!=="INPUT"&&r!=="TEXTAREA"&&n!==!0}function _Y(e){e===void 0&&(e={});var t=e,r=t.ref,n=t.isDisabled,a=t.isFocusable,o=t.clickOnEnter,i=o===void 0?!0:o,s=t.clickOnSpace,u=s===void 0?!0:s,l=t.onMouseDown,c=t.onMouseUp,f=t.onClick,v=t.onKeyDown,m=t.onKeyUp,h=t.tabIndex,y=t.onMouseOver,p=t.onMouseLeave,d=TY(t,OY),g=b.exports.useState(!0),w=g[0],S=g[1],P=b.exports.useState(!1),E=P[0],C=P[1],_=kY(),k=function(N){!N||N.tagName!=="BUTTON"&&S(!1)},R=w?h:h||0,B=n&&!a,V=b.exports.useCallback(function(A){if(n){A.stopPropagation(),A.preventDefault();return}var N=A.currentTarget;N.focus(),f==null||f(A)},[n,f]),z=b.exports.useCallback(function(A){E&&Xv(A)&&(A.preventDefault(),A.stopPropagation(),C(!1),_.remove(document,"keyup",z,!1))},[E,_]),q=b.exports.useCallback(function(A){if(v==null||v(A),!(n||A.defaultPrevented||A.metaKey)&&!(!Xv(A.nativeEvent)||w)){var N=i&&A.key==="Enter",X=u&&A.key===" ";if(X&&(A.preventDefault(),C(!0)),N){A.preventDefault();var re=A.currentTarget;re.click()}_.add(document,"keyup",z,!1)}},[n,w,v,i,u,_,z]),ee=b.exports.useCallback(function(A){if(m==null||m(A),!(n||A.defaultPrevented||A.metaKey)&&!(!Xv(A.nativeEvent)||w)){var N=u&&A.key===" ";if(N){A.preventDefault(),C(!1);var X=A.currentTarget;X.click()}}},[u,w,n,m]),Y=b.exports.useCallback(function(A){A.button===0&&(C(!1),_.remove(document,"mouseup",Y,!1))},[_]),te=b.exports.useCallback(function(A){if(!tw(A)){if(n){A.stopPropagation(),A.preventDefault();return}w||C(!0);var N=A.currentTarget;N.focus({preventScroll:!0}),_.add(document,"mouseup",Y,!1),l==null||l(A)}},[n,w,l,_,Y]),se=b.exports.useCallback(function(A){tw(A)||(w||C(!1),c==null||c(A))},[c,w]),me=b.exports.useCallback(function(A){if(n){A.preventDefault();return}y==null||y(A)},[n,y]),oe=b.exports.useCallback(function(A){E&&(A.preventDefault(),C(!1)),p==null||p(A)},[E,p]),D=Tr(r,k);return w?ef({},d,{ref:D,type:"button","aria-disabled":B?void 0:n,disabled:B,onClick:V,onMouseDown:l,onMouseUp:c,onKeyUp:m,onKeyDown:v,onMouseOver:y,onMouseLeave:p}):ef({},d,{ref:D,role:"button","data-active":qe(E),"aria-disabled":n?"true":void 0,tabIndex:B?void 0:R,onClick:V,onMouseDown:te,onMouseUp:se,onKeyUp:ee,onKeyDown:q,onMouseOver:me,onMouseLeave:oe})}var Yt="top",vr="bottom",pr="right",qt="left",_0="auto",Au=[Yt,vr,pr,qt],Yo="start",eu="end",$Y="clippingParents",oO="viewport",Bi="popper",DY="reference",Fx=Au.reduce(function(e,t){return e.concat([t+"-"+Yo,t+"-"+eu])},[]),iO=[].concat(Au,[_0]).reduce(function(e,t){return e.concat([t,t+"-"+Yo,t+"-"+eu])},[]),AY="beforeRead",RY="read",IY="afterRead",MY="beforeMain",FY="main",LY="afterMain",BY="beforeWrite",NY="write",jY="afterWrite",zY=[AY,RY,IY,MY,FY,LY,BY,NY,jY];function Ur(e){return e?(e.nodeName||"").toLowerCase():null}function Or(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function tu(e){var t=Or(e).Element;return e instanceof t||e instanceof Element}function cr(e){var t=Or(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function sO(e){if(typeof ShadowRoot=="undefined")return!1;var t=Or(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function WY(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!cr(o)||!Ur(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function VY(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,l){return u[l]="",u},{});!cr(a)||!Ur(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}var UY={name:"applyStyles",enabled:!0,phase:"write",fn:WY,effect:VY,requires:["computeStyles"]};function zr(e){return e.split("-")[0]}function qo(e,t){var r=e.getBoundingClientRect(),n=1,a=1;return{width:r.width/n,height:r.height/a,top:r.top/a,right:r.right/n,bottom:r.bottom/a,left:r.left/n,x:r.left/n,y:r.top/a}}function $0(e){var t=qo(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function uO(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&sO(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function mn(e){return Or(e).getComputedStyle(e)}function HY(e){return["table","td","th"].indexOf(Ur(e))>=0}function na(e){return((tu(e)?e.ownerDocument:e.document)||window.document).documentElement}function md(e){return Ur(e)==="html"?e:e.assignedSlot||e.parentNode||(sO(e)?e.host:null)||na(e)}function Lx(e){return!cr(e)||mn(e).position==="fixed"?null:e.offsetParent}function GY(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&cr(e)){var n=mn(e);if(n.position==="fixed")return null}for(var a=md(e);cr(a)&&["html","body"].indexOf(Ur(a))<0;){var o=mn(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ru(e){for(var t=Or(e),r=Lx(e);r&&HY(r)&&mn(r).position==="static";)r=Lx(r);return r&&(Ur(r)==="html"||Ur(r)==="body"&&mn(r).position==="static")?t:r||GY(e)||t}function D0(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Vn=Math.max,ru=Math.min,Ol=Math.round;function tc(e,t,r){return Vn(e,ru(t,r))}function lO(){return{top:0,right:0,bottom:0,left:0}}function cO(e){return Object.assign({},lO(),e)}function fO(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var KY=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,cO(typeof t!="number"?t:fO(t,Au))};function YY(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=zr(r.placement),u=D0(s),l=[qt,pr].indexOf(s)>=0,c=l?"height":"width";if(!(!o||!i)){var f=KY(a.padding,r),v=$0(o),m=u==="y"?Yt:qt,h=u==="y"?vr:pr,y=r.rects.reference[c]+r.rects.reference[u]-i[u]-r.rects.popper[c],p=i[u]-r.rects.reference[u],d=Ru(o),g=d?u==="y"?d.clientHeight||0:d.clientWidth||0:0,w=y/2-p/2,S=f[m],P=g-v[c]-f[h],E=g/2-v[c]/2+w,C=tc(S,E,P),_=u;r.modifiersData[n]=(t={},t[_]=C,t.centerOffset=C-E,t)}}function qY(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!uO(t.elements.popper,a)||(t.elements.arrow=a))}var XY={name:"arrow",enabled:!0,phase:"main",fn:YY,effect:qY,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Xo(e){return e.split("-")[1]}var QY={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZY(e){var t=e.x,r=e.y,n=window,a=n.devicePixelRatio||1;return{x:Ol(Ol(t*a)/a)||0,y:Ol(Ol(r*a)/a)||0}}function Bx(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,f=c===!0?ZY(i):typeof c=="function"?c(i):i,v=f.x,m=v===void 0?0:v,h=f.y,y=h===void 0?0:h,p=i.hasOwnProperty("x"),d=i.hasOwnProperty("y"),g=qt,w=Yt,S=window;if(l){var P=Ru(r),E="clientHeight",C="clientWidth";P===Or(r)&&(P=na(r),mn(P).position!=="static"&&s==="absolute"&&(E="scrollHeight",C="scrollWidth")),P=P,(a===Yt||(a===qt||a===pr)&&o===eu)&&(w=vr,y-=P[E]-n.height,y*=u?1:-1),(a===qt||(a===Yt||a===vr)&&o===eu)&&(g=pr,m-=P[C]-n.width,m*=u?1:-1)}var _=Object.assign({position:s},l&&QY);if(u){var k;return Object.assign({},_,(k={},k[w]=d?"0":"",k[g]=p?"0":"",k.transform=(S.devicePixelRatio||1)<=1?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",k))}return Object.assign({},_,(t={},t[w]=d?y+"px":"",t[g]=p?m+"px":"",t.transform="",t))}function JY(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,l={placement:zr(t.placement),variation:Xo(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Bx(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Bx(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var eq={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JY,data:{}},_l={passive:!0};function tq(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,u=Or(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(c){c.addEventListener("scroll",r.update,_l)}),s&&u.addEventListener("resize",r.update,_l),function(){o&&l.forEach(function(c){c.removeEventListener("scroll",r.update,_l)}),s&&u.removeEventListener("resize",r.update,_l)}}var rq={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tq,data:{}},nq={left:"right",right:"left",bottom:"top",top:"bottom"};function rc(e){return e.replace(/left|right|bottom|top/g,function(t){return nq[t]})}var aq={start:"end",end:"start"};function Nx(e){return e.replace(/start|end/g,function(t){return aq[t]})}function A0(e){var t=Or(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function R0(e){return qo(na(e)).left+A0(e).scrollLeft}function oq(e){var t=Or(e),r=na(e),n=t.visualViewport,a=r.clientWidth,o=r.clientHeight,i=0,s=0;return n&&(a=n.width,o=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,s=n.offsetTop)),{width:a,height:o,x:i+R0(e),y:s}}function iq(e){var t,r=na(e),n=A0(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Vn(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Vn(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+R0(e),u=-n.scrollTop;return mn(a||r).direction==="rtl"&&(s+=Vn(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}function I0(e){var t=mn(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function dO(e){return["html","body","#document"].indexOf(Ur(e))>=0?e.ownerDocument.body:cr(e)&&I0(e)?e:dO(md(e))}function ws(e,t){var r;t===void 0&&(t=[]);var n=dO(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Or(n),i=a?[o].concat(o.visualViewport||[],I0(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(ws(md(i)))}function Xm(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sq(e){var t=qo(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function jx(e,t){return t===oO?Xm(oq(e)):cr(t)?sq(t):Xm(iq(na(e)))}function uq(e){var t=ws(md(e)),r=["absolute","fixed"].indexOf(mn(e).position)>=0,n=r&&cr(e)?Ru(e):e;return tu(n)?t.filter(function(a){return tu(a)&&uO(a,n)&&Ur(a)!=="body"}):[]}function lq(e,t,r){var n=t==="clippingParents"?uq(e):[].concat(t),a=[].concat(n,[r]),o=a[0],i=a.reduce(function(s,u){var l=jx(e,u);return s.top=Vn(l.top,s.top),s.right=ru(l.right,s.right),s.bottom=ru(l.bottom,s.bottom),s.left=Vn(l.left,s.left),s},jx(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function vO(e){var t=e.reference,r=e.element,n=e.placement,a=n?zr(n):null,o=n?Xo(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case Yt:u={x:i,y:t.y-r.height};break;case vr:u={x:i,y:t.y+t.height};break;case pr:u={x:t.x+t.width,y:s};break;case qt:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var l=a?D0(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(o){case Yo:u[l]=u[l]-(t[c]/2-r[c]/2);break;case eu:u[l]=u[l]+(t[c]/2-r[c]/2);break}}return u}function nu(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.boundary,i=o===void 0?$Y:o,s=r.rootBoundary,u=s===void 0?oO:s,l=r.elementContext,c=l===void 0?Bi:l,f=r.altBoundary,v=f===void 0?!1:f,m=r.padding,h=m===void 0?0:m,y=cO(typeof h!="number"?h:fO(h,Au)),p=c===Bi?DY:Bi,d=e.rects.popper,g=e.elements[v?p:c],w=lq(tu(g)?g:g.contextElement||na(e.elements.popper),i,u),S=qo(e.elements.reference),P=vO({reference:S,element:d,strategy:"absolute",placement:a}),E=Xm(Object.assign({},d,P)),C=c===Bi?E:S,_={top:w.top-C.top+y.top,bottom:C.bottom-w.bottom+y.bottom,left:w.left-C.left+y.left,right:C.right-w.right+y.right},k=e.modifiersData.offset;if(c===Bi&&k){var R=k[a];Object.keys(_).forEach(function(B){var V=[pr,vr].indexOf(B)>=0?1:-1,z=[Yt,vr].indexOf(B)>=0?"y":"x";_[B]+=R[z]*V})}return _}function cq(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?iO:u,c=Xo(n),f=c?s?Fx:Fx.filter(function(h){return Xo(h)===c}):Au,v=f.filter(function(h){return l.indexOf(h)>=0});v.length===0&&(v=f);var m=v.reduce(function(h,y){return h[y]=nu(e,{placement:y,boundary:a,rootBoundary:o,padding:i})[zr(y)],h},{});return Object.keys(m).sort(function(h,y){return m[h]-m[y]})}function fq(e){if(zr(e)===_0)return[];var t=rc(e);return[Nx(e),t,Nx(t)]}function dq(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,u=r.fallbackPlacements,l=r.padding,c=r.boundary,f=r.rootBoundary,v=r.altBoundary,m=r.flipVariations,h=m===void 0?!0:m,y=r.allowedAutoPlacements,p=t.options.placement,d=zr(p),g=d===p,w=u||(g||!h?[rc(p)]:fq(p)),S=[p].concat(w).reduce(function(X,re){return X.concat(zr(re)===_0?cq(t,{placement:re,boundary:c,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:y}):re)},[]),P=t.rects.reference,E=t.rects.popper,C=new Map,_=!0,k=S[0],R=0;R=0,ee=q?"width":"height",Y=nu(t,{placement:B,boundary:c,rootBoundary:f,altBoundary:v,padding:l}),te=q?z?pr:qt:z?vr:Yt;P[ee]>E[ee]&&(te=rc(te));var se=rc(te),me=[];if(o&&me.push(Y[V]<=0),s&&me.push(Y[te]<=0,Y[se]<=0),me.every(function(X){return X})){k=B,_=!1;break}C.set(B,me)}if(_)for(var oe=h?3:1,D=function(re){var ye=S.find(function(ve){var ce=C.get(ve);if(ce)return ce.slice(0,re).every(function(be){return be})});if(ye)return k=ye,"break"},A=oe;A>0;A--){var N=D(A);if(N==="break")break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}}var vq={name:"flip",enabled:!0,phase:"main",fn:dq,requiresIfExists:["offset"],data:{_skip:!1}};function zx(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Wx(e){return[Yt,pr,vr,qt].some(function(t){return e[t]>=0})}function pq(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=nu(t,{elementContext:"reference"}),s=nu(t,{altBoundary:!0}),u=zx(i,n),l=zx(s,a,o),c=Wx(u),f=Wx(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var mq={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:pq};function hq(e,t,r){var n=zr(e),a=[qt,Yt].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[qt,pr].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function gq(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=iO.reduce(function(c,f){return c[f]=hq(f,t.rects,o),c},{}),s=i[t.placement],u=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}var yq={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gq};function bq(e){var t=e.state,r=e.name;t.modifiersData[r]=vO({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var wq={name:"popperOffsets",enabled:!0,phase:"read",fn:bq,data:{}};function xq(e){return e==="x"?"y":"x"}function Sq(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,u=r.boundary,l=r.rootBoundary,c=r.altBoundary,f=r.padding,v=r.tether,m=v===void 0?!0:v,h=r.tetherOffset,y=h===void 0?0:h,p=nu(t,{boundary:u,rootBoundary:l,padding:f,altBoundary:c}),d=zr(t.placement),g=Xo(t.placement),w=!g,S=D0(d),P=xq(S),E=t.modifiersData.popperOffsets,C=t.rects.reference,_=t.rects.popper,k=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,R={x:0,y:0};if(!!E){if(o||s){var B=S==="y"?Yt:qt,V=S==="y"?vr:pr,z=S==="y"?"height":"width",q=E[S],ee=E[S]+p[B],Y=E[S]-p[V],te=m?-_[z]/2:0,se=g===Yo?C[z]:_[z],me=g===Yo?-_[z]:-C[z],oe=t.elements.arrow,D=m&&oe?$0(oe):{width:0,height:0},A=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:lO(),N=A[B],X=A[V],re=tc(0,C[z],D[z]),ye=w?C[z]/2-te-re-N-k:se-re-N-k,ve=w?-C[z]/2+te+re+X+k:me+re+X+k,ce=t.elements.arrow&&Ru(t.elements.arrow),be=ce?S==="y"?ce.clientTop||0:ce.clientLeft||0:0,we=t.modifiersData.offset?t.modifiersData.offset[t.placement][S]:0,zt=E[S]+ye-we-be,Tt=E[S]+ve-we;if(o){var Wt=tc(m?ru(ee,zt):ee,q,m?Vn(Y,Tt):Y);E[S]=Wt,R[S]=Wt-q}if(s){var K=S==="x"?Yt:qt,F=S==="x"?vr:pr,W=E[P],ae=W+p[K],pe=W-p[F],G=tc(m?ru(ae,zt):ae,W,m?Vn(pe,Tt):pe);E[P]=G,R[P]=G-W}}t.modifiersData[n]=R}}var Eq={name:"preventOverflow",enabled:!0,phase:"main",fn:Sq,requiresIfExists:["offset"]};function Pq(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Cq(e){return e===Or(e)||!cr(e)?A0(e):Pq(e)}function Tq(e){var t=e.getBoundingClientRect(),r=t.width/e.offsetWidth||1,n=t.height/e.offsetHeight||1;return r!==1||n!==1}function kq(e,t,r){r===void 0&&(r=!1);var n=cr(t);cr(t)&&Tq(t);var a=na(t),o=qo(e),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((Ur(t)!=="body"||I0(a))&&(i=Cq(t)),cr(t)?(s=qo(t),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=R0(a))),{x:o.left+i.scrollLeft-s.x,y:o.top+i.scrollTop-s.y,width:o.width,height:o.height}}function Oq(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function _q(e){var t=Oq(e);return zY.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function $q(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Dq(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Vx={placement:"bottom",modifiers:[],strategy:"absolute"};function Ux(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}function Er(){return Er=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var pO={exports:{}},Jq="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",eX=Jq,tX=eX;function mO(){}function hO(){}hO.resetWarningCache=mO;var rX=function(){function e(n,a,o,i,s,u){if(u!==tX){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:hO,resetWarningCache:mO};return r.PropTypes=r,r};pO.exports=rX();var Ot=pO.exports;function nX(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function aX(e,t){var r=b.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}function oX(e,t){return aX(t||null,function(r){return e.forEach(function(n){return nX(n,r)})})}function gO(e){return e}function yO(e,t){t===void 0&&(t=gO);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var i=t(o,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(o){for(n=!0;r.length;){var i=r;r=[],i.forEach(o)}r={push:function(s){return o(s)},filter:function(){return r}}},assignMedium:function(o){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(o),i=r}var u=function(){var c=i;i=[],c.forEach(o)},l=function(){return Promise.resolve().then(u)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return a}function M0(e,t){return t===void 0&&(t=gO),yO(e,t)}function iX(e){e===void 0&&(e={});var t=yO(null);return t.options=L({async:!0,ssr:!1},e),t}function Qm(e,t){return Qm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Qm(e,t)}function sX(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Qm(e,t)}function au(e){return au=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},au(e)}function uX(e,t){if(au(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(au(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function lX(e){var t=uX(e,"string");return au(t)==="symbol"?t:String(t)}function cX(e,t,r){return t=lX(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fX(e,t){function r(n){return n.displayName||n.name||"Component"}return function(a){var o=[],i;function s(){i=e(o.map(function(l){return l.props})),t(i)}var u=function(l){sX(c,l);function c(){return l.apply(this,arguments)||this}c.peek=function(){return i};var f=c.prototype;return f.componentDidMount=function(){o.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var m=o.indexOf(this);o.splice(m,1),s()},f.render=function(){return I.createElement(a,this.props)},c}(b.exports.PureComponent);return cX(u,"displayName","SideEffect("+r(a)+")"),u}}function mt(){return mt=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var bO=gn({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),dX=bO[0],hd=bO[1],vX=function(t){if(!!t)return ir(t,{enter:{visibility:"visible"},exit:{transitionEnd:{visibility:"hidden"}}})},pX={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},mX=ec(ne.section),wO=I.forwardRef(function(e,t){var r=hd(),n=r.isOpen;return I.createElement(mX,mt({ref:t,variants:vX(e.variants)},e,{initial:!1,animate:n?"enter":"exit"}))});wO.defaultProps={variants:pX};var hX=["closeOnBlur","closeOnEsc","initialFocusRef","id","returnFocusOnClose","autoFocus","arrowSize","arrowShadowColor","trigger","openDelay","closeDelay","isLazy","lazyBehavior","computePositionOnMount"],no={click:"click",hover:"hover"};function gX(e){e===void 0&&(e={});var t=e,r=t.closeOnBlur,n=r===void 0?!0:r,a=t.closeOnEsc,o=a===void 0?!0:a,i=t.initialFocusRef,s=t.id,u=t.returnFocusOnClose,l=u===void 0?!0:u,c=t.autoFocus,f=c===void 0?!0:c,v=t.arrowSize,m=t.arrowShadowColor,h=t.trigger,y=h===void 0?no.click:h,p=t.openDelay,d=p===void 0?200:p,g=t.closeDelay,w=g===void 0?200:g,S=t.isLazy,P=t.lazyBehavior,E=P===void 0?"unmount":P,C=t.computePositionOnMount,_=F0(t,hX),k=Gg(e),R=k.isOpen,B=k.onClose,V=k.onOpen,z=k.onToggle,q=b.exports.useRef(null),ee=b.exports.useRef(null),Y=b.exports.useRef(!1),te=b.exports.useRef(!1);R&&(te.current=!0);var se=b.exports.useState(!1),me=se[0],oe=se[1],D=b.exports.useState(!1),A=D[0],N=D[1],X=ej(s,"popover-trigger","popover-content","popover-header","popover-body"),re=X[0],ye=X[1],ve=X[2],ce=X[3],be=Xq(mt({},_,{enabled:R||!!C})),we=be.referenceRef,zt=be.getArrowProps,Tt=be.getPopperProps,Wt=be.getArrowInnerProps,K=be.forceUpdate;aj({enabled:R,ref:q}),rj(ee,{focusRef:q,visible:R,shouldFocus:l&&y===no.click}),ij(ee,{focusRef:i,visible:R,shouldFocus:f&&y===no.click});var F=jC({hasBeenSelected:te.current,isLazy:S,lazyBehavior:E,isSelected:R}),W=b.exports.useCallback(function(Q,Re){var Ye;Q===void 0&&(Q={}),Re===void 0&&(Re=null);var yn=mt({},Q,{style:mt({},Q.style,(Ye={transformOrigin:gt.transformOrigin.varRef},Ye[gt.arrowSize.var]=v?Fc(v):void 0,Ye[gt.arrowShadowColor.var]=m,Ye)),ref:Tr(ee,Re),children:F?Q.children:null,id:ye,tabIndex:-1,role:"dialog",onKeyDown:Ce(Q.onKeyDown,function(mi){o&&mi.key==="Escape"&&B()}),onBlur:Ce(Q.onBlur,function(mi){var aa=bN(mi),Mu=Vs(ee.current,aa),Fu=Vs(q.current,aa),Lu=!Mu&&!Fu;R&&n&&Lu&&B()}),"aria-labelledby":me?ve:void 0,"aria-describedby":A?ce:void 0});return y===no.hover&&(yn.role="tooltip",yn.onMouseEnter=Ce(Q.onMouseEnter,function(){Y.current=!0}),yn.onMouseLeave=Ce(Q.onMouseLeave,function(){Y.current=!1,setTimeout(B,w)})),yn},[F,ye,me,ve,A,ce,y,o,B,R,n,w,m,v]),ae=b.exports.useCallback(function(Q,Re){return Q===void 0&&(Q={}),Re===void 0&&(Re=null),Tt(mt({},Q,{style:mt({visibility:R?"visible":"hidden"},Q.style)}),Re)},[R,Tt]),pe=b.exports.useRef(),G=b.exports.useRef(),ue=b.exports.useCallback(function(Q,Re){Q===void 0&&(Q={}),Re===void 0&&(Re=null);var Ye=mt({},Q,{ref:Tr(q,Re,we),id:re,"aria-haspopup":"dialog","aria-expanded":R,"aria-controls":ye});return y===no.click&&(Ye.onClick=Ce(Q.onClick,z)),y===no.hover&&(Ye.onFocus=Ce(Q.onFocus,V),Ye.onBlur=Ce(Q.onBlur,B),Ye.onKeyDown=Ce(Q.onKeyDown,function(yn){yn.key==="Escape"&&B()}),Ye.onMouseEnter=Ce(Q.onMouseEnter,function(){Y.current=!0,pe.current=window.setTimeout(V,d)}),Ye.onMouseLeave=Ce(Q.onMouseLeave,function(){Y.current=!1,pe.current&&(clearTimeout(pe.current),pe.current=void 0),G.current=window.setTimeout(function(){Y.current===!1&&B()},w)})),Ye},[re,R,ye,y,we,z,V,B,d,w]);b.exports.useEffect(function(){return function(){pe.current&&clearTimeout(pe.current),G.current&&clearTimeout(G.current)}},[]);var Je=b.exports.useCallback(function(Q,Re){return Q===void 0&&(Q={}),Re===void 0&&(Re=null),mt({},Q,{id:ve,ref:Tr(Re,function(Ye){oe(!!Ye)})})},[ve]),er=b.exports.useCallback(function(Q,Re){return Q===void 0&&(Q={}),Re===void 0&&(Re=null),mt({},Q,{id:ce,ref:Tr(Re,function(Ye){N(!!Ye)})})},[ce]);return{forceUpdate:K,isOpen:R,onClose:B,getArrowProps:zt,getArrowInnerProps:Wt,getPopoverPositionerProps:ae,getPopoverProps:W,getTriggerProps:ue,getHeaderProps:Je,getBodyProps:er}}var yX=["children"],bX=["rootProps"],xO=function(t){var r=ad("Popover",t),n=Yr(t),a=n.children,o=F0(n,yX),i=lT(),s=gX(mt({},o,{direction:i.direction}));return b.exports.createElement(dX,{value:s},b.exports.createElement(fT,{value:r},It(a,{isOpen:s.isOpen,onClose:s.onClose,forceUpdate:s.forceUpdate})))},SO=function(t){var r=b.exports.Children.only(t.children),n=hd(),a=n.getTriggerProps;return b.exports.cloneElement(r,a(r.props,r.ref))},EO=ke(function(e,t){var r=e.rootProps,n=F0(e,bX),a=hd(),o=a.getPopoverProps,i=a.getPopoverPositionerProps,s=ra(),u=mt({position:"relative",display:"flex",flexDirection:"column"},s.content);return b.exports.createElement(ne.div,mt({},i(r),{__css:s.popper,className:"chakra-popover__popper"}),b.exports.createElement(wO,mt({},o(n,t),{className:ze("chakra-popover__content",e.className),__css:u})))}),PO=ke(function(e,t){var r=hd(),n=r.getBodyProps,a=ra();return b.exports.createElement(ne.div,mt({},n(e,t),{className:ze("chakra-popover__body",e.className),__css:a.body}))});function en(){return en=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var xX=["spacing","children"],Yx=ke(function(e,t){var r=ad("Switch",e),n=Yr(e),a=n.spacing,o=a===void 0?"0.5rem":a,i=n.children,s=wX(n,xX),u=WK(s),l=u.state,c=u.getInputProps,f=u.getCheckboxProps,v=u.getRootProps,m=u.getLabelProps,h=b.exports.useMemo(function(){return en({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:"normal"},r.container)},[r.container]),y=b.exports.useMemo(function(){return en({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer"},r.track)},[r.track]),p=b.exports.useMemo(function(){return en({userSelect:"none",marginStart:o},r.label)},[o,r.label]);return b.exports.createElement(ne.label,en({},v(),{className:ze("chakra-switch",e.className),__css:h}),b.exports.createElement("input",en({className:"chakra-switch__input"},c({},t))),b.exports.createElement(ne.span,en({},f(),{className:"chakra-switch__track",__css:y}),b.exports.createElement(ne.span,{__css:r.thumb,className:"chakra-switch__thumb","data-checked":qe(l.isChecked),"data-hover":qe(l.isHovered)})),i&&b.exports.createElement(ne.span,en({className:"chakra-switch__label"},m(),{__css:p}),i))});function ut(){return ut=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var SX=["defaultIndex","onChange","index","isManual","isLazy","lazyBehavior","orientation","direction"],EX=["isDisabled","isFocusable"],PX=["isSelected","id","children"],gd=OK(),CX=gd[0],TX=gd[1],kX=gd[2],OX=gd[3];function _X(e){var t=e.defaultIndex,r=e.onChange,n=e.index,a=e.isManual,o=e.isLazy,i=e.lazyBehavior,s=i===void 0?"unmount":i,u=e.orientation,l=u===void 0?"horizontal":u,c=e.direction,f=c===void 0?"ltr":c,v=ou(e,SX),m=b.exports.useState(t!=null?t:0),h=m[0],y=m[1],p=ZN({defaultValue:t!=null?t:0,value:n,onChange:r}),d=p[0],g=p[1];b.exports.useEffect(function(){n!=null&&y(n)},[n]);var w=kX(),S=Hg(e.id,"tabs");return{id:S,selectedIndex:d,focusedIndex:h,setSelectedIndex:g,setFocusedIndex:y,isManual:a,isLazy:o,lazyBehavior:s,orientation:l,descendants:w,direction:f,htmlProps:v}}var CO=gn({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "}),$X=CO[0],yd=CO[1];function DX(e){var t=yd(),r=t.focusedIndex,n=t.orientation,a=t.direction,o=TX(),i=b.exports.useCallback(function(s){var u,l=function(){var P=o.nextEnabled(r);P&&sn(P.node)},c=function(){var P=o.prevEnabled(r);P&&sn(P.node)},f=function(){var P=o.firstEnabled();P&&sn(P.node)},v=function(){var P=o.lastEnabled();P&&sn(P.node)},m=n==="horizontal",h=n==="vertical",y=yN(s),p=a==="ltr"?"ArrowLeft":"ArrowRight",d=a==="ltr"?"ArrowRight":"ArrowLeft",g=(u={},u[p]=function(){return m&&c()},u[d]=function(){return m&&l()},u.ArrowDown=function(){return h&&l()},u.ArrowUp=function(){return h&&c()},u.Home=f,u.End=v,u),w=g[y];w&&(s.preventDefault(),w(s))},[o,r,n,a]);return ut({},e,{role:"tablist","aria-orientation":n,onKeyDown:Ce(e.onKeyDown,i)})}function AX(e){var t=e.isDisabled,r=e.isFocusable,n=ou(e,EX),a=yd(),o=a.setSelectedIndex,i=a.isManual,s=a.id,u=a.setFocusedIndex,l=a.selectedIndex,c=OX({disabled:t&&!r}),f=c.index,v=c.register,m=f===l,h=function(){o(f)},y=function(){u(f);var w=t&&r,S=!i&&!w;S&&o(f)},p=_Y(ut({},n,{ref:Tr(v,e.ref),isDisabled:t,isFocusable:r,onClick:Ce(e.onClick,h)})),d="button";return ut({},p,{id:TO(s,f),role:"tab",tabIndex:m?0:-1,type:d,"aria-selected":m,"aria-controls":kO(s,f),onFocus:t?void 0:Ce(e.onFocus,y)})}function RX(e){var t=yd(),r=t.id,n=t.selectedIndex,a=zC(e.children),o=a.map(function(i,s){return b.exports.cloneElement(i,{isSelected:s===n,id:kO(r,s),"aria-labelledby":TO(r,s)})});return ut({},e,{children:o})}function IX(e){var t=e.isSelected,r=e.id,n=e.children,a=ou(e,PX),o=yd(),i=o.isLazy,s=o.lazyBehavior,u=b.exports.useRef(!1);t&&(u.current=!0);var l=jC({hasBeenSelected:u.current,isSelected:t,isLazy:i,lazyBehavior:s});return ut({tabIndex:0},a,{children:l?n:null,role:"tabpanel",hidden:!t,id:r})}function TO(e,t){return e+"--tab-"+t}function kO(e,t){return e+"--tabpanel-"+t}var MX=["children","className"],FX=["htmlProps","descendants"],LX=ke(function(e,t){var r=ad("Tabs",e),n=Yr(e),a=n.children,o=n.className,i=ou(n,MX),s=_X(i),u=s.htmlProps,l=s.descendants,c=ou(s,FX),f=b.exports.useMemo(function(){return c},[c]),v=jg(u,["isFitted"]);return b.exports.createElement(CX,{value:l},b.exports.createElement($X,{value:f},b.exports.createElement(fT,{value:r},b.exports.createElement(ne.div,ut({className:ze("chakra-tabs",o),ref:t},v,{__css:r.root}),a))))}),Ni=ke(function(e,t){var r=ra(),n=AX(ut({},e,{ref:t})),a=ut({outline:"0",display:"flex",alignItems:"center",justifyContent:"center"},r.tab);return b.exports.createElement(ne.button,ut({},n,{className:ze("chakra-tabs__tab",e.className),__css:a}))}),BX=ke(function(e,t){var r=DX(ut({},e,{ref:t})),n=ra(),a=ut({display:"flex"},n.tablist);return b.exports.createElement(ne.div,ut({},r,{className:ze("chakra-tabs__tablist",e.className),__css:a}))}),ji=ke(function(e,t){var r=IX(ut({},e,{ref:t})),n=ra();return b.exports.createElement(ne.div,ut({outline:"0"},r,{className:ze("chakra-tabs__tab-panel",e.className),__css:n.tabpanel}))}),NX=ke(function(e,t){var r=RX(e),n=ra();return b.exports.createElement(ne.div,ut({},r,{width:"100%",ref:t,className:ze("chakra-tabs__tab-panels",e.className),__css:n.tabpanels}))}),OO=rz;OO.defaultProps={theme:PT};function jX(){for(var e=arguments.length,t=new Array(e),r=0;r1?n=n.slice(0,n.length-1):a=PT,DN.apply(void 0,n.map(function(o){return function(i){return Pa(o)?o(i):zX(i,o)}}))(a)}function zX(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}function WX(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Qo(e){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function wd(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Qo(e),n=WX(t);return r.setDate(r.getDate()+n),r}function Zo(e,t){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=Qo(e),n=Qo(t);return r.getTime()1?a-1:0),i=1;i1&&n){var a=t[0].firstDayOfMonth,o=$O(a,n);o1&&n){var a=t[t.length-1].lastDayOfMonth,o=$O(n,a);o0;)s.unshift(""),u--;return s}function JX(e){var t=e.lastDayOfMonth,r=e.minDate,n=e.maxDate,a=e.selectedDates,o=e.firstDayOfWeek,i=e.showOutsideDays,s=[],u=(t.getDay()+7-o)%7;if(i)for(var l=wd(t,1),c=l.getMonth(),f=l.getFullYear(),v=0;v<6-u;){var m=new Date(f,c,1+v),h={date:m,selected:j0(a,m),selectable:z0(r,n,m),today:!1,prevMonth:!1,nextMonth:!0};s.push(h),v++}else for(;u<6;)s.push(""),u++;return s}function eQ(e,t){var r=new Date(t,e,1);e=r.getMonth(),t=r.getFullYear();var n=32-new Date(t,e,32).getDate();return{daysInMonth:n,month:e,year:t}}function tQ(e){for(var t=Math.ceil(e.length/7),r=[],n=0;n{switch(t.key){case"ArrowDown":this.config.down&&this.config.down();break;case"ArrowLeft":this.config.left&&this.config.left();break;case"ArrowRight":this.config.right&&this.config.right();break;case"ArrowUp":this.config.up&&this.config.up();break}}}}}const tf={variant:"ghost",size:"sm"},uQ=e=>{var a;const{calendars:t,getBackProps:r}=e,n=(a=e.propsConfigs)==null?void 0:a.dateNavBtnProps;return I.createElement(b.exports.Fragment,null,I.createElement(un,{...r({calendars:t,offset:12}),...tf,...n},"<<"),I.createElement(un,{...r({calendars:t}),...tf,...n},"<"))},lQ=e=>{var a;const{calendars:t,getForwardProps:r}=e,n=(a=e.propsConfigs)==null?void 0:a.dateNavBtnProps;return I.createElement(b.exports.Fragment,null,I.createElement(un,{...r({calendars:t}),...tf,...n},">"),I.createElement(un,{...r({calendars:t,offset:12}),...tf,...n},">>"))},zi=.125,cQ=({dateObj:e,propsConfigs:t,isInRange:r,disabledDates:n,renderProps:a,onMouseEnter:o})=>{const{date:i,selected:s,selectable:u,today:l}=e,{getDateProps:c}=a,{defaultBtnProps:f,isInRangeBtnProps:v,selectedBtnProps:m,todayBtnProps:h}=(t==null?void 0:t.dayOfMonthBtnProps)||{},y=!u||(n==null?void 0:n.has(i.getTime())),p=b.exports.useMemo(()=>{var d;return{defaultBtnProps:{size:"sm",variant:"ghost",...f,_after:{content:"''",position:"absolute",top:`-${zi}rem`,left:`-${zi}rem`,bottom:`-${zi}rem`,right:`-${zi}rem`,borderWidth:`${zi}rem`,borderColor:"transparent",...f==null?void 0:f._after},_hover:{bg:"purple.400",...f==null?void 0:f._hover,_disabled:{bg:"gray.100",...(d=f==null?void 0:f._hover)==null?void 0:d._disabled}}},isInRangeBtnProps:{background:"purple.200",...v},selectedBtnProps:{background:"purple.200",...m},todayBtnProps:{borderColor:"blue.400",...h}}},[f,v,m,h]);return I.createElement(un,{...c({dateObj:e,disabled:y,onMouseEnter:o}),isDisabled:y,...p.defaultBtnProps,...r&&!y&&p.isInRangeBtnProps,...s&&!y&&p.selectedBtnProps,...l&&p.todayBtnProps},i.getDate())},W0=({dayzedHookProps:e,configs:t,propsConfigs:r,disabledDates:n,onMouseEnterHighlight:a,isInRange:o})=>{var m;const i=iQ(e),{calendars:s,getBackProps:u,getForwardProps:l}=i,c=b.exports.useMemo(()=>{const h=t.firstDayOfWeek,y=t.dayNames;return h&&h>0?t.dayNames.slice(h,y.length).concat(y.slice(0,h)):y},[t.firstDayOfWeek,t.dayNames]),f=b.exports.useCallback(h=>{const y=document.activeElement;let p=document.querySelectorAll("button");p.forEach((d,g)=>{const w=g+h;d===y&&(w<=p.length-1&&w>=0?p[w].focus():p[0].focus())})},[]),v=new sQ({left:()=>{f(-1)},right:()=>{f(1)},up:()=>{f(-7)},down:()=>{f(7)}});return s.length<=0?null:I.createElement(k0,{className:"datepicker-calendar",direction:["column","column","row"],...(m=r==null?void 0:r.calendarPanelProps)==null?void 0:m.wrapperProps,...v.getEvents()},s.map((h,y)=>{var p,d,g,w;return I.createElement(O0,{key:y,height:"100%",borderWidth:"1px",padding:"0.5rem 0.75rem",...(p=r==null?void 0:r.calendarPanelProps)==null?void 0:p.contentProps},I.createElement(aO,{...(d=r==null?void 0:r.calendarPanelProps)==null?void 0:d.headerProps},I.createElement(uQ,{calendars:s,getBackProps:u,propsConfigs:r}),I.createElement(T0,{size:"sm",minWidth:"5rem",textAlign:"center",...r==null?void 0:r.dateHeadingProps},t.monthNames[h.month]," ",h.year),I.createElement(lQ,{calendars:s,getForwardProps:l,propsConfigs:r})),I.createElement(nO,{...(g=r==null?void 0:r.calendarPanelProps)==null?void 0:g.dividerProps}),I.createElement(mY,{columns:7,spacing:1,textAlign:"center",...(w=r==null?void 0:r.calendarPanelProps)==null?void 0:w.bodyProps},c.map((S,P)=>I.createElement(sr,{fontSize:"sm",fontWeight:"semibold",key:P,...r==null?void 0:r.weekdayLabelProps},S)),h.weeks.map((S,P)=>S.map((E,C)=>{const _=`${h.month}-${h.year}-${P}-${C}`;if(!E)return I.createElement(sr,{key:_});const{date:k}=E;return I.createElement(cQ,{key:_,dateObj:E,propsConfigs:r,renderProps:i,isInRange:o&&o(k),disabledDates:n,onMouseEnter:()=>{a&&a(k)}})}))))}))};function Mt(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function at(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function gr(e){at(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn(new Error().stack)),new Date(NaN))}function V0(e,t){at(2,arguments);var r=gr(e),n=Mt(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function fQ(e,t){at(2,arguments);var r=gr(e).getTime(),n=Mt(t);return new Date(r+n)}function dQ(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Qv(e){at(1,arguments);var t=gr(e);return t.setHours(0,0,0,0),t}function vQ(e){return at(1,arguments),e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function pQ(e){if(at(1,arguments),!vQ(e)&&typeof e!="number")return!1;var t=gr(e);return!isNaN(Number(t))}var mQ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hQ=function(e,t,r){var n,a=mQ[e];return typeof a=="string"?n=a:t===1?n=a.one:n=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+n:n+" ago":n},gQ=hQ;function Zv(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var yQ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bQ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wQ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xQ={date:Zv({formats:yQ,defaultWidth:"full"}),time:Zv({formats:bQ,defaultWidth:"full"}),dateTime:Zv({formats:wQ,defaultWidth:"full"})},SQ=xQ,EQ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},PQ=function(e,t,r,n){return EQ[e]},CQ=PQ;function Wi(e){return function(t,r){var n=r||{},a=n.context?String(n.context):"standalone",o;if(a==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,s=n.width?String(n.width):i;o=e.formattingValues[s]||e.formattingValues[i]}else{var u=e.defaultWidth,l=n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[u]}var c=e.argumentCallback?e.argumentCallback(t):t;return o[c]}}var TQ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},kQ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},OQ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},_Q={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},$Q={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},DQ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},AQ=function(e,t){var r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},RQ={ordinalNumber:AQ,era:Wi({values:TQ,defaultWidth:"wide"}),quarter:Wi({values:kQ,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Wi({values:OQ,defaultWidth:"wide"}),day:Wi({values:_Q,defaultWidth:"wide"}),dayPeriod:Wi({values:$Q,defaultWidth:"wide",formattingValues:DQ,defaultFormattingWidth:"wide"})},IQ=RQ;function Vi(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var i=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?FQ(s,function(f){return f.test(i)}):MQ(s,function(f){return f.test(i)}),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=t.slice(i.length);return{value:l,rest:c}}}function MQ(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function FQ(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var a=n[0],o=t.match(e.parsePattern);if(!o)return null;var i=e.valueCallback?e.valueCallback(o[0]):o[0];i=r.valueCallback?r.valueCallback(i):i;var s=t.slice(a.length);return{value:i,rest:s}}}var BQ=/^(\d+)(th|st|nd|rd)?/i,NQ=/\d+/i,jQ={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},zQ={any:[/^b/i,/^(a|c)/i]},WQ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},VQ={any:[/1/i,/2/i,/3/i,/4/i]},UQ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},HQ={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},GQ={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},KQ={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},YQ={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qQ={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},XQ={ordinalNumber:LQ({matchPattern:BQ,parsePattern:NQ,valueCallback:function(e){return parseInt(e,10)}}),era:Vi({matchPatterns:jQ,defaultMatchWidth:"wide",parsePatterns:zQ,defaultParseWidth:"any"}),quarter:Vi({matchPatterns:WQ,defaultMatchWidth:"wide",parsePatterns:VQ,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Vi({matchPatterns:UQ,defaultMatchWidth:"wide",parsePatterns:HQ,defaultParseWidth:"any"}),day:Vi({matchPatterns:GQ,defaultMatchWidth:"wide",parsePatterns:KQ,defaultParseWidth:"any"}),dayPeriod:Vi({matchPatterns:YQ,defaultMatchWidth:"any",parsePatterns:qQ,defaultParseWidth:"any"})},QQ=XQ,ZQ={code:"en-US",formatDistance:gQ,formatLong:SQ,formatRelative:CQ,localize:IQ,match:QQ,options:{weekStartsOn:0,firstWeekContainsDate:1}},JQ=ZQ;function eZ(e,t){at(2,arguments);var r=Mt(t);return fQ(e,-r)}function Se(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?r:1-r;return Se(t==="yy"?n%100:n,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):Se(r+1,2)},d:function(e,t){return Se(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return Se(e.getUTCHours()%12||12,t.length)},H:function(e,t){return Se(e.getUTCHours(),t.length)},m:function(e,t){return Se(e.getUTCMinutes(),t.length)},s:function(e,t){return Se(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,n=e.getUTCMilliseconds(),a=Math.floor(n*Math.pow(10,r-3));return Se(a,t.length)}},Sn=tZ,rZ=864e5;function nZ(e){at(1,arguments);var t=gr(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/rZ)+1}function rf(e){at(1,arguments);var t=1,r=gr(e),n=r.getUTCDay(),a=(n=a.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function aZ(e){at(1,arguments);var t=AO(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=rf(r);return n}var oZ=6048e5;function iZ(e){at(1,arguments);var t=gr(e),r=rf(t).getTime()-aZ(t).getTime();return Math.round(r/oZ)+1}function nf(e,t){at(1,arguments);var r=t||{},n=r.locale,a=n&&n.options&&n.options.weekStartsOn,o=a==null?0:Mt(a),i=r.weekStartsOn==null?o:Mt(r.weekStartsOn);if(!(i>=0&&i<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=gr(e),u=s.getUTCDay(),l=(u=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=new Date(0);l.setUTCFullYear(n+1,0,u),l.setUTCHours(0,0,0,0);var c=nf(l,t),f=new Date(0);f.setUTCFullYear(n,0,u),f.setUTCHours(0,0,0,0);var v=nf(f,t);return r.getTime()>=c.getTime()?n+1:r.getTime()>=v.getTime()?n:n-1}function sZ(e,t){at(1,arguments);var r=t||{},n=r.locale,a=n&&n.options&&n.options.firstWeekContainsDate,o=a==null?1:Mt(a),i=r.firstWeekContainsDate==null?o:Mt(r.firstWeekContainsDate),s=RO(e,t),u=new Date(0);u.setUTCFullYear(s,0,i),u.setUTCHours(0,0,0,0);var l=nf(u,t);return l}var uZ=6048e5;function lZ(e,t){at(1,arguments);var r=gr(e),n=nf(r,t).getTime()-sZ(r,t).getTime();return Math.round(n/uZ)+1}var ao={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},cZ={G:function(e,t,r){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});case"GGGG":default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var n=e.getUTCFullYear(),a=n>0?n:1-n;return r.ordinalNumber(a,{unit:"year"})}return Sn.y(e,t)},Y:function(e,t,r,n){var a=RO(e,n),o=a>0?a:1-a;if(t==="YY"){var i=o%100;return Se(i,2)}return t==="Yo"?r.ordinalNumber(o,{unit:"year"}):Se(o,t.length)},R:function(e,t){var r=AO(e);return Se(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return Se(r,t.length)},Q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return Se(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return Se(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){var n=e.getUTCMonth();switch(t){case"M":case"MM":return Sn.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return Se(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){var a=lZ(e,n);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):Se(a,t.length)},I:function(e,t,r){var n=iZ(e);return t==="Io"?r.ordinalNumber(n,{unit:"week"}):Se(n,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):Sn.d(e,t)},D:function(e,t,r){var n=nZ(e);return t==="Do"?r.ordinalNumber(n,{unit:"dayOfYear"}):Se(n,t.length)},E:function(e,t,r){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});case"EEEE":default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return Se(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){var a=e.getUTCDay(),o=(a-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return Se(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){var n=e.getUTCDay(),a=n===0?7:n;switch(t){case"i":return String(a);case"ii":return Se(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});case"iiii":default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){var n=e.getUTCHours(),a=n/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){var n=e.getUTCHours(),a;switch(n===12?a=ao.noon:n===0?a=ao.midnight:a=n/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){var n=e.getUTCHours(),a;switch(n>=17?a=ao.evening:n>=12?a=ao.afternoon:n>=4?a=ao.morning:a=ao.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var n=e.getUTCHours()%12;return n===0&&(n=12),r.ordinalNumber(n,{unit:"hour"})}return Sn.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Sn.H(e,t)},K:function(e,t,r){var n=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(n,{unit:"hour"}):Se(n,t.length)},k:function(e,t,r){var n=e.getUTCHours();return n===0&&(n=24),t==="ko"?r.ordinalNumber(n,{unit:"hour"}):Se(n,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Sn.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Sn.s(e,t)},S:function(e,t){return Sn.S(e,t)},X:function(e,t,r,n){var a=n._originalDate||e,o=a.getTimezoneOffset();if(o===0)return"Z";switch(t){case"X":return Xx(o);case"XXXX":case"XX":return ma(o);case"XXXXX":case"XXX":default:return ma(o,":")}},x:function(e,t,r,n){var a=n._originalDate||e,o=a.getTimezoneOffset();switch(t){case"x":return Xx(o);case"xxxx":case"xx":return ma(o);case"xxxxx":case"xxx":default:return ma(o,":")}},O:function(e,t,r,n){var a=n._originalDate||e,o=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+qx(o,":");case"OOOO":default:return"GMT"+ma(o,":")}},z:function(e,t,r,n){var a=n._originalDate||e,o=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+qx(o,":");case"zzzz":default:return"GMT"+ma(o,":")}},t:function(e,t,r,n){var a=n._originalDate||e,o=Math.floor(a.getTime()/1e3);return Se(o,t.length)},T:function(e,t,r,n){var a=n._originalDate||e,o=a.getTime();return Se(o,t.length)}};function qx(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(o===0)return r+String(a);var i=t||"";return r+String(a)+i+Se(o,2)}function Xx(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Se(Math.abs(e)/60,2)}return ma(e,t)}function ma(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),o=Se(Math.floor(a/60),2),i=Se(a%60,2);return n+o+r+i}var fZ=cZ;function Qx(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}}function IO(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}}function dZ(e,t){var r=e.match(/(P+)(p+)?/),n=r[1],a=r[2];if(!a)return Qx(e,t);var o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;case"PPPP":default:o=t.dateTime({width:"full"});break}return o.replace("{{date}}",Qx(n,t)).replace("{{time}}",IO(a,t))}var vZ={p:IO,P:dZ},pZ=vZ,mZ=["D","DD"],hZ=["YY","YYYY"];function gZ(e){return mZ.indexOf(e)!==-1}function yZ(e){return hZ.indexOf(e)!==-1}function Zx(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://git.io/fxCyr"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://git.io/fxCyr"))}var bZ=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,wZ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,xZ=/^'([^]*?)'?$/,SZ=/''/g,EZ=/[a-zA-Z]/;function Jo(e,t,r){at(2,arguments);var n=String(t),a=r||{},o=a.locale||JQ,i=o.options&&o.options.firstWeekContainsDate,s=i==null?1:Mt(i),u=a.firstWeekContainsDate==null?s:Mt(a.firstWeekContainsDate);if(!(u>=1&&u<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var l=o.options&&o.options.weekStartsOn,c=l==null?0:Mt(l),f=a.weekStartsOn==null?c:Mt(a.weekStartsOn);if(!(f>=0&&f<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!o.localize)throw new RangeError("locale must contain localize property");if(!o.formatLong)throw new RangeError("locale must contain formatLong property");var v=gr(e);if(!pQ(v))throw new RangeError("Invalid time value");var m=dQ(v),h=eZ(v,m),y={firstWeekContainsDate:u,weekStartsOn:f,locale:o,_originalDate:v},p=n.match(wZ).map(function(d){var g=d[0];if(g==="p"||g==="P"){var w=pZ[g];return w(d,o.formatLong,y)}return d}).join("").match(bZ).map(function(d){if(d==="''")return"'";var g=d[0];if(g==="'")return PZ(d);var w=fZ[g];if(w)return!a.useAdditionalWeekYearTokens&&yZ(d)&&Zx(d,t,e),!a.useAdditionalDayOfYearTokens&&gZ(d)&&Zx(d,t,e),w(h,d,o.localize,y);if(g.match(EZ))throw new RangeError("Format string contains an unescaped latin alphabet character `"+g+"`");return d}).join("");return p}function PZ(e){return e.match(xZ)[1].replace(SZ,"'")}function Qi(e,t){at(2,arguments);var r=Mt(t);return V0(e,-r)}var Zm="data-focus-lock",MO="data-focus-lock-disabled",CZ="data-no-focus-lock",TZ="data-autofocus-inside",kZ="data-no-autofocus",Jv={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},FO=M0({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),LO=M0(),OZ=M0(),_Z=iX({async:!0}),$Z=[],U0=b.exports.forwardRef(function(t,r){var n,a=b.exports.useState(),o=a[0],i=a[1],s=b.exports.useRef(),u=b.exports.useRef(!1),l=b.exports.useRef(null),c=t.children,f=t.disabled,v=t.noFocusGuards,m=t.persistentFocus,h=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var p=t.group,d=t.className,g=t.whiteList,w=t.hasPositiveIndices,S=t.shards,P=S===void 0?$Z:S,E=t.as,C=E===void 0?"div":E,_=t.lockProps,k=_===void 0?{}:_,R=t.sideCar,B=t.returnFocus,V=t.focusOptions,z=t.onActivation,q=t.onDeactivation,ee=b.exports.useState({}),Y=ee[0],te=b.exports.useCallback(function(){l.current=l.current||document&&document.activeElement,s.current&&z&&z(s.current),u.current=!0},[z]),se=b.exports.useCallback(function(){u.current=!1,q&&q(s.current)},[q]);b.exports.useEffect(function(){f||(l.current=null)},[]);var me=b.exports.useCallback(function(ve){var ce=l.current;if(ce&&ce.focus){var be=typeof B=="function"?B(ce):B;if(be){var we=typeof be=="object"?be:void 0;l.current=null,ve?Promise.resolve().then(function(){return ce.focus(we)}):ce.focus(we)}}},[B]),oe=b.exports.useCallback(function(ve){u.current&&FO.useMedium(ve)},[]),D=LO.useMedium,A=b.exports.useCallback(function(ve){s.current!==ve&&(s.current=ve,i(ve))},[]),N=Ba((n={},n[MO]=f&&"disabled",n[Zm]=p,n),k),X=v!==!0,re=X&&v!=="tail",ye=oX([r,A]);return b.exports.createElement(b.exports.Fragment,null,X&&[b.exports.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Jv}),w?b.exports.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Jv}):null],!f&&b.exports.createElement(R,{id:Y,sideCar:_Z,observed:o,disabled:f,persistentFocus:m,crossFrame:h,autoFocus:y,whiteList:g,shards:P,onActivation:te,onDeactivation:se,returnFocus:me,focusOptions:V}),b.exports.createElement(C,Ba({ref:ye},N,{className:d,onBlur:D,onFocus:oe}),c),re&&b.exports.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Jv}))});U0.propTypes={};U0.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var BO=U0,qr=function(e){for(var t=Array(e.length),r=0;r=0}).sort(BZ)},NZ=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],G0=NZ.join(","),jZ="".concat(G0,", [data-focus-guard]"),YO=function(e,t){return qr((e.shadowRoot||e).children).reduce(function(r,n){return r.concat(n.matches(t?jZ:G0)?[n]:[],YO(n))},[])},zZ=function(e,t){var r;return e instanceof HTMLIFrameElement&&((r=e.contentDocument)===null||r===void 0?void 0:r.body)?xd([e.contentDocument.body],t):[e]},xd=function(e,t){return e.reduce(function(r,n){var a,o=YO(n,t),i=(a=[]).concat.apply(a,o.map(function(s){return zZ(s,t)}));return r.concat(i,n.parentNode?qr(n.parentNode.querySelectorAll(G0)).filter(function(s){return s===n}):[])},[])},WZ=function(e){var t=e.querySelectorAll("[".concat(TZ,"]"));return qr(t).map(function(r){return xd([r])}).reduce(function(r,n){return r.concat(n)},[])},K0=function(e,t){return qr(e).filter(function(r){return WO(t,r)}).filter(function(r){return MZ(r)})},Jx=function(e,t){return t===void 0&&(t=new Map),qr(e).filter(function(r){return VO(t,r)})},Jm=function(e,t,r){return KO(K0(xd(e,r),t),!0,r)},eS=function(e,t){return KO(K0(xd(e),t),!1)},VZ=function(e,t){return K0(WZ(e),t)},Io=function(e,t){return e.shadowRoot?Io(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:qr(e.children).some(function(r){var n;if(r instanceof HTMLIFrameElement){var a=(n=r.contentDocument)===null||n===void 0?void 0:n.body;return a?Io(a,t):!1}return Io(r,t)})},UZ=function(e){for(var t=new Set,r=e.length,n=0;n0&&t.add(a),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(i,s){return!t.has(s)})},qO=function(e){return e.parentNode?qO(e.parentNode):e},Y0=function(e){var t=af(e);return t.filter(Boolean).reduce(function(r,n){var a=n.getAttribute(Zm);return r.push.apply(r,a?UZ(qr(qO(n).querySelectorAll("[".concat(Zm,'="').concat(a,'"]:not([').concat(MO,'="disabled"])')))):[n]),r},[])},HZ=function(e){try{return e()}catch{return}},su=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?su(t.shadowRoot):t instanceof HTMLIFrameElement&&HZ(function(){return t.contentWindow.document})?su(t.contentWindow.document):t}},GZ=function(e,t){return e===t},KZ=function(e,t){return Boolean(qr(e.querySelectorAll("iframe")).some(function(r){return GZ(r,t)}))},XO=function(e,t){return t===void 0&&(t=su(NO(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:Y0(e).some(function(r){return Io(r,t)||KZ(r,t)})},YZ=function(e){e===void 0&&(e=document);var t=su(e);return t?qr(e.querySelectorAll("[".concat(CZ,"]"))).some(function(r){return Io(r,t)}):!1},qZ=function(e,t){return t.filter(GO).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},q0=function(e,t){return GO(e)&&e.name?qZ(e,t):e},XZ=function(e){var t=new Set;return e.forEach(function(r){return t.add(q0(r,e))}),e.filter(function(r){return t.has(r)})},tS=function(e){return e[0]&&e.length>1?q0(e[0],e):e[0]},rS=function(e,t){return e.length>1?e.indexOf(q0(e[t],e)):t},QO="NEW_FOCUS",QZ=function(e,t,r,n){var a=e.length,o=e[0],i=e[a-1],s=H0(r);if(!(r&&e.indexOf(r)>=0)){var u=r!==void 0?t.indexOf(r):-1,l=n?t.indexOf(n):u,c=n?e.indexOf(n):-1,f=u-l,v=t.indexOf(o),m=t.indexOf(i),h=XZ(t),y=r!==void 0?h.indexOf(r):-1,p=y-(n?h.indexOf(n):u),d=rS(e,0),g=rS(e,a-1);if(u===-1||c===-1)return QO;if(!f&&c>=0)return c;if(u<=v&&s&&Math.abs(f)>1)return g;if(u>=m&&s&&Math.abs(f)>1)return d;if(f&&Math.abs(p)>1)return c;if(u<=v)return g;if(u>m)return d;if(f)return Math.abs(f)>1?c:(a+c+f)%a}},ZZ=function(e){return function(t){var r,n=(r=UO(t))===null||r===void 0?void 0:r.autofocus;return t.autofocus||n!==void 0&&n!=="false"||e.indexOf(t)>=0}},JZ=function(e,t,r){var n=e.map(function(o){var i=o.node;return i}),a=Jx(n.filter(ZZ(r)));return a&&a.length?tS(a):tS(Jx(t))},eh=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&eh(e.parentNode.host||e.parentNode,t),t},ep=function(e,t){for(var r=eh(e),n=eh(t),a=0;a=0)return o}return!1},ZO=function(e,t,r){var n=af(e),a=af(t),o=n[0],i=!1;return a.filter(Boolean).forEach(function(s){i=ep(i||s,s)||i,r.filter(Boolean).forEach(function(u){var l=ep(o,u);l&&(!i||Io(l,i)?i=l:i=ep(l,i))})}),i},eJ=function(e,t){return e.reduce(function(r,n){return r.concat(VZ(n,t))},[])},tJ=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(LZ)},rJ=function(e,t){var r=su(af(e).length>0?document:NO(e).ownerDocument),n=Y0(e).filter(of),a=ZO(r||e,e,n),o=new Map,i=eS(n,o),s=Jm(n,o).filter(function(m){var h=m.node;return of(h)});if(!(!s[0]&&(s=i,!s[0]))){var u=eS([a],o).map(function(m){var h=m.node;return h}),l=tJ(u,s),c=l.map(function(m){var h=m.node;return h}),f=QZ(c,u,r,t);if(f===QO){var v=JZ(i,c,eJ(n,o));if(v)return{node:v};console.warn("focus-lock: cannot find any node to move focus into");return}return f===void 0?f:l[f]}},nJ=function(e){var t=Y0(e).filter(of),r=ZO(e,e,t),n=new Map,a=Jm([r],n,!0),o=Jm(t,n).filter(function(i){var s=i.node;return of(s)}).map(function(i){var s=i.node;return s});return a.map(function(i){var s=i.node,u=i.index;return{node:s,index:u,lockItem:o.indexOf(s)>=0,guard:H0(s)}})},aJ=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},tp=0,rp=!1,oJ=function(e,t,r){r===void 0&&(r={});var n=rJ(e,t);if(!rp&&n){if(tp>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),rp=!0,setTimeout(function(){rp=!1},1);return}tp++,aJ(n.node,r.focusOptions),tp--}},JO=oJ;function X0(e){setTimeout(e,1)}var iJ=function(){return document&&document.activeElement===document.body},sJ=function(){return iJ()||YZ()},Mo=null,yo=null,Fo=null,uu=!1,uJ=function(){return!0},lJ=function(t){return(Mo.whiteList||uJ)(t)},cJ=function(t,r){Fo={observerNode:t,portaledElement:r}},fJ=function(t){return Fo&&Fo.portaledElement===t};function nS(e,t,r,n){var a=null,o=e;do{var i=n[o];if(i.guard)i.node.dataset.focusAutoGuard&&(a=i);else if(i.lockItem){if(o!==e)return;a=null}else break}while((o+=r)!==t);a&&(a.node.tabIndex=0)}var dJ=function(t){return t&&"current"in t?t.current:t},vJ=function(t){return t?Boolean(uu):uu==="meanwhile"},pJ=function e(t,r,n){return r&&(r.host===t&&(!r.activeElement||n.contains(r.activeElement))||r.parentNode&&e(t,r.parentNode,n))},mJ=function(t,r){return r.some(function(n){return pJ(t,n,n)})},sf=function(){var t=!1;if(Mo){var r=Mo,n=r.observed,a=r.persistentFocus,o=r.autoFocus,i=r.shards,s=r.crossFrame,u=r.focusOptions,l=n||Fo&&Fo.portaledElement,c=document&&document.activeElement;if(l){var f=[l].concat(i.map(dJ).filter(Boolean));if((!c||lJ(c))&&(a||vJ(s)||!sJ()||!yo&&o)&&(l&&!(XO(f)||c&&mJ(c,f)||fJ(c))&&(document&&!yo&&c&&!o?(c.blur&&c.blur(),document.body.focus()):(t=JO(f,yo,{focusOptions:u}),Fo={})),uu=!1,yo=document&&document.activeElement),document){var v=document&&document.activeElement,m=nJ(f),h=m.map(function(y){var p=y.node;return p}).indexOf(v);h>-1&&(m.filter(function(y){var p=y.guard,d=y.node;return p&&d.dataset.focusAutoGuard}).forEach(function(y){var p=y.node;return p.removeAttribute("tabIndex")}),nS(h,m.length,1,m),nS(h,-1,-1,m))}}}return t},e_=function(t){sf()&&t&&(t.stopPropagation(),t.preventDefault())},Q0=function(){return X0(sf)},hJ=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||cJ(n,r)},gJ=function(){return null},t_=function(){uu="just",X0(function(){uu="meanwhile"})},yJ=function(){document.addEventListener("focusin",e_),document.addEventListener("focusout",Q0),window.addEventListener("blur",t_)},bJ=function(){document.removeEventListener("focusin",e_),document.removeEventListener("focusout",Q0),window.removeEventListener("blur",t_)};function wJ(e){return e.filter(function(t){var r=t.disabled;return!r})}function xJ(e){var t=e.slice(-1)[0];t&&!Mo&&yJ();var r=Mo,n=r&&t&&t.id===r.id;Mo=t,r&&!n&&(r.onDeactivation(),e.filter(function(a){var o=a.id;return o===r.id}).length||r.returnFocus(!t)),t?(yo=null,(!n||r.observed!==t.observed)&&t.onActivation(),sf(),X0(sf)):(bJ(),yo=null)}FO.assignSyncMedium(hJ);LO.assignMedium(Q0);OZ.assignMedium(function(e){return e({moveFocusInside:JO,focusInside:XO})});var SJ=fX(wJ,xJ)(gJ),r_=b.exports.forwardRef(function(t,r){return b.exports.createElement(BO,Ba({sideCar:SJ,ref:r},t))}),n_=BO.propTypes||{};n_.sideCar;Zq(n_,["sideCar"]);r_.propTypes={};var a_=r_;const EJ={dateFormat:"yyyy-MM-dd",monthNames:bd,dayNames:Iu,firstDayOfWeek:0,monthsToDisplay:1},np=({configs:e,propsConfigs:t,usePortal:r,disabledDates:n,defaultIsOpen:a=!1,closeOnSelect:o=!0,...i})=>{var k,R;const{date:s,name:u,disabled:l,onDateChange:c,id:f,minDate:v,maxDate:m}=i,[h,y]=b.exports.useState(s),[p,d]=b.exports.useState(0),{onOpen:g,onClose:w,isOpen:S}=Gg({defaultIsOpen:a}),P={...EJ,...e},E=()=>{w(),y(s),d(0)},C=({selectable:B,date:V})=>{if(!!B&&V instanceof Date&&!isNaN(V.getTime())){c(V),o&&w();return}},_=r?Cu:I.Fragment;return I.createElement(xO,{placement:"bottom-start",variant:"responsive",isOpen:S,onOpen:g,onClose:E,isLazy:!0},I.createElement(SO,null,I.createElement(P0,{onKeyPress:B=>{B.key===" "&&!S&&(B.preventDefault(),g())},id:f,autoComplete:"off",isDisabled:l,name:u,value:s?Jo(s,P.dateFormat):"",onChange:B=>B.target.value,...t==null?void 0:t.inputProps})),I.createElement(_,null,I.createElement(EO,{width:"100%",...(k=t==null?void 0:t.popoverCompProps)==null?void 0:k.popoverContentProps},I.createElement(PO,{...(R=t==null?void 0:t.popoverCompProps)==null?void 0:R.popoverBodyProps},I.createElement(a_,null,I.createElement(W0,{dayzedHookProps:{showOutsideDays:!0,monthsToDisplay:P.monthsToDisplay,onDateSelected:C,selected:s,date:h,minDate:v,maxDate:m,offset:p,onOffsetChanged:d,firstDayOfWeek:P.firstDayOfWeek},configs:P,propsConfigs:t,disabledDates:n}))))))},o_=({dayzedHookProps:e,configs:t,propsConfigs:r,selected:n})=>{const[a,o]=b.exports.useState(null),i=()=>{o(null)},s=l=>{!Array.isArray(n)||!(n!=null&&n.length)||o(l)},u=l=>{if(!Array.isArray(n)||!(n!=null&&n.length))return!1;let c=n[0];if(n.length===2){let f=n[1];return cl}else return a&&(c=l||l=a)};return I.createElement(bs,{onMouseLeave:i},I.createElement(W0,{dayzedHookProps:e,configs:t,propsConfigs:r,isInRange:u,onMouseEnterHighlight:s}))},PJ={dateFormat:"MM/dd/yyyy",monthNames:bd,dayNames:Iu,firstDayOfWeek:0,monthsToDisplay:2},$l=({configs:e,propsConfigs:t={},id:r,name:n,usePortal:a,defaultIsOpen:o=!1,closeOnSelect:i=!0,...s})=>{var k,R;const{selectedDates:u,minDate:l,maxDate:c,onDateChange:f,disabled:v}=s,[m,h]=b.exports.useState(u[0]||new Date),[y,p]=b.exports.useState(0),{onOpen:d,onClose:g,isOpen:w}=Gg({defaultIsOpen:o}),S={...PJ,...e},P=()=>{g(),h(u[0]||new Date),p(0)},E=({selectable:B,date:V})=>{if(!B)return;let z=[...u];if(u.length){if(u.length===1){u[0]{B.key===" "&&!w&&(B.preventDefault(),d())},id:r,autoComplete:"off",isDisabled:v,name:n,value:C,onChange:B=>B.target.value,...t.inputProps})),I.createElement(_,null,I.createElement(EO,{width:"100%",...(k=t==null?void 0:t.popoverCompProps)==null?void 0:k.popoverContentProps},I.createElement(PO,{...(R=t.popoverCompProps)==null?void 0:R.popoverBodyProps},I.createElement(a_,null,I.createElement(o_,{dayzedHookProps:{onDateSelected:E,selected:u,monthsToDisplay:S.monthsToDisplay,date:m,minDate:l,maxDate:c,offset:y,onOffsetChanged:p,firstDayOfWeek:S.firstDayOfWeek},configs:S,propsConfigs:t,selected:u}))))))},CJ="modulepreload",aS={},TJ="/chakra-dayzed-datepicker/",kJ=function(t,r){return!r||r.length===0?t():Promise.all(r.map(n=>{if(n=`${TJ}${n}`,n in aS)return;aS[n]=!0;const a=n.endsWith(".css"),o=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${o}`))return;const i=document.createElement("link");if(i.rel=a?"stylesheet":CJ,a||(i.as="script",i.crossOrigin=""),i.href=n,document.head.appendChild(i),a)return new Promise((s,u)=>{i.addEventListener("load",s),i.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>t())};class OJ extends b.exports.PureComponent{constructor(t){super(t),this.$=I.createRef(),this._=I.createRef()}render(){return I.createElement("span",{ref:this.$},I.createElement("a",{...this.props,ref:this._},this.props.children))}componentDidMount(){this.paint()}getSnapshotBeforeUpdate(){return this.reset(),null}componentDidUpdate(){this.paint()}componentWillUnmount(){this.reset()}paint(){const t=this.$.current.appendChild(document.createElement("span"));kJ(()=>import("./buttons.esm.8d323926.js"),[]).then(({render:r})=>{this._.current!=null&&r(t.appendChild(this._.current),function(n){try{t.parentNode.replaceChild(n,t)}catch{}})})}reset(){this.$.current.replaceChild(this._.current,this.$.current.lastChild)}}const _J=[0,1,2,3,4,5,6],$J=()=>{const{colorMode:e,toggleColorMode:t}=Yg(),r=new Date,[n,a]=b.exports.useState(r),[o,i]=b.exports.useState([new Date,new Date]),[s,u]=b.exports.useState(1),[l,c]=b.exports.useState(!0),[f,v]=b.exports.useState(!0);return I.createElement(O0,{paddingX:{base:"2rem",md:"8rem"},paddingY:{base:"1rem",md:"4rem"},spacing:4,minHeight:"600px",alignItems:"flex-start",divider:I.createElement(SY,null)},I.createElement(T0,null,"Chakra-Dayzed-Datepicker"),I.createElement(bs,{gridGap:5,height:"28px"},I.createElement(OJ,{href:"https://github.com/aboveyunhai/chakra-dayzed-datepicker","data-size":"large","data-show-count":"true","aria-label":"Star aboveyunhai/chakra-dayzed-datepicker on GitHub"},"Star"),I.createElement(vY,{href:"https://github.com/aboveyunhai/chakra-dayzed-datepicker/blob/main/example/index.tsx",textUnderlineOffset:"0.2rem"},"\u{1F517} Source code of all examples")),I.createElement("p",null,"If you used light/dark theme, just be aware of your style under specific mode."),I.createElement(un,{size:"sm",onClick:t},"Toggle ",e==="light"?"Dark":"Light"),I.createElement(LX,{variant:"soft-rounded",colorScheme:"gray",display:"flex",flexDirection:["column","column","row"]},I.createElement(BX,{display:"flex",flexDir:"column",gridGap:"1"},I.createElement(Ni,{borderRadius:"0.5rem",height:"2rem",width:"15rem",justifyContent:"flex-start"},"Single & Range"),I.createElement(Ni,{borderRadius:"0.5rem",height:"2rem",width:"15rem",justifyContent:"flex-start"},"Custom Styles"),I.createElement(Ni,{borderRadius:"0.5rem",height:"2rem",width:"15rem",fontSize:"1rem",justifyContent:"flex-start"},"Custom\xA0",I.createElement(CY,{fontSize:"0.8rem"},"Month/Weekday/Format")),I.createElement(Ni,{borderRadius:"0.5rem",height:"2rem",width:"15rem",justifyContent:"flex-start"},"With Offset"),I.createElement(Ni,{borderRadius:"0.5rem",height:"2rem",width:"15rem",justifyContent:"flex-start"},"Calendar")),I.createElement(NX,{height:"20rem"},I.createElement(ji,null,I.createElement(Ui,null,I.createElement(va,{title:"Single:"},I.createElement(bs,{alignItems:"center",gap:2},I.createElement(sr,{marginRight:"1rem"},"closeOnSelect:"),I.createElement(Yx,{isChecked:l,onChange:m=>c(m.currentTarget.checked)}),I.createElement(un,{size:"sm",onClick:()=>{a(void 0)}},"Set Empty (undefined)")),I.createElement(np,{name:"date-input",date:n,disabledDates:new Set([Qv(Qi(r,6)).getTime(),Qv(Qi(r,4)).getTime(),Qv(Qi(r,2)).getTime()]),minDate:Qi(r,8),maxDate:V0(r,8),onDateChange:a,closeOnSelect:l})),I.createElement(va,{title:"Range:"},I.createElement(bs,{alignItems:"center",gap:2},I.createElement(sr,{marginRight:"1rem"},"closeOnSelect:"),I.createElement(Yx,{isChecked:f,onChange:m=>v(m.currentTarget.checked)}),I.createElement(un,{size:"sm",onClick:()=>{i([])}},'Set Empty (Empty Array: "[]")')),I.createElement($l,{selectedDates:o,onDateChange:i,closeOnSelect:f})))),I.createElement(ji,null,I.createElement(Ui,null,I.createElement(va,{title:"Custom Styles:"},"Custom Styles:",I.createElement(np,{name:"date-input",date:n,onDateChange:a,propsConfigs:{dayOfMonthBtnProps:{defaultBtnProps:{_hover:{background:"blue.600"}},selectedBtnProps:{background:"#0085f230"}},dateNavBtnProps:{_hover:{background:"#0085f230"}},popoverCompProps:{popoverContentProps:{background:"#10172b",color:"#94a3bb",boxShadow:"var(--chakra-shadows-base)"}},calendarPanelProps:{wrapperProps:{borderColor:"green"},contentProps:{borderWidth:0},headerProps:{padding:"5px"},dividerProps:{display:"none"}},weekdayLabelProps:{fontWeight:"normal"},dateHeadingProps:{fontWeight:"semibold"}}}),I.createElement($l,{selectedDates:o,onDateChange:i,propsConfigs:{dateNavBtnProps:{colorScheme:"blue",variant:"outline"},dayOfMonthBtnProps:{defaultBtnProps:{borderColor:"red.300",_hover:{background:"blue.400"}},isInRangeBtnProps:{color:"purple.800",borderColor:"blue.300"},selectedBtnProps:{background:"blue.200",borderColor:"blue.300",color:"blue.600"},todayBtnProps:{background:"teal.200",color:"teal.700"}},inputProps:{size:"sm"}}})))),I.createElement(ji,null,I.createElement(Ui,null,I.createElement(va,{title:"Custom Month/Weekday/Format:"},I.createElement(sr,null,"Check the month name and day labels"),I.createElement($l,{selectedDates:o,onDateChange:i,configs:{dateFormat:"yyyy-MM-dd",dayNames:"abcdefg".split(""),monthNames:"ABCDEFGHIJKL".split("")}})))),I.createElement(ji,null,I.createElement(Ui,null,I.createElement(va,{title:"With Offset:"},I.createElement(sr,null,"First Day of Week: ",Iu[s||0]),I.createElement(aO,{spacing:1},_J.map(m=>I.createElement(un,{key:m,onClick:()=>u(m),backgroundColor:s===m?"green.300":void 0},m))),I.createElement(np,{name:"date-input",date:n,onDateChange:a,configs:{firstDayOfWeek:s}}),I.createElement($l,{selectedDates:o,onDateChange:i,configs:{firstDayOfWeek:s}})))),I.createElement(ji,null,I.createElement(Ui,null,I.createElement(va,{title:"Single Calendar"},I.createElement(DJ,null)),I.createElement(va,{title:"Range Calendar"},I.createElement(AJ,null)))))))},DJ=()=>{const e=new Date,[t,r]=b.exports.useState(e),n=a=>{const{date:o}=a;o instanceof Date&&!isNaN(o.getTime())&&r(o)};return I.createElement(sr,null,I.createElement(sr,null," ",Jo(t,"yyyy-MM-dd")),I.createElement(W0,{dayzedHookProps:{showOutsideDays:!0,onDateSelected:n,selected:t,minDate:Qi(e,8),maxDate:V0(e,8)},configs:{dateFormat:"yyyy-MM-dd",monthNames:bd,dayNames:Iu,firstDayOfWeek:0}}))},AJ=()=>{const e=new Date,[t,r]=b.exports.useState([e,e]),n=({selectable:o,date:i})=>{let s=[...t];if(t.length){if(t.length===1){t[0]I.createElement(O0,{spacing:3,alignItems:"flex-start",padding:"0.25rem"},I.createElement(T0,{size:"md"},e),t),Ui=({children:e})=>I.createElement(bs,null,I.createElement(sr,null,I.createElement(nO,{orientation:"vertical",width:"1rem"})),I.createElement(sr,null,e)),RJ={initialColorMode:"light",useSystemColorMode:!1},IJ=jX({config:RJ});s3.render(I.createElement(I.Fragment,null,I.createElement(Mj,null),I.createElement(OO,{theme:IJ},I.createElement($J,null))),document.getElementById("root")); diff --git a/assets/index.ec30c867.js b/assets/index.ec30c867.js new file mode 100644 index 0000000..1b61690 --- /dev/null +++ b/assets/index.ec30c867.js @@ -0,0 +1,393 @@ +const ED=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerpolicy&&(o.referrerPolicy=a.referrerpolicy),a.crossorigin==="use-credentials"?o.credentials="include":a.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}};ED();var Vn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},cg={},CD=fg;function fg(e){Gr.length||Uc(),Gr[Gr.length]=e}var Gr=[],Uc,Wr=0,TD=1024;function _b(){for(;WrTD){for(var t=0,r=Gr.length-Wr;t-1};function Gu(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function dg(e){return typeof e!="string"&&(e=String(e)),e}function vg(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return jt.iterable&&(t[Symbol.iterator]=function(){return t}),t}function it(e){this.map={},e instanceof it?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}it.prototype.append=function(e,t){e=Gu(e),t=dg(t);var r=this.map[e];this.map[e]=r?r+", "+t:t};it.prototype.delete=function(e){delete this.map[Gu(e)]};it.prototype.get=function(e){return e=Gu(e),this.has(e)?this.map[e]:null};it.prototype.has=function(e){return this.map.hasOwnProperty(Gu(e))};it.prototype.set=function(e,t){this.map[Gu(e)]=dg(t)};it.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)};it.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),vg(e)};it.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),vg(e)};it.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),vg(e)};jt.iterable&&(it.prototype[Symbol.iterator]=it.prototype.entries);function Ev(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function WE(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function HD(e){var t=new FileReader,r=WE(t);return t.readAsArrayBuffer(e),r}function GD(e){var t=new FileReader,r=WE(t);return t.readAsText(e),r}function YD(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n-1?t:e}function no(e,t){if(!(this instanceof no))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof no){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new it(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new it(t.headers)),this.method=qD(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var a=/\?/;this.url+=(a.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}no.prototype.clone=function(){return new no(this,{body:this._bodyInit})};function XD(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),a=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(a),decodeURIComponent(o))}}),t}function QD(e){var t=new it,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(` +`)===0?n.substr(1,n.length):n}).forEach(function(n){var a=n.split(":"),o=a.shift().trim();if(o){var i=a.join(":").trim();t.append(o,i)}}),t}VE.call(no.prototype);function an(e,t){if(!(this instanceof an))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new it(t.headers),this.url=t.url||"",this._initBody(e)}VE.call(an.prototype);an.prototype.clone=function(){return new an(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new it(this.headers),url:this.url})};an.error=function(){var e=new an(null,{status:0,statusText:""});return e.type="error",e};var ZD=[301,302,303,307,308];an.redirect=function(e,t){if(ZD.indexOf(t)===-1)throw new RangeError("Invalid status code");return new an(null,{status:t,headers:{location:e}})};var La=Pt.DOMException;try{new La}catch{La=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},La.prototype=Object.create(Error.prototype),La.prototype.constructor=La}function UE(e,t){return new Promise(function(r,n){var a=new no(e,t);if(a.signal&&a.signal.aborted)return n(new La("Aborted","AbortError"));var o=new XMLHttpRequest;function i(){o.abort()}o.onload=function(){var u={status:o.status,statusText:o.statusText,headers:QD(o.getAllResponseHeaders()||"")};u.url="responseURL"in o?o.responseURL:u.headers.get("X-Request-URL");var l="response"in o?o.response:o.responseText;setTimeout(function(){r(new an(l,u))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){n(new La("Aborted","AbortError"))},0)};function s(u){try{return u===""&&Pt.location.href?Pt.location.href:u}catch{return u}}o.open(a.method,s(a.url),!0),a.credentials==="include"?o.withCredentials=!0:a.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(jt.blob?o.responseType="blob":jt.arrayBuffer&&a.headers.get("Content-Type")&&a.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof it)?Object.getOwnPropertyNames(t.headers).forEach(function(u){o.setRequestHeader(u,dg(t.headers[u]))}):a.headers.forEach(function(u,l){o.setRequestHeader(l,u)}),a.signal&&(a.signal.addEventListener("abort",i),o.onreadystatechange=function(){o.readyState===4&&a.signal.removeEventListener("abort",i)}),o.send(typeof a._bodyInit=="undefined"?null:a._bodyInit)})}UE.polyfill=!0;Pt.fetch||(Pt.fetch=UE,Pt.Headers=it,Pt.Request=no,Pt.Response=an);/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var Ib=Object.getOwnPropertySymbols,JD=Object.prototype.hasOwnProperty,eR=Object.prototype.propertyIsEnumerable;function tR(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function rR(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var nR=rR()?Object.assign:function(e,t){for(var r,n=tR(e),a,o=1;o0&&Fr[0]<4?1:+(Fr[0]+Fr[1]));!Kc&&Pv&&(Fr=Pv.match(/Edge\/(\d+)/),(!Fr||Fr[1]>=74)&&(Fr=Pv.match(/Chrome\/(\d+)/),Fr&&(Kc=+Fr[1])));var gg=Kc,Nb=gg,CR=Br,yg=!!Object.getOwnPropertySymbols&&!CR(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Nb&&Nb<41}),TR=yg,QE=TR&&!Symbol.sham&&typeof Symbol.iterator=="symbol",PR=me,kR=Li,OR=wt,_R=hg,$R=QE,DR=PR.Object,bg=$R?function(e){return typeof e=="symbol"}:function(e){var t=kR("Symbol");return OR(t)&&_R(t.prototype,DR(e))},RR=me,AR=RR.String,ZE=function(e){try{return AR(e)}catch{return"Object"}},IR=me,MR=wt,FR=ZE,LR=IR.TypeError,xg=function(e){if(MR(e))return e;throw LR(FR(e)+" is not a function")},BR=xg,wg=function(e,t){var r=e[t];return r==null?void 0:BR(r)},NR=me,kv=ha,Ov=wt,_v=ga,jR=NR.TypeError,zR=function(e,t){var r,n;if(t==="string"&&Ov(r=e.toString)&&!_v(n=kv(r,e))||Ov(r=e.valueOf)&&!_v(n=kv(r,e))||t!=="string"&&Ov(r=e.toString)&&!_v(n=kv(r,e)))return n;throw jR("Can't convert object to primitive value")},rd={exports:{}},jb=me,WR=Object.defineProperty,Sg=function(e,t){try{WR(jb,e,{value:t,configurable:!0,writable:!0})}catch{jb[e]=t}return t},VR=me,UR=Sg,zb="__core-js_shared__",HR=VR[zb]||UR(zb,{}),Eg=HR,Wb=Eg;(rd.exports=function(e,t){return Wb[e]||(Wb[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"});var GR=me,YR=mg,KR=GR.Object,Bi=function(e){return KR(YR(e))},qR=xt,XR=Bi,QR=qR({}.hasOwnProperty),kr=Object.hasOwn||function(t,r){return QR(XR(t),r)},ZR=xt,JR=0,eA=Math.random(),tA=ZR(1 .toString),Cg=function(e){return"Symbol("+(e===void 0?"":e)+")_"+tA(++JR+eA,36)},rA=me,nA=rd.exports,Vb=kr,aA=Cg,Ub=yg,JE=QE,So=nA("wks"),Ya=rA.Symbol,Hb=Ya&&Ya.for,oA=JE?Ya:Ya&&Ya.withoutSetter||aA,Dt=function(e){if(!Vb(So,e)||!(Ub||typeof So[e]=="string")){var t="Symbol."+e;Ub&&Vb(Ya,e)?So[e]=Ya[e]:JE&&Hb?So[e]=Hb(t):So[e]=oA(t)}return So[e]},iA=me,sA=ha,Gb=ga,Yb=bg,uA=wg,lA=zR,cA=Dt,fA=iA.TypeError,dA=cA("toPrimitive"),vA=function(e,t){if(!Gb(e)||Yb(e))return e;var r=uA(e,dA),n;if(r){if(t===void 0&&(t="default"),n=sA(r,e,t),!Gb(n)||Yb(n))return n;throw fA("Can't convert object to primitive value")}return t===void 0&&(t="number"),lA(e,t)},pA=vA,mA=bg,nd=function(e){var t=pA(e,"string");return mA(t)?t:t+""},hA=me,Kb=ga,um=hA.document,gA=Kb(um)&&Kb(um.createElement),Tg=function(e){return gA?um.createElement(e):{}},yA=ma,bA=Br,xA=Tg,eC=!yA&&!bA(function(){return Object.defineProperty(xA("div"),"a",{get:function(){return 7}}).a!=7}),wA=ma,SA=ha,EA=pg,CA=Yu,TA=vo,PA=nd,kA=kr,OA=eC,qb=Object.getOwnPropertyDescriptor;ed.f=wA?qb:function(t,r){if(t=TA(t),r=PA(r),OA)try{return qb(t,r)}catch{}if(kA(t,r))return CA(!SA(EA.f,t,r),t[r])};var ln={},tC=me,_A=ga,$A=tC.String,DA=tC.TypeError,Rn=function(e){if(_A(e))return e;throw DA($A(e)+" is not an object")},RA=me,AA=ma,IA=eC,Xb=Rn,MA=nd,FA=RA.TypeError,Qb=Object.defineProperty;ln.f=AA?Qb:function(t,r,n){if(Xb(t),r=MA(r),Xb(n),IA)try{return Qb(t,r,n)}catch{}if("get"in n||"set"in n)throw FA("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var LA=ma,BA=ln,NA=Yu,Ku=LA?function(e,t,r){return BA.f(e,t,NA(1,r))}:function(e,t,r){return e[t]=r,e},Ni={exports:{}},jA=xt,zA=wt,lm=Eg,WA=jA(Function.toString);zA(lm.inspectSource)||(lm.inspectSource=function(e){return WA(e)});var Pg=lm.inspectSource,VA=me,UA=wt,HA=Pg,Zb=VA.WeakMap,GA=UA(Zb)&&/native code/.test(HA(Zb)),YA=rd.exports,KA=Cg,Jb=YA("keys"),ad=function(e){return Jb[e]||(Jb[e]=KA(e))},od={},qA=GA,rC=me,$v=xt,XA=ga,QA=Ku,Dv=kr,Rv=Eg,ZA=ad,JA=od,e1="Object already initialized",cm=rC.TypeError,eI=rC.WeakMap,qc,au,Xc,tI=function(e){return Xc(e)?au(e):qc(e,{})},rI=function(e){return function(t){var r;if(!XA(t)||(r=au(t)).type!==e)throw cm("Incompatible receiver, "+e+" required");return r}};if(qA||Rv.state){var ka=Rv.state||(Rv.state=new eI),nI=$v(ka.get),t1=$v(ka.has),aI=$v(ka.set);qc=function(e,t){if(t1(ka,e))throw new cm(e1);return t.facade=e,aI(ka,e,t),t},au=function(e){return nI(ka,e)||{}},Xc=function(e){return t1(ka,e)}}else{var Eo=ZA("state");JA[Eo]=!0,qc=function(e,t){if(Dv(e,Eo))throw new cm(e1);return t.facade=e,QA(e,Eo,t),t},au=function(e){return Dv(e,Eo)?e[Eo]:{}},Xc=function(e){return Dv(e,Eo)}}var id={set:qc,get:au,has:Xc,enforce:tI,getterFor:rI},fm=ma,oI=kr,nC=Function.prototype,iI=fm&&Object.getOwnPropertyDescriptor,kg=oI(nC,"name"),sI=kg&&function(){}.name==="something",uI=kg&&(!fm||fm&&iI(nC,"name").configurable),aC={EXISTS:kg,PROPER:sI,CONFIGURABLE:uI},lI=me,r1=wt,cI=kr,n1=Ku,fI=Sg,dI=Pg,oC=id,vI=aC.CONFIGURABLE,pI=oC.get,mI=oC.enforce,hI=String(String).split("String");(Ni.exports=function(e,t,r,n){var a=n?!!n.unsafe:!1,o=n?!!n.enumerable:!1,i=n?!!n.noTargetGet:!1,s=n&&n.name!==void 0?n.name:t,u;if(r1(r)&&(String(s).slice(0,7)==="Symbol("&&(s="["+String(s).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!cI(r,"name")||vI&&r.name!==s)&&n1(r,"name",s),u=mI(r),u.source||(u.source=hI.join(typeof s=="string"?s:""))),e===lI){o?e[t]=r:fI(t,r);return}else a?!i&&e[t]&&(o=!0):delete e[t];o?e[t]=r:n1(e,t,r)})(Function.prototype,"toString",function(){return r1(this)&&pI(this).source||dI(this)});var sd={},gI=Math.ceil,yI=Math.floor,Og=function(e){var t=+e;return t!==t||t===0?0:(t>0?yI:gI)(t)},bI=Og,xI=Math.max,wI=Math.min,SI=function(e,t){var r=bI(e);return r<0?xI(r+t,0):wI(r,t)},EI=Og,CI=Math.min,TI=function(e){return e>0?CI(EI(e),9007199254740991):0},PI=TI,ud=function(e){return PI(e.length)},kI=vo,OI=SI,_I=ud,a1=function(e){return function(t,r,n){var a=kI(t),o=_I(a),i=OI(n,o),s;if(e&&r!=r){for(;o>i;)if(s=a[i++],s!=s)return!0}else for(;o>i;i++)if((e||i in a)&&a[i]===r)return e||i||0;return!e&&-1}},$I={includes:a1(!0),indexOf:a1(!1)},DI=xt,Av=kr,RI=vo,AI=$I.indexOf,II=od,o1=DI([].push),iC=function(e,t){var r=RI(e),n=0,a=[],o;for(o in r)!Av(II,o)&&Av(r,o)&&o1(a,o);for(;t.length>n;)Av(r,o=t[n++])&&(~AI(a,o)||o1(a,o));return a},_g=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],MI=iC,FI=_g,LI=FI.concat("length","prototype");sd.f=Object.getOwnPropertyNames||function(t){return MI(t,LI)};var $g={};$g.f=Object.getOwnPropertySymbols;var BI=Li,NI=xt,jI=sd,zI=$g,WI=Rn,VI=NI([].concat),UI=BI("Reflect","ownKeys")||function(t){var r=jI.f(WI(t)),n=zI.f;return n?VI(r,n(t)):r},HI=kr,GI=UI,YI=ed,KI=ln,sC=function(e,t){for(var r=GI(t),n=KI.f,a=YI.f,o=0;o=51||!NM(function(){var t=[],r=t.constructor={};return r[WM]=function(){return{foo:1}},t[e](Boolean).foo!==1})},UM=ji,HM=me,GM=Br,YM=Dg,KM=ga,qM=Bi,XM=ud,u1=uC,QM=pC,ZM=VM,JM=Dt,eF=gg,mC=JM("isConcatSpreadable"),l1=9007199254740991,c1="Maximum allowed index exceeded",f1=HM.TypeError,tF=eF>=51||!GM(function(){var e=[];return e[mC]=!1,e.concat()[0]!==e}),rF=ZM("concat"),nF=function(e){if(!KM(e))return!1;var t=e[mC];return t!==void 0?!!t:YM(e)},aF=!tF||!rF;UM({target:"Array",proto:!0,forced:aF},{concat:function(t){var r=qM(this),n=QM(r,0),a=0,o,i,s,u,l;for(o=-1,s=arguments.length;ol1)throw f1(c1);for(i=0;i=l1)throw f1(c1);u1(n,a++,l)}return n.length=a,n}});var oF=Rg,iF=ld,sF=oF?{}.toString:function(){return"[object "+iF(this)+"]"},uF=Rg,lF=Ni.exports,cF=sF;uF||lF(Object.prototype,"toString",cF,{unsafe:!0});var Ig=Function.prototype,d1=Ig.apply,fF=Ig.bind,v1=Ig.call,dF=typeof Reflect=="object"&&Reflect.apply||(fF?v1.bind(d1):function(){return v1.apply(d1,arguments)}),vF=me,pF=ld,mF=vF.String,cd=function(e){if(pF(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return mF(e)},hF=iC,gF=_g,hC=Object.keys||function(t){return hF(t,gF)},yF=ma,bF=ln,xF=Rn,wF=vo,SF=hC,EF=yF?Object.defineProperties:function(t,r){xF(t);for(var n=wF(r),a=SF(r),o=a.length,i=0,s;o>i;)bF.f(t,s=a[i++],n[s]);return t},CF=Li,TF=CF("document","documentElement"),PF=Rn,kF=EF,p1=_g,OF=od,_F=TF,$F=Tg,DF=ad,m1=">",h1="<",dm="prototype",vm="script",gC=DF("IE_PROTO"),Mv=function(){},yC=function(e){return h1+vm+m1+e+h1+"/"+vm+m1},g1=function(e){e.write(yC("")),e.close();var t=e.parentWindow.Object;return e=null,t},RF=function(){var e=$F("iframe"),t="java"+vm+":",r;return e.style.display="none",_F.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(yC("document.F=Object")),r.close(),r.F},Ol,bc=function(){try{Ol=new ActiveXObject("htmlfile")}catch{}bc=typeof document!="undefined"?document.domain&&Ol?g1(Ol):RF():g1(Ol);for(var e=p1.length;e--;)delete bc[dm][p1[e]];return bc()};OF[gC]=!0;var Mg=Object.create||function(t,r){var n;return t!==null?(Mv[dm]=PF(t),n=new Mv,Mv[dm]=null,n[gC]=t):n=bc(),r===void 0?n:kF(n,r)},bC={},AF=xt,xC=AF([].slice),IF=td,MF=vo,wC=sd.f,FF=xC,SC=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],LF=function(e){try{return wC(e)}catch{return FF(SC)}};bC.f=function(t){return SC&&IF(t)=="Window"?LF(t):wC(MF(t))};var Fg={},BF=Dt;Fg.f=BF;var NF=me,Lg=NF,y1=Lg,jF=kr,zF=Fg,WF=ln.f,et=function(e){var t=y1.Symbol||(y1.Symbol={});jF(t,e)||WF(t,e,{value:zF.f(e)})},VF=ln.f,UF=kr,HF=Dt,b1=HF("toStringTag"),zi=function(e,t,r){e&&!UF(e=r?e:e.prototype,b1)&&VF(e,b1,{configurable:!0,value:t})},x1=xt,GF=xg,w1=x1(x1.bind),EC=function(e,t){return GF(e),t===void 0?e:w1?w1(e,t):function(){return e.apply(t,arguments)}},YF=EC,KF=xt,qF=qE,XF=Bi,QF=ud,ZF=pC,S1=KF([].push),In=function(e){var t=e==1,r=e==2,n=e==3,a=e==4,o=e==6,i=e==7,s=e==5||o;return function(u,l,c,f){for(var d=XF(u),h=qF(d),g=YF(l,c),y=QF(h),v=0,p=f||ZF,b=t?p(u,y):r||i?p(u,0):void 0,x,w;y>v;v++)if((s||v in h)&&(x=h[v],w=g(x,v,d),e))if(t)b[v]=w;else if(w)switch(e){case 3:return!0;case 5:return x;case 6:return v;case 2:S1(b,x)}else switch(e){case 4:return!1;case 7:S1(b,x)}return o?-1:n||a?a:b}},JF={forEach:In(0),map:In(1),filter:In(2),some:In(3),every:In(4),find:In(5),findIndex:In(6),filterReject:In(7)},Wi=ji,Bg=me,e5=Li,t5=dF,Xu=ha,r5=xt,yi=ma,ao=yg,Ng=Br,rt=kr,n5=Dg,a5=wt,o5=ga,i5=hg,pm=bg,mm=Rn,s5=Bi,fd=vo,jg=nd,CC=cd,hm=Yu,ou=Mg,TC=hC,u5=sd,PC=bC,gm=$g,kC=ed,OC=ln,_C=pg,l5=xC,xc=Ni.exports,Qu=rd.exports,c5=ad,$C=od,E1=Cg,DC=Dt,f5=Fg,d5=et,v5=zi,RC=id,dd=JF.forEach,Ut=c5("hidden"),vd="Symbol",iu="prototype",C1=DC("toPrimitive"),p5=RC.set,T1=RC.getterFor(vd),hr=Object[iu],Cn=Bg.Symbol,Un=Cn&&Cn[iu],AC=Bg.TypeError,Fv=Bg.QObject,ns=e5("JSON","stringify"),IC=kC.f,zn=OC.f,MC=PC.f,m5=_C.f,FC=r5([].push),kn=Qu("symbols"),Zu=Qu("op-symbols"),Lv=Qu("string-to-symbol-registry"),Bv=Qu("symbol-to-string-registry"),h5=Qu("wks"),ym=!Fv||!Fv[iu]||!Fv[iu].findChild,bm=yi&&Ng(function(){return ou(zn({},"a",{get:function(){return zn(this,"a",{value:7}).a}})).a!=7})?function(e,t,r){var n=IC(hr,t);n&&delete hr[t],zn(e,t,r),n&&e!==hr&&zn(hr,t,n)}:zn,Nv=function(e,t){var r=kn[e]=ou(Un);return p5(r,{type:vd,tag:e,description:t}),yi||(r.description=t),r},pd=function(t,r,n){t===hr&&pd(Zu,r,n),mm(t);var a=jg(r);return mm(n),rt(kn,a)?(n.enumerable?(rt(t,Ut)&&t[Ut][a]&&(t[Ut][a]=!1),n=ou(n,{enumerable:hm(0,!1)})):(rt(t,Ut)||zn(t,Ut,hm(1,{})),t[Ut][a]=!0),bm(t,a,n)):zn(t,a,n)},LC=function(t,r){mm(t);var n=fd(r),a=TC(n).concat(zg(n));return dd(a,function(o){(!yi||Xu(xm,n,o))&&pd(t,o,n[o])}),t},g5=function(t,r){return r===void 0?ou(t):LC(ou(t),r)},xm=function(t){var r=jg(t),n=Xu(m5,this,r);return this===hr&&rt(kn,r)&&!rt(Zu,r)?!1:n||!rt(this,r)||!rt(kn,r)||rt(this,Ut)&&this[Ut][r]?n:!0},BC=function(t,r){var n=fd(t),a=jg(r);if(!(n===hr&&rt(kn,a)&&!rt(Zu,a))){var o=IC(n,a);return o&&rt(kn,a)&&!(rt(n,Ut)&&n[Ut][a])&&(o.enumerable=!0),o}},NC=function(t){var r=MC(fd(t)),n=[];return dd(r,function(a){!rt(kn,a)&&!rt($C,a)&&FC(n,a)}),n},zg=function(t){var r=t===hr,n=MC(r?Zu:fd(t)),a=[];return dd(n,function(o){rt(kn,o)&&(!r||rt(hr,o))&&FC(a,kn[o])}),a};ao||(Cn=function(){if(i5(Un,this))throw AC("Symbol is not a constructor");var t=!arguments.length||arguments[0]===void 0?void 0:CC(arguments[0]),r=E1(t),n=function(a){this===hr&&Xu(n,Zu,a),rt(this,Ut)&&rt(this[Ut],r)&&(this[Ut][r]=!1),bm(this,r,hm(1,a))};return yi&&ym&&bm(hr,r,{configurable:!0,set:n}),Nv(r,t)},Un=Cn[iu],xc(Un,"toString",function(){return T1(this).tag}),xc(Cn,"withoutSetter",function(e){return Nv(E1(e),e)}),_C.f=xm,OC.f=pd,kC.f=BC,u5.f=PC.f=NC,gm.f=zg,f5.f=function(e){return Nv(DC(e),e)},yi&&(zn(Un,"description",{configurable:!0,get:function(){return T1(this).description}}),xc(hr,"propertyIsEnumerable",xm,{unsafe:!0})));Wi({global:!0,wrap:!0,forced:!ao,sham:!ao},{Symbol:Cn});dd(TC(h5),function(e){d5(e)});Wi({target:vd,stat:!0,forced:!ao},{for:function(e){var t=CC(e);if(rt(Lv,t))return Lv[t];var r=Cn(t);return Lv[t]=r,Bv[r]=t,r},keyFor:function(t){if(!pm(t))throw AC(t+" is not a symbol");if(rt(Bv,t))return Bv[t]},useSetter:function(){ym=!0},useSimple:function(){ym=!1}});Wi({target:"Object",stat:!0,forced:!ao,sham:!yi},{create:g5,defineProperty:pd,defineProperties:LC,getOwnPropertyDescriptor:BC});Wi({target:"Object",stat:!0,forced:!ao},{getOwnPropertyNames:NC,getOwnPropertySymbols:zg});Wi({target:"Object",stat:!0,forced:Ng(function(){gm.f(1)})},{getOwnPropertySymbols:function(t){return gm.f(s5(t))}});if(ns){var y5=!ao||Ng(function(){var e=Cn();return ns([e])!="[null]"||ns({a:e})!="{}"||ns(Object(e))!="{}"});Wi({target:"JSON",stat:!0,forced:y5},{stringify:function(t,r,n){var a=l5(arguments),o=r;if(!(!o5(r)&&t===void 0||pm(t)))return n5(r)||(r=function(i,s){if(a5(o)&&(s=Xu(o,this,i,s)),!pm(s))return s}),a[1]=r,t5(ns,null,a)}})}if(!Un[C1]){var b5=Un.valueOf;xc(Un,C1,function(e){return Xu(b5,this)})}v5(Cn,vd);$C[Ut]=!0;var x5=et;x5("asyncIterator");var w5=ji,S5=ma,E5=me,_l=xt,C5=kr,T5=wt,P5=hg,k5=cd,O5=ln.f,_5=sC,gn=E5.Symbol,Oa=gn&&gn.prototype;if(S5&&T5(gn)&&(!("description"in Oa)||gn().description!==void 0)){var P1={},$l=function(){var t=arguments.length<1||arguments[0]===void 0?void 0:k5(arguments[0]),r=P5(Oa,this)?new gn(t):t===void 0?gn():gn(t);return t===""&&(P1[r]=!0),r};_5($l,gn),$l.prototype=Oa,Oa.constructor=$l;var $5=String(gn("test"))=="Symbol(test)",D5=_l(Oa.toString),R5=_l(Oa.valueOf),A5=/^Symbol\((.*)\)[^)]+$/,I5=_l("".replace),M5=_l("".slice);O5(Oa,"description",{configurable:!0,get:function(){var t=R5(this),r=D5(t);if(C5(P1,t))return"";var n=$5?M5(r,7,-1):I5(r,A5,"$1");return n===""?void 0:n}}),w5({global:!0,forced:!0},{Symbol:$l})}var F5=et;F5("hasInstance");var L5=et;L5("isConcatSpreadable");var B5=et;B5("iterator");var N5=et;N5("match");var j5=et;j5("matchAll");var z5=et;z5("replace");var W5=et;W5("search");var V5=et;V5("species");var U5=et;U5("split");var H5=et;H5("toPrimitive");var G5=et;G5("toStringTag");var Y5=et;Y5("unscopables");var K5=me,q5=zi;q5(K5.JSON,"JSON",!0);var X5=zi;X5(Math,"Math",!0);var Q5=ji,Z5=me,J5=zi;Q5({global:!0},{Reflect:{}});J5(Z5.Reflect,"Reflect",!0);var eL=Lg;eL.Symbol;var tL={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},rL=Tg,jv=rL("span").classList,k1=jv&&jv.constructor&&jv.constructor.prototype,nL=k1===Object.prototype?void 0:k1,aL=Dt,oL=Mg,iL=ln,wm=aL("unscopables"),Sm=Array.prototype;Sm[wm]==null&&iL.f(Sm,wm,{configurable:!0,value:oL(null)});var sL=function(e){Sm[wm][e]=!0},Ju={},uL=Br,lL=!uL(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),cL=me,fL=kr,dL=wt,vL=Bi,pL=ad,mL=lL,O1=pL("IE_PROTO"),Em=cL.Object,hL=Em.prototype,jC=mL?Em.getPrototypeOf:function(e){var t=vL(e);if(fL(t,O1))return t[O1];var r=t.constructor;return dL(r)&&t instanceof r?r.prototype:t instanceof Em?hL:null},gL=Br,yL=wt,_1=jC,bL=Ni.exports,xL=Dt,Cm=xL("iterator"),zC=!1,oo,zv,Wv;[].keys&&(Wv=[].keys(),"next"in Wv?(zv=_1(_1(Wv)),zv!==Object.prototype&&(oo=zv)):zC=!0);var wL=oo==null||gL(function(){var e={};return oo[Cm].call(e)!==e});wL&&(oo={});yL(oo[Cm])||bL(oo,Cm,function(){return this});var WC={IteratorPrototype:oo,BUGGY_SAFARI_ITERATORS:zC},SL=WC.IteratorPrototype,EL=Mg,CL=Yu,TL=zi,PL=Ju,kL=function(){return this},OL=function(e,t,r){var n=t+" Iterator";return e.prototype=EL(SL,{next:CL(1,r)}),TL(e,n,!1),PL[n]=kL,e},VC=me,_L=wt,$L=VC.String,DL=VC.TypeError,RL=function(e){if(typeof e=="object"||_L(e))return e;throw DL("Can't set "+$L(e)+" as a prototype")},AL=xt,IL=Rn,ML=RL,FL=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=AL(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(t,[]),e=t instanceof Array}catch{}return function(a,o){return IL(a),ML(o),e?r(a,o):a.__proto__=o,a}}():void 0),LL=ji,BL=ha,UC=aC,NL=wt,jL=OL,$1=jC,D1=FL,zL=zi,WL=Ku,Vv=Ni.exports,VL=Dt,UL=Ju,HC=WC,HL=UC.PROPER,GL=UC.CONFIGURABLE,R1=HC.IteratorPrototype,Dl=HC.BUGGY_SAFARI_ITERATORS,as=VL("iterator"),A1="keys",os="values",I1="entries",YL=function(){return this},GC=function(e,t,r,n,a,o,i){jL(r,t,n);var s=function(p){if(p===a&&d)return d;if(!Dl&&p in c)return c[p];switch(p){case A1:return function(){return new r(this,p)};case os:return function(){return new r(this,p)};case I1:return function(){return new r(this,p)}}return function(){return new r(this)}},u=t+" Iterator",l=!1,c=e.prototype,f=c[as]||c["@@iterator"]||a&&c[a],d=!Dl&&f||s(a),h=t=="Array"&&c.entries||f,g,y,v;if(h&&(g=$1(h.call(new e)),g!==Object.prototype&&g.next&&($1(g)!==R1&&(D1?D1(g,R1):NL(g[as])||Vv(g,as,YL)),zL(g,u,!0))),HL&&a==os&&f&&f.name!==os&&(GL?WL(c,"name",os):(l=!0,d=function(){return BL(f,this)})),a)if(y={values:s(os),keys:o?d:s(A1),entries:s(I1)},i)for(v in y)(Dl||l||!(v in c))&&Vv(c,v,y[v]);else LL({target:t,proto:!0,forced:Dl||l},y);return c[as]!==d&&Vv(c,as,d,{name:a}),UL[t]=d,y},KL=vo,Wg=sL,M1=Ju,YC=id,qL=GC,KC="Array Iterator",XL=YC.set,QL=YC.getterFor(KC),ZL=qL(Array,"Array",function(e,t){XL(this,{type:KC,target:KL(e),index:0,kind:t})},function(){var e=QL(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values");M1.Arguments=M1.Array;Wg("keys");Wg("values");Wg("entries");var F1=me,qC=tL,JL=nL,Os=ZL,Uv=Ku,XC=Dt,Hv=XC("iterator"),L1=XC("toStringTag"),Gv=Os.values,QC=function(e,t){if(e){if(e[Hv]!==Gv)try{Uv(e,Hv,Gv)}catch{e[Hv]=Gv}if(e[L1]||Uv(e,L1,t),qC[t]){for(var r in Os)if(e[r]!==Os[r])try{Uv(e,r,Os[r])}catch{e[r]=Os[r]}}}};for(var Yv in qC)QC(F1[Yv]&&F1[Yv].prototype,Yv);QC(JL,"DOMTokenList");var eB=et;eB("asyncDispose");var tB=et;tB("dispose");var rB=et;rB("matcher");var nB=et;nB("metadata");var aB=et;aB("observable");var oB=et;oB("patternMatch");var iB=et;iB("replaceAll");var Vg=xt,sB=Og,uB=cd,lB=mg,cB=Vg("".charAt),B1=Vg("".charCodeAt),fB=Vg("".slice),N1=function(e){return function(t,r){var n=uB(lB(t)),a=sB(r),o=n.length,i,s;return a<0||a>=o?e?"":void 0:(i=B1(n,a),i<55296||i>56319||a+1===o||(s=B1(n,a+1))<56320||s>57343?e?cB(n,a):i:e?fB(n,a,a+2):(i-55296<<10)+(s-56320)+65536)}},dB={codeAt:N1(!1),charAt:N1(!0)},vB=dB.charAt,pB=cd,ZC=id,mB=GC,JC="String Iterator",hB=ZC.set,gB=ZC.getterFor(JC);mB(String,"String",function(e){hB(this,{type:JC,string:pB(e),index:0})},function(){var t=gB(this),r=t.string,n=t.index,a;return n>=r.length?{value:void 0,done:!0}:(a=vB(r,n),t.index+=a.length,{value:a,done:!1})});var yB=ha,j1=Rn,bB=wg,xB=function(e,t,r){var n,a;j1(e);try{if(n=bB(e,"return"),!n){if(t==="throw")throw r;return r}n=yB(n,e)}catch(o){a=!0,n=o}if(t==="throw")throw r;if(a)throw n;return j1(n),r},wB=Rn,SB=xB,EB=function(e,t,r,n){try{return n?t(wB(r)[0],r[1]):t(r)}catch(a){SB(e,"throw",a)}},CB=Dt,TB=Ju,PB=CB("iterator"),kB=Array.prototype,OB=function(e){return e!==void 0&&(TB.Array===e||kB[PB]===e)},_B=ld,z1=wg,$B=Ju,DB=Dt,RB=DB("iterator"),eT=function(e){if(e!=null)return z1(e,RB)||z1(e,"@@iterator")||$B[_B(e)]},AB=me,IB=ha,MB=xg,FB=Rn,LB=ZE,BB=eT,NB=AB.TypeError,jB=function(e,t){var r=arguments.length<2?BB(e):t;if(MB(r))return FB(IB(r,e));throw NB(LB(e)+" is not iterable")},zB=me,WB=EC,VB=ha,UB=Bi,HB=EB,GB=OB,YB=vC,KB=ud,W1=uC,qB=jB,XB=eT,V1=zB.Array,QB=function(t){var r=UB(t),n=YB(this),a=arguments.length,o=a>1?arguments[1]:void 0,i=o!==void 0;i&&(o=WB(o,a>2?arguments[2]:void 0));var s=XB(r),u=0,l,c,f,d,h,g;if(s&&!(this==V1&&GB(s)))for(d=qB(r,s),h=d.next,c=n?new this:[];!(f=VB(h,d)).done;u++)g=i?HB(d,o,[f.value,u],!0):f.value,W1(c,u,g);else for(l=KB(r),c=n?new this(l):V1(l);l>u;u++)g=i?o(r[u],u):r[u],W1(c,u,g);return c.length=u,c},ZB=Dt,tT=ZB("iterator"),rT=!1;try{var JB=0,U1={next:function(){return{done:!!JB++}},return:function(){rT=!0}};U1[tT]=function(){return this},Array.from(U1,function(){throw 2})}catch{}var e3=function(e,t){if(!t&&!rT)return!1;var r=!1;try{var n={};n[tT]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},t3=ji,r3=QB,n3=e3,a3=!n3(function(e){Array.from(e)});t3({target:"Array",stat:!0,forced:a3},{from:r3});var o3=Lg;o3.Array.from;typeof Promise=="undefined"&&(cg.enable(),self.Promise=MD);Object.assign=nR;var m={exports:{}},ce={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var el=Symbol.for("react.element"),i3=Symbol.for("react.portal"),s3=Symbol.for("react.fragment"),u3=Symbol.for("react.strict_mode"),l3=Symbol.for("react.profiler"),c3=Symbol.for("react.provider"),f3=Symbol.for("react.context"),d3=Symbol.for("react.forward_ref"),v3=Symbol.for("react.suspense"),p3=Symbol.for("react.memo"),m3=Symbol.for("react.lazy"),H1=Symbol.iterator;function h3(e){return e===null||typeof e!="object"?null:(e=H1&&e[H1]||e["@@iterator"],typeof e=="function"?e:null)}var nT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},aT=Object.assign,oT={};function Vi(e,t,r){this.props=e,this.context=t,this.refs=oT,this.updater=r||nT}Vi.prototype.isReactComponent={};Vi.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Vi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function iT(){}iT.prototype=Vi.prototype;function Ug(e,t,r){this.props=e,this.context=t,this.refs=oT,this.updater=r||nT}var Hg=Ug.prototype=new iT;Hg.constructor=Ug;aT(Hg,Vi.prototype);Hg.isPureReactComponent=!0;var G1=Array.isArray,sT=Object.prototype.hasOwnProperty,Gg={current:null},uT={key:!0,ref:!0,__self:!0,__source:!0};function lT(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)sT.call(t,n)&&!uT.hasOwnProperty(n)&&(a[n]=t[n]);var s=arguments.length-2;if(s===1)a.children=r;else if(1=b},a=function(){},e.unstable_forceFrameRate=function(A){0>A||125>>1,ee=A[J];if(ee!==void 0&&0O(ue,N))Pe!==void 0&&0>O(Pe,ue)?(A[J]=Pe,A[fe]=N,J=fe):(A[J]=ue,A[he]=N,J=he);else if(Pe!==void 0&&0>O(Pe,N))A[J]=Pe,A[fe]=N,J=fe;else break e}}return I}return null}function O(A,I){var N=A.sortIndex-I.sortIndex;return N!==0?N:A.id-I.id}var P=[],D=[],F=1,W=null,j=3,z=!1,Y=!1,V=!1;function G(A){for(var I=E(D);I!==null;){if(I.callback===null)T(D);else if(I.startTime<=A)T(D),I.sortIndex=I.expirationTime,C(P,I);else break;I=E(D)}}function Z(A){if(V=!1,G(A),!Y)if(E(P)!==null)Y=!0,t(te);else{var I=E(D);I!==null&&r(Z,I.startTime-A)}}function te(A,I){Y=!1,V&&(V=!1,n()),z=!0;var N=j;try{for(G(I),W=E(P);W!==null&&(!(W.expirationTime>I)||A&&!e.unstable_shouldYield());){var J=W.callback;if(typeof J=="function"){W.callback=null,j=W.priorityLevel;var ee=J(W.expirationTime<=I);I=e.unstable_now(),typeof ee=="function"?W.callback=ee:W===E(P)&&T(P),G(I)}else T(P);W=E(P)}if(W!==null)var he=!0;else{var ue=E(D);ue!==null&&r(Z,ue.startTime-I),he=!1}return he}finally{W=null,j=N,z=!1}}var ne=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(A){A.callback=null},e.unstable_continueExecution=function(){Y||z||(Y=!0,t(te))},e.unstable_getCurrentPriorityLevel=function(){return j},e.unstable_getFirstCallbackNode=function(){return E(P)},e.unstable_next=function(A){switch(j){case 1:case 2:case 3:var I=3;break;default:I=j}var N=j;j=I;try{return A()}finally{j=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=ne,e.unstable_runWithPriority=function(A,I){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var N=j;j=A;try{return I()}finally{j=N}},e.unstable_scheduleCallback=function(A,I,N){var J=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0J?(A.sortIndex=N,C(D,A),E(P)===null&&A===E(D)&&(V?n():V=!0,r(Z,N-J))):(A.sortIndex=ee,C(P,A),Y||z||(Y=!0,t(te))),A},e.unstable_wrapCallback=function(A){var I=j;return function(){var N=j;j=I;try{return A.apply(this,arguments)}finally{j=N}}}})(fT);cT.exports=fT;/** @license React v17.0.2 + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var hd=m.exports,ze=T3,lt=cT.exports;function U(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rt}return!1}function Ft(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var yt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yt[e]=new Ft(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];yt[t]=new Ft(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){yt[e]=new Ft(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yt[e]=new Ft(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){yt[e]=new Ft(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){yt[e]=new Ft(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){yt[e]=new Ft(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){yt[e]=new Ft(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){yt[e]=new Ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var Kg=/[\-:]([a-z])/g;function qg(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Kg,qg);yt[t]=new Ft(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Kg,qg);yt[t]=new Ft(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Kg,qg);yt[t]=new Ft(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){yt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!1,!1)});yt.xlinkHref=new Ft("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){yt[e]=new Ft(e,1,!1,e.toLowerCase(),null,!0,!0)});function Xg(e,t,r,n){var a=yt.hasOwnProperty(t)?yt[t]:null,o=a!==null?a.type===0:n?!1:!(!(2s||a[i]!==o[s])return` +`+a[i].replace(" at new "," at ");while(1<=i&&0<=s);break}}}finally{Xv=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?$s(e):""}function $3(e){switch(e.tag){case 5:return $s(e.type);case 16:return $s("Lazy");case 13:return $s("Suspense");case 19:return $s("SuspenseList");case 0:case 2:case 15:return e=Al(e.type,!1),e;case 11:return e=Al(e.type.render,!1),e;case 22:return e=Al(e.type._render,!1),e;case 1:return e=Al(e.type,!0),e;default:return""}}function Xo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wn:return"Fragment";case ja:return"Portal";case Is:return"Profiler";case Qg:return"StrictMode";case Ms:return"Suspense";case Qc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Jg:return(e.displayName||"Context")+".Consumer";case Zg:return(e._context.displayName||"Context")+".Provider";case gd:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case yd:return Xo(e.type);case t0:return Xo(e._render);case e0:t=e._payload,e=e._init;try{return Xo(e(t))}catch{}}return null}function sa(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function pT(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function D3(e){var t=pT(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Il(e){e._valueTracker||(e._valueTracker=D3(e))}function mT(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=pT(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Zc(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Pm(e,t){var r=t.checked;return ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function J1(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=sa(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function hT(e,t){t=t.checked,t!=null&&Xg(e,"checked",t,!1)}function km(e,t){hT(e,t);var r=sa(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Om(e,t.type,r):t.hasOwnProperty("defaultValue")&&Om(e,t.type,sa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ex(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Om(e,t,r){(t!=="number"||Zc(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function R3(e){var t="";return hd.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function _m(e,t){return e=ze({children:void 0},t),(t=R3(t.children))&&(e.children=t),e}function Qo(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a=r.length))throw Error(U(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:sa(r)}}function gT(e,t){var r=sa(t.value),n=sa(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function rx(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var Dm={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function yT(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Rm(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?yT(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ml,bT=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,a){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,a)})}:e}(function(e,t){if(e.namespaceURI!==Dm.svg||"innerHTML"in e)e.innerHTML=t;else{for(Ml=Ml||document.createElement("div"),Ml.innerHTML=""+t.valueOf().toString()+"",t=Ml.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function uu(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Fs={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},A3=["Webkit","ms","Moz","O"];Object.keys(Fs).forEach(function(e){A3.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fs[t]=Fs[e]})});function xT(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Fs.hasOwnProperty(e)&&Fs[e]?(""+t).trim():t+"px"}function wT(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=xT(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var I3=ze({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Am(e,t){if(t){if(I3[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(U(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(U(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(U(61))}if(t.style!=null&&typeof t.style!="object")throw Error(U(62))}}function Im(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function a0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mm=null,Zo=null,Jo=null;function nx(e){if(e=rl(e)){if(typeof Mm!="function")throw Error(U(280));var t=e.stateNode;t&&(t=Cd(t),Mm(e.stateNode,e.type,t))}}function ST(e){Zo?Jo?Jo.push(e):Jo=[e]:Zo=e}function ET(){if(Zo){var e=Zo,t=Jo;if(Jo=Zo=null,nx(e),t)for(e=0;en?0:1<r;r++)t.push(e);return t}function xd(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-ua(t),e[t]=r}var ua=Math.clz32?Math.clz32:X3,K3=Math.log,q3=Math.LN2;function X3(e){return e===0?32:31-(K3(e)/q3|0)|0}var Q3=lt.unstable_UserBlockingPriority,Z3=lt.unstable_runWithPriority,Cc=!0;function J3(e,t,r,n){za||i0();var a=f0,o=za;za=!0;try{CT(a,e,t,r,n)}finally{(za=o)||s0()}}function eN(e,t,r,n){Z3(Q3,f0.bind(null,e,t,r,n))}function f0(e,t,r,n){if(Cc){var a;if((a=(t&4)===0)&&0=Bs),vx=String.fromCharCode(32),px=!1;function zT(e,t){switch(e){case"keyup":return EN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function WT(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var No=!1;function TN(e,t){switch(e){case"compositionend":return WT(t);case"keypress":return t.which!==32?null:(px=!0,vx);case"textInput":return e=t.data,e===vx&&px?null:e;default:return null}}function PN(e,t){if(No)return e==="compositionend"||!h0&&zT(e,t)?(e=NT(),Tc=v0=Hn=null,No=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=yx(r)}}function GT(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?GT(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xx(){for(var e=window,t=Zc();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Zc(e.document)}return t}function jm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var FN=On&&"documentMode"in document&&11>=document.documentMode,jo=null,zm=null,js=null,Wm=!1;function wx(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Wm||jo==null||jo!==Zc(n)||(n=jo,"selectionStart"in n&&jm(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),js&&pu(js,n)||(js=n,n=rf(zm,"onSelect"),0Wo||(e.current=Um[Wo],Um[Wo]=null,Wo--)}function Ke(e,t){Wo++,Um[Wo]=e.current,e.current=t}var la={},$t=ya(la),Yt=ya(!1),io=la;function xi(e,t){var r=e.type.contextTypes;if(!r)return la;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Kt(e){return e=e.childContextTypes,e!=null}function of(){Fe(Yt),Fe($t)}function $x(e,t,r){if($t.current!==la)throw Error(U(168));Ke($t,t),Ke(Yt,r)}function eP(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in e))throw Error(U(108,Xo(t)||"Unknown",a));return ze({},r,n)}function kc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||la,io=$t.current,Ke($t,e),Ke(Yt,Yt.current),!0}function Dx(e,t,r){var n=e.stateNode;if(!n)throw Error(U(169));r?(e=eP(e,t,io),n.__reactInternalMemoizedMergedChildContext=e,Fe(Yt),Fe($t),Ke($t,e)):Fe(Yt),Ke(Yt,r)}var y0=null,Ka=null,NN=lt.unstable_runWithPriority,b0=lt.unstable_scheduleCallback,Hm=lt.unstable_cancelCallback,jN=lt.unstable_shouldYield,Rx=lt.unstable_requestPaint,Gm=lt.unstable_now,zN=lt.unstable_getCurrentPriorityLevel,Td=lt.unstable_ImmediatePriority,tP=lt.unstable_UserBlockingPriority,rP=lt.unstable_NormalPriority,nP=lt.unstable_LowPriority,aP=lt.unstable_IdlePriority,lp={},WN=Rx!==void 0?Rx:function(){},bn=null,Oc=null,cp=!1,Ax=Gm(),Ot=1e4>Ax?Gm:function(){return Gm()-Ax};function wi(){switch(zN()){case Td:return 99;case tP:return 98;case rP:return 97;case nP:return 96;case aP:return 95;default:throw Error(U(332))}}function oP(e){switch(e){case 99:return Td;case 98:return tP;case 97:return rP;case 96:return nP;case 95:return aP;default:throw Error(U(332))}}function so(e,t){return e=oP(e),NN(e,t)}function hu(e,t,r){return e=oP(e),b0(e,t,r)}function cn(){if(Oc!==null){var e=Oc;Oc=null,Hm(e)}iP()}function iP(){if(!cp&&bn!==null){cp=!0;var e=0;try{var t=bn;so(99,function(){for(;eT?(O=E,E=null):O=E.sibling;var P=d(v,E,b[T],x);if(P===null){E===null&&(E=O);break}e&&E&&P.alternate===null&&t(v,E),p=o(P,p,T),C===null?w=P:C.sibling=P,C=P,E=O}if(T===b.length)return r(v,E),w;if(E===null){for(;TT?(O=E,E=null):O=E.sibling;var D=d(v,E,P.value,x);if(D===null){E===null&&(E=O);break}e&&E&&D.alternate===null&&t(v,E),p=o(D,p,T),C===null?w=D:C.sibling=D,C=D,E=O}if(P.done)return r(v,E),w;if(E===null){for(;!P.done;T++,P=b.next())P=f(v,P.value,x),P!==null&&(p=o(P,p,T),C===null?w=P:C.sibling=P,C=P);return w}for(E=n(v,E);!P.done;T++,P=b.next())P=h(E,v,T,P.value,x),P!==null&&(e&&P.alternate!==null&&E.delete(P.key===null?T:P.key),p=o(P,p,T),C===null?w=P:C.sibling=P,C=P);return e&&E.forEach(function(F){return t(v,F)}),w}return function(v,p,b,x){var w=typeof b=="object"&&b!==null&&b.type===Wn&&b.key===null;w&&(b=b.props.children);var C=typeof b=="object"&&b!==null;if(C)switch(b.$$typeof){case _s:e:{for(C=b.key,w=p;w!==null;){if(w.key===C){switch(w.tag){case 7:if(b.type===Wn){r(v,w.sibling),p=a(w,b.props.children),p.return=v,v=p;break e}break;default:if(w.elementType===b.type){r(v,w.sibling),p=a(w,b.props),p.ref=ds(v,w,b),p.return=v,v=p;break e}}r(v,w);break}else t(v,w);w=w.sibling}b.type===Wn?(p=oi(b.props.children,v.mode,x,b.key),p.return=v,v=p):(x=Rc(b.type,b.key,b.props,null,v.mode,x),x.ref=ds(v,p,b),x.return=v,v=x)}return i(v);case ja:e:{for(w=b.key;p!==null;){if(p.key===w)if(p.tag===4&&p.stateNode.containerInfo===b.containerInfo&&p.stateNode.implementation===b.implementation){r(v,p.sibling),p=a(p,b.children||[]),p.return=v,v=p;break e}else{r(v,p);break}else t(v,p);p=p.sibling}p=hp(b,v.mode,x),p.return=v,v=p}return i(v)}if(typeof b=="string"||typeof b=="number")return b=""+b,p!==null&&p.tag===6?(r(v,p.sibling),p=a(p,b),p.return=v,v=p):(r(v,p),p=mp(b,v.mode,x),p.return=v,v=p),i(v);if(Bl(b))return g(v,p,b,x);if(is(b))return y(v,p,b,x);if(C&&Nl(v,b),typeof b=="undefined"&&!w)switch(v.tag){case 1:case 22:case 0:case 11:case 15:throw Error(U(152,Xo(v.type)||"Component"))}return r(v,p)}}var ff=fP(!0),dP=fP(!1),nl={},en=ya(nl),yu=ya(nl),bu=ya(nl);function Va(e){if(e===nl)throw Error(U(174));return e}function Km(e,t){switch(Ke(bu,t),Ke(yu,e),Ke(en,nl),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Rm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Rm(t,e)}Fe(en),Ke(en,t)}function Si(){Fe(en),Fe(yu),Fe(bu)}function Bx(e){Va(bu.current);var t=Va(en.current),r=Rm(t,e.type);t!==r&&(Ke(yu,e),Ke(en,r))}function E0(e){yu.current===e&&(Fe(en),Fe(yu))}var Ge=ya(0);function df(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Sn=null,Yn=null,tn=!1;function vP(e,t){var r=mr(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Nx(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function qm(e){if(tn){var t=Yn;if(t){var r=t;if(!Nx(e,t)){if(t=ei(r.nextSibling),!t||!Nx(e,t)){e.flags=e.flags&-1025|2,tn=!1,Sn=e;return}vP(Sn,r)}Sn=e,Yn=ei(t.firstChild)}else e.flags=e.flags&-1025|2,tn=!1,Sn=e}}function jx(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Sn=e}function jl(e){if(e!==Sn)return!1;if(!tn)return jx(e),tn=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Vm(t,e.memoizedProps))for(t=Yn;t;)vP(e,t),t=ei(t.nextSibling);if(jx(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(U(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Yn=ei(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Yn=null}}else Yn=Sn?ei(e.stateNode.nextSibling):null;return!0}function fp(){Yn=Sn=null,tn=!1}var ri=[];function C0(){for(var e=0;eo))throw Error(U(301));o+=1,pt=Ct=null,t.updateQueue=null,zs.current=YN,e=r(n,a)}while(Ws)}if(zs.current=gf,t=Ct!==null&&Ct.next!==null,xu=0,pt=Ct=Ze=null,vf=!1,t)throw Error(U(300));return e}function Ua(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pt===null?Ze.memoizedState=pt=e:pt=pt.next=e,pt}function go(){if(Ct===null){var e=Ze.alternate;e=e!==null?e.memoizedState:null}else e=Ct.next;var t=pt===null?Ze.memoizedState:pt.next;if(t!==null)pt=t,Ct=e;else{if(e===null)throw Error(U(310));Ct=e,e={memoizedState:Ct.memoizedState,baseState:Ct.baseState,baseQueue:Ct.baseQueue,queue:Ct.queue,next:null},pt===null?Ze.memoizedState=pt=e:pt=pt.next=e}return pt}function Xr(e,t){return typeof t=="function"?t(e):t}function vs(e){var t=go(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=Ct,a=n.baseQueue,o=r.pending;if(o!==null){if(a!==null){var i=a.next;a.next=o.next,o.next=i}n.baseQueue=a=o,r.pending=null}if(a!==null){a=a.next,n=n.baseState;var s=i=o=null,u=a;do{var l=u.lane;if((xu&l)===l)s!==null&&(s=s.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),n=u.eagerReducer===e?u.eagerState:e(n,u.action);else{var c={lane:l,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};s===null?(i=s=c,o=n):s=s.next=c,Ze.lanes|=l,al|=l}u=u.next}while(u!==null&&u!==a);s===null?o=n:s.next=i,pr(n,t.memoizedState)||(Lr=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=s,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function ps(e){var t=go(),r=t.queue;if(r===null)throw Error(U(311));r.lastRenderedReducer=e;var n=r.dispatch,a=r.pending,o=t.memoizedState;if(a!==null){r.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);pr(o,t.memoizedState)||(Lr=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function zx(e,t,r){var n=t._getVersion;n=n(t._source);var a=t._workInProgressVersionPrimary;if(a!==null?e=a===n:(e=e.mutableReadLanes,(e=(xu&e)===e)&&(t._workInProgressVersionPrimary=n,ri.push(t))),e)return r(t._source);throw ri.push(t),Error(U(350))}function pP(e,t,r,n){var a=At;if(a===null)throw Error(U(349));var o=t._getVersion,i=o(t._source),s=zs.current,u=s.useState(function(){return zx(a,t,r)}),l=u[1],c=u[0];u=pt;var f=e.memoizedState,d=f.refs,h=d.getSnapshot,g=f.source;f=f.subscribe;var y=Ze;return e.memoizedState={refs:d,source:t,subscribe:n},s.useEffect(function(){d.getSnapshot=r,d.setSnapshot=l;var v=o(t._source);if(!pr(i,v)){v=r(t._source),pr(c,v)||(l(v),v=ea(y),a.mutableReadLanes|=v&a.pendingLanes),v=a.mutableReadLanes,a.entangledLanes|=v;for(var p=a.entanglements,b=v;0r?98:r,function(){e(!0)}),so(97<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[Gn]=t,e[af]=n,EP(e,t,!1,!1),t.stateNode=e,i=Im(r,n),r){case"dialog":Ie("cancel",e),Ie("close",e),a=n;break;case"iframe":case"object":case"embed":Ie("load",e),a=n;break;case"video":case"audio":for(a=0;aoh&&(t.flags|=64,o=!0,hs(n,!1),t.lanes=33554432)}else{if(!o)if(e=df(i),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),hs(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!tn)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ot()-n.renderingStartTime>oh&&r!==1073741824&&(t.flags|=64,o=!0,hs(n,!1),t.lanes=33554432);n.isBackwards?(i.sibling=t.child,t.child=i):(r=n.last,r!==null?r.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Ot(),r.sibling=null,t=Ge.current,Ke(Ge,o?t&1|2:t&1),r):null;case 23:case 24:return I0(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(U(156,t.tag))}function XN(e){switch(e.tag){case 1:Kt(e.type)&&of();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Si(),Fe(Yt),Fe($t),C0(),t=e.flags,(t&64)!==0)throw Error(U(285));return e.flags=t&-4097|64,e;case 5:return E0(e),null;case 13:return Fe(Ge),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Fe(Ge),null;case 4:return Si(),null;case 10:return w0(e),null;case 23:case 24:return I0(),null;default:return null}}function $0(e,t){try{var r="",n=t;do r+=$3(n),n=n.return;while(n);var a=r}catch(o){a=` +Error generating stack: `+o.message+` +`+o.stack}return{value:e,source:t,stack:a}}function eh(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var QN=typeof WeakMap=="function"?WeakMap:Map;function PP(e,t,r){r=Zn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){bf||(bf=!0,ih=n),eh(e,t)},r}function kP(e,t,r){r=Zn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return eh(e,t),n(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(Qr===null?Qr=new Set([this]):Qr.add(this),eh(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}var ZN=typeof WeakSet=="function"?WeakSet:Set;function ew(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){ra(e,r)}else t.current=null}function JN(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:Ar(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&g0(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(U(163))}function e4(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)===3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var a=e;n=a.next,a=a.tag,(a&4)!==0&&(a&1)!==0&&(FP(r,e),u4(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:Ar(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&Mx(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}Mx(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&ZT(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&DT(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(U(163))}function tw(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var a=r.memoizedProps.style;a=a!=null&&a.hasOwnProperty("display")?a.display:null,n.style.display=xT("display",a)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function rw(e,t){if(Ka&&typeof Ka.onCommitFiberUnmount=="function")try{Ka.onCommitFiberUnmount(y0,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,a=n.destroy;if(n=n.tag,a!==void 0)if((n&4)!==0)FP(t,r);else{n=t;try{a()}catch(o){ra(n,o)}}r=r.next}while(r!==e)}break;case 1:if(ew(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){ra(t,o)}break;case 5:ew(t);break;case 4:OP(e,t)}}function nw(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function aw(e){return e.tag===5||e.tag===3||e.tag===4}function ow(e){e:{for(var t=e.return;t!==null;){if(aw(t))break e;t=t.return}throw Error(U(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(U(161))}r.flags&16&&(uu(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||aw(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?th(e,r,t):rh(e,r,t)}function th(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=nf));else if(n!==4&&(e=e.child,e!==null))for(th(e,t,r),e=e.sibling;e!==null;)th(e,t,r),e=e.sibling}function rh(e,t,r){var n=e.tag,a=n===5||n===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(rh(e,t,r),e=e.sibling;e!==null;)rh(e,t,r),e=e.sibling}function OP(e,t){for(var r=t,n=!1,a,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(U(160));switch(a=n.stateNode,n.tag){case 5:o=!1;break e;case 3:a=a.containerInfo,o=!0;break e;case 4:a=a.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var i=e,s=r,u=s;;)if(rw(i,u),u.child!==null&&u.tag!==4)u.child.return=u,u=u.child;else{if(u===s)break e;for(;u.sibling===null;){if(u.return===null||u.return===s)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(i=a,s=r.stateNode,i.nodeType===8?i.parentNode.removeChild(s):i.removeChild(s)):a.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){a=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(rw(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function pp(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)===3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var a=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[af]=n,e==="input"&&n.type==="radio"&&n.name!=null&&hT(r,n),Im(e,a),t=Im(e,n),a=0;aa&&(a=i),r&=~o}if(r=a,r=Ot()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*r4(r/1960))-r,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}mt!==5&&(mt=2),u=$0(u,s),d=i;do{switch(d.tag){case 3:o=u,d.flags|=4096,t&=-t,d.lanes|=t;var C=PP(d,o,t);Ix(d,C);break e;case 1:o=u;var E=d.type,T=d.stateNode;if((d.flags&64)===0&&(typeof E.getDerivedStateFromError=="function"||T!==null&&typeof T.componentDidCatch=="function"&&(Qr===null||!Qr.has(T)))){d.flags|=4096,t&=-t,d.lanes|=t;var O=kP(d,o,t);Ix(d,O);break e}}d=d.return}while(d!==null)}MP(r)}catch(P){t=P,at===r&&r!==null&&(at=r=r.return);continue}break}while(1)}function AP(){var e=yf.current;return yf.current=gf,e===null?gf:e}function As(e,t){var r=ie;ie|=16;var n=AP();At===e&&_t===t||ai(e,t);do try{a4();break}catch(a){RP(e,a)}while(1);if(x0(),ie=r,yf.current=n,at!==null)throw Error(U(261));return At=null,_t=0,mt}function a4(){for(;at!==null;)IP(at)}function o4(){for(;at!==null&&!jN();)IP(at)}function IP(e){var t=LP(e.alternate,e,uo);e.memoizedProps=e.pendingProps,t===null?MP(e):at=t,D0.current=null}function MP(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)===0){if(r=qN(r,t,uo),r!==null){at=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(uo&1073741824)!==0||(r.mode&4)===0){for(var n=0,a=r.child;a!==null;)n|=a.lanes|a.childLanes,a=a.sibling;r.childLanes=n}e!==null&&(e.flags&2048)===0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1i&&(s=i,i=C,C=s),s=bx(b,C),o=bx(b,i),s&&o&&(w.rangeCount!==1||w.anchorNode!==s.node||w.anchorOffset!==s.offset||w.focusNode!==o.node||w.focusOffset!==o.offset)&&(x=x.createRange(),x.setStart(s.node,s.offset),w.removeAllRanges(),C>i?(w.addRange(x),w.extend(o.node,o.offset)):(x.setEnd(o.node,o.offset),w.addRange(x)))))),x=[],w=b;w=w.parentNode;)w.nodeType===1&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof b.focus=="function"&&b.focus(),b=0;bOt()-A0?ai(e,0):R0|=r),Cr(e,t)}function f4(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)===0?t=1:(t&4)===0?t=wi()===99?1:2:(xn===0&&(xn=Gi),t=Fo(62914560&~xn),t===0&&(t=4194304))),r=or(),e=Od(e,t),e!==null&&(xd(e,t,r),Cr(e,r))}var LP;LP=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Yt.current)Lr=!0;else if((r&n)!==0)Lr=(e.flags&16384)!==0;else{switch(Lr=!1,t.tag){case 3:Yx(t),fp();break;case 5:Bx(t);break;case 1:Kt(t.type)&&kc(t);break;case 4:Km(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var a=t.type._context;Ke(sf,a._currentValue),a._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!==0?Kx(e,t,r):(Ke(Ge,Ge.current&1),t=En(e,t,r),t!==null?t.sibling:null);Ke(Ge,Ge.current&1);break;case 19:if(n=(r&t.childLanes)!==0,(e.flags&64)!==0){if(n)return Jx(e,t,r);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ke(Ge,Ge.current),n)break;return null;case 23:case 24:return t.lanes=0,dp(e,t,r)}return En(e,t,r)}else Lr=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=xi(t,$t.current),ti(t,r),a=P0(null,t,n,e,a,r),t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Kt(n)){var o=!0;kc(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,S0(t);var i=n.getDerivedStateFromProps;typeof i=="function"&&cf(t,n,i,e),a.updater=Pd,t.stateNode=a,a._reactInternals=t,Ym(t,n,e,r),t=Zm(null,t,n,!0,o,r)}else t.tag=0,zt(null,t,a,r),t=t.child;return t;case 16:a=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=v4(a),e=Ar(a,e),o){case 0:t=Qm(null,t,a,e,r);break e;case 1:t=Gx(null,t,a,e,r);break e;case 11:t=Ux(null,t,a,e,r);break e;case 14:t=Hx(null,t,a,Ar(a.type,e),n,r);break e}throw Error(U(306,a,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ar(n,a),Qm(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ar(n,a),Gx(e,t,n,a,r);case 3:if(Yx(t),n=t.updateQueue,e===null||n===null)throw Error(U(282));if(n=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,uP(e,t),gu(t,n,null,r),n=t.memoizedState.element,n===a)fp(),t=En(e,t,r);else{if(a=t.stateNode,(o=a.hydrate)&&(Yn=ei(t.stateNode.containerInfo.firstChild),Sn=t,o=tn=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a0?Vt(qi,--Qt):0,Ei--,tt===10&&(Ei=1,Dd--),tt}function ir(){return tt=Qt2||Su(tt)>3?"":" "}function R4(e,t){for(;--t&&ir()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return il(e,Ac()+(t<6&&rn()==32&&ir()==32))}function dh(e){for(;ir();)switch(tt){case e:return Qt;case 34:case 39:return dh(e===34||e===39?e:tt);case 40:e===41&&dh(e);break;case 92:ir();break}return Qt}function A4(e,t){for(;ir()&&e+tt!==47+10;)if(e+tt===42+42&&rn()===47)break;return"/*"+il(t,Qt-1)+"*"+$d(e===47?e:ir())}function I4(e){for(;!Su(rn());)ir();return il(e,Qt)}function M4(e){return HP(Ic("",null,null,null,[""],e=UP(e),0,[0],e))}function Ic(e,t,r,n,a,o,i,s,u){for(var l=0,c=0,f=i,d=0,h=0,g=0,y=1,v=1,p=1,b=0,x="",w=a,C=o,E=n,T=x;v;)switch(g=b,b=ir()){case 34:case 39:case 91:case 40:T+=fh(b);break;case 9:case 10:case 13:case 32:T+=D4(g);break;case 92:T+=R4(Ac()-1,7);continue;case 47:switch(rn()){case 42:case 47:Ul(F4(A4(ir(),Ac()),t,r),u);break;default:T+="/"}break;case 123*y:s[l++]=Yr(T)*p;case 125*y:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+c:h>0&&Yr(T)-f&&Ul(h>32?fw(T+";",n,r,f-1):fw(Se(T," ","")+";",n,r,f-2),u);break;case 59:T+=";";default:if(Ul(E=cw(T,t,r,l,c,a,s,x,w=[],C=[],f),o),b===123)if(c===0)Ic(T,t,E,E,w,o,f,s,C);else switch(d){case 100:case 109:case 115:Ic(e,E,E,n&&Ul(cw(e,E,E,0,0,a,s,x,a,w=[],f),C),a,C,f,s,n?w:C);break;default:Ic(T,E,E,E,[""],C,f,s,C)}}l=c=h=0,y=p=1,x=T="",f=i;break;case 58:f=1+Yr(T),h=g;default:if(y<1){if(b==123)--y;else if(b==125&&y++==0&&$4()==125)continue}switch(T+=$d(b),b*y){case 38:p=c>0?1:(T+="\f",-1);break;case 44:s[l++]=(Yr(T)-1)*p,p=1;break;case 64:rn()===45&&(T+=fh(ir())),d=rn(),c=Yr(x=T+=I4(Ac())),b++;break;case 45:g===45&&Yr(T)==2&&(y=0)}}return o}function cw(e,t,r,n,a,o,i,s,u,l,c){for(var f=a-1,d=a===0?o:[""],h=z0(d),g=0,y=0,v=0;g0?d[p]+" "+b:Se(b,/&\f/g,d[p])))&&(u[v++]=x);return Rd(e,t,r,a===0?N0:s,u,l,c)}function F4(e,t,r){return Rd(e,t,r,zP,$d(_4()),wu(e,2,-2),0)}function fw(e,t,r,n){return Rd(e,t,r,j0,wu(e,0,n),wu(e,n+1,-1),n)}function GP(e,t){switch(P4(e,t)){case 5103:return xe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return xe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return xe+e+wf+e+Et+e+e;case 6828:case 4268:return xe+e+Et+e+e;case 6165:return xe+e+Et+"flex-"+e+e;case 5187:return xe+e+Se(e,/(\w+).+(:[^]+)/,xe+"box-$1$2"+Et+"flex-$1$2")+e;case 5443:return xe+e+Et+"flex-item-"+Se(e,/flex-|-self/,"")+e;case 4675:return xe+e+Et+"flex-line-pack"+Se(e,/align-content|flex-|-self/,"")+e;case 5548:return xe+e+Et+Se(e,"shrink","negative")+e;case 5292:return xe+e+Et+Se(e,"basis","preferred-size")+e;case 6060:return xe+"box-"+Se(e,"-grow","")+xe+e+Et+Se(e,"grow","positive")+e;case 4554:return xe+Se(e,/([^-])(transform)/g,"$1"+xe+"$2")+e;case 6187:return Se(Se(Se(e,/(zoom-|grab)/,xe+"$1"),/(image-set)/,xe+"$1"),e,"")+e;case 5495:case 3959:return Se(e,/(image-set\([^]*)/,xe+"$1$`$1");case 4968:return Se(Se(e,/(.+:)(flex-)?(.*)/,xe+"box-pack:$3"+Et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+xe+e+e;case 4095:case 3583:case 4068:case 2532:return Se(e,/(.+)-inline(.+)/,xe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Yr(e)-1-t>6)switch(Vt(e,t+1)){case 109:if(Vt(e,t+4)!==45)break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+xe+"$2-$3$1"+wf+(Vt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~lw(e,"stretch")?GP(Se(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Vt(e,t+1)!==115)break;case 6444:switch(Vt(e,Yr(e)-3-(~lw(e,"!important")&&10))){case 107:return Se(e,":",":"+xe)+e;case 101:return Se(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+xe+(Vt(e,14)===45?"inline-":"")+"box$3$1"+xe+"$2$3$1"+Et+"$2box$3")+e}break;case 5936:switch(Vt(e,t+11)){case 114:return xe+e+Et+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return xe+e+Et+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return xe+e+Et+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return xe+e+Et+e+e}return e}function Gs(e,t){for(var r="",n=z0(e),a=0;a=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var aj={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},oj=/[A-Z]|^ms/g,ij=/_EMO_([^_]+?)_([^]*?)_EMO_/g,JP=function(t){return t.charCodeAt(1)===45},pw=function(t){return t!=null&&typeof t!="boolean"},yp=YP(function(e){return JP(e)?e:e.replace(oj,"-$&").toLowerCase()}),mw=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(ij,function(n,a,o){return Kr={name:a,styles:o,next:Kr},a})}return aj[t]!==1&&!JP(t)&&typeof r=="number"&&r!==0?r+"px":r};function Eu(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Kr={name:r.name,styles:r.styles,next:Kr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Kr={name:n.name,styles:n.styles,next:Kr},n=n.next;var a=r.styles+";";return a}return sj(e,t,r)}case"function":{if(e!==void 0){var o=Kr,i=r(e);return Kr=o,Eu(e,t,i)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function sj(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a-1}function A2(S,k){var R=this.__data__,K=El(R,S);return K<0?(++this.size,R.push([S,k])):R[K][1]=k,this}vn.prototype.clear=_2,vn.prototype.delete=$2,vn.prototype.get=D2,vn.prototype.has=R2,vn.prototype.set=A2;function xo(S){var k=-1,R=S==null?0:S.length;for(this.clear();++k1?R[pe-1]:void 0,Le=pe>2?R[2]:void 0;for(_e=S.length>3&&typeof _e=="function"?(pe--,_e):void 0,Le&&uD(R[0],R[1],Le)&&(_e=pe<3?void 0:_e,pe=1),k=Object(k);++K-1&&S%1==0&&S0){if(++k>=a)return arguments[0]}else k=0;return S.apply(void 0,arguments)}}function hD(S){if(S!=null){try{return St.call(S)}catch{}try{return S+""}catch{}}return""}function Pl(S,k){return S===k||S!==S&&k!==k}var gv=bb(function(){return arguments}())?bb:function(S){return Ji(S)&&qe.call(S,"callee")&&!dv.call(S,"callee")},yv=Array.isArray;function bv(S){return S!=null&&Cb(S.length)&&!xv(S)}function gD(S){return Ji(S)&&bv(S)}var Eb=w2||SD;function xv(S){if(!Pa(S))return!1;var k=Cl(S);return k==h||k==g||k==l||k==x}function Cb(S){return typeof S=="number"&&S>-1&&S%1==0&&S<=i}function Pa(S){var k=typeof S;return S!=null&&(k=="object"||k=="function")}function Ji(S){return S!=null&&typeof S=="object"}function yD(S){if(!Ji(S)||Cl(S)!=b)return!1;var k=xl(S);if(k===null)return!0;var R=qe.call(k,"constructor")&&k.constructor;return typeof R=="function"&&R instanceof R&&St.call(R)==se}var Tb=fr?B(fr):K2;function bD(S){return nD(S,Pb(S))}function Pb(S){return bv(S)?U2(S,!0):q2(S)}var xD=aD(function(S,k,R,K){xb(S,k,R,K)});function wD(S){return function(){return S}}function kb(S){return S}function SD(){return!1}e.exports=xD})(vh,vh.exports);var gr=vh.exports,nk=1/60*1e3,pj=typeof performance!="undefined"?function(){return performance.now()}:function(){return Date.now()},ak=typeof window!="undefined"?function(e){return window.requestAnimationFrame(e)}:function(e){return setTimeout(function(){return e(pj())},nk)};function mj(e){var t=[],r=[],n=0,a=!1,o=new WeakSet,i={schedule:function(s,u,l){u===void 0&&(u=!1),l===void 0&&(l=!1);var c=l&&a,f=c?t:r;return u&&o.add(s),f.indexOf(s)===-1&&(f.push(s),c&&a&&(n=t.length)),s},cancel:function(s){var u=r.indexOf(s);u!==-1&&r.splice(u,1),o.delete(s)},process:function(s){var u;if(a=!0,u=[r,t],t=u[0],r=u[1],r.length=0,n=t.length,n)for(var l=0;lparseInt(r[1],10)?1:-1},Z0=function(t){return Ef(Object.entries(t).sort(ck))};function gw(e){var t=Z0(e);return Object.assign(Object.values(t),t)}function Pj(e){var t=Object.keys(Z0(e));return new Set(t)}function kj(e){var t;if(!e)return e;e=(t=Cf(e))!=null?t:e;var r=e.endsWith("px")?-1:-.0635;return na(e)?""+(e+r):e.replace(/([0-9]+\.?[0-9]*)/,function(n){return""+(parseFloat(n)+r)})}function Hl(e,t){var r=[];return e&&r.push("@media screen and (min-width: "+Cf(e)+")"),r.length>0&&t&&r.push("and"),t&&r.push("@media screen and (max-width: "+Cf(t)+")"),r.join(" ")}function Oj(e){var t;if(!e)return null;e.base=(t=e.base)!=null?t:"0px";var r=gw(e),n=Object.entries(e).sort(ck).map(function(i,s,u){var l,c=i[0],f=i[1],d=(l=u[s+1])!=null?l:[],h=d[1];return h=parseFloat(h)>0?kj(h):void 0,{breakpoint:c,minW:f,maxW:h,maxWQuery:Hl(null,h),minWQuery:Hl(f),minMaxQuery:Hl(f,h)}}),a=Pj(e),o=Array.from(a.values());return{keys:a,normalized:r,isResponsive:function(s){var u=Object.keys(s);return u.length>0&&u.every(function(l){return a.has(l)})},asObject:Z0(e),asArray:gw(e),details:n,media:[null].concat(r.map(function(i){return Hl(i)}).slice(1)),toArrayValue:function(s){if(!xr(s))throw new Error("toArrayValue: value must be an object");for(var u=o.map(function(l){var c;return(c=s[l])!=null?c:null});bj(u)===null;)u.pop();return u},toObjectValue:function(s){if(!Array.isArray(s))throw new Error("toObjectValue: value must be an array");return s.reduce(function(u,l,c){var f=o[c];return f!=null&&l!=null&&(u[f]=l),u},{})}}}function fk(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function Hd(e){var t;if(!fk(e))return!1;var r=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof r.HTMLElement}function Gd(e){var t;return fk(e)&&(t=e.ownerDocument)!=null?t:document}function _j(e){var t;return(t=e.view)!=null?t:window}function $j(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var fn=$j(),nt=function(t){return t?"":void 0},bp=function(t){return t?!0:void 0},we=function(){for(var t=arguments.length,r=new Array(t),n=0;n=37&&r<=40&&t.indexOf("Arrow")!==0,a=n?"Arrow"+t:t;return a}function yw(e){var t,r,n=(t=e.target)!=null?t:e.currentTarget,a=dk(n);return(r=e.relatedTarget)!=null?r:a}function bw(e){return e.button!==0}var vk=function(t){return t.hasAttribute("tabindex")},Rj=function(t){return vk(t)&&t.tabIndex===-1};function Aj(e){return Boolean(e.getAttribute("disabled"))===!0||Boolean(e.getAttribute("aria-disabled"))===!0}function Ij(e){return Hd(e)&&e.tagName.toLowerCase()==="input"&&"select"in e}function pk(e){var t=Hd(e)?Gd(e):document;return t.activeElement===e}function mk(e){return e.parentElement&&mk(e.parentElement)?!0:e.hidden}function Mj(e){var t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function hk(e){if(!Hd(e)||mk(e)||Aj(e))return!1;var t=e.localName,r=["input","select","textarea","button"];if(r.indexOf(t)>=0)return!0;var n={a:function(){return e.hasAttribute("href")},audio:function(){return e.hasAttribute("controls")},video:function(){return e.hasAttribute("controls")}};return t in n?n[t]():Mj(e)?!0:vk(e)}function Fj(e){return e?Hd(e)&&hk(e)&&!Rj(e):!1}var Lj=["input:not([disabled])","select:not([disabled])","textarea:not([disabled])","embed","iframe","object","a[href]","area[href]","button:not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],Bj=Lj.join();function gk(e){var t=Array.from(e.querySelectorAll(Bj));return t.unshift(e),t.filter(hk).filter(function(r){return window.getComputedStyle(r).display!=="none"})}function xw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n0&&Jr(c[0],{preventScroll:a,nextTick:!0})}},[u,a,s,n]);Ck(function(){l()},[l]),Ek("transitionend",l,s)}function gz(e,t){return t===void 0&&(t=[]),m.exports.useEffect(function(){return function(){return e()}},t)}function Tk(){var e=m.exports.useRef(!1),t=m.exports.useState(0),r=t[0],n=t[1];return gz(function(){e.current=!0}),m.exports.useCallback(function(){e.current||n(r+1)},[r])}function yz(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error("Cannot assign value '"+t+"' to ref '"+e+"'")}}}function bz(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}var Cz=["containerRef"],kk=Nr({strict:!1,name:"PortalContext"}),Ok=kk[0],Tz=kk[1],ty="chakra-portal",Pz=".chakra-portal",kz=function(t){return m.exports.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children)},Oz=function(t){var r=t.appendToParentPortal,n=t.children,a=m.exports.useRef(null),o=m.exports.useRef(null),i=Tk(),s=Tz(),u=wz();Ci(function(){if(!!a.current){var c=a.current.ownerDocument,f=r&&s!=null?s:c.body;if(!!f){o.current=c.createElement("div"),o.current.className=ty,f.appendChild(o.current),i();var d=o.current;return function(){f.contains(d)&&f.removeChild(d)}}}},[]);var l=u!=null&&u.zIndex?m.exports.createElement(kz,{zIndex:u==null?void 0:u.zIndex},n):n;return o.current?md.exports.createPortal(m.exports.createElement(Ok,{value:o.current},l),o.current):m.exports.createElement("span",{ref:a})},_z=function(t){var r=t.children,n=t.containerRef,a=t.appendToParentPortal,o=n.current,i=o!=null?o:fn?document.body:void 0,s=m.exports.useMemo(function(){var l=o==null?void 0:o.ownerDocument.createElement("div");return l&&(l.className=ty),l},[o]),u=Tk();return Ci(function(){u()},[]),Ci(function(){if(!(!s||!i))return i.appendChild(s),function(){i.removeChild(s)}},[s,i]),i&&s?md.exports.createPortal(m.exports.createElement(Ok,{value:a?s:null},r),s):null};function Xi(e){var t=e.containerRef,r=Ez(e,Cz);return t?m.exports.createElement(_z,gh({containerRef:t},r)):m.exports.createElement(Oz,r)}Xi.defaultProps={appendToParentPortal:!0};Xi.className=ty;Xi.selector=Pz;var $z={body:{classList:{add:function(){},remove:function(){}}},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}}},_k=$z,To=function(){},Dz={document:_k,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:To,removeEventListener:To,getComputedStyle:function(){return{getPropertyValue:function(){return""}}},matchMedia:function(){return{matches:!1,addListener:To,removeListener:To}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)},setTimeout:function(){return 0},clearTimeout:To,setInterval:function(){return 0},clearInterval:To},Rz=Dz,Az={window:Rz,document:_k},$k=fn?{window,document}:Az,Dk=m.exports.createContext($k);function Iz(){return m.exports.useContext(Dk)}function Mz(e){var t=e.children,r=e.environment,n=m.exports.useState(null),a=n[0],o=n[1],i=m.exports.useMemo(function(){var u,l=a==null?void 0:a.ownerDocument,c=a==null?void 0:a.ownerDocument.defaultView,f=l?{document:l,window:c}:void 0,d=(u=r!=null?r:f)!=null?u:$k;return d},[a,r]),s=!a&&!r;return $.createElement(Dk.Provider,{value:i},t,s&&$.createElement("span",{ref:function(l){l&&o(l)}}))}var Yl={light:"chakra-ui-light",dark:"chakra-ui-dark"},Fz={classList:{add:Pu,remove:Pu}},Lz=function(t){return fn?t.body:Fz};function Bz(e,t){var r=Lz(t);r.classList.add(e?Yl.dark:Yl.light),r.classList.remove(e?Yl.light:Yl.dark)}function Nz(e){var t=window.matchMedia==null?void 0:window.matchMedia(e);if(!!t)return!!t.media===t.matches}var Rk={light:"(prefers-color-scheme: light)",dark:"(prefers-color-scheme: dark)"};function jz(e){var t,r=(t=Nz(Rk.dark))!=null?t:e==="dark";return r?"dark":"light"}function zz(e){if(!("matchMedia"in window))return Pu;var t=window.matchMedia(Rk.dark),r=function(){e(t.matches?"dark":"light",!0)};return t.addEventListener("change",r),function(){t.removeEventListener("change",r)}}var ww={get:function(){return document.documentElement.style.getPropertyValue("--chakra-ui-color-mode")},set:function(t){fn&&document.documentElement.style.setProperty("--chakra-ui-color-mode",t)}},Sw=function(){return typeof Storage!="undefined"},Ew="chakra-ui-color-mode",Wz={get:function(t){if(!Sw())return t;try{var r=localStorage.getItem(Ew);return r!=null?r:t}catch{return t}},set:function(t){if(!!Sw())try{localStorage.setItem(Ew,t)}catch{}},type:"localStorage"},Ak=m.exports.createContext({}),ry=function(){var t=m.exports.useContext(Ak);if(t===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return t};function Vz(e){var t=e.value,r=e.children,n=e.options,a=n.useSystemColorMode,o=n.initialColorMode,i=e.colorModeManager,s=i===void 0?Wz:i,u=o==="dark"?"dark":"light",l=m.exports.useState(s.type==="cookie"?s.get(u):u),c=l[0],f=l[1],d=Iz(),h=d.document;m.exports.useEffect(function(){if(fn&&s.type==="localStorage"){var p=jz(u);if(a)return f(p);var b=ww.get(),x=s.get();return f(b||x||(o==="system"?p:u))}},[s,a,u,o]),m.exports.useEffect(function(){var p=c==="dark";Bz(p,h),ww.set(p?"dark":"light")},[c,h]);var g=m.exports.useCallback(function(p,b){if(b===void 0&&(b=!1),!b)s.set(p);else if(s.get()&&!a)return;f(p)},[s,a]),y=m.exports.useCallback(function(){g(c==="light"?"dark":"light")},[c,g]);m.exports.useEffect(function(){var p=a||o==="system",b;return p&&(b=zz(g)),function(){b&&p&&b()}},[g,a,o]);var v=m.exports.useMemo(function(){return{colorMode:t!=null?t:c,toggleColorMode:t?Pu:y,setColorMode:t?Pu:g}},[c,g,y,t]);return m.exports.createElement(Ak.Provider,{value:v},r)}function Uz(e){var t=window.matchMedia("(prefers-color-scheme: dark)"),r=t.matches?"dark":"light",n;try{n=localStorage.getItem("chakra-ui-color-mode")}catch{console.log("Chakra UI: localStorage is not available. Color mode persistence might not work as expected")}var a=typeof n=="string",o;if(a?o=n:o=e==="system"?r:e,o){var i=document.documentElement;i.style.setProperty("--chakra-ui-color-mode",o)}}var Hz=function(t){var r=t.initialColorMode,n=r===void 0?"light":r,a="("+String(Uz)+")('"+n+"')";return m.exports.createElement("script",{nonce:t.nonce,dangerouslySetInnerHTML:{__html:a}})};function Ti(){return Ti=Object.assign||function(e){for(var t=1;t :not(style) ~ :not(style)",t6=(wp={},wp[Mk]={marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"},wp),r6=(Sp={},Sp[Mk]={marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"},Sp);function Pf(e,t){return Pf=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Pf(e,t)}function n6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pf(e,t)}function yh(){yh=function(a,o){return new r(a,void 0,o)};var e=RegExp.prototype,t=new WeakMap;function r(a,o,i){var s=new RegExp(a,o);return t.set(s,i||t.get(a)),Pf(s,r.prototype)}n6(r,RegExp),r.prototype.exec=function(a){var o=e.exec.call(this,a);return o&&(o.groups=n(o,this)),o},r.prototype[Symbol.replace]=function(a,o){if(typeof o=="string"){var i=t.get(this);return e[Symbol.replace].call(this,a,o.replace(/\$<([^>]+)>/g,function(u,l){return"$"+i[l]}))}else if(typeof o=="function"){var s=this;return e[Symbol.replace].call(this,a,function(){var u=arguments;return typeof u[u.length-1]!="object"&&(u=[].slice.call(u),u.push(n(u,s))),o.apply(this,u)})}else return e[Symbol.replace].call(this,a,o)};function n(a,o){var i=t.get(o);return Object.keys(i).reduce(function(s,u){return s[u]=a[i[u]],s},Object.create(null))}return yh.apply(this,arguments)}var bh={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},a6=new Set(Object.values(bh)),Fk=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),o6=function(t){return t.trim()};function i6(e,t){var r,n;if(e==null||Fk.has(e))return e;var a=yh(/(^[\x2DA-Za-z]+)\(((.*))\)/g,{type:1,values:2}),o=(r=(n=a.exec(e))==null?void 0:n.groups)!=null?r:{},i=o.type,s=o.values;if(!i||!s)return e;var u=i.includes("-gradient")?i:i+"-gradient",l=s.split(",").map(o6).filter(Boolean),c=l[0],f=l.slice(1);if((f==null?void 0:f.length)===0)return e;var d=c in bh?bh[c]:c;f.unshift(d);var h=f.map(function(g){if(a6.has(g))return g;var y=g.indexOf(" "),v=y!==-1?[g.substr(0,y),g.substr(y+1)]:[g],p=v[0],b=v[1],x=Lk(b)?b:b&&b.split(" "),w="colors."+p,C=w in t.__cssMap?t.__cssMap[w].varRef:p;return x?[C].concat(Array.isArray(x)?x:[x]).join(" "):C});return u+"("+h.join(", ")+")"}var Lk=function(t){return K0(t)&&t.includes("(")&&t.includes(")")},s6=function(t,r){return i6(t,r!=null?r:{})},u6=function(t){var r=parseFloat(t.toString()),n=t.toString().replace(String(r),"");return{unitless:!n,value:r,unit:n}},Vr=function(t){return function(r){return t+"("+r+")"}},Ce={filter:function(t){return t!=="auto"?t:Qz},backdropFilter:function(t){return t!=="auto"?t:Zz},ring:function(t){return Jz(Ce.px(t))},bgClip:function(t){return t==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t}},transform:function(t){return t==="auto"?qz():t==="auto-gpu"?Xz():t},px:function(t){if(t==null)return t;var r=u6(t),n=r.unitless;return n||na(t)?t+"px":t},fraction:function(t){return!na(t)||t>1?t:t*100+"%"},float:function(t,r){var n={left:"right",right:"left"};return r.direction==="rtl"?n[t]:t},degree:function(t){if(sk(t)||t==null)return t;var r=K0(t)&&!t.endsWith("deg");return na(t)||r?t+"deg":t},gradient:s6,blur:Vr("blur"),opacity:Vr("opacity"),brightness:Vr("brightness"),contrast:Vr("contrast"),dropShadow:Vr("drop-shadow"),grayscale:Vr("grayscale"),hueRotate:Vr("hue-rotate"),invert:Vr("invert"),saturate:Vr("saturate"),sepia:Vr("sepia"),bgImage:function(t){if(t==null)return t;var r=Lk(t)||Fk.has(t);return r?t:"url("+t+")"},outline:function(t){var r=String(t)==="0"||String(t)==="none";return t!==null&&r?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection:function(t){var r,n=(r=e6[t])!=null?r:{},a=n.space,o=n.divide,i={flexDirection:t};return a&&(i[a]=1),o&&(i[o]=1),i}},_={borderWidths:$r("borderWidths"),borderStyles:$r("borderStyles"),colors:$r("colors"),borders:$r("borders"),radii:$r("radii",Ce.px),space:$r("space",Ce.px),spaceT:$r("space",Ce.px),degreeT:function(t){return{property:t,transform:Ce.degree}},prop:function(t,r,n){return Ti({property:t,scale:r},r&&{transform:ku({scale:r,transform:n})})},propT:function(t,r){return{property:t,transform:r}},sizes:$r("sizes",Ce.px),sizesT:$r("sizes",Ce.fraction),shadows:$r("shadows"),logical:Kz,blur:$r("blur",Ce.blur)},Mc={background:_.colors("background"),backgroundColor:_.colors("backgroundColor"),backgroundImage:_.propT("backgroundImage",Ce.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:Ce.bgClip},bgSize:_.prop("backgroundSize"),bgPosition:_.prop("backgroundPosition"),bg:_.colors("background"),bgColor:_.colors("backgroundColor"),bgPos:_.prop("backgroundPosition"),bgRepeat:_.prop("backgroundRepeat"),bgAttachment:_.prop("backgroundAttachment"),bgGradient:_.propT("backgroundImage",Ce.gradient),bgClip:{transform:Ce.bgClip}};Object.assign(Mc,{bgImage:Mc.backgroundImage,bgImg:Mc.backgroundImage});var be={border:_.borders("border"),borderWidth:_.borderWidths("borderWidth"),borderStyle:_.borderStyles("borderStyle"),borderColor:_.colors("borderColor"),borderRadius:_.radii("borderRadius"),borderTop:_.borders("borderTop"),borderBlockStart:_.borders("borderBlockStart"),borderTopLeftRadius:_.radii("borderTopLeftRadius"),borderStartStartRadius:_.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:_.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:_.radii("borderTopRightRadius"),borderStartEndRadius:_.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:_.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:_.borders("borderRight"),borderInlineEnd:_.borders("borderInlineEnd"),borderBottom:_.borders("borderBottom"),borderBlockEnd:_.borders("borderBlockEnd"),borderBottomLeftRadius:_.radii("borderBottomLeftRadius"),borderBottomRightRadius:_.radii("borderBottomRightRadius"),borderLeft:_.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:_.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:_.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:_.borders(["borderLeft","borderRight"]),borderInline:_.borders("borderInline"),borderY:_.borders(["borderTop","borderBottom"]),borderBlock:_.borders("borderBlock"),borderTopWidth:_.borderWidths("borderTopWidth"),borderBlockStartWidth:_.borderWidths("borderBlockStartWidth"),borderTopColor:_.colors("borderTopColor"),borderBlockStartColor:_.colors("borderBlockStartColor"),borderTopStyle:_.borderStyles("borderTopStyle"),borderBlockStartStyle:_.borderStyles("borderBlockStartStyle"),borderBottomWidth:_.borderWidths("borderBottomWidth"),borderBlockEndWidth:_.borderWidths("borderBlockEndWidth"),borderBottomColor:_.colors("borderBottomColor"),borderBlockEndColor:_.colors("borderBlockEndColor"),borderBottomStyle:_.borderStyles("borderBottomStyle"),borderBlockEndStyle:_.borderStyles("borderBlockEndStyle"),borderLeftWidth:_.borderWidths("borderLeftWidth"),borderInlineStartWidth:_.borderWidths("borderInlineStartWidth"),borderLeftColor:_.colors("borderLeftColor"),borderInlineStartColor:_.colors("borderInlineStartColor"),borderLeftStyle:_.borderStyles("borderLeftStyle"),borderInlineStartStyle:_.borderStyles("borderInlineStartStyle"),borderRightWidth:_.borderWidths("borderRightWidth"),borderInlineEndWidth:_.borderWidths("borderInlineEndWidth"),borderRightColor:_.colors("borderRightColor"),borderInlineEndColor:_.colors("borderInlineEndColor"),borderRightStyle:_.borderStyles("borderRightStyle"),borderInlineEndStyle:_.borderStyles("borderInlineEndStyle"),borderTopRadius:_.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:_.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:_.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:_.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(be,{rounded:be.borderRadius,roundedTop:be.borderTopRadius,roundedTopLeft:be.borderTopLeftRadius,roundedTopRight:be.borderTopRightRadius,roundedTopStart:be.borderStartStartRadius,roundedTopEnd:be.borderStartEndRadius,roundedBottom:be.borderBottomRadius,roundedBottomLeft:be.borderBottomLeftRadius,roundedBottomRight:be.borderBottomRightRadius,roundedBottomStart:be.borderEndStartRadius,roundedBottomEnd:be.borderEndEndRadius,roundedLeft:be.borderLeftRadius,roundedRight:be.borderRightRadius,roundedStart:be.borderInlineStartRadius,roundedEnd:be.borderInlineEndRadius,borderStart:be.borderInlineStart,borderEnd:be.borderInlineEnd,borderTopStartRadius:be.borderStartStartRadius,borderTopEndRadius:be.borderStartEndRadius,borderBottomStartRadius:be.borderEndStartRadius,borderBottomEndRadius:be.borderEndEndRadius,borderStartRadius:be.borderInlineStartRadius,borderEndRadius:be.borderInlineEndRadius,borderStartWidth:be.borderInlineStartWidth,borderEndWidth:be.borderInlineEndWidth,borderStartColor:be.borderInlineStartColor,borderEndColor:be.borderInlineEndColor,borderStartStyle:be.borderInlineStartStyle,borderEndStyle:be.borderInlineEndStyle});var l6={color:_.colors("color"),textColor:_.colors("color"),fill:_.colors("fill"),stroke:_.colors("stroke")},xh={boxShadow:_.shadows("boxShadow"),mixBlendMode:!0,blendMode:_.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:_.prop("backgroundBlendMode"),opacity:!0};Object.assign(xh,{shadow:xh.boxShadow});var c6={filter:{transform:Ce.filter},blur:_.blur("--chakra-blur"),brightness:_.propT("--chakra-brightness",Ce.brightness),contrast:_.propT("--chakra-contrast",Ce.contrast),hueRotate:_.degreeT("--chakra-hue-rotate"),invert:_.propT("--chakra-invert",Ce.invert),saturate:_.propT("--chakra-saturate",Ce.saturate),dropShadow:_.propT("--chakra-drop-shadow",Ce.dropShadow),backdropFilter:{transform:Ce.backdropFilter},backdropBlur:_.blur("--chakra-backdrop-blur"),backdropBrightness:_.propT("--chakra-backdrop-brightness",Ce.brightness),backdropContrast:_.propT("--chakra-backdrop-contrast",Ce.contrast),backdropHueRotate:_.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:_.propT("--chakra-backdrop-invert",Ce.invert),backdropSaturate:_.propT("--chakra-backdrop-saturate",Ce.saturate)},kf={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:Ce.flexDirection},experimental_spaceX:{static:t6,transform:ku({scale:"space",transform:function(t){return t!==null?{"--chakra-space-x":t}:null}})},experimental_spaceY:{static:r6,transform:ku({scale:"space",transform:function(t){return t!=null?{"--chakra-space-y":t}:null}})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:_.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:_.space("gap"),rowGap:_.space("rowGap"),columnGap:_.space("columnGap")};Object.assign(kf,{flexDir:kf.flexDirection});var Bk={gridGap:_.space("gridGap"),gridColumnGap:_.space("gridColumnGap"),gridRowGap:_.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},f6={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:Ce.outline},outlineOffset:!0,outlineColor:_.colors("outlineColor")},vr={width:_.sizesT("width"),inlineSize:_.sizesT("inlineSize"),height:_.sizes("height"),blockSize:_.sizes("blockSize"),boxSize:_.sizes(["width","height"]),minWidth:_.sizes("minWidth"),minInlineSize:_.sizes("minInlineSize"),minHeight:_.sizes("minHeight"),minBlockSize:_.sizes("minBlockSize"),maxWidth:_.sizes("maxWidth"),maxInlineSize:_.sizes("maxInlineSize"),maxHeight:_.sizes("maxHeight"),maxBlockSize:_.sizes("maxBlockSize"),d:_.prop("display"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:_.propT("float",Ce.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(vr,{w:vr.width,h:vr.height,minW:vr.minWidth,maxW:vr.maxWidth,minH:vr.minHeight,maxH:vr.maxHeight,overscroll:vr.overscrollBehavior,overscrollX:vr.overscrollBehaviorX,overscrollY:vr.overscrollBehaviorY});var d6={listStyleType:!0,listStylePosition:!0,listStylePos:_.prop("listStylePosition"),listStyleImage:!0,listStyleImg:_.prop("listStyleImage")},v6={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},p6={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Ep=function(t,r,n){var a={},o=Ud(t,r,{});for(var i in o){var s=i in n&&n[i]!=null;s||(a[i]=o[i])}return a},m6={srOnly:{transform:function(t){return t===!0?v6:t==="focusable"?p6:{}}},layerStyle:{processResult:!0,transform:function(t,r,n){return Ep(r,"layerStyles."+t,n)}},textStyle:{processResult:!0,transform:function(t,r,n){return Ep(r,"textStyles."+t,n)}},apply:{processResult:!0,transform:function(t,r,n){return Ep(r,t,n)}}},Ks={position:!0,pos:_.prop("position"),zIndex:_.prop("zIndex","zIndices"),inset:_.spaceT("inset"),insetX:_.spaceT(["left","right"]),insetInline:_.spaceT("insetInline"),insetY:_.spaceT(["top","bottom"]),insetBlock:_.spaceT("insetBlock"),top:_.spaceT("top"),insetBlockStart:_.spaceT("insetBlockStart"),bottom:_.spaceT("bottom"),insetBlockEnd:_.spaceT("insetBlockEnd"),left:_.spaceT("left"),insetInlineStart:_.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:_.spaceT("right"),insetInlineEnd:_.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ks,{insetStart:Ks.insetInlineStart,insetEnd:Ks.insetInlineEnd});var h6={ring:{transform:Ce.ring},ringColor:_.colors("--chakra-ring-color"),ringOffset:_.prop("--chakra-ring-offset-width"),ringOffsetColor:_.colors("--chakra-ring-offset-color"),ringInset:_.prop("--chakra-ring-inset")},Me={margin:_.spaceT("margin"),marginTop:_.spaceT("marginTop"),marginBlockStart:_.spaceT("marginBlockStart"),marginRight:_.spaceT("marginRight"),marginInlineEnd:_.spaceT("marginInlineEnd"),marginBottom:_.spaceT("marginBottom"),marginBlockEnd:_.spaceT("marginBlockEnd"),marginLeft:_.spaceT("marginLeft"),marginInlineStart:_.spaceT("marginInlineStart"),marginX:_.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:_.spaceT("marginInline"),marginY:_.spaceT(["marginTop","marginBottom"]),marginBlock:_.spaceT("marginBlock"),padding:_.space("padding"),paddingTop:_.space("paddingTop"),paddingBlockStart:_.space("paddingBlockStart"),paddingRight:_.space("paddingRight"),paddingBottom:_.space("paddingBottom"),paddingBlockEnd:_.space("paddingBlockEnd"),paddingLeft:_.space("paddingLeft"),paddingInlineStart:_.space("paddingInlineStart"),paddingInlineEnd:_.space("paddingInlineEnd"),paddingX:_.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:_.space("paddingInline"),paddingY:_.space(["paddingTop","paddingBottom"]),paddingBlock:_.space("paddingBlock")};Object.assign(Me,{m:Me.margin,mt:Me.marginTop,mr:Me.marginRight,me:Me.marginInlineEnd,marginEnd:Me.marginInlineEnd,mb:Me.marginBottom,ml:Me.marginLeft,ms:Me.marginInlineStart,marginStart:Me.marginInlineStart,mx:Me.marginX,my:Me.marginY,p:Me.padding,pt:Me.paddingTop,py:Me.paddingY,px:Me.paddingX,pb:Me.paddingBottom,pl:Me.paddingLeft,ps:Me.paddingInlineStart,paddingStart:Me.paddingInlineStart,pr:Me.paddingRight,pe:Me.paddingInlineEnd,paddingEnd:Me.paddingInlineEnd});var g6={textDecorationColor:_.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:_.shadows("textShadow")},y6={clipPath:!0,transform:_.propT("transform",Ce.transform),transformOrigin:!0,translateX:_.spaceT("--chakra-translate-x"),translateY:_.spaceT("--chakra-translate-y"),skewX:_.degreeT("--chakra-skew-x"),skewY:_.degreeT("--chakra-skew-y"),scaleX:_.prop("--chakra-scale-x"),scaleY:_.prop("--chakra-scale-y"),scale:_.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:_.degreeT("--chakra-rotate")},b6={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:_.prop("transitionDuration","transition.duration"),transitionProperty:_.prop("transitionProperty","transition.property"),transitionTimingFunction:_.prop("transitionTimingFunction","transition.easing")},x6={fontFamily:_.prop("fontFamily","fonts"),fontSize:_.prop("fontSize","fontSizes",Ce.px),fontWeight:_.prop("fontWeight","fontWeights"),lineHeight:_.prop("lineHeight","lineHeights"),letterSpacing:_.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"},isTruncated:{transform:function(t){if(t===!0)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}}};function Cw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var _a={hover:function(t){return t+":hover &, "+t+"[data-hover] &"},focus:function(t){return t+":focus &, "+t+"[data-focus] &"},focusVisible:function(t){return t+":focus-visible &"},active:function(t){return t+":active &, "+t+"[data-active] &"},disabled:function(t){return t+":disabled &, "+t+"[data-disabled] &"},invalid:function(t){return t+":invalid &, "+t+"[data-invalid] &"},checked:function(t){return t+":checked &, "+t+"[data-checked] &"},indeterminate:function(t){return t+":indeterminate &, "+t+"[aria-checked=mixed] &, "+t+"[data-indeterminate] &"},readOnly:function(t){return t+":read-only &, "+t+"[readonly] &, "+t+"[data-read-only] &"},expanded:function(t){return t+":read-only &, "+t+"[aria-expanded=true] &, "+t+"[data-expanded] &"}},$a=function(t){return E6(t,"[role=group]","[data-group]",".group")},E6=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a1?r-1:0),a=1;a=0)&&(r[a]=e[a]);return r}var B6=["__cssMap","__cssVars","__breakpoints"],N6=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function j6(e){var t=N6;return Sj(e,t)}function z6(e){e.__cssMap,e.__cssVars,e.__breakpoints;var t=L6(e,B6);return t}function W6(e){var t,r=z6(e),n=j6(r),a=(t=r.config)==null?void 0:t.cssVarPrefix,o=F6(n,{cssVarPrefix:a}),i=o.cssMap,s=o.cssVars,u={"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"};return Object.assign(r,{__cssVars:Ti({},u,s),__cssMap:i,__breakpoints:Oj(r.breakpoints)}),r}var V6=typeof Element!="undefined",U6=typeof Map=="function",H6=typeof Set=="function",G6=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Fc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,a;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Fc(e[n],t[n]))return!1;return!0}var o;if(U6&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;for(o=e.entries();!(n=o.next()).done;)if(!Fc(n.value[1],t.get(n.value[0])))return!1;return!0}if(H6&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(n=o.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(G6&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;if(V6&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((a[n]==="_owner"||a[n]==="__v"||a[n]==="__o")&&e.$$typeof)&&!Fc(e[a[n]],t[a[n]]))return!1;return!0}return e!==e&&t!==t}var Y6=function(t,r){try{return Fc(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}},K6=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,q6=YP(function(e){return K6.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),X6=q6,Q6=function(t){return t!=="theme"},$w=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?X6:Q6},Dw=function(t,r,n){var a;if(r){var o=r.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&n&&(a=t.__emotion_forwardProp),a},Z6=function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=Dw(t,r,n),u=s||$w(a),l=!u("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,h=1;h` or ``");return e}var Vk=Nr({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "}),oy=Vk[0],Jt=Vk[1],tW=function(){var t=ry(),r=t.colorMode;return m.exports.createElement(G0,{styles:function(a){var o=Ud(a,"styles.global"),i=Gt(o,{theme:a,colorMode:r});if(!!i){var s=Nk(i)(a);return s}}})},rW=["a","b","article","aside","blockquote","button","caption","cite","circle","code","dd","div","dl","dt","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","img","input","kbd","label","li","main","mark","nav","ol","p","path","pre","q","rect","s","svg","section","select","strong","small","span","sub","sup","table","tbody","td","textarea","tfoot","th","thead","tr","ul"];function jr(e){return q0(e,["styleConfig","size","variant","colorScheme"])}function nW(){var e=ry(),t=Wk();return Ch({},e,{theme:t})}function iy(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var aW=new Set([].concat(T6,["textStyle","layerStyle","apply","isTruncated","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"])),oW=new Set(["htmlWidth","htmlHeight","htmlSize"]),iW=function(t){return oW.has(t)||!aW.has(t)},sW=["theme","css","__css","sx"],uW=["baseStyle"],lW=function(t){var r=t.baseStyle;return function(n){n.theme;var a=n.css,o=n.__css,i=n.sx,s=iy(n,sW),u=lk(s,function(d,h){return k6(h)}),l=Gt(r,n),c=Object.assign({},o,l,X0(u),i),f=Nk(c)(n.theme);return a?[f,a]:f}};function cW(e,t){var r=t!=null?t:{},n=r.baseStyle,a=iy(r,uW);a.shouldForwardProp||(a.shouldForwardProp=iW);var o=lW({baseStyle:n});return Eh(e,a)(o)}var re=cW;rW.forEach(function(e){re[e]=re(e)});function ve(e){return m.exports.forwardRef(e)}var fW=["styleConfig"];function xa(e,t,r){var n;t===void 0&&(t={}),r===void 0&&(r={});var a=t,o=a.styleConfig,i=iy(a,fW),s=nW(),u=s.theme,l=s.colorMode,c=Ud(u,"components."+e),f=o||c,d=gr({theme:u,colorMode:l},(n=f==null?void 0:f.defaultProps)!=null?n:{},X0(q0(i,["children"]))),h=m.exports.useRef({});if(f){var g,y,v,p,b,x,w=Gt((g=f.baseStyle)!=null?g:{},d),C=Gt((y=(v=f.variants)==null?void 0:v[d.variant])!=null?y:{},d),E=Gt((p=(b=f.sizes)==null?void 0:b[d.size])!=null?p:{},d),T=gr({},w,E,C);(x=r)!=null&&x.isMultiPart&&f.parts&&f.parts.forEach(function(P){var D;T[P]=(D=T[P])!=null?D:{}});var O=Y6(h.current,T);O||(h.current=T)}return h.current}function ul(e,t){return xa(e,t,{isMultiPart:!0})}var dW=function(t){var r=t.children,n=t.colorModeManager,a=t.portalZIndex,o=t.resetCSS,i=o===void 0?!0:o,s=t.theme,u=s===void 0?{}:s,l=t.environment,c=t.cssVarsRoot,f=m.exports.createElement(Mz,{environment:l},r);return m.exports.createElement(cz,null,m.exports.createElement(eW,{theme:u,cssVarsRoot:c},m.exports.createElement(Vz,{colorModeManager:n,options:u.config},i&&m.exports.createElement(vj,null),m.exports.createElement(tW,null),a?m.exports.createElement(Sz,{zIndex:a},f):f)))};function ht(e,t){vW(e)&&(e="100%");var r=pW(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function Kl(e){return Math.min(1,Math.max(0,e))}function vW(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function pW(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Uk(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ql(e){return e<=1?Number(e)*100+"%":e}function Ga(e){return e.length===1?"0"+e:String(e)}function mW(e,t,r){return{r:ht(e,255)*255,g:ht(t,255)*255,b:ht(r,255)*255}}function Rw(e,t,r){e=ht(e,255),t=ht(t,255),r=ht(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=0,s=(n+a)/2;if(n===a)i=0,o=0;else{var u=n-a;switch(i=s>.5?u/(2-n-a):u/(n+a),n){case e:o=(t-r)/u+(t1&&(r-=1),r<1/6?e+(t-e)*(6*r):r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hW(e,t,r){var n,a,o;if(e=ht(e,360),t=ht(t,100),r=ht(r,100),t===0)a=r,o=r,n=r;else{var i=r<.5?r*(1+t):r+t-r*t,s=2*r-i;n=Cp(s,i,e+1/3),a=Cp(s,i,e),o=Cp(s,i,e-1/3)}return{r:n*255,g:a*255,b:o*255}}function Aw(e,t,r){e=ht(e,255),t=ht(t,255),r=ht(r,255);var n=Math.max(e,t,r),a=Math.min(e,t,r),o=0,i=n,s=n-a,u=n===0?0:s/n;if(n===a)o=0;else{switch(n){case e:o=(t-r)/s+(t>16,g:(e&65280)>>8,b:e&255}}var Th={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function wW(e){var t={r:0,g:0,b:0},r=1,n=null,a=null,o=null,i=!1,s=!1;return typeof e=="string"&&(e=CW(e)),typeof e=="object"&&(pn(e.r)&&pn(e.g)&&pn(e.b)?(t=mW(e.r,e.g,e.b),i=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):pn(e.h)&&pn(e.s)&&pn(e.v)?(n=ql(e.s),a=ql(e.v),t=gW(e.h,n,a),i=!0,s="hsv"):pn(e.h)&&pn(e.s)&&pn(e.l)&&(n=ql(e.s),o=ql(e.l),t=hW(e.h,n,o),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(r=e.a)),r=Uk(r),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:r}}var SW="[-\\+]?\\d+%?",EW="[-\\+]?\\d*\\.\\d+%?",Kn="(?:"+EW+")|(?:"+SW+")",Tp="[\\s|\\(]+("+Kn+")[,|\\s]+("+Kn+")[,|\\s]+("+Kn+")\\s*\\)?",Pp="[\\s|\\(]+("+Kn+")[,|\\s]+("+Kn+")[,|\\s]+("+Kn+")[,|\\s]+("+Kn+")\\s*\\)?",Rr={CSS_UNIT:new RegExp(Kn),rgb:new RegExp("rgb"+Tp),rgba:new RegExp("rgba"+Pp),hsl:new RegExp("hsl"+Tp),hsla:new RegExp("hsla"+Pp),hsv:new RegExp("hsv"+Tp),hsva:new RegExp("hsva"+Pp),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function CW(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Th[e])e=Th[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=Rr.rgb.exec(e);return r?{r:r[1],g:r[2],b:r[3]}:(r=Rr.rgba.exec(e),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=Rr.hsl.exec(e),r?{h:r[1],s:r[2],l:r[3]}:(r=Rr.hsla.exec(e),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=Rr.hsv.exec(e),r?{h:r[1],s:r[2],v:r[3]}:(r=Rr.hsva.exec(e),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=Rr.hex8.exec(e),r?{r:rr(r[1]),g:rr(r[2]),b:rr(r[3]),a:Mw(r[4]),format:t?"name":"hex8"}:(r=Rr.hex6.exec(e),r?{r:rr(r[1]),g:rr(r[2]),b:rr(r[3]),format:t?"name":"hex"}:(r=Rr.hex4.exec(e),r?{r:rr(r[1]+r[1]),g:rr(r[2]+r[2]),b:rr(r[3]+r[3]),a:Mw(r[4]+r[4]),format:t?"name":"hex8"}:(r=Rr.hex3.exec(e),r?{r:rr(r[1]+r[1]),g:rr(r[2]+r[2]),b:rr(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function pn(e){return Boolean(Rr.CSS_UNIT.exec(String(e)))}var ll=function(){function e(t,r){t===void 0&&(t=""),r===void 0&&(r={});var n;if(t instanceof e)return t;typeof t=="number"&&(t=xW(t)),this.originalInput=t;var a=wW(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(n=r.format)!==null&&n!==void 0?n:a.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),r,n,a,o=t.r/255,i=t.g/255,s=t.b/255;return o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*r+.7152*n+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Uk(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=Aw(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=Aw(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv("+r+", "+n+"%, "+a+"%)":"hsva("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHsl=function(){var t=Rw(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Rw(this.r,this.g,this.b),r=Math.round(t.h*360),n=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl("+r+", "+n+"%, "+a+"%)":"hsla("+r+", "+n+"%, "+a+"%, "+this.roundA+")"},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Iw(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),yW(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),n=Math.round(this.b);return this.a===1?"rgb("+t+", "+r+", "+n+")":"rgba("+t+", "+r+", "+n+", "+this.roundA+")"},e.prototype.toPercentageRgb=function(){var t=function(r){return Math.round(ht(r,255)*100)+"%"};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(ht(r,255)*100)};return this.a===1?"rgb("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%)":"rgba("+t(this.r)+"%, "+t(this.g)+"%, "+t(this.b)+"%, "+this.roundA+")"},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Iw(this.r,this.g,this.b,!1),r=0,n=Object.entries(Th);r=0,o=!r&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(n=this.toRgbString()),t==="prgb"&&(n=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(n=this.toHexString()),t==="hex3"&&(n=this.toHexString(!0)),t==="hex4"&&(n=this.toHex8String(!0)),t==="hex8"&&(n=this.toHex8String()),t==="name"&&(n=this.toName()),t==="hsl"&&(n=this.toHslString()),t==="hsv"&&(n=this.toHsvString()),n||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=Kl(r.l),new e(r)},e.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new e(r)},e.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=Kl(r.l),new e(r)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=Kl(r.s),new e(r)},e.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=Kl(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,new e(r)},e.prototype.mix=function(t,r){r===void 0&&(r=50);var n=this.toRgb(),a=new e(t).toRgb(),o=r/100,i={r:(a.r-n.r)*o+n.r,g:(a.g-n.g)*o+n.g,b:(a.b-n.b)*o+n.b,a:(a.a-n.a)*o+n.a};return new e(i)},e.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var n=this.toHsl(),a=360/r,o=[this];for(n.h=(n.h-(a*t>>1)+720)%360;--t;)n.h=(n.h+a)%360,o.push(new e(n));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),n=r.h,a=r.s,o=r.v,i=[],s=1/t;t--;)i.push(new e({h:n,s:a,v:o})),o=(o+s)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),n=new e(t).toRgb();return new e({r:n.r+(r.r-n.r)*r.a,g:n.g+(r.g-n.g)*r.a,b:n.b+(r.b-n.b)*r.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),n=r.h,a=[this],o=360/t,i=1;ir.length;)e.count=null,e.seed&&(e.seed+=1),r.push(Hk(e));return e.count=t,r}var n=TW(e.hue,e.seed),a=PW(n,e),o=kW(n,a,e),i={h:n,s:a,v:o};return e.alpha!==void 0&&(i.a=e.alpha),new ll(i)}function TW(e,t){var r=_W(e),n=Of(r,t);return n<0&&(n=360+n),n}function PW(e,t){if(t.hue==="monochrome")return 0;if(t.luminosity==="random")return Of([0,100],t.seed);var r=Gk(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55;break}return Of([n,a],t.seed)}function kW(e,t,r){var n=OW(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100;break}return Of([n,a],r.seed)}function OW(e,t){for(var r=Gk(e).lowerBounds,n=0;n=a&&t<=i){var u=(s-o)/(i-a),l=o-u*a;return u*t+l}}return 0}function _W(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if(typeof e=="string"){var r=Kk.find(function(i){return i.name===e});if(r){var n=Yk(r);if(n.hueRange)return n.hueRange}var a=new ll(e);if(a.isValid){var o=a.toHsv().h;return[o,o]}}return[0,360]}function Gk(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=Kk;t=a.hueRange[0]&&e<=a.hueRange[1])return a}throw Error("Color not found")}function Of(e,t){if(t===void 0)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0;t=(t*9301+49297)%233280;var a=t/233280;return Math.floor(n+a*(r-n))}function Yk(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var Kk=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],ot=function(t,r,n){var a=Ud(t,"colors."+r,r),o=new ll(a),i=o.isValid;return i?a:n},$W=function(t){return function(r){var n=ot(r,t),a=new ll(n).isDark();return a?"dark":"light"}},DW=function(t){return function(r){return $W(t)(r)==="dark"}},Pi=function(t,r){return function(n){var a=ot(n,t);return new ll(a).setAlpha(r).toRgbString()}};function Fw(e,t){return e===void 0&&(e="1rem"),t===void 0&&(t="rgba(255, 255, 255, 0.15)"),{backgroundImage:`linear-gradient( + 45deg, + `+t+` 25%, + transparent 25%, + transparent 50%, + `+t+` 50%, + `+t+` 75%, + transparent 75%, + transparent + )`,backgroundSize:e+" "+e}}function RW(e){var t=Hk().toHexString();return!e||xj(e)?t:e.string&&e.colors?IW(e.string,e.colors):e.string&&!e.colors?AW(e.string):e.colors&&!e.string?MW(e.colors):t}function AW(e){var t=0;if(e.length===0)return t.toString();for(var r=0;r>a*8&255;n+=("00"+o.toString(16)).substr(-2)}return n}function IW(e,t){var r=0;if(e.length===0)return t[0];for(var n=0;n1?r-1:0),a=1;a option, > optgroup":{bg:M("white","gray.700")(t)}})},gH={width:"1.5rem",height:"100%",insetEnd:"0.5rem",position:"relative",color:"currentColor",fontSize:"1.25rem",_disabled:{opacity:.5}},yH=function(t){return{field:hH(t),icon:gH}},tc={paddingInlineEnd:"2rem"},bH=gr({},Ne.sizes,{lg:{field:tc},md:{field:tc},sm:{field:tc},xs:{field:tc,icon:{insetEnd:"0.25rem"}}}),xH={parts:uV.keys,baseStyle:yH,sizes:bH,variants:Ne.variants,defaultProps:Ne.defaultProps},wH=function(t,r){return rk({from:{borderColor:t,background:t},to:{borderColor:r,background:r}})},SH=function(t){var r=M("gray.100","gray.800")(t),n=M("gray.400","gray.600")(t),a=t.startColor,o=a===void 0?r:a,i=t.endColor,s=i===void 0?n:i,u=t.speed,l=t.theme,c=ot(l,o),f=ot(l,s);return{opacity:.7,borderRadius:"2px",borderColor:c,background:f,animation:u+"s linear infinite alternate "+wH(c,f)}},EH={baseStyle:SH},CH=function(t){return{borderRadius:"md",fontWeight:"semibold",_focus:{boxShadow:"outline",padding:"1rem",position:"fixed",top:"1.5rem",insetStart:"1.5rem",bg:M("white","gray.700")(t)}}},TH={baseStyle:CH};function PH(e){return cl({orientation:e.orientation,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}})}var kH=function(t){var r=t.orientation;return Je({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},cl({orientation:r,vertical:{h:"100%"},horizontal:{w:"100%"}}))},OH=function(t){return{overflow:"hidden",borderRadius:"sm",bg:M("gray.200","whiteAlpha.200")(t),_disabled:{bg:M("gray.300","whiteAlpha.300")(t)}}},_H=function(t){return Je({display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focus:{boxShadow:"outline"},_disabled:{bg:"gray.300"}},PH(t))},$H=function(t){var r=t.colorScheme;return{width:"inherit",height:"inherit",bg:M(r+".500",r+".200")(t)}},DH=function(t){return{container:kH(t),track:OH(t),thumb:_H(t),filledTrack:$H(t)}},RH=function(t){return{thumb:{w:"16px",h:"16px"},track:cl({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},AH=function(t){return{thumb:{w:"14px",h:"14px"},track:cl({orientation:t.orientation,horizontal:{h:"4px"},vertical:{w:"4px"}})}},IH=function(t){return{thumb:{w:"10px",h:"10px"},track:cl({orientation:t.orientation,horizontal:{h:"2px"},vertical:{w:"2px"}})}},MH={lg:RH,md:AH,sm:IH},FH={size:"md",colorScheme:"blue"},LH={parts:lV.keys,sizes:MH,baseStyle:DH,defaultProps:FH},Op,_p,$p,Dp,Rp,Na=cr("spinner-size"),BH={width:[Na.reference],height:[Na.reference]},NH={xs:(Op={},Op[Na.variable]="0.75rem",Op),sm:(_p={},_p[Na.variable]="1rem",_p),md:($p={},$p[Na.variable]="1.5rem",$p),lg:(Dp={},Dp[Na.variable]="2rem",Dp),xl:(Rp={},Rp[Na.variable]="3rem",Rp)},jH={size:"md"},zH={baseStyle:BH,sizes:NH,defaultProps:jH},WH={fontWeight:"medium"},VH={opacity:.8,marginBottom:2},UH={verticalAlign:"baseline",fontWeight:"semibold"},HH={marginEnd:1,w:"14px",h:"14px",verticalAlign:"middle"},GH={container:{},label:WH,helpText:VH,number:UH,icon:HH},YH={md:{label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}}},KH={size:"md"},qH={parts:cV.keys,baseStyle:GH,sizes:YH,defaultProps:KH},rc,nc,ac,Xs=cr("switch-track-width"),qa=cr("switch-track-height"),Ap=cr("switch-track-diff"),XH=wn.subtract(Xs,qa),Oh=cr("switch-thumb-x"),QH=function(t){var r=t.colorScheme;return{borderRadius:"full",p:"2px",width:[Xs.reference],height:[qa.reference],transitionProperty:"common",transitionDuration:"fast",bg:M("gray.300","whiteAlpha.400")(t),_focus:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{bg:M(r+".500",r+".200")(t)}}},ZH={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[qa.reference],height:[qa.reference],_checked:{transform:"translateX("+Oh.reference+")"}},JH=function(t){var r,n;return{container:(n={},n[Ap.variable]=XH,n[Oh.variable]=Ap.reference,n._rtl=(r={},r[Oh.variable]=wn(Ap).negate().toString(),r),n),track:QH(t),thumb:ZH}},e9={sm:{container:(rc={},rc[Xs.variable]="1.375rem",rc[qa.variable]="0.75rem",rc)},md:{container:(nc={},nc[Xs.variable]="1.875rem",nc[qa.variable]="1rem",nc)},lg:{container:(ac={},ac[Xs.variable]="2.875rem",ac[qa.variable]="1.5rem",ac)}},t9={size:"md",colorScheme:"blue"},r9={parts:fV.keys,baseStyle:JH,sizes:e9,defaultProps:t9},n9={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"}},_f={"&[data-is-numeric=true]":{textAlign:"end"}},a9=function(t){var r=t.colorScheme;return{th:Je({color:M("gray.600","gray.400")(t),borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},_f),td:Je({borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},_f),caption:{color:M("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},o9=function(t){var r=t.colorScheme;return{th:Je({color:M("gray.600","gray.400")(t),borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},_f),td:Je({borderBottom:"1px",borderColor:M(r+".100",r+".700")(t)},_f),caption:{color:M("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:M(r+".100",r+".700")(t)},td:{background:M(r+".100",r+".700")(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}},i9={simple:a9,striped:o9,unstyled:{}},s9={sm:{th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}},md:{th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}},lg:{th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}}},u9={variant:"simple",size:"md",colorScheme:"gray"},l9={parts:dV.keys,baseStyle:n9,variants:i9,sizes:s9,defaultProps:u9},c9=function(t){var r=t.orientation;return{display:r==="vertical"?"flex":"block"}},f9=function(t){var r=t.isFitted;return{flex:r?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focus:{zIndex:1,boxShadow:"outline"}}},d9=function(t){var r=t.align,n=r===void 0?"start":r,a=t.orientation,o={end:"flex-end",center:"center",start:"flex-start"};return{justifyContent:o[n],flexDirection:a==="vertical"?"column":"row"}},v9={p:4},p9=function(t){return{root:c9(t),tab:f9(t),tablist:d9(t),tabpanel:v9}},m9={sm:{tab:{py:1,px:4,fontSize:"sm"}},md:{tab:{fontSize:"md",py:2,px:4}},lg:{tab:{fontSize:"lg",py:3,px:4}}},h9=function(t){var r,n,a=t.colorScheme,o=t.orientation,i=o==="vertical",s=o==="vertical"?"borderStart":"borderBottom",u=i?"marginStart":"marginBottom";return{tablist:(r={},r[s]="2px solid",r.borderColor="inherit",r),tab:(n={},n[s]="2px solid",n.borderColor="transparent",n[u]="-2px",n._selected={color:M(a+".600",a+".300")(t),borderColor:"currentColor"},n._active={bg:M("gray.200","whiteAlpha.300")(t)},n._disabled={opacity:.4,cursor:"not-allowed"},n)}},g9=function(t){var r=t.colorScheme;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",_selected:{color:M(r+".600",r+".300")(t),borderColor:"inherit",borderBottomColor:M("white","gray.800")(t)}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},y9=function(t){var r=t.colorScheme;return{tab:{border:"1px solid",borderColor:"inherit",bg:M("gray.50","whiteAlpha.50")(t),mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{bg:M("#fff","gray.800")(t),color:M(r+".600",r+".300")(t),borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"}},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}},b9=function(t){var r=t.colorScheme,n=t.theme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:ot(n,r+".700"),bg:ot(n,r+".100")}}}},x9=function(t){var r=t.colorScheme;return{tab:{borderRadius:"full",fontWeight:"semibold",color:M("gray.600","inherit")(t),_selected:{color:M("#fff","gray.800")(t),bg:M(r+".600",r+".300")(t)}}}},w9={},S9={line:h9,enclosed:g9,"enclosed-colored":y9,"soft-rounded":b9,"solid-rounded":x9,unstyled:w9},E9={size:"md",variant:"line",colorScheme:"blue"},C9={parts:vV.keys,baseStyle:p9,sizes:m9,variants:S9,defaultProps:E9},T9={fontWeight:"medium",lineHeight:1.2,outline:0,_focus:{boxShadow:"outline"}},P9={lineHeight:1.2,overflow:"visible"},k9={fontSize:"18px",w:"1.25rem",h:"1.25rem",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"0.375rem",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focus:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}},O9={container:T9,label:P9,closeButton:k9},_9={sm:{container:{minH:"1.25rem",minW:"1.25rem",fontSize:"xs",px:2,borderRadius:"md"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}},md:{container:{minH:"1.5rem",minW:"1.5rem",fontSize:"sm",borderRadius:"md",px:2}},lg:{container:{minH:8,minW:8,fontSize:"md",borderRadius:"md",px:3}}},$9={subtle:function(t){return{container:ui.variants.subtle(t)}},solid:function(t){return{container:ui.variants.solid(t)}},outline:function(t){return{container:ui.variants.outline(t)}}},D9={size:"md",variant:"subtle",colorScheme:"gray"},R9={parts:pV.keys,variants:$9,baseStyle:O9,sizes:_9,defaultProps:D9},Hw,Gw,Yw,Kw,qw,A9=Je({},Ne.baseStyle.field,{paddingY:"8px",minHeight:"80px",lineHeight:"short",verticalAlign:"top"}),I9={outline:function(t){var r;return(r=Ne.variants.outline(t).field)!=null?r:{}},flushed:function(t){var r;return(r=Ne.variants.flushed(t).field)!=null?r:{}},filled:function(t){var r;return(r=Ne.variants.filled(t).field)!=null?r:{}},unstyled:(Hw=Ne.variants.unstyled.field)!=null?Hw:{}},M9={xs:(Gw=Ne.sizes.xs.field)!=null?Gw:{},sm:(Yw=Ne.sizes.sm.field)!=null?Yw:{},md:(Kw=Ne.sizes.md.field)!=null?Kw:{},lg:(qw=Ne.sizes.lg.field)!=null?qw:{}},F9={size:"md",variant:"outline"},L9={baseStyle:A9,sizes:M9,variants:I9,defaultProps:F9},Ip=cr("tooltip-bg"),B9=cr("popper-arrow-bg"),N9=function(t){var r,n=M("gray.700","gray.300")(t);return r={},r[Ip.variable]="colors."+n,r.px="8px",r.py="2px",r.bg=[Ip.reference],r[B9.variable]=[Ip.reference],r.color=M("whiteAlpha.900","gray.900")(t),r.borderRadius="sm",r.fontWeight="medium",r.fontSize="sm",r.boxShadow="md",r.maxW="320px",r.zIndex="tooltip",r},j9={baseStyle:N9},z9=function(t){return{color:M("red.500","red.300")(t),mt:2,fontSize:"sm"}},W9=function(t){return{marginEnd:"0.5em",color:M("red.500","red.300")(t)}},V9=function(t){return{text:z9(t),icon:W9(t)}},U9={parts:JW.keys,baseStyle:V9},H9={Accordion:xV,Alert:OV,Avatar:BV,Badge:ui,Breadcrumb:YV,Button:nU,Checkbox:uy,CloseButton:vU,Code:gU,Container:bU,Divider:TU,Drawer:FU,Editable:jU,Form:UU,FormLabel:GU,Heading:XU,Input:Ne,Kbd:i8,Link:u8,List:f8,Menu:b8,Modal:$8,NumberInput:z8,PinInput:G8,Popover:rH,Progress:cH,Radio:mH,Select:xH,Skeleton:EH,SkipLink:TH,Slider:LH,Spinner:zH,Stat:qH,Switch:r9,Table:l9,Tabs:C9,Tag:R9,Textarea:L9,Tooltip:j9,FormError:U9},G9={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},Y9=G9,K9=FW({sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"}),q9=K9,X9={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"}},Q9=X9,Z9={none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},J9=Z9,e7={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"},t7=e7,r7={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"},n7={"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)"},a7={"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"},o7={property:r7,easing:n7,duration:a7},i7=o7,s7={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},u7=s7,l7={none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},c7=l7,f7=Je({breakpoints:q9,zIndices:u7,radii:J9,blur:c7,colors:Q9},eO,{sizes:Zk,shadows:t7,space:Qk,borders:Y9,transition:i7}),d7=f7,v7={global:function(t){return{body:{fontFamily:"body",color:M("gray.800","whiteAlpha.900")(t),bg:M("white","gray.800")(t),transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:M("gray.400","whiteAlpha.400")(t)},"*, *::before, &::after":{borderColor:M("gray.200","whiteAlpha.300")(t),wordWrap:"break-word"}}}},p7=v7,m7=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function h7(e){return xr(e)?m7.every(function(t){return Object.prototype.hasOwnProperty.call(e,t)}):!1}var g7="ltr",y7={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},rO=Je({direction:g7},d7,{components:H9,styles:p7,config:y7});function Qs(){return Qs=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var x7=["as","viewBox","color","focusable","children","className","__css"],Xw={path:m.exports.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},m.exports.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),m.exports.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),m.exports.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},w7=ve(function(e,t){var r=e.as,n=e.viewBox,a=e.color,o=a===void 0?"currentColor":a,i=e.focusable,s=i===void 0?!1:i,u=e.children,l=e.className,c=e.__css,f=b7(e,x7),d=we("chakra-icon",l),h=Qs({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o},c),g={ref:t,focusable:s,className:d,__css:h},y=n!=null?n:Xw.viewBox;if(r&&typeof r!="string")return m.exports.createElement(re.svg,Qs({as:r},g,f));var v=u!=null?u:Xw.path;return m.exports.createElement(re.svg,Qs({verticalAlign:"middle",viewBox:y},g,f),v)}),_h=function(e,t){return _h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},_h(e,t)};function nO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_h(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var L=function(){return L=Object.assign||function(t){for(var r,n=1,a=arguments.length;n0)&&!(a=n.next()).done;)o.push(a.value)}catch(s){i={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function It(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n-1||/[A-Z]/.test(e))}var Zs={};function z7(e){for(var t in e)Zs[t]=e[t]}var W7=["","X","Y","Z"],V7=["translate","scale","rotate","skew"],$u=["transformPerspective","x","y","z"];V7.forEach(function(e){return W7.forEach(function(t){return $u.push(e+t)})});function U7(e,t){return $u.indexOf(e)-$u.indexOf(t)}var H7=new Set($u);function tv(e){return H7.has(e)}var G7=new Set(["originX","originY","originZ"]);function lO(e){return G7.has(e)}function cO(e,t){var r=t.layout,n=t.layoutId;return tv(e)||lO(e)||(r||n!==void 0)&&(!!Zs[e]||e==="opacity")}var da=function(e){return e!==null&&typeof e=="object"&&e.getVelocity},Y7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function K7(e,t,r,n){var a=e.transform,o=e.transformKeys,i=t.enableHardwareAcceleration,s=i===void 0?!0:i,u=t.allowTransformNone,l=u===void 0?!0:u,c="";o.sort(U7);for(var f=!1,d=o.length,h=0;h5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}var Rh={test:py("#"),parse:tG,transform:Go.transform},Rt={test:function(e){return Go.test(e)||Rh.test(e)||Ho.test(e)},parse:function(e){return Go.test(e)?Go.parse(e):Ho.test(e)?Ho.parse(e):Rh.parse(e)},transform:function(e){return vl(e)?e:e.hasOwnProperty("red")?Go.transform(e):Ho.transform(e)}},pO="${c}",mO="${n}";function rG(e){var t,r,n,a;return isNaN(e)&&vl(e)&&((r=(t=e.match(Du))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((a=(n=e.match(Dh))===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)>0}function hO(e){var t=[],r=0,n=e.match(Dh);n&&(r=n.length,e=e.replace(Dh,pO),t.push.apply(t,n.map(Rt.parse)));var a=e.match(Du);return a&&(e=e.replace(Du,mO),t.push.apply(t,a.map(yo.parse))),{values:t,numColors:r,tokenised:e}}function gO(e){return hO(e).values}function yO(e){var t=hO(e),r=t.values,n=t.numColors,a=t.tokenised,o=r.length;return function(i){for(var s=a,u=0;u0?-1:1;return E*((b-x)*w)/C}):(l=function(y){var v=Math.exp(-y*r),p=(y-i)*r+1;return-Lp+v*p},c=function(y){var v=Math.exp(-y*r),p=(i-y)*(r*r);return v*p});var d=5/r,h=KG(l,c,d);if(r=r*1e3,isNaN(h))return{stiffness:100,damping:10,duration:r};var g=Math.pow(h,2)*u;return{stiffness:g,damping:f*2*Math.sqrt(u*g),duration:r}}var YG=12;function KG(e,t,r){for(var n=r,a=1;a=y;else{var E=b(w)*1e3,T=Math.abs(E)<=i,O=Math.abs(a-C)<=s;l.done=T&&O}return l.value=l.done?a:C,l},flipTarget:function(){var w;g=-g,w=[a,r],r=w[0],a=w[1],x()}}}Ey.needsInterpolation=function(e,t){return typeof e=="string"||typeof t=="string"};var sS=function(e){return 0},Au=function(e,t,r){var n=t-e;return n===0?1:(r-e)/n},Zt=function(e,t,r){return-r*e+r*t+e},ZG=function(e,t,r){var n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},JG=[Rh,Go,Ho],uS=function(e){return JG.find(function(t){return t.test(e)})},LO=function(e,t){var r=uS(e),n=uS(t);Ou(r.transform===n.transform);var a=r.parse(e),o=n.parse(t),i=L({},a),s=r===Ho?Zt:ZG;return function(u){for(var l in i)l!=="alpha"&&(i[l]=s(a[l],o[l],u));return i.alpha=Zt(a.alpha,o.alpha,u),r.transform(i)}},Fh=function(e){return typeof e=="number"},eY=function(e,t){return function(r){return t(e(r))}},ml=function(){for(var e=[],t=0;t=e[n]&&(o=n-1,i=!0),!i){for(var s=1;sa||s===n);s++);o=s-1}var u=Au(e[o],e[o+1],a);return t[o](u)}}function zO(e,t,r){var n=r===void 0?{}:r,a=n.clamp,o=a===void 0?!0:a,i=n.ease,s=n.mixer,u=e.length;Ou(u===t.length),Ou(!i||!Array.isArray(i)||i.length===u-1),e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=aY(t,i,s),c=u===2?oY(e,l):iY(e,l);return o?function(f){return c(Rf(e[0],e[u-1],f))}:c}var rv=function(e){return function(t){return 1-e(1-t)}},Cy=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},sY=function(e){return function(t){return Math.pow(t,e)}},WO=function(e){return function(t){return t*t*((e+1)*t-e)}},uY=function(e){var t=WO(e);return function(r){return(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))}},VO=1.525,lY=4/11,cY=8/11,fY=9/10,UO=function(e){return e},Ty=sY(2),dY=rv(Ty),HO=Cy(Ty),GO=function(e){return 1-Math.sin(Math.acos(e))},YO=rv(GO),vY=Cy(YO),Py=WO(VO),pY=rv(Py),mY=Cy(Py),hY=uY(VO),gY=4356/361,yY=35442/1805,bY=16061/1805,Af=function(e){if(e===1||e===0)return e;var t=e*e;return e=u,l},flipTarget:function(){c.reverse(),h=d()}}}function TY(e){var t=e.velocity,r=t===void 0?0:t,n=e.from,a=n===void 0?0:n,o=e.power,i=o===void 0?.8:o,s=e.timeConstant,u=s===void 0?350:s,l=e.restDelta,c=l===void 0?.5:l,f=e.modifyTarget,d={done:!1,value:a},h=i*r,g=a+h,y=f===void 0?g:f(g);return y!==g&&(h=y-a),{next:function(v){var p=-h*Math.exp(-v/u);return d.done=!(p>c||p<-c),d.value=d.done?y:y+p,d},flipTarget:function(){}}}var cS={keyframes:Lc,spring:Ey,decay:TY};function PY(e){if(Array.isArray(e.to))return Lc;if(cS[e.type])return cS[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Lc:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ey:Lc}function KO(e,t,r){return r===void 0&&(r=0),e-t-r}function kY(e,t,r,n){return r===void 0&&(r=0),n===void 0&&(n=!0),n?KO(t+-e,t,r):t-(e-t)+r}function OY(e,t,r,n){return n?e>=t+r:e<=-r}var _Y=function(e){var t=function(r){var n=r.delta;return e(n)};return{start:function(){return Zr.update(t,!0)},stop:function(){return Ys.update(t)}}};function qO(e){var t,r,n=e.from,a=e.autoplay,o=a===void 0?!0:a,i=e.driver,s=i===void 0?_Y:i,u=e.elapsed,l=u===void 0?0:u,c=e.repeat,f=c===void 0?0:c,d=e.repeatType,h=d===void 0?"loop":d,g=e.repeatDelay,y=g===void 0?0:g,v=e.onPlay,p=e.onStop,b=e.onComplete,x=e.onRepeat,w=e.onUpdate,C=er(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),E=C.to,T,O=0,P=C.duration,D,F=!1,W=!0,j,z=PY(C);!((r=(t=z).needsInterpolation)===null||r===void 0)&&r.call(t,n,E)&&(j=zO([0,100],[n,E],{clamp:!1}),n=0,E=100);var Y=z(L(L({},C),{from:n,to:E}));function V(){O++,h==="reverse"?(W=O%2===0,l=kY(l,P,y,W)):(l=KO(l,P,y),h==="mirror"&&Y.flipTarget()),F=!1,x&&x()}function G(){T.stop(),b&&b()}function Z(ne){if(W||(ne=-ne),l+=ne,!F){var A=Y.next(Math.max(0,l));D=A.value,j&&(D=j(D)),F=W?A.done:l<=0}w==null||w(D),F&&(O===0&&(P!=null||(P=l)),Oi}function T(V){return o===void 0?i:i===void 0||Math.abs(o-V)F||W===-1&&V0?r=i:t=i;while(Math.abs(o)>DY&&++s=MY?FY(s,d,e,r):h===0?d:AY(s,u,u+sc,e,r)}return function(s){return s===0||s===1?s:If(i(s),t,n)}}function BY(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,o=e.visualElement,i=t||r||n||a,s=m.exports.useRef(!1),u=m.exports.useRef(null);function l(){var g;(g=u.current)===null||g===void 0||g.call(u),u.current=null}function c(){var g;return l(),s.current=!1,(g=o.animationState)===null||g===void 0||g.setActive(Ye.Tap,!1),!MO()}function f(g,y){!c()||(FO(o.getInstance(),g.target)?t==null||t(g,y):n==null||n(g,y))}function d(g,y){!c()||n==null||n(g,y)}function h(g,y){var v;l(),!s.current&&(s.current=!0,u.current=ml(ci(window,"pointerup",f),ci(window,"pointercancel",d)),r==null||r(g,y),(v=o.animationState)===null||v===void 0||v.setActive(Ye.Tap,!0))}Df(o,"pointerdown",i?h:void 0),Sy(l)}var Xa=function(e){return function(t){return e(t),null}},NY={tap:Xa(BY),focus:Xa($G),hover:Xa(zG)};function r_(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n-1&&e.splice(r,1)}var Nc=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return n_(this.subscriptions,t),function(){return a_(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var a=this.subscriptions.length;if(!!a)if(a===1)this.subscriptions[0](t,r,n);else for(var o=0;ob&&F,Y=Array.isArray(D)?D:[D],V=Y.reduce(o,{});W===!1&&(V={});var G=P.prevResolvedValues,Z=G===void 0?{}:G,te=L(L({},Z),V),ne=function(J){z=!0,v.delete(J),P.needsAnimating[J]=!0};for(var A in te){var I=V[A],N=Z[A];p.hasOwnProperty(A)||(I!==N?Ru(I)&&Ru(N)?r_(I,N)?P.protectedKeys[A]=!0:ne(A):I!==void 0?ne(A):v.add(A):I!==void 0&&v.has(A)?ne(A):P.protectedKeys[A]=!0)}P.prevProp=D,P.prevResolvedValues=V,P.isActive&&(p=L(L({},p),V)),a&&e.blockInitialAnimation&&(z=!1),z&&!j&&y.push.apply(y,It([],Ve(Y.map(function(J){return{animation:J,options:L({type:O},c)}}))))},w=0;w=3;if(!(!h&&!g)){var y=d.point,v=Sf().timestamp;a.history.push(L(L({},y),{timestamp:v}));var p=a.handlers,b=p.onStart,x=p.onMove;h||(b&&b(a.lastMoveEvent,d),a.startEvent=a.lastMoveEvent),x&&x(a.lastMoveEvent,d)}}},this.handlePointerMove=function(d,h){if(a.lastMoveEvent=d,a.lastMoveEventInfo=Np(h,a.transformPagePoint),_O(d)&&d.buttons===0){a.handlePointerUp(d,h);return}Zr.update(a.updatePoint,!0)},this.handlePointerUp=function(d,h){a.end();var g=a.handlers,y=g.onEnd,v=g.onSessionEnd,p=jp(Np(h,a.transformPagePoint),a.history);a.startEvent&&y&&y(d,p),v&&v(d,p)},!($O(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=i;var s=wy(t),u=Np(s,this.transformPagePoint),l=u.point,c=Sf().timestamp;this.history=[L(L({},l),{timestamp:c})];var f=r.onSessionStart;f&&f(t,jp(u,this.history)),this.removeListeners=ml(ci(window,"pointermove",this.handlePointerMove),ci(window,"pointerup",this.handlePointerUp),ci(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ys.update(this.updatePoint)},e}();function Np(e,t){return t?{point:t(e.point)}:e}function gS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function jp(e,t){var r=e.point;return{point:r,delta:gS(r,l_(t)),offset:gS(r,bK(t)),velocity:xK(t,.1)}}function bK(e){return e[0]}function l_(e){return e[e.length-1]}function xK(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=l_(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>Mf(t)));)r--;if(!n)return{x:0,y:0};var o=(a.timestamp-n.timestamp)/1e3;if(o===0)return{x:0,y:0};var i={x:(a.x-n.x)/o,y:(a.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function wK(e){return e}function c_(e){var t=e.top,r=e.left,n=e.right,a=e.bottom;return{x:{min:r,max:n},y:{min:t,max:a}}}function SK(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}function EK(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right;t===void 0&&(t=wK);var i=t({x:n,y:r}),s=t({x:o,y:a});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}function va(){return{x:{min:0,max:1},y:{min:0,max:1}}}function CK(e){return{x:L({},e.x),y:L({},e.y)}}var yS={translate:0,scale:1,origin:0,originPoint:0};function bS(){return{x:L({},yS),y:L({},yS)}}function Wt(e){return[e("x"),e("y")]}function f_(e,t,r){var n=t.min,a=t.max;return n!==void 0&&ea&&(e=r?Zt(a,e,r.max):Math.min(e,a)),e}function TK(e,t,r,n,a){var o=e-t*r;return n?f_(o,n,a):o}function xS(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function PK(e,t){var r=t.top,n=t.left,a=t.bottom,o=t.right;return{x:xS(e.x,n,o),y:xS(e.y,r,a)}}function wS(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.minn?r=Au(t.min,t.max-n,e.min):n>a&&(r=Au(e.min,e.max-a,t.min)),DK(r)}function TS(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=Zt(t.min,t.max,e.origin),e.scale=Iu(r)/Iu(t),CS(e.scale,1,1e-4)&&(e.scale=1),e.translate=Zt(r.min,r.max,e.origin)-e.originPoint,CS(e.translate)&&(e.translate=0)}function p_(e,t,r,n){TS(e.x,t.x,r.x,PS(n.originX)),TS(e.y,t.y,r.y,PS(n.originY))}function PS(e){return typeof e=="number"?e:.5}function kS(e,t,r){e.min=r.min+t.min,e.max=e.min+Iu(t)}function AK(e,t){kS(e.target.x,e.relativeTarget.x,t.target.x),kS(e.target.y,e.relativeTarget.y,t.target.y)}var Dy=function(e,t){return e.depth-t.depth};function m_(e){var t=e.projection.isEnabled;return t||e.shouldResetTransform()}function Lf(e,t){t===void 0&&(t=[]);var r=e.parent;return r&&Lf(r,t),m_(e)&&t.push(e),t}function IK(e){var t=[],r=function(n){m_(n)&&t.push(n),n.children.forEach(r)};return e.children.forEach(r),t.sort(Dy)}function jc(e){if(!e.shouldResetTransform()){var t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=CK(t.layout),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),Zr.update(function(){return e.rebaseProjectionTarget()})}}function MK(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function FK(e,t,r,n){e.min=Zt(t.min,r.min,n),e.max=Zt(t.max,r.max,n)}function OS(e,t){return{min:t.min-e.min,max:t.max-e.min}}function ki(e,t){return{x:OS(e.x,t.x),y:OS(e.y,t.y)}}function LK(e,t){var r=e.getLayoutId(),n=t.getLayoutId();return r!==n||n===void 0&&e!==t}function h_(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function _S(e,t){e.min=t.min,e.max=t.max}function BK(e,t){_S(e.x,t.x),_S(e.y,t.y)}function Bf(e,t,r){var n=e-r,a=t*n;return r+a}function $S(e,t,r,n,a){return a!==void 0&&(e=Bf(e,a,n)),Bf(e,r,n)+t}function Nh(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),e.min=$S(e.min,t,r,n,a),e.max=$S(e.max,t,r,n,a)}function NK(e,t){var r=t.x,n=t.y;Nh(e.x,r.translate,r.scale,r.originPoint),Nh(e.y,n.translate,n.scale,n.originPoint)}function DS(e,t,r,n){var a=Ve(n,3),o=a[0],i=a[1],s=a[2];e.min=t.min,e.max=t.max;var u=r[s]!==void 0?r[s]:.5,l=Zt(t.min,t.max,u);Nh(e,r[o],r[i],l,r.scale)}var g_=["x","scaleX","originX"],y_=["y","scaleY","originY"];function jh(e,t,r){DS(e.x,t.x,r,g_),DS(e.y,t.y,r,y_)}function RS(e,t,r,n,a){return e-=t,e=Bf(e,1/r,n),a!==void 0&&(e=Bf(e,1/a,n)),e}function jK(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5);var o=Zt(e.min,e.max,n)-t;e.min=RS(e.min,t,r,o,a),e.max=RS(e.max,t,r,o,a)}function AS(e,t,r){var n=Ve(r,3),a=n[0],o=n[1],i=n[2];jK(e,t[a],t[o],t[i],t.scale)}function b_(e,t){AS(e.x,t,g_),AS(e.y,t,y_)}function zK(e,t,r){var n=r.length;if(!!n){t.x=t.y=1;for(var a,o,i=0;it?r="y":Math.abs(e.x)>t&&(r="x"),r}function GK(e){var t=e.dragControls,r=e.visualElement,n=m.exports.useContext(Qd).transformPagePoint,a=_u(function(){return new UK({visualElement:r})});a.setProps(L(L({},e),{transformPagePoint:n})),m.exports.useEffect(function(){return t&&t.subscribe(a)},[a]),m.exports.useEffect(function(){return a.mount(r)},[])}function YK(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,o=e.visualElement,i=t||r||n||a,s=m.exports.useRef(null),u=m.exports.useContext(Qd).transformPagePoint,l={onSessionStart:a,onStart:r,onMove:t,onEnd:function(f,d){s.current=null,n&&n(f,d)}};m.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(l)});function c(f){s.current=new u_(f,l,{transformPagePoint:u})}Df(o,"pointerdown",i&&c),Sy(function(){return s.current&&s.current.end()})}var KK={pan:Xa(YK),drag:Xa(GK)},Mu;(function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"})(Mu||(Mu={}));var Vh;(function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"})(Vh||(Vh={}));function Uh(e){return typeof e=="string"&&e.startsWith("var(--")}var x_=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function qK(e){var t=x_.exec(e);if(!t)return[,];var r=Ve(t,3),n=r[1],a=r[2];return[n,a]}function Hh(e,t,r){var n=Ve(qK(e),2),a=n[0],o=n[1];if(!!a){var i=window.getComputedStyle(t).getPropertyValue(a);return i?i.trim():Uh(o)?Hh(o,t):o}}function XK(e,t,r){var n,a=er(t,[]),o=e.getInstance();if(!(o instanceof HTMLElement))return{target:a,transitionEnd:r};r&&(r=L({},r)),e.forEachValue(function(l){var c=l.get();if(!!Uh(c)){var f=Hh(c,o);f&&l.set(f)}});for(var i in a){var s=a[i];if(!!Uh(s)){var u=Hh(s,o);!u||(a[i]=u,r&&((n=r[i])!==null&&n!==void 0||(r[i]=s)))}}return{target:a,transitionEnd:r}}function LS(e,t){return e/(t.max-t.min)*100}function QK(e,t,r){var n=r.target;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;var a=LS(e,n.x),o=LS(e,n.y);return a+"% "+o+"%"}var BS="_$css";function ZK(e,t){var r=t.delta,n=t.treeScale,a=e,o=e.includes("var("),i=[];o&&(e=e.replace(x_,function(y){return i.push(y),BS}));var s=_n.parse(e);if(s.length>5)return a;var u=_n.createTransformer(e),l=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,f=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=f;var d=Zt(c,f,.5);typeof s[2+l]=="number"&&(s[2+l]/=d),typeof s[3+l]=="number"&&(s[3+l]/=d);var h=u(s);if(o){var g=0;h=h.replace(BS,function(){var y=i[g];return g++,y})}return h}var bs={process:QK},JK={borderRadius:L(L({},bs),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:bs,borderTopRightRadius:bs,borderBottomLeftRadius:bs,borderBottomRightRadius:bs,boxShadow:{process:ZK}},NS=1e3,eq=function(e){nO(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.frameTarget=va(),r.currentAnimationTarget=va(),r.isAnimating={x:!1,y:!1},r.stopAxisAnimation={x:void 0,y:void 0},r.isAnimatingTree=!1,r.animate=function(n,a,o){o===void 0&&(o={});var i=o.originBox,s=o.targetBox,u=o.visibilityAction,l=o.shouldStackAnimate,c=o.onComplete,f=o.prevParent,d=er(o,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),h=r.props,g=h.visualElement,y=h.layout;if(l===!1)return r.isAnimatingTree=!1,r.safeToRemove();if(!(r.isAnimatingTree&&l!==!0)){l&&(r.isAnimatingTree=!0),a=i||a,n=s||n;var v=!1,p=g.getProjectionParent();if(p){var b=p.prevViewportBox,x=p.getLayoutState().layout;f&&(s&&(x=f.getLayoutState().layout),i&&!LK(f,p)&&f.prevViewportBox&&(b=f.prevViewportBox)),b&&aq(f,i,s)&&(v=!0,a=ki(b,a),n=ki(x,n))}var w=rq(a,n),C=Wt(function(E){var T,O;if(y==="position"){var P=n[E].max-n[E].min;a[E].max=a[E].min+P}if(!g.projection.isTargetLocked)if(u!==void 0)g.setVisibility(u===Vh.Show);else return w?r.animateAxis(E,n[E],a[E],L(L({},d),{isRelative:v})):((O=(T=r.stopAxisAnimation)[E])===null||O===void 0||O.call(T),g.setProjectionTargetAxis(E,n[E].min,n[E].max,v))});return g.syncRender(),Promise.all(C).then(function(){r.isAnimatingTree=!1,c&&c(),g.notifyLayoutAnimationComplete()})}},r}return t.prototype.componentDidMount=function(){var r=this,n=this.props.visualElement;n.animateMotionValue=Ff,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return r.safeToRemove()},z7(JK)},t.prototype.componentWillUnmount=function(){var r=this;this.unsubLayoutReady(),Wt(function(n){var a,o;return(o=(a=r.stopAxisAnimation)[n])===null||o===void 0?void 0:o.call(a)})},t.prototype.animateAxis=function(r,n,a,o){var i=this,s,u,l=o===void 0?{}:o,c=l.transition,f=l.isRelative;if(!(this.isAnimating[r]&&Fu(n,this.currentAnimationTarget[r]))){(u=(s=this.stopAxisAnimation)[r])===null||u===void 0||u.call(s),this.isAnimating[r]=!0;var d=this.props.visualElement,h=this.frameTarget[r],g=d.getProjectionAnimationProgress()[r];g.clearListeners(),g.set(0),g.set(0);var y=function(){var x=g.get()/NS;FK(h,a,n,x),d.setProjectionTargetAxis(r,h.min,h.max,f)};y();var v=g.onChange(y);this.stopAxisAnimation[r]=function(){i.isAnimating[r]=!1,g.stop(),v()},this.currentAnimationTarget[r]=n;var p=c||d.getDefaultTransition()||nq,b=Ff(r==="x"?"layoutX":"layoutY",g,NS,p&&_y(p,"layout")).then(this.stopAxisAnimation[r]);return b}},t.prototype.safeToRemove=function(){var r,n;(n=(r=this.props).safeToRemove)===null||n===void 0||n.call(r)},t.prototype.render=function(){return null},t}(m.exports.Component);function tq(e){var t=Ve(dy(),2),r=t[1];return m.exports.createElement(eq,L({},e,{safeToRemove:r}))}function rq(e,t){return!zS(e)&&!zS(t)&&(!Fu(e.x,t.x)||!Fu(e.y,t.y))}var jS={min:0,max:0};function zS(e){return Fu(e.x,jS)&&Fu(e.y,jS)}function Fu(e,t){return e.min===t.min&&e.max===t.max}var nq={duration:.45,ease:[.4,0,.1,1]};function aq(e,t,r){return e||!e&&!(t||r)}var oq={layoutReady:function(e){return e.notifyLayoutReady()}};function w_(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=t===void 0?oq:t,n=r.layoutReady,a=r.parent;zh(function(o,i){var s=Array.from(e).sort(Dy),u=a?Lf(a):[];i(function(){var l=It(It([],Ve(u)),Ve(s));l.forEach(function(c){return c.resetTransform()})}),o(function(){s.forEach(jc)}),i(function(){u.forEach(function(l){return l.restoreTransform()}),s.forEach(n)}),o(function(){s.forEach(function(l){l.isPresent&&(l.presence=Mu.Present)})}),i(function(){Uo.preRender(),Uo.render()}),o(function(){Zr.postRender(function(){return s.forEach(iq)}),e.clear()})}),Wh()}}}function iq(e){e.prevViewportBox=e.projection.target}var S_=m.exports.createContext(w_()),sq=m.exports.createContext(w_());function Ia(e){return!!e.forceUpdate}var uq=function(e){nO(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this.props,n=r.syncLayout,a=r.framerSyncLayout,o=r.visualElement;Ia(n)&&n.register(o),Ia(a)&&a.register(o),o.onUnmount(function(){Ia(n)&&n.remove(o),Ia(a)&&a.remove(o)})},t.prototype.getSnapshotBeforeUpdate=function(){var r=this.props,n=r.syncLayout,a=r.visualElement;return Ia(n)?n.syncUpdate():(MK(a),n.add(a)),null},t.prototype.componentDidUpdate=function(){var r=this.props.syncLayout;Ia(r)||r.flush()},t.prototype.render=function(){return null},t}($.Component);function lq(e){var t=m.exports.useContext(S_),r=m.exports.useContext(sq);return $.createElement(uq,L({},e,{syncLayout:t,framerSyncLayout:r}))}var cq={measureLayout:lq,layoutAnimation:tq},fq=function(){return{isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:va(),targetFinal:va()}};function E_(){return{isHydrated:!1,layout:va(),layoutCorrected:va(),treeScale:{x:1,y:1},delta:bS(),deltaFinal:bS(),deltaTransform:""}}var WS=E_();function nv(e,t,r){var n=e.x,a=e.y,o=n.translate/t.x,i=a.translate/t.y,s="translate3d("+o+"px, "+i+"px, 0) ";if(r){var u=r.rotate,l=r.rotateX,c=r.rotateY;u&&(s+="rotate("+u+") "),l&&(s+="rotateX("+l+") "),c&&(s+="rotateY("+c+") ")}return s+="scale("+n.scale+", "+a.scale+")",!r&&s===dq?"":s}function C_(e){var t=e.deltaFinal;return t.x.origin*100+"% "+t.y.origin*100+"% 0"}var dq=nv(WS.delta,WS.treeScale,{x:1,y:1}),fc=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function vq(){var e=fc.map(function(){return new Nc}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){return fc.forEach(function(a){var o;(o=t[a])===null||o===void 0||o.call(t);var i="on"+a,s=n[i];s&&(t[a]=r[i](s))})}};return e.forEach(function(n,a){r["on"+fc[a]]=function(o){return n.add(o)},r["notify"+fc[a]]=function(){for(var o=[],i=0;i=0;H--){var le=X.path[H];if(le.projection.isEnabled){B=le;break}}D=B}return D},resolveRelativeTargetBox:function(){var B=X.getProjectionParent();if(!(!P.relativeTarget||!B)&&(AK(P,B.projection),h_(B))){var H=P.target;jh(H,H,B.getLatestValues())}},shouldResetTransform:function(){return Boolean(p._layoutResetTransform)},pointTo:function(B){F=B.projection,W=B.getLatestValues(),j==null||j(),j=ml(B.onSetAxisTarget(X.scheduleUpdateLayoutProjection),B.onLayoutAnimationComplete(function(){var H;X.isPresent?X.presence=Mu.Present:(H=X.layoutSafeToRemove)===null||H===void 0||H.call(X)}))},isPresent:!0,presence:Mu.Entering});return X}};function yq(e){e.resolveRelativeTargetBox()}function bq(e){e.updateLayoutProjection()}var P_=It(["initial"],Ve($y)),xq=P_.length,wq=new Set(["width","height","top","left","right","bottom","x","y"]),k_=function(e){return wq.has(e)},Sq=function(e){return Object.keys(e).some(k_)},O_=function(e,t){e.set(t,!1),e.set(t)},VS=function(e){return e===yo||e===oe},US;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(US||(US={}));var HS=function(e,t){return parseFloat(e.split(", ")[t])},GS=function(e,t){return function(r,n){var a=n.transform;if(a==="none"||!a)return 0;var o=a.match(/^matrix3d\((.+)\)$/);if(o)return HS(o[1],t);var i=a.match(/^matrix\((.+)\)$/);return i?HS(i[1],e):0}},Eq=new Set(["x","y","z"]),Cq=$u.filter(function(e){return!Eq.has(e)});function Tq(e){var t=[];return Cq.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var YS={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:GS(4,13),y:GS(5,14)},Pq=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),o=getComputedStyle(a),i=o.display,s=o.top,u=o.left,l=o.bottom,c=o.right,f=o.transform,d={top:s,left:u,bottom:l,right:c,transform:f};i==="none"&&t.setStaticValue("display",e.display||"block"),t.syncRender();var h=t.measureViewportBox();return r.forEach(function(g){var y=t.getValue(g);O_(y,YS[g](n,d)),e[g]=YS[g](h,o)}),e},kq=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=L({},t),n=L({},n);var a=Object.keys(t).filter(k_),o=[],i=!1,s=[];if(a.forEach(function(l){var c=e.getValue(l);if(!!e.hasValue(l)){var f=r[l],d=t[l],h=lc(f),g;if(Ru(d))for(var y=d.length,v=d[0]===null?1:0;v=0)&&(r[a]=e[a]);return r}function wr(){return wr=Object.assign||function(e){for(var t=1;t=t&&(n=0),n}function JS(e,t,r){var n=e-1;return r&&n<0&&(n=t),n}var qh=typeof window!="undefined"?m.exports.useLayoutEffect:m.exports.useEffect,Nf=function(t){return t},Xq=function(){var t=this;this.descendants=new Map,this.register=function(r){if(r!=null)return qq(r)?t.registerNode(r):function(n){t.registerNode(n,r)}},this.unregister=function(r){t.descendants.delete(r);var n=QS(Array.from(t.descendants.keys()));t.assignIndex(n)},this.destroy=function(){t.descendants.clear()},this.assignIndex=function(r){t.descendants.forEach(function(n){var a=r.indexOf(n.node);n.index=a,n.node.dataset.index=n.index.toString()})},this.count=function(){return t.descendants.size},this.enabledCount=function(){return t.enabledValues().length},this.values=function(){var r=Array.from(t.descendants.values());return r.sort(function(n,a){return n.index-a.index})},this.enabledValues=function(){return t.values().filter(function(r){return!r.disabled})},this.item=function(r){if(t.count()!==0)return t.values()[r]},this.enabledItem=function(r){if(t.enabledCount()!==0)return t.enabledValues()[r]},this.first=function(){return t.item(0)},this.firstEnabled=function(){return t.enabledItem(0)},this.last=function(){return t.item(t.descendants.size-1)},this.lastEnabled=function(){var r=t.enabledValues().length-1;return t.enabledItem(r)},this.indexOf=function(r){var n,a;return r&&(n=(a=t.descendants.get(r))==null?void 0:a.index)!=null?n:-1},this.enabledIndexOf=function(r){return r==null?-1:t.enabledValues().findIndex(function(n){return n.node.isSameNode(r)})},this.next=function(r,n){n===void 0&&(n=!0);var a=ZS(r,t.count(),n);return t.item(a)},this.nextEnabled=function(r,n){n===void 0&&(n=!0);var a=t.item(r);if(!!a){var o=t.enabledIndexOf(a.node),i=ZS(o,t.enabledCount(),n);return t.enabledItem(i)}},this.prev=function(r,n){n===void 0&&(n=!0);var a=JS(r,t.count()-1,n);return t.item(a)},this.prevEnabled=function(r,n){n===void 0&&(n=!0);var a=t.item(r);if(!!a){var o=t.enabledIndexOf(a.node),i=JS(o,t.enabledCount()-1,n);return t.enabledItem(i)}},this.registerNode=function(r,n){if(!(!r||t.descendants.has(r))){var a=Array.from(t.descendants.keys()).concat(r),o=QS(a);n!=null&&n.disabled&&(n.disabled=!!n.disabled);var i=Kh({node:r,index:-1},n);t.descendants.set(r,i),t.assignIndex(o)}}};function Qq(){var e=m.exports.useRef(new Xq);return qh(function(){return function(){return e.current.destroy()}}),e.current}var D_=Nr({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"}),Zq=D_[0],R_=D_[1];function Jq(e){var t=R_(),r=m.exports.useState(-1),n=r[0],a=r[1],o=m.exports.useRef(null);qh(function(){return function(){!o.current||t.unregister(o.current)}},[]),qh(function(){if(!!o.current){var s=Number(o.current.dataset.index);n!=s&&!Number.isNaN(s)&&a(s)}});var i=Nf(e?t.register(e):t.register);return{descendants:t,index:n,enabledIndex:t.enabledIndexOf(o.current),register:Ht(i,o)}}function eX(){var e=Nf(Zq),t=function(){return Nf(R_())},r=function(o){return Jq(o)},n=function(){return Qq()};return[e,t,n,r]}var Ry={border:"0px",clip:"rect(0px, 0px, 0px, 0px)",height:"1px",width:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},tX=re("span",{baseStyle:Ry});re("input",{baseStyle:Ry});function jf(){return jf=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var nX=["label","thickness","speed","emptyColor","className"],aX=rk({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),oX=ve(function(e,t){var r=xa("Spinner",e),n=jr(e),a=n.label,o=a===void 0?"Loading...":a,i=n.thickness,s=i===void 0?"2px":i,u=n.speed,l=u===void 0?"0.45s":u,c=n.emptyColor,f=c===void 0?"transparent":c,d=n.className,h=rX(n,nX),g=we("chakra-spinner",d),y=jf({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:s,borderBottomColor:f,borderLeftColor:f,animation:aX+" "+l+" linear infinite"},r);return m.exports.createElement(re.div,jf({ref:t,__css:y,className:g},h),o&&m.exports.createElement(tX,null,o))});function Ay(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function oa(){return oa=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}"custom"in Za?Za.custom(re.svg):Za(re.svg);var vX=["defaultIsChecked","defaultChecked","isChecked","isFocusable","isDisabled","isReadOnly","isRequired","onChange","isIndeterminate","isInvalid","name","value","id","onBlur","onFocus","tabIndex","aria-label","aria-labelledby","aria-invalid","aria-describedby"];function pX(e){e===void 0&&(e={});var t=e,r=t.defaultIsChecked,n=t.defaultChecked,a=n===void 0?r:n,o=t.isChecked,i=t.isFocusable,s=t.isDisabled,u=t.isReadOnly,l=t.isRequired,c=t.onChange,f=t.isIndeterminate,d=t.isInvalid,h=t.name,g=t.value,y=t.id,v=t.onBlur,p=t.onFocus,b=t.tabIndex,x=b===void 0?void 0:b,w=t["aria-label"],C=t["aria-labelledby"],E=t["aria-invalid"],T=t["aria-describedby"],O=dX(t,vX),P=aa(c),D=aa(v),F=aa(p),W=xp(),j=W[0],z=W[1],Y=xp(),V=Y[0],G=Y[1],Z=xp(),te=Z[0],ne=Z[1],A=m.exports.useRef(null),I=m.exports.useState(!0),N=I[0],J=I[1],ee=m.exports.useState(!!a),he=ee[0],ue=ee[1],fe=xk(o,he),Pe=fe[0],ye=fe[1];J0({condition:!!r,message:'The "defaultIsChecked" prop has been deprecated and will be removed in a future version. Please use the "defaultChecked" prop instead, which mirrors default React checkbox behavior.'});var dt=m.exports.useCallback(function(Q){if(u||s){Q.preventDefault();return}Pe||ue(ye?Q.target.checked:f?!0:Q.target.checked),P==null||P(Q)},[u,s,ye,Pe,f,P]);Ci(function(){A.current&&(A.current.indeterminate=Boolean(f))},[f]);var fr=s&&!i,Lt=m.exports.useCallback(function(Q){Q.key===" "&&ne.on()},[ne]),X=m.exports.useCallback(function(Q){Q.key===" "&&ne.off()},[ne]);Ci(function(){if(!!A.current){var Q=A.current.checked!==ye;Q&&ue(A.current.checked)}},[A.current]);var B=m.exports.useCallback(function(Q,ae){Q===void 0&&(Q={}),ae===void 0&&(ae=null);var Ae=function(qe){qe.preventDefault(),ne.on()};return Yo({},Q,{ref:ae,"data-active":nt(te),"data-hover":nt(V),"data-checked":nt(ye),"data-focus":nt(j),"data-indeterminate":nt(f),"data-disabled":nt(s),"data-invalid":nt(d),"data-readonly":nt(u),"aria-hidden":!0,onMouseDown:ge(Q.onMouseDown,Ae),onMouseUp:ge(Q.onMouseUp,ne.off),onMouseEnter:ge(Q.onMouseEnter,G.on),onMouseLeave:ge(Q.onMouseLeave,G.off)})},[te,ye,s,j,V,f,d,u,ne,G.off,G.on]),H=m.exports.useCallback(function(Q,ae){return Q===void 0&&(Q={}),ae===void 0&&(ae=null),Yo({},O,Q,{ref:Ht(ae,function(Ae){!Ae||J(Ae.tagName==="LABEL")}),onClick:ge(Q.onClick,function(){if(!N){var Ae;(Ae=A.current)==null||Ae.click(),Jr(A.current,{nextTick:!0})}}),"data-disabled":nt(s),"data-checked":nt(ye),"data-invalid":nt(d)})},[O,s,ye,d,N]),le=m.exports.useCallback(function(Q,ae){return Q===void 0&&(Q={}),ae===void 0&&(ae=null),Yo({},Q,{ref:Ht(A,ae),type:"checkbox",name:h,value:g,id:y,tabIndex:x,onChange:ge(Q.onChange,dt),onBlur:ge(Q.onBlur,D,z.off),onFocus:ge(Q.onFocus,F,z.on),onKeyDown:ge(Q.onKeyDown,Lt),onKeyUp:ge(Q.onKeyUp,X),required:l,checked:ye,disabled:fr,readOnly:u,"aria-label":w,"aria-labelledby":C,"aria-invalid":E?Boolean(E):d,"aria-describedby":T,"aria-disabled":s,style:Ry})},[h,g,y,dt,z.off,z.on,D,F,Lt,X,l,ye,fr,u,w,C,E,d,T,s,x]),Oe=m.exports.useCallback(function(Q,ae){return Q===void 0&&(Q={}),ae===void 0&&(ae=null),Yo({},Q,{ref:ae,onMouseDown:ge(Q.onMouseDown,nE),onTouchStart:ge(Q.onTouchStart,nE),"data-disabled":nt(s),"data-checked":nt(ye),"data-invalid":nt(d)})},[ye,s,d]);return{state:{isInvalid:d,isFocused:j,isChecked:ye,isActive:te,isHovered:V,isIndeterminate:f,isDisabled:s,isReadOnly:u,isRequired:l},getRootProps:H,getCheckboxProps:B,getInputProps:le,getLabelProps:Oe,htmlProps:O}}function nE(e){e.preventDefault(),e.stopPropagation()}re("span",{baseStyle:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0}});re("label",{baseStyle:{cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative",_disabled:{cursor:"not-allowed"}}});function mX(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}function Lu(){return Lu=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var bX=Nr({strict:!1,name:"FormControlContext"}),xX=bX[1],wX=["isDisabled","isInvalid","isReadOnly","isRequired"],SX=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function EX(e){var t=CX(e),r=t.isDisabled,n=t.isInvalid,a=t.isReadOnly,o=t.isRequired,i=A_(t,wX);return zf({},i,{disabled:r,readOnly:a,required:o,"aria-invalid":bp(n),"aria-required":bp(o),"aria-readonly":bp(a)})}function CX(e){var t,r,n,a=xX(),o=e.id,i=e.disabled,s=e.readOnly,u=e.required,l=e.isRequired,c=e.isInvalid,f=e.isReadOnly,d=e.isDisabled,h=e.onFocus,g=e.onBlur,y=A_(e,SX),v=e["aria-describedby"]?[e["aria-describedby"]]:[];return a!=null&&a.hasFeedbackText&&a!=null&&a.isInvalid&&v.push(a.feedbackId),a!=null&&a.hasHelpText&&v.push(a.helpTextId),zf({},y,{"aria-describedby":v.join(" ")||void 0,id:o!=null?o:a==null?void 0:a.id,isDisabled:(t=i!=null?i:d)!=null?t:a==null?void 0:a.isDisabled,isReadOnly:(r=s!=null?s:f)!=null?r:a==null?void 0:a.isReadOnly,isRequired:(n=u!=null?u:l)!=null?n:a==null?void 0:a.isRequired,isInvalid:c!=null?c:a==null?void 0:a.isInvalid,onFocus:ge(a==null?void 0:a.onFocus,h),onBlur:ge(a==null?void 0:a.onBlur,g)})}function sn(){return sn=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var TX=["placement"],PX={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},kX=re("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),I_=ve(function(e,t){var r,n=e.placement,a=n===void 0?"left":n,o=av(e,TX),i=(r=PX[a])!=null?r:{},s=Jt();return m.exports.createElement(kX,sn({ref:t},o,{__css:sn({},s.addon,i)}))}),OX=ve(function(e,t){return m.exports.createElement(I_,sn({ref:t,placement:"left"},e,{className:we("chakra-input__left-addon",e.className)}))});OX.id="InputLeftAddon";var _X=ve(function(e,t){return m.exports.createElement(I_,sn({ref:t,placement:"right"},e,{className:we("chakra-input__right-addon",e.className)}))});_X.id="InputRightAddon";var $X=["placement"],DX=["className"],RX=["className"],AX=re("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),My=ve(function(e,t){var r,n,a,o=e.placement,i=o===void 0?"left":o,s=av(e,$X),u=Jt(),l=u.field,c=i==="left"?"insetStart":"insetEnd",f=(a={},a[c]="0",a.width=(r=l==null?void 0:l.height)!=null?r:l==null?void 0:l.h,a.height=(n=l==null?void 0:l.height)!=null?n:l==null?void 0:l.h,a.fontSize=l==null?void 0:l.fontSize,a);return m.exports.createElement(AX,sn({ref:t,__css:f},s))});My.id="InputElement";var IX=ve(function(e,t){var r=e.className,n=av(e,DX),a=we("chakra-input__left-element",r);return m.exports.createElement(My,sn({ref:t,placement:"left",className:a},n))});IX.id="InputLeftElement";var MX=ve(function(e,t){var r=e.className,n=av(e,RX),a=we("chakra-input__right-element",r);return m.exports.createElement(My,sn({ref:t,placement:"right",className:a},n))});MX.id="InputRightElement";function bt(){return bt=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var yr=re("div");re("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});var FX=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],LX=["className","orientation","__css"],M_=ve(function(e,t){var r=xa("Divider",e),n=r.borderLeftWidth,a=r.borderBottomWidth,o=r.borderTopWidth,i=r.borderRightWidth,s=r.borderWidth,u=r.borderStyle,l=r.borderColor,c=$n(r,FX),f=jr(e),d=f.className,h=f.orientation,g=h===void 0?"horizontal":h,y=f.__css,v=$n(f,LX),p={vertical:{borderLeftWidth:n||i||s||"1px",height:"100%"},horizontal:{borderBottomWidth:a||o||s||"1px",width:"100%"}};return m.exports.createElement(re.hr,bt({ref:t,"aria-orientation":g},v,{__css:bt({},c,{border:"0",borderColor:l,borderStyle:u},p[g],y),className:we("chakra-divider",d)}))}),BX=["direction","align","justify","wrap","basis","grow","shrink"],nr=ve(function(e,t){var r=e.direction,n=e.align,a=e.justify,o=e.wrap,i=e.basis,s=e.grow,u=e.shrink,l=$n(e,BX),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:o,flexBasis:i,flexGrow:s,flexShrink:u};return m.exports.createElement(re.div,bt({ref:t,__css:c},l))}),NX=["area","templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],jX=ve(function(e,t){var r=e.area,n=e.templateAreas,a=e.gap,o=e.rowGap,i=e.columnGap,s=e.column,u=e.row,l=e.autoFlow,c=e.autoRows,f=e.templateRows,d=e.autoColumns,h=e.templateColumns,g=$n(e,NX),y={display:"grid",gridArea:r,gridTemplateAreas:n,gridGap:a,gridRowGap:o,gridColumnGap:i,gridAutoColumns:d,gridColumn:s,gridRow:u,gridAutoFlow:l,gridAutoRows:c,gridTemplateRows:f,gridTemplateColumns:h};return m.exports.createElement(re.div,bt({ref:t,__css:y},g))}),zX=["className"],Fy=ve(function(e,t){var r=xa("Heading",e),n=jr(e);n.className;var a=$n(n,zX);return m.exports.createElement(re.h2,bt({ref:t,className:we("chakra-heading",e.className)},a,{__css:r}))}),WX=["className","isExternal"],VX=ve(function(e,t){var r=xa("Link",e),n=jr(e),a=n.className,o=n.isExternal,i=$n(n,WX);return m.exports.createElement(re.a,bt({target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,ref:t,className:we("chakra-link",a)},i,{__css:r}))}),UX=["columns","spacingX","spacingY","spacing","minChildWidth"],HX=ve(function(e,t){var r=e.columns,n=e.spacingX,a=e.spacingY,o=e.spacing,i=e.minChildWidth,s=$n(e,UX),u=i?YX(i):KX(r);return m.exports.createElement(jX,bt({ref:t,gap:o,columnGap:n,rowGap:a,templateColumns:u},s))});function GX(e){return na(e)?e+"px":e}function YX(e){return Yd(e,function(t){return ik(t)?null:"repeat(auto-fit, minmax("+GX(t)+", 1fr))"})}function KX(e){return Yd(e,function(t){return ik(t)?null:"repeat("+t+", minmax(0, 1fr))"})}re("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});var Xh="& > *:not(style) ~ *:not(style)";function qX(e){var t,r=e.spacing,n=e.direction,a={column:{marginTop:r,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:r},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:r,marginStart:0},"row-reverse":{marginTop:0,marginEnd:r,marginBottom:0,marginStart:0}};return t={flexDirection:n},t[Xh]=Yd(n,function(o){return a[o]}),t}function XX(e){var t=e.spacing,r=e.direction,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Yd(r,function(a){return n[a]})}}var QX=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],ZX=function(t){return m.exports.createElement(re.div,bt({className:"chakra-stack__divider"},t,{__css:bt({},t.__css,{borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"})}))},JX=function(t){return m.exports.createElement(re.div,bt({className:"chakra-stack__item"},t,{__css:bt({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}))},Ly=ve(function(e,t){var r,n=e.isInline,a=e.direction,o=e.align,i=e.justify,s=e.spacing,u=s===void 0?"0.5rem":s,l=e.wrap,c=e.children,f=e.divider,d=e.className,h=e.shouldWrapChildren,g=$n(e,QX),y=n?"row":a!=null?a:"column",v=m.exports.useMemo(function(){return qX({direction:y,spacing:u})},[y,u]),p=m.exports.useMemo(function(){return XX({spacing:u,direction:y})},[u,y]),b=!!f,x=!h&&!b,w=bk(c),C=x?w:w.map(function(T,O){var P=typeof T.key!="undefined"?T.key:O,D=O+1===w.length,F=m.exports.createElement(JX,{key:P},T),W=h?F:T;if(!b)return W;var j=m.exports.cloneElement(f,{__css:p}),z=D?null:j;return m.exports.createElement(m.exports.Fragment,{key:P},W,z)}),E=we("chakra-stack",d);return m.exports.createElement(re.div,bt({ref:t,display:"flex",alignItems:o,justifyContent:i,flexDirection:v.flexDirection,flexWrap:l,className:E,__css:b?{}:(r={},r[Xh]=v[Xh],r)},g),C)}),F_=ve(function(e,t){return m.exports.createElement(Ly,bt({align:"center"},e,{direction:"row",ref:t}))}),By=ve(function(e,t){return m.exports.createElement(Ly,bt({align:"center"},e,{direction:"column",ref:t}))}),eQ=["className","align","decoration","casing"],tQ=ve(function(e,t){var r=xa("Text",e),n=jr(e);n.className,n.align,n.decoration,n.casing;var a=$n(n,eQ),o=X0({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return m.exports.createElement(re.p,bt({ref:t,className:we("chakra-text",e.className)},o,a,{__css:r}))});function Wf(){return Wf=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function nQ(){var e=m.exports.useRef(new Map),t=e.current,r=m.exports.useCallback(function(a,o,i,s){e.current.set(i,{type:o,el:a,options:s}),a.addEventListener(o,i,s)},[]),n=m.exports.useCallback(function(a,o,i,s){a.removeEventListener(o,i,s),e.current.delete(i)},[]);return m.exports.useEffect(function(){return function(){t.forEach(function(a,o){n(a.el,a.type,o,a.options)})}},[n,t]),{add:r,remove:n}}var aQ=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function Wp(e){var t=e.target,r=t.tagName,n=t.isContentEditable;return r!=="INPUT"&&r!=="TEXTAREA"&&n!==!0}function oQ(e){e===void 0&&(e={});var t=e,r=t.ref,n=t.isDisabled,a=t.isFocusable,o=t.clickOnEnter,i=o===void 0?!0:o,s=t.clickOnSpace,u=s===void 0?!0:s,l=t.onMouseDown,c=t.onMouseUp,f=t.onClick,d=t.onKeyDown,h=t.onKeyUp,g=t.tabIndex,y=t.onMouseOver,v=t.onMouseLeave,p=rQ(t,aQ),b=m.exports.useState(!0),x=b[0],w=b[1],C=m.exports.useState(!1),E=C[0],T=C[1],O=nQ(),P=function(N){!N||N.tagName!=="BUTTON"&&w(!1)},D=x?g:g||0,F=n&&!a,W=m.exports.useCallback(function(I){if(n){I.stopPropagation(),I.preventDefault();return}var N=I.currentTarget;N.focus(),f==null||f(I)},[n,f]),j=m.exports.useCallback(function(I){E&&Wp(I)&&(I.preventDefault(),I.stopPropagation(),T(!1),O.remove(document,"keyup",j,!1))},[E,O]),z=m.exports.useCallback(function(I){if(d==null||d(I),!(n||I.defaultPrevented||I.metaKey)&&!(!Wp(I.nativeEvent)||x)){var N=i&&I.key==="Enter",J=u&&I.key===" ";if(J&&(I.preventDefault(),T(!0)),N){I.preventDefault();var ee=I.currentTarget;ee.click()}O.add(document,"keyup",j,!1)}},[n,x,d,i,u,O,j]),Y=m.exports.useCallback(function(I){if(h==null||h(I),!(n||I.defaultPrevented||I.metaKey)&&!(!Wp(I.nativeEvent)||x)){var N=u&&I.key===" ";if(N){I.preventDefault(),T(!1);var J=I.currentTarget;J.click()}}},[u,x,n,h]),V=m.exports.useCallback(function(I){I.button===0&&(T(!1),O.remove(document,"mouseup",V,!1))},[O]),G=m.exports.useCallback(function(I){if(!bw(I)){if(n){I.stopPropagation(),I.preventDefault();return}x||T(!0);var N=I.currentTarget;N.focus({preventScroll:!0}),O.add(document,"mouseup",V,!1),l==null||l(I)}},[n,x,l,O,V]),Z=m.exports.useCallback(function(I){bw(I)||(x||T(!1),c==null||c(I))},[c,x]),te=m.exports.useCallback(function(I){if(n){I.preventDefault();return}y==null||y(I)},[n,y]),ne=m.exports.useCallback(function(I){E&&(I.preventDefault(),T(!1)),v==null||v(I)},[E,v]),A=Ht(r,P);return x?Wf({},p,{ref:A,type:"button","aria-disabled":F?void 0:n,disabled:F,onClick:W,onMouseDown:l,onMouseUp:c,onKeyUp:h,onKeyDown:d,onMouseOver:y,onMouseLeave:v}):Wf({},p,{ref:A,role:"button","data-active":nt(E),"aria-disabled":n?"true":void 0,tabIndex:F?void 0:D,onClick:W,onMouseDown:G,onMouseUp:Z,onKeyUp:Y,onKeyDown:z,onMouseOver:te,onMouseLeave:ne})}var qt="top",Tr="bottom",Pr="right",Xt="left",Ny="auto",hl=[qt,Tr,Pr,Xt],Oi="start",Bu="end",iQ="clippingParents",L_="viewport",ws="popper",sQ="reference",aE=hl.reduce(function(e,t){return e.concat([t+"-"+Oi,t+"-"+Bu])},[]),B_=[].concat(hl,[Ny]).reduce(function(e,t){return e.concat([t,t+"-"+Oi,t+"-"+Bu])},[]),uQ="beforeRead",lQ="read",cQ="afterRead",fQ="beforeMain",dQ="main",vQ="afterMain",pQ="beforeWrite",mQ="write",hQ="afterWrite",gQ=[uQ,lQ,cQ,fQ,dQ,vQ,pQ,mQ,hQ];function un(e){return e?(e.nodeName||"").toLowerCase():null}function sr(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function lo(e){var t=sr(e).Element;return e instanceof t||e instanceof Element}function Sr(e){var t=sr(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function jy(e){if(typeof ShadowRoot=="undefined")return!1;var t=sr(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function yQ(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Sr(o)||!un(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function bQ(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,l){return u[l]="",u},{});!Sr(a)||!un(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}var xQ={name:"applyStyles",enabled:!0,phase:"write",fn:yQ,effect:bQ,requires:["computeStyles"]};function nn(e){return e.split("-")[0]}var eo=Math.max,Vf=Math.min,_i=Math.round;function Qh(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function N_(){return!/^((?!chrome|android).)*safari/i.test(Qh())}function $i(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Sr(e)&&(a=e.offsetWidth>0&&_i(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&_i(n.height)/e.offsetHeight||1);var i=lo(e)?sr(e):window,s=i.visualViewport,u=!N_()&&r,l=(n.left+(u&&s?s.offsetLeft:0))/a,c=(n.top+(u&&s?s.offsetTop:0))/o,f=n.width/a,d=n.height/o;return{width:f,height:d,top:c,right:l+f,bottom:c+d,left:l,x:l,y:c}}function zy(e){var t=$i(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function j_(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&jy(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Dn(e){return sr(e).getComputedStyle(e)}function wQ(e){return["table","td","th"].indexOf(un(e))>=0}function wa(e){return((lo(e)?e.ownerDocument:e.document)||window.document).documentElement}function ov(e){return un(e)==="html"?e:e.assignedSlot||e.parentNode||(jy(e)?e.host:null)||wa(e)}function oE(e){return!Sr(e)||Dn(e).position==="fixed"?null:e.offsetParent}function SQ(e){var t=/firefox/i.test(Qh()),r=/Trident/i.test(Qh());if(r&&Sr(e)){var n=Dn(e);if(n.position==="fixed")return null}var a=ov(e);for(jy(a)&&(a=a.host);Sr(a)&&["html","body"].indexOf(un(a))<0;){var o=Dn(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function gl(e){for(var t=sr(e),r=oE(e);r&&wQ(r)&&Dn(r).position==="static";)r=oE(r);return r&&(un(r)==="html"||un(r)==="body"&&Dn(r).position==="static")?t:r||SQ(e)||t}function Wy(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ru(e,t,r){return eo(e,Vf(t,r))}function EQ(e,t,r){var n=ru(e,t,r);return n>r?r:n}function z_(){return{top:0,right:0,bottom:0,left:0}}function W_(e){return Object.assign({},z_(),e)}function V_(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var CQ=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,W_(typeof t!="number"?t:V_(t,hl))};function TQ(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=nn(r.placement),u=Wy(s),l=[Xt,Pr].indexOf(s)>=0,c=l?"height":"width";if(!(!o||!i)){var f=CQ(a.padding,r),d=zy(o),h=u==="y"?qt:Xt,g=u==="y"?Tr:Pr,y=r.rects.reference[c]+r.rects.reference[u]-i[u]-r.rects.popper[c],v=i[u]-r.rects.reference[u],p=gl(o),b=p?u==="y"?p.clientHeight||0:p.clientWidth||0:0,x=y/2-v/2,w=f[h],C=b-d[c]-f[g],E=b/2-d[c]/2+x,T=ru(w,E,C),O=u;r.modifiersData[n]=(t={},t[O]=T,t.centerOffset=T-E,t)}}function PQ(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!j_(t.elements.popper,a)||(t.elements.arrow=a))}var kQ={name:"arrow",enabled:!0,phase:"main",fn:TQ,effect:PQ,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Di(e){return e.split("-")[1]}var OQ={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _Q(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:_i(r*a)/a||0,y:_i(n*a)/a||0}}function iE(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=i.x,h=d===void 0?0:d,g=i.y,y=g===void 0?0:g,v=typeof c=="function"?c({x:h,y}):{x:h,y};h=v.x,y=v.y;var p=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),x=Xt,w=qt,C=window;if(l){var E=gl(r),T="clientHeight",O="clientWidth";if(E===sr(r)&&(E=wa(r),Dn(E).position!=="static"&&s==="absolute"&&(T="scrollHeight",O="scrollWidth")),E=E,a===qt||(a===Xt||a===Pr)&&o===Bu){w=Tr;var P=f&&E===C&&C.visualViewport?C.visualViewport.height:E[T];y-=P-n.height,y*=u?1:-1}if(a===Xt||(a===qt||a===Tr)&&o===Bu){x=Pr;var D=f&&E===C&&C.visualViewport?C.visualViewport.width:E[O];h-=D-n.width,h*=u?1:-1}}var F=Object.assign({position:s},l&&OQ),W=c===!0?_Q({x:h,y},sr(r)):{x:h,y};if(h=W.x,y=W.y,u){var j;return Object.assign({},F,(j={},j[w]=b?"0":"",j[x]=p?"0":"",j.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",j))}return Object.assign({},F,(t={},t[w]=b?y+"px":"",t[x]=p?h+"px":"",t.transform="",t))}function $Q(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,l={placement:nn(t.placement),variation:Di(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,iE(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,iE(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var DQ={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:$Q,data:{}},dc={passive:!0};function RQ(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,u=sr(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(c){c.addEventListener("scroll",r.update,dc)}),s&&u.addEventListener("resize",r.update,dc),function(){o&&l.forEach(function(c){c.removeEventListener("scroll",r.update,dc)}),s&&u.removeEventListener("resize",r.update,dc)}}var AQ={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:RQ,data:{}},IQ={left:"right",right:"left",bottom:"top",top:"bottom"};function zc(e){return e.replace(/left|right|bottom|top/g,function(t){return IQ[t]})}var MQ={start:"end",end:"start"};function sE(e){return e.replace(/start|end/g,function(t){return MQ[t]})}function Vy(e){var t=sr(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Uy(e){return $i(wa(e)).left+Vy(e).scrollLeft}function FQ(e,t){var r=sr(e),n=wa(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var l=N_();(l||!l&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+Uy(e),y:u}}function LQ(e){var t,r=wa(e),n=Vy(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=eo(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=eo(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+Uy(e),u=-n.scrollTop;return Dn(a||r).direction==="rtl"&&(s+=eo(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}function Hy(e){var t=Dn(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function U_(e){return["html","body","#document"].indexOf(un(e))>=0?e.ownerDocument.body:Sr(e)&&Hy(e)?e:U_(ov(e))}function nu(e,t){var r;t===void 0&&(t=[]);var n=U_(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=sr(n),i=a?[o].concat(o.visualViewport||[],Hy(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(nu(ov(i)))}function Zh(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function BQ(e,t){var r=$i(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function uE(e,t,r){return t===L_?Zh(FQ(e,r)):lo(t)?BQ(t,r):Zh(LQ(wa(e)))}function NQ(e){var t=nu(ov(e)),r=["absolute","fixed"].indexOf(Dn(e).position)>=0,n=r&&Sr(e)?gl(e):e;return lo(n)?t.filter(function(a){return lo(a)&&j_(a,n)&&un(a)!=="body"}):[]}function jQ(e,t,r,n){var a=t==="clippingParents"?NQ(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(u,l){var c=uE(e,l,n);return u.top=eo(c.top,u.top),u.right=Vf(c.right,u.right),u.bottom=Vf(c.bottom,u.bottom),u.left=eo(c.left,u.left),u},uE(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function H_(e){var t=e.reference,r=e.element,n=e.placement,a=n?nn(n):null,o=n?Di(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case qt:u={x:i,y:t.y-r.height};break;case Tr:u={x:i,y:t.y+t.height};break;case Pr:u={x:t.x+t.width,y:s};break;case Xt:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var l=a?Wy(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(o){case Oi:u[l]=u[l]-(t[c]/2-r[c]/2);break;case Bu:u[l]=u[l]+(t[c]/2-r[c]/2);break}}return u}function Nu(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,u=s===void 0?iQ:s,l=r.rootBoundary,c=l===void 0?L_:l,f=r.elementContext,d=f===void 0?ws:f,h=r.altBoundary,g=h===void 0?!1:h,y=r.padding,v=y===void 0?0:y,p=W_(typeof v!="number"?v:V_(v,hl)),b=d===ws?sQ:ws,x=e.rects.popper,w=e.elements[g?b:d],C=jQ(lo(w)?w:w.contextElement||wa(e.elements.popper),u,c,i),E=$i(e.elements.reference),T=H_({reference:E,element:x,strategy:"absolute",placement:a}),O=Zh(Object.assign({},x,T)),P=d===ws?O:E,D={top:C.top-P.top+p.top,bottom:P.bottom-C.bottom+p.bottom,left:C.left-P.left+p.left,right:P.right-C.right+p.right},F=e.modifiersData.offset;if(d===ws&&F){var W=F[a];Object.keys(D).forEach(function(j){var z=[Pr,Tr].indexOf(j)>=0?1:-1,Y=[qt,Tr].indexOf(j)>=0?"y":"x";D[j]+=W[Y]*z})}return D}function zQ(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?B_:u,c=Di(n),f=c?s?aE:aE.filter(function(g){return Di(g)===c}):hl,d=f.filter(function(g){return l.indexOf(g)>=0});d.length===0&&(d=f);var h=d.reduce(function(g,y){return g[y]=Nu(e,{placement:y,boundary:a,rootBoundary:o,padding:i})[nn(y)],g},{});return Object.keys(h).sort(function(g,y){return h[g]-h[y]})}function WQ(e){if(nn(e)===Ny)return[];var t=zc(e);return[sE(e),t,sE(t)]}function VQ(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,u=r.fallbackPlacements,l=r.padding,c=r.boundary,f=r.rootBoundary,d=r.altBoundary,h=r.flipVariations,g=h===void 0?!0:h,y=r.allowedAutoPlacements,v=t.options.placement,p=nn(v),b=p===v,x=u||(b||!g?[zc(v)]:WQ(v)),w=[v].concat(x).reduce(function(J,ee){return J.concat(nn(ee)===Ny?zQ(t,{placement:ee,boundary:c,rootBoundary:f,padding:l,flipVariations:g,allowedAutoPlacements:y}):ee)},[]),C=t.rects.reference,E=t.rects.popper,T=new Map,O=!0,P=w[0],D=0;D=0,Y=z?"width":"height",V=Nu(t,{placement:F,boundary:c,rootBoundary:f,altBoundary:d,padding:l}),G=z?j?Pr:Xt:j?Tr:qt;C[Y]>E[Y]&&(G=zc(G));var Z=zc(G),te=[];if(o&&te.push(V[W]<=0),s&&te.push(V[G]<=0,V[Z]<=0),te.every(function(J){return J})){P=F,O=!1;break}T.set(F,te)}if(O)for(var ne=g?3:1,A=function(ee){var he=w.find(function(ue){var fe=T.get(ue);if(fe)return fe.slice(0,ee).every(function(Pe){return Pe})});if(he)return P=he,"break"},I=ne;I>0;I--){var N=A(I);if(N==="break")break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}}var UQ={name:"flip",enabled:!0,phase:"main",fn:VQ,requiresIfExists:["offset"],data:{_skip:!1}};function lE(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function cE(e){return[qt,Pr,Tr,Xt].some(function(t){return e[t]>=0})}function HQ(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Nu(t,{elementContext:"reference"}),s=Nu(t,{altBoundary:!0}),u=lE(i,n),l=lE(s,a,o),c=cE(u),f=cE(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var GQ={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:HQ};function YQ(e,t,r){var n=nn(e),a=[Xt,qt].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Xt,Pr].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function KQ(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=B_.reduce(function(c,f){return c[f]=YQ(f,t.rects,o),c},{}),s=i[t.placement],u=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=i}var qQ={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:KQ};function XQ(e){var t=e.state,r=e.name;t.modifiersData[r]=H_({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var QQ={name:"popperOffsets",enabled:!0,phase:"read",fn:XQ,data:{}};function ZQ(e){return e==="x"?"y":"x"}function JQ(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,u=r.boundary,l=r.rootBoundary,c=r.altBoundary,f=r.padding,d=r.tether,h=d===void 0?!0:d,g=r.tetherOffset,y=g===void 0?0:g,v=Nu(t,{boundary:u,rootBoundary:l,padding:f,altBoundary:c}),p=nn(t.placement),b=Di(t.placement),x=!b,w=Wy(p),C=ZQ(w),E=t.modifiersData.popperOffsets,T=t.rects.reference,O=t.rects.popper,P=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,D=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),F=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,W={x:0,y:0};if(!!E){if(o){var j,z=w==="y"?qt:Xt,Y=w==="y"?Tr:Pr,V=w==="y"?"height":"width",G=E[w],Z=G+v[z],te=G-v[Y],ne=h?-O[V]/2:0,A=b===Oi?T[V]:O[V],I=b===Oi?-O[V]:-T[V],N=t.elements.arrow,J=h&&N?zy(N):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:z_(),he=ee[z],ue=ee[Y],fe=ru(0,T[V],J[V]),Pe=x?T[V]/2-ne-fe-he-D.mainAxis:A-fe-he-D.mainAxis,ye=x?-T[V]/2+ne+fe+ue+D.mainAxis:I+fe+ue+D.mainAxis,dt=t.elements.arrow&&gl(t.elements.arrow),fr=dt?w==="y"?dt.clientTop||0:dt.clientLeft||0:0,Lt=(j=F==null?void 0:F[w])!=null?j:0,X=G+Pe-Lt-fr,B=G+ye-Lt,H=ru(h?Vf(Z,X):Z,G,h?eo(te,B):te);E[w]=H,W[w]=H-G}if(s){var le,Oe=w==="x"?qt:Xt,Q=w==="x"?Tr:Pr,ae=E[C],Ae=C==="y"?"height":"width",St=ae+v[Oe],qe=ae-v[Q],zr=[qt,Xt].indexOf(p)!==-1,Sa=(le=F==null?void 0:F[C])!=null?le:0,se=zr?St:ae-T[Ae]-O[Ae]-Sa+D.altAxis,ke=zr?ae+T[Ae]+O[Ae]-Sa-D.altAxis:qe,De=h&&zr?EQ(se,ae,ke):ru(h?se:St,ae,h?ke:qe);E[C]=De,W[C]=De-ae}t.modifiersData[n]=W}}var eZ={name:"preventOverflow",enabled:!0,phase:"main",fn:JQ,requiresIfExists:["offset"]};function tZ(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function rZ(e){return e===sr(e)||!Sr(e)?Vy(e):tZ(e)}function nZ(e){var t=e.getBoundingClientRect(),r=_i(t.width)/e.offsetWidth||1,n=_i(t.height)/e.offsetHeight||1;return r!==1||n!==1}function aZ(e,t,r){r===void 0&&(r=!1);var n=Sr(t),a=Sr(t)&&nZ(t),o=wa(t),i=$i(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((un(t)!=="body"||Hy(o))&&(s=rZ(t)),Sr(t)?(u=$i(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=Uy(o))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}function oZ(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function iZ(e){var t=oZ(e);return gQ.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function sZ(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function uZ(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var fE={placement:"bottom",modifiers:[],strategy:"absolute"};function dE(){for(var e=arguments.length,t=new Array(e),r=0;r=0)&&(r[a]=e[a]);return r}function Mr(){return Mr=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var Y_={exports:{}},_Z="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",$Z=_Z,DZ=$Z;function K_(){}function q_(){}q_.resetWarningCache=K_;var RZ=function(){function e(n,a,o,i,s,u){if(u!==DZ){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:q_,resetWarningCache:K_};return r.PropTypes=r,r};Y_.exports=RZ();var Nt=Y_.exports,Jh="data-focus-lock",X_="data-focus-lock-disabled",AZ="data-no-focus-lock",IZ="data-autofocus-inside";function MZ(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function FZ(e,t){var r=m.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var a=r.value;a!==n&&(r.value=n,r.callback(n,a))}}}})[0];return r.callback=t,r.facade}function Gy(e,t){return FZ(t||null,function(r){return e.forEach(function(n){return MZ(n,r)})})}var Vp={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};function Q_(e){return e}function Z_(e,t){t===void 0&&(t=Q_);var r=[],n=!1,a={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(o){var i=t(o,n);return r.push(i),function(){r=r.filter(function(s){return s!==i})}},assignSyncMedium:function(o){for(n=!0;r.length;){var i=r;r=[],i.forEach(o)}r={push:function(s){return o(s)},filter:function(){return r}}},assignMedium:function(o){n=!0;var i=[];if(r.length){var s=r;r=[],s.forEach(o),i=r}var u=function(){var c=i;i=[],c.forEach(o)},l=function(){return Promise.resolve().then(u)};l(),r={push:function(c){i.push(c),l()},filter:function(c){return i=i.filter(c),r}}}};return a}function Qi(e,t){return t===void 0&&(t=Q_),Z_(e,t)}function Yy(e){e===void 0&&(e={});var t=Z_(null);return t.options=L({async:!0,ssr:!1},e),t}var J_=function(e){var t=e.sideCar,r=er(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return m.exports.createElement(n,L({},r))};J_.isSideCarExport=!0;function LZ(e,t){return e.useMedium(t),J_}var e$=Qi({},function(e){var t=e.target,r=e.currentTarget;return{target:t,currentTarget:r}}),t$=Qi(),BZ=Qi(),NZ=Yy({async:!0}),jZ=[],Ky=m.exports.forwardRef(function(t,r){var n,a=m.exports.useState(),o=a[0],i=a[1],s=m.exports.useRef(),u=m.exports.useRef(!1),l=m.exports.useRef(null),c=t.children,f=t.disabled,d=t.noFocusGuards,h=t.persistentFocus,g=t.crossFrame,y=t.autoFocus;t.allowTextSelection;var v=t.group,p=t.className,b=t.whiteList,x=t.shards,w=x===void 0?jZ:x,C=t.as,E=C===void 0?"div":C,T=t.lockProps,O=T===void 0?{}:T,P=t.sideCar,D=t.returnFocus,F=t.onActivation,W=t.onDeactivation,j=m.exports.useState({}),z=j[0],Y=m.exports.useCallback(function(){l.current=l.current||document&&document.activeElement,s.current&&F&&F(s.current),u.current=!0},[F]),V=m.exports.useCallback(function(){u.current=!1,W&&W(s.current)},[W]),G=m.exports.useCallback(function(ee){var he=l.current;if(Boolean(D)&&he&&he.focus){var ue=typeof D=="object"?D:void 0;l.current=null,ee?Promise.resolve().then(function(){return he.focus(ue)}):he.focus(ue)}},[D]),Z=m.exports.useCallback(function(ee){u.current&&e$.useMedium(ee)},[]),te=t$.useMedium,ne=m.exports.useCallback(function(ee){s.current!==ee&&(s.current=ee,i(ee))},[]),A=on((n={},n[X_]=f&&"disabled",n[Jh]=v,n),O),I=d!==!0,N=I&&d!=="tail",J=Gy([r,ne]);return m.exports.createElement(m.exports.Fragment,null,I&&[m.exports.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:Vp}),m.exports.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:Vp})],!f&&m.exports.createElement(P,{id:z,sideCar:NZ,observed:o,disabled:f,persistentFocus:h,crossFrame:g,autoFocus:y,whiteList:b,shards:w,onActivation:Y,onDeactivation:V,returnFocus:G}),m.exports.createElement(E,on({ref:J},A,{className:p,onBlur:te,onFocus:Z}),c),N&&m.exports.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:Vp}))});Ky.propTypes={};Ky.defaultProps={children:void 0,disabled:!1,returnFocus:!1,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var r$=Ky;function eg(e,t){return eg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},eg(e,t)}function zZ(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,eg(e,t)}function ju(e){return ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ju(e)}function WZ(e,t){if(ju(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ju(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function VZ(e){var t=WZ(e,"string");return ju(t)==="symbol"?t:String(t)}function UZ(e,t,r){return t=VZ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n$(e,t){function r(n){return n.displayName||n.name||"Component"}return function(a){var o=[],i;function s(){i=e(o.map(function(l){return l.props})),t(i)}var u=function(l){zZ(c,l);function c(){return l.apply(this,arguments)||this}c.peek=function(){return i};var f=c.prototype;return f.componentDidMount=function(){o.push(this),s()},f.componentDidUpdate=function(){s()},f.componentWillUnmount=function(){var h=o.indexOf(this);o.splice(h,1),s()},f.render=function(){return $.createElement(a,this.props)},c}(m.exports.PureComponent);return UZ(u,"displayName","SideEffect("+r(a)+")"),u}}var pa=function(e){for(var t=Array(e.length),r=0;r0&&t.add(a),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(i,s){return!t.has(s)})},a$=function(e){return e.parentNode?a$(e.parentNode):e},qy=function(e){var t=tg(e);return t.filter(Boolean).reduce(function(r,n){var a=n.getAttribute(Jh);return r.push.apply(r,a?HZ(pa(a$(n).querySelectorAll("["+Jh+'="'+a+'"]:not(['+X_+'="disabled"])'))):[n]),r},[])},GZ=function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!t||!t.getPropertyValue?!1:t.getPropertyValue("display")==="none"||t.getPropertyValue("visibility")==="hidden"},YZ=function(e,t){return!e||e===document||e&&e.nodeType===Node.DOCUMENT_NODE||!GZ(e)&&t(e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode)},o$=function(e,t){var r=e.get(t);if(r!==void 0)return r;var n=YZ(t,o$.bind(void 0,e));return e.set(t,n),n},KZ=function(e){return!((e.tagName==="INPUT"||e.tagName==="BUTTON")&&(e.type==="hidden"||e.disabled))},Xy=function(e){return Boolean(e&&e.dataset&&e.dataset.focusGuard)},Uf=function(e){return!Xy(e)},qZ=function(e){return Boolean(e)},XZ=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},i$=function(e,t,r){return pa(e).map(function(n,a){return{node:n,index:a,tabIndex:r&&n.tabIndex===-1?(n.dataset||{}).focusGuard?0:-1:n.tabIndex}}).filter(function(n){return!t||n.tabIndex>=0}).sort(XZ)},QZ=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],rg=QZ.join(","),ZZ=rg+", [data-focus-guard]",Qy=function(e,t){return e.reduce(function(r,n){return r.concat(pa(n.querySelectorAll(t?ZZ:rg)),n.parentNode?pa(n.parentNode.querySelectorAll(rg)).filter(function(a){return a===n}):[])},[])},JZ=function(e){var t=e.querySelectorAll("["+IZ+"]");return pa(t).map(function(r){return Qy([r])}).reduce(function(r,n){return r.concat(n)},[])},Zy=function(e,t){return pa(e).filter(function(r){return o$(t,r)}).filter(function(r){return KZ(r)})},ng=function(e,t,r){return i$(Zy(Qy(e,r),t),!0,r)},hE=function(e,t){return i$(Zy(Qy(e),t),!1)},eJ=function(e,t){return Zy(JZ(e),t)},ag=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&ag(e.parentNode,t),t},Up=function(e,t){for(var r=ag(e),n=ag(t),a=0;a=0)return o}return!1},s$=function(e,t,r){var n=tg(e),a=tg(t),o=n[0],i=!1;return a.filter(Boolean).forEach(function(s){i=Up(i||s,s)||i,r.filter(Boolean).forEach(function(u){var l=Up(o,u);l&&(!i||l.contains(i)?i=l:i=Up(l,i))})}),i},tJ=function(e,t){return e.reduce(function(r,n){return r.concat(eJ(n,t))},[])},rJ=function(e){var t=qy(e).filter(Uf),r=s$(e,e,t),n=new Map,a=ng([r],n,!0),o=ng(t,n).filter(function(i){var s=i.node;return Uf(s)}).map(function(i){var s=i.node;return s});return a.map(function(i){var s=i.node,u=i.index;return{node:s,index:u,lockItem:o.indexOf(s)>=0,guard:Xy(s)}})},nJ=function(e){return e===document.activeElement},aJ=function(e){return Boolean(pa(e.querySelectorAll("iframe")).some(function(t){return nJ(t)}))},u$=function(e){var t=document&&document.activeElement;return!t||t.dataset&&t.dataset.focusGuard?!1:qy(e).reduce(function(r,n){return r||n.contains(t)||aJ(n)},!1)},oJ=function(){return document&&pa(document.querySelectorAll("["+AZ+"]")).some(function(e){return e.contains(document.activeElement)})},l$=function(e){return e.tagName==="INPUT"&&e.type==="radio"},iJ=function(e,t){return t.filter(l$).filter(function(r){return r.name===e.name}).filter(function(r){return r.checked})[0]||e},Jy=function(e,t){return l$(e)&&e.name?iJ(e,t):e},sJ=function(e){var t=new Set;return e.forEach(function(r){return t.add(Jy(r,e))}),e.filter(function(r){return t.has(r)})},gE=function(e){return e[0]&&e.length>1?Jy(e[0],e):e[0]},yE=function(e,t){return e.length>1?e.indexOf(Jy(e[t],e)):t},c$="NEW_FOCUS",uJ=function(e,t,r,n){var a=e.length,o=e[0],i=e[a-1],s=Xy(r);if(!(e.indexOf(r)>=0)){var u=t.indexOf(r),l=n?t.indexOf(n):u,c=n?e.indexOf(n):-1,f=u-l,d=t.indexOf(o),h=t.indexOf(i),g=sJ(t),y=g.indexOf(r)-(n?g.indexOf(n):u),v=yE(e,0),p=yE(e,a-1);if(u===-1||c===-1)return c$;if(!f&&c>=0)return c;if(u<=d&&s&&Math.abs(f)>1)return p;if(u>=h&&s&&Math.abs(f)>1)return v;if(f&&Math.abs(y)>1)return c;if(u<=d)return p;if(u>h)return v;if(f)return Math.abs(f)>1?c:(a+c+f)%a}},lJ=function(e){return function(t){return t.autofocus||t.dataset&&!!t.dataset.autofocus||e.indexOf(t)>=0}},cJ=function(e,t){var r=new Map;return t.forEach(function(n){return r.set(n.node,n)}),e.map(function(n){return r.get(n)}).filter(qZ)},fJ=function(e,t){var r=document&&document.activeElement,n=qy(e).filter(Uf),a=s$(r||e,e,n),o=new Map,i=hE(n,o),s=ng(n,o).filter(function(h){var g=h.node;return Uf(g)});if(!(!s[0]&&(s=i,!s[0]))){var u=hE([a],o).map(function(h){var g=h.node;return g}),l=cJ(u,s),c=l.map(function(h){var g=h.node;return g}),f=uJ(c,u,r,t);if(f===c$){var d=i.map(function(h){var g=h.node;return g}).filter(lJ(tJ(n,o)));return{node:d&&d.length?gE(d):gE(c)}}return f===void 0?f:l[f]}},dJ=function(e){e.focus(),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},Hp=0,Gp=!1,vJ=function(e,t){var r=fJ(e,t);if(!Gp&&r){if(Hp>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Gp=!0,setTimeout(function(){Gp=!1},1);return}Hp++,dJ(r.node),Hp--}},f$=vJ;function d$(e){var t=window,r=t.setImmediate;typeof r!="undefined"?r(e):setTimeout(e,1)}var pJ=function(){return document&&document.activeElement===document.body},mJ=function(){return pJ()||oJ()},fi=null,Ko=null,di=null,zu=!1,hJ=function(){return!0},gJ=function(t){return(fi.whiteList||hJ)(t)},yJ=function(t,r){di={observerNode:t,portaledElement:r}},bJ=function(t){return di&&di.portaledElement===t};function bE(e,t,r,n){var a=null,o=e;do{var i=n[o];if(i.guard)i.node.dataset.focusAutoGuard&&(a=i);else if(i.lockItem){if(o!==e)return;a=null}else break}while((o+=r)!==t);a&&(a.node.tabIndex=0)}var xJ=function(t){return t&&"current"in t?t.current:t},wJ=function(t){return t?Boolean(zu):zu==="meanwhile"},Hf=function(){var t=!1;if(fi){var r=fi,n=r.observed,a=r.persistentFocus,o=r.autoFocus,i=r.shards,s=r.crossFrame,u=n||di&&di.portaledElement,l=document&&document.activeElement;if(u){var c=[u].concat(i.map(xJ).filter(Boolean));if((!l||gJ(l))&&(a||wJ(s)||!mJ()||!Ko&&o)&&(u&&!(u$(c)||bJ(l))&&(document&&!Ko&&l&&!o?(l.blur&&l.blur(),document.body.focus()):(t=f$(c,Ko),di={})),zu=!1,Ko=document&&document.activeElement),document){var f=document&&document.activeElement,d=rJ(c),h=d.map(function(g){var y=g.node;return y}).indexOf(f);h>-1&&(d.filter(function(g){var y=g.guard,v=g.node;return y&&v.dataset.focusAutoGuard}).forEach(function(g){var y=g.node;return y.removeAttribute("tabIndex")}),bE(h,d.length,1,d),bE(h,-1,-1,d))}}}return t},v$=function(t){Hf()&&t&&(t.stopPropagation(),t.preventDefault())},eb=function(){return d$(Hf)},SJ=function(t){var r=t.target,n=t.currentTarget;n.contains(r)||yJ(n,r)},EJ=function(){return null},p$=function(){zu="just",setTimeout(function(){zu="meanwhile"},0)},CJ=function(){document.addEventListener("focusin",v$,!0),document.addEventListener("focusout",eb),window.addEventListener("blur",p$)},TJ=function(){document.removeEventListener("focusin",v$,!0),document.removeEventListener("focusout",eb),window.removeEventListener("blur",p$)};function PJ(e){return e.filter(function(t){var r=t.disabled;return!r})}function kJ(e){var t=e.slice(-1)[0];t&&!fi&&CJ();var r=fi,n=r&&t&&t.id===r.id;fi=t,r&&!n&&(r.onDeactivation(),e.filter(function(a){var o=a.id;return o===r.id}).length||r.returnFocus(!t)),t?(Ko=null,(!n||r.observed!==t.observed)&&t.onActivation(),Hf(),d$(Hf)):(TJ(),Ko=null)}e$.assignSyncMedium(SJ);t$.assignMedium(eb);BZ.assignMedium(function(e){return e({moveFocusInside:f$,focusInside:u$})});var OJ=n$(PJ,kJ)(EJ),m$=m.exports.forwardRef(function(t,r){return m.exports.createElement(r$,on({sideCar:OJ,ref:r},t))}),h$=r$.propTypes||{};h$.sideCar;G_(h$,["sideCar"]);m$.propTypes={};var _J=m$,$J=function(t){var r=t.initialFocusRef,n=t.finalFocusRef,a=t.contentRef,o=t.restoreFocus,i=t.children,s=t.isDisabled,u=t.autoFocus,l=t.persistentFocus,c=t.lockFocusAcrossFrames,f=m.exports.useCallback(function(){if(r!=null&&r.current)r.current.focus();else if(a!=null&&a.current){var g=gk(a.current);g.length===0&&Jr(a.current,{nextTick:!0})}},[r,a]),d=m.exports.useCallback(function(){var g;n==null||(g=n.current)==null||g.focus()},[n]),h=o&&!n;return m.exports.createElement(_J,{crossFrame:c,persistentFocus:l,autoFocus:u,disabled:s,onActivation:f,onDeactivation:d,returnFocus:h},i)};/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var vi=function(){return vi=Object.assign||function(t){for(var r,n=1,a=arguments.length;n