diff --git a/assets/index.1ac3d857.js b/assets/index.1ac3d857.js deleted file mode 100644 index 27fad6c..0000000 --- a/assets/index.1ac3d857.js +++ /dev/null @@ -1,393 +0,0 @@ -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