From 37772e2cc8df7ca9b431b1566c25a19618b27304 Mon Sep 17 00:00:00 2001 From: Garett Tok Ern Liang <36098015+walnutdust@users.noreply.github.com> Date: Fri, 22 Dec 2023 13:16:41 -0800 Subject: [PATCH] savE (#719) Co-authored-by: Piotr Mardziel --- .../trulens_eval/pages/Evaluations.py | 2 +- .../{index-9a8f0f59.js => index-d2f862fd.js} | 26 +++++++++---------- .../record_viewer/dist/index.html | 2 +- .../src/RecordTable/RecordTableRow.tsx | 8 ++++-- 4 files changed, 21 insertions(+), 17 deletions(-) rename trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/{index-9a8f0f59.js => index-d2f862fd.js} (96%) diff --git a/trulens_eval/trulens_eval/pages/Evaluations.py b/trulens_eval/trulens_eval/pages/Evaluations.py index cb300ca32..fbb2c06f0 100644 --- a/trulens_eval/trulens_eval/pages/Evaluations.py +++ b/trulens_eval/trulens_eval/pages/Evaluations.py @@ -384,7 +384,7 @@ def highlight(s): match_query = None # Assumes record_json['perf']['start_time'] is always present - if val != record_json["perf"]["start_time"] and val != "": + if val != "": match = None for call in record.calls: if call.perf.start_time.isoformat() == val: diff --git a/trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/index-9a8f0f59.js b/trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/index-d2f862fd.js similarity index 96% rename from trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/index-9a8f0f59.js rename to trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/index-d2f862fd.js index 847a824c8..c4d157856 100644 --- a/trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/index-9a8f0f59.js +++ b/trulens_eval/trulens_eval/react_components/record_viewer/dist/assets/index-d2f862fd.js @@ -6,7 +6,7 @@ var LS=Object.defineProperty;var NS=(t,e,n)=>e in t?LS(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Va=Symbol.for("react.element"),$S=Symbol.for("react.portal"),US=Symbol.for("react.fragment"),zS=Symbol.for("react.strict_mode"),jS=Symbol.for("react.profiler"),VS=Symbol.for("react.provider"),WS=Symbol.for("react.context"),HS=Symbol.for("react.forward_ref"),YS=Symbol.for("react.suspense"),KS=Symbol.for("react.memo"),GS=Symbol.for("react.lazy"),mm=Symbol.iterator;function QS(t){return t===null||typeof t!="object"?null:(t=mm&&t[mm]||t["@@iterator"],typeof t=="function"?t:null)}var lv={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},uv=Object.assign,cv={};function co(t,e,n){this.props=t,this.context=e,this.refs=cv,this.updater=n||lv}co.prototype.isReactComponent={};co.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=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,t,e,"setState")};co.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function fv(){}fv.prototype=co.prototype;function Rp(t,e,n){this.props=t,this.context=e,this.refs=cv,this.updater=n||lv}var Mp=Rp.prototype=new fv;Mp.constructor=Rp;uv(Mp,co.prototype);Mp.isPureReactComponent=!0;var gm=Array.isArray,dv=Object.prototype.hasOwnProperty,Lp={current:null},pv={key:!0,ref:!0,__self:!0,__source:!0};function hv(t,e,n){var r,i={},o=null,s=null;if(e!=null)for(r in e.ref!==void 0&&(s=e.ref),e.key!==void 0&&(o=""+e.key),e)dv.call(e,r)&&!pv.hasOwnProperty(r)&&(i[r]=e[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1e in t?LS(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ex=T,tx=Symbol.for("react.element"),nx=Symbol.for("react.fragment"),rx=Object.prototype.hasOwnProperty,ix=ex.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,sx={key:!0,ref:!0,__self:!0,__source:!0};function yv(t,e,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),e.key!==void 0&&(o=""+e.key),e.ref!==void 0&&(s=e.ref);for(r in e)rx.call(e,r)&&!sx.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps,e)i[r]===void 0&&(i[r]=e[r]);return{$$typeof:tx,type:t,key:o,ref:s,props:i,_owner:ix.current}}lc.Fragment=nx;lc.jsx=yv;lc.jsxs=yv;ov.exports=lc;var D=ov.exports;const ox={black:"#000",white:"#fff"},fa=ox,ax={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},es=ax,lx={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},ts=lx,ux={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ns=ux,cx={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},rs=cx,fx={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},is=fx,dx={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Io=dx,px={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},pd=px;function B(){return B=Object.assign?Object.assign.bind():function(t){for(var e=1;e{e[n]=mv(t[n])}),e}function wr(t,e,n={clone:!0}){const r=n.clone?B({},t):t;return xi(t)&&xi(e)&&Object.keys(e).forEach(i=>{i!=="__proto__"&&(xi(e[i])&&i in t&&xi(t[i])?r[i]=wr(t[i],e[i],n):n.clone?r[i]=xi(e[i])?mv(e[i]):e[i]:r[i]=e[i])}),r}function $s(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n{e==null&&(bm+=1,n(`mui-${bm}`))},[e]),r}const _m=dd["useId".toString()];function mx(t){if(_m!==void 0){const e=_m();return t??e}return yx(t)}function gx({controlled:t,default:e,name:n,state:r="value"}){const{current:i}=T.useRef(t!==void 0),[o,s]=T.useState(e),a=i?t:o,l=T.useCallback(u=>{i||s(u)},[]);return[a,l]}function zo(t){const e=T.useRef(t);return da(()=>{e.current=t}),T.useCallback((...n)=>(0,e.current)(...n),[])}function ii(...t){return T.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{hd(n,e)})},t)}let uc=!0,yd=!1,Sm;const vx={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function wx(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&vx[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function bx(t){t.metaKey||t.altKey||t.ctrlKey||(uc=!0)}function vf(){uc=!1}function _x(){this.visibilityState==="hidden"&&yd&&(uc=!0)}function Sx(t){t.addEventListener("keydown",bx,!0),t.addEventListener("mousedown",vf,!0),t.addEventListener("pointerdown",vf,!0),t.addEventListener("touchstart",vf,!0),t.addEventListener("visibilitychange",_x,!0)}function xx(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return uc||wx(e)}function gv(){const t=T.useCallback(i=>{i!=null&&Sx(i.ownerDocument)},[]),e=T.useRef(!1);function n(){return e.current?(yd=!0,window.clearTimeout(Sm),Sm=window.setTimeout(()=>{yd=!1},100),e.current=!1,!0):!1}function r(i){return xx(i)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:r,onBlur:n,ref:t}}function vv(t,e){const n=B({},e);return Object.keys(t).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=B({},t[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=t[r]||{},o=e[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=B({},o),Object.keys(i).forEach(s=>{n[r][s]=vv(i[s],o[s])}))}else n[r]===void 0&&(n[r]=t[r])}),n}function xn(t,e,n=void 0){const r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((o,s)=>{if(s){const a=e(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const xm=t=>t,Tx=()=>{let t=xm;return{configure(e){t=e},generate(e){return t(e)},reset(){t=xm}}},Ix=Tx(),wv=Ix,Ex={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function en(t,e,n="Mui"){const r=Ex[e];return r?`${n}-${r}`:`${wv.generate(t)}-${e}`}function tn(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=en(t,i,n)}),r}const Us="$$material";function ye(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function bv(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Ox=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Bx=bv(function(t){return Ox.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function kx(t){if(t.sheet)return t.sheet;for(var e=0;e0?ot(fo,--Mt):0,zs--,Ge===10&&(zs=1,fc--),Ge}function Kt(){return Ge=Mt2||ha(Ge)>3?"":" "}function jx(t,e){for(;--e&&Kt()&&!(Ge<48||Ge>102||Ge>57&&Ge<65||Ge>70&&Ge<97););return Wa(t,Wl()+(e<6&&er()==32&&Kt()==32))}function gd(t){for(;Kt();)switch(Ge){case t:return Mt;case 34:case 39:t!==34&&t!==39&&gd(Ge);break;case 40:t===41&&gd(t);break;case 92:Kt();break}return Mt}function Vx(t,e){for(;Kt()&&t+Ge!==47+10;)if(t+Ge===42+42&&er()===47)break;return"/*"+Wa(e,Mt-1)+"*"+cc(t===47?t:Kt())}function Wx(t){for(;!ha(er());)Kt();return Wa(t,Mt)}function Hx(t){return Ev(Yl("",null,null,null,[""],t=Iv(t),0,[0],t))}function Yl(t,e,n,r,i,o,s,a,l){for(var u=0,c=0,f=s,d=0,y=0,v=0,g=1,E=1,h=1,p=0,m="",w=i,S=o,I=r,x=m;E;)switch(v=p,p=Kt()){case 40:if(v!=108&&ot(x,f-1)==58){md(x+=de(Hl(p),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:x+=Hl(p);break;case 9:case 10:case 13:case 32:x+=zx(v);break;case 92:x+=jx(Wl()-1,7);continue;case 47:switch(er()){case 42:case 47:yl(Yx(Vx(Kt(),Wl()),e,n),l);break;default:x+="/"}break;case 123*g:a[u++]=Gn(x)*h;case 125*g:case 59:case 0:switch(p){case 0:case 125:E=0;case 59+c:h==-1&&(x=de(x,/\f/g,"")),y>0&&Gn(x)-f&&yl(y>32?Im(x+";",r,n,f-1):Im(de(x," ","")+";",r,n,f-2),l);break;case 59:x+=";";default:if(yl(I=Tm(x,e,n,u,c,i,a,m,w=[],S=[],f),o),p===123)if(c===0)Yl(x,e,I,I,w,o,f,a,S);else switch(d===99&&ot(x,3)===110?100:d){case 100:case 108:case 109:case 115:Yl(t,I,I,r&&yl(Tm(t,I,I,0,0,i,a,m,i,w=[],f),S),i,S,f,a,r?w:S);break;default:Yl(x,I,I,I,[""],S,0,a,S)}}u=c=y=0,g=h=1,m=x="",f=s;break;case 58:f=1+Gn(x),y=v;default:if(g<1){if(p==123)--g;else if(p==125&&g++==0&&Ux()==125)continue}switch(x+=cc(p),p*g){case 38:h=c>0?1:(x+="\f",-1);break;case 44:a[u++]=(Gn(x)-1)*h,h=1;break;case 64:er()===45&&(x+=Hl(Kt())),d=er(),c=f=Gn(m=x+=Wx(Wl())),p++;break;case 45:v===45&&Gn(x)==2&&(g=0)}}return o}function Tm(t,e,n,r,i,o,s,a,l,u,c){for(var f=i-1,d=i===0?o:[""],y=Up(d),v=0,g=0,E=0;v0?d[h]+" "+p:de(p,/&\f/g,d[h])))&&(l[E++]=m);return dc(t,e,n,i===0?Pp:a,l,u,c)}function Yx(t,e,n){return dc(t,e,n,_v,cc($x()),pa(t,2,-2),0)}function Im(t,e,n,r){return dc(t,e,n,$p,pa(t,0,r),pa(t,r+1,-1),r)}function Is(t,e){for(var n="",r=Up(t),i=0;i6)switch(ot(t,e+1)){case 109:if(ot(t,e+4)!==45)break;case 102:return de(t,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+fu+(ot(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~md(t,"stretch")?Ov(de(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ot(t,e+1)!==115)break;case 6444:switch(ot(t,Gn(t)-3-(~md(t,"!important")&&10))){case 107:return de(t,":",":"+fe)+t;case 101:return de(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fe+(ot(t,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+ht+"$2box$3")+t}break;case 5936:switch(ot(t,e+11)){case 114:return fe+t+ht+de(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return fe+t+ht+de(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return fe+t+ht+de(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return fe+t+ht+t+t}return t}var tT=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case $p:e.return=Ov(e.value,e.length);break;case Sv:return Is([Eo(e,{value:de(e.value,"@","@"+fe)})],i);case Pp:if(e.length)return Px(e.props,function(o){switch(Nx(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Is([Eo(e,{props:[de(o,/:(read-\w+)/,":"+fu+"$1")]})],i);case"::placeholder":return Is([Eo(e,{props:[de(o,/:(plac\w+)/,":"+fe+"input-$1")]}),Eo(e,{props:[de(o,/:(plac\w+)/,":"+fu+"$1")]}),Eo(e,{props:[de(o,/:(plac\w+)/,ht+"input-$1")]})],i)}return""})}},nT=[tT],Bv=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var E=g.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||nT,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var E=g.getAttribute("data-emotion").split(" "),h=1;h{e[n]=mv(t[n])}),e}function wr(t,e,n={clone:!0}){const r=n.clone?B({},t):t;return xi(t)&&xi(e)&&Object.keys(e).forEach(i=>{i!=="__proto__"&&(xi(e[i])&&i in t&&xi(t[i])?r[i]=wr(t[i],e[i],n):n.clone?r[i]=xi(e[i])?mv(e[i]):e[i]:r[i]=e[i])}),r}function $s(t){let e="https://mui.com/production-error/?code="+t;for(let n=1;n{e==null&&(bm+=1,n(`mui-${bm}`))},[e]),r}const _m=dd["useId".toString()];function mx(t){if(_m!==void 0){const e=_m();return t??e}return yx(t)}function gx({controlled:t,default:e,name:n,state:r="value"}){const{current:i}=I.useRef(t!==void 0),[o,s]=I.useState(e),a=i?t:o,l=I.useCallback(u=>{i||s(u)},[]);return[a,l]}function zo(t){const e=I.useRef(t);return da(()=>{e.current=t}),I.useCallback((...n)=>(0,e.current)(...n),[])}function ii(...t){return I.useMemo(()=>t.every(e=>e==null)?null:e=>{t.forEach(n=>{hd(n,e)})},t)}let uc=!0,yd=!1,Sm;const vx={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function wx(t){const{type:e,tagName:n}=t;return!!(n==="INPUT"&&vx[e]&&!t.readOnly||n==="TEXTAREA"&&!t.readOnly||t.isContentEditable)}function bx(t){t.metaKey||t.altKey||t.ctrlKey||(uc=!0)}function vf(){uc=!1}function _x(){this.visibilityState==="hidden"&&yd&&(uc=!0)}function Sx(t){t.addEventListener("keydown",bx,!0),t.addEventListener("mousedown",vf,!0),t.addEventListener("pointerdown",vf,!0),t.addEventListener("touchstart",vf,!0),t.addEventListener("visibilitychange",_x,!0)}function xx(t){const{target:e}=t;try{return e.matches(":focus-visible")}catch{}return uc||wx(e)}function gv(){const t=I.useCallback(i=>{i!=null&&Sx(i.ownerDocument)},[]),e=I.useRef(!1);function n(){return e.current?(yd=!0,window.clearTimeout(Sm),Sm=window.setTimeout(()=>{yd=!1},100),e.current=!1,!0):!1}function r(i){return xx(i)?(e.current=!0,!0):!1}return{isFocusVisibleRef:e,onFocus:r,onBlur:n,ref:t}}function vv(t,e){const n=B({},e);return Object.keys(t).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=B({},t[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=t[r]||{},o=e[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=B({},o),Object.keys(i).forEach(s=>{n[r][s]=vv(i[s],o[s])}))}else n[r]===void 0&&(n[r]=t[r])}),n}function xn(t,e,n=void 0){const r={};return Object.keys(t).forEach(i=>{r[i]=t[i].reduce((o,s)=>{if(s){const a=e(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const xm=t=>t,Tx=()=>{let t=xm;return{configure(e){t=e},generate(e){return t(e)},reset(){t=xm}}},Ix=Tx(),wv=Ix,Ex={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function en(t,e,n="Mui"){const r=Ex[e];return r?`${n}-${r}`:`${wv.generate(t)}-${e}`}function tn(t,e,n="Mui"){const r={};return e.forEach(i=>{r[i]=en(t,i,n)}),r}const Us="$$material";function ye(t,e){if(t==null)return{};var n={},r=Object.keys(t),i,o;for(o=0;o=0)&&(n[i]=t[i]);return n}function bv(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var Ox=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Bx=bv(function(t){return Ox.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function kx(t){if(t.sheet)return t.sheet;for(var e=0;e0?ot(fo,--Mt):0,zs--,Ge===10&&(zs=1,fc--),Ge}function Kt(){return Ge=Mt2||ha(Ge)>3?"":" "}function jx(t,e){for(;--e&&Kt()&&!(Ge<48||Ge>102||Ge>57&&Ge<65||Ge>70&&Ge<97););return Wa(t,Wl()+(e<6&&er()==32&&Kt()==32))}function gd(t){for(;Kt();)switch(Ge){case t:return Mt;case 34:case 39:t!==34&&t!==39&&gd(Ge);break;case 40:t===41&&gd(t);break;case 92:Kt();break}return Mt}function Vx(t,e){for(;Kt()&&t+Ge!==47+10;)if(t+Ge===42+42&&er()===47)break;return"/*"+Wa(e,Mt-1)+"*"+cc(t===47?t:Kt())}function Wx(t){for(;!ha(er());)Kt();return Wa(t,Mt)}function Hx(t){return Ev(Yl("",null,null,null,[""],t=Iv(t),0,[0],t))}function Yl(t,e,n,r,i,o,s,a,l){for(var u=0,c=0,f=s,d=0,y=0,v=0,g=1,T=1,h=1,p=0,m="",w=i,S=o,E=r,x=m;T;)switch(v=p,p=Kt()){case 40:if(v!=108&&ot(x,f-1)==58){md(x+=de(Hl(p),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:x+=Hl(p);break;case 9:case 10:case 13:case 32:x+=zx(v);break;case 92:x+=jx(Wl()-1,7);continue;case 47:switch(er()){case 42:case 47:yl(Yx(Vx(Kt(),Wl()),e,n),l);break;default:x+="/"}break;case 123*g:a[u++]=Gn(x)*h;case 125*g:case 59:case 0:switch(p){case 0:case 125:T=0;case 59+c:h==-1&&(x=de(x,/\f/g,"")),y>0&&Gn(x)-f&&yl(y>32?Im(x+";",r,n,f-1):Im(de(x," ","")+";",r,n,f-2),l);break;case 59:x+=";";default:if(yl(E=Tm(x,e,n,u,c,i,a,m,w=[],S=[],f),o),p===123)if(c===0)Yl(x,e,E,E,w,o,f,a,S);else switch(d===99&&ot(x,3)===110?100:d){case 100:case 108:case 109:case 115:Yl(t,E,E,r&&yl(Tm(t,E,E,0,0,i,a,m,i,w=[],f),S),i,S,f,a,r?w:S);break;default:Yl(x,E,E,E,[""],S,0,a,S)}}u=c=y=0,g=h=1,m=x="",f=s;break;case 58:f=1+Gn(x),y=v;default:if(g<1){if(p==123)--g;else if(p==125&&g++==0&&Ux()==125)continue}switch(x+=cc(p),p*g){case 38:h=c>0?1:(x+="\f",-1);break;case 44:a[u++]=(Gn(x)-1)*h,h=1;break;case 64:er()===45&&(x+=Hl(Kt())),d=er(),c=f=Gn(m=x+=Wx(Wl())),p++;break;case 45:v===45&&Gn(x)==2&&(g=0)}}return o}function Tm(t,e,n,r,i,o,s,a,l,u,c){for(var f=i-1,d=i===0?o:[""],y=Up(d),v=0,g=0,T=0;v0?d[h]+" "+p:de(p,/&\f/g,d[h])))&&(l[T++]=m);return dc(t,e,n,i===0?Pp:a,l,u,c)}function Yx(t,e,n){return dc(t,e,n,_v,cc($x()),pa(t,2,-2),0)}function Im(t,e,n,r){return dc(t,e,n,$p,pa(t,0,r),pa(t,r+1,-1),r)}function Is(t,e){for(var n="",r=Up(t),i=0;i6)switch(ot(t,e+1)){case 109:if(ot(t,e+4)!==45)break;case 102:return de(t,/(.+:)(.+)-([^]+)/,"$1"+fe+"$2-$3$1"+fu+(ot(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~md(t,"stretch")?Ov(de(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ot(t,e+1)!==115)break;case 6444:switch(ot(t,Gn(t)-3-(~md(t,"!important")&&10))){case 107:return de(t,":",":"+fe)+t;case 101:return de(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+fe+(ot(t,14)===45?"inline-":"")+"box$3$1"+fe+"$2$3$1"+ht+"$2box$3")+t}break;case 5936:switch(ot(t,e+11)){case 114:return fe+t+ht+de(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return fe+t+ht+de(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return fe+t+ht+de(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return fe+t+ht+t+t}return t}var tT=function(e,n,r,i){if(e.length>-1&&!e.return)switch(e.type){case $p:e.return=Ov(e.value,e.length);break;case Sv:return Is([Eo(e,{value:de(e.value,"@","@"+fe)})],i);case Pp:if(e.length)return Px(e.props,function(o){switch(Nx(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Is([Eo(e,{props:[de(o,/:(read-\w+)/,":"+fu+"$1")]})],i);case"::placeholder":return Is([Eo(e,{props:[de(o,/:(plac\w+)/,":"+fe+"input-$1")]}),Eo(e,{props:[de(o,/:(plac\w+)/,":"+fu+"$1")]}),Eo(e,{props:[de(o,/:(plac\w+)/,ht+"input-$1")]})],i)}return""})}},nT=[tT],Bv=function(e){var n=e.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var T=g.getAttribute("data-emotion");T.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=e.stylisPlugins||nT,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var T=g.getAttribute("data-emotion").split(" "),h=1;h=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ST={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},xT=/[A-Z]|^ms/g,TT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Rv=function(e){return e.charCodeAt(1)===45},Am=function(e){return e!=null&&typeof e!="boolean"},wf=bv(function(t){return Rv(t)?t:t.replace(xT,"-$&").toLowerCase()}),Cm=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(TT,function(r,i,o){return Qn={name:i,styles:o,next:Qn},i})}return ST[e]!==1&&!Rv(e)&&typeof n=="number"&&n!==0?n+"px":n};function ya(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Qn={name:n.name,styles:n.styles,next:Qn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Qn={name:r.name,styles:r.styles,next:Qn},r=r.next;var i=n.styles+";";return i}return IT(t,e,n)}case"function":{if(t!==void 0){var o=Qn,s=n(t);return Qn=o,ya(t,e,s)}break}}if(e==null)return n;var a=e[n];return a!==void 0?a:n}function IT(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?FT:DT},Rm=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},RT=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return Dv(n,r,i),BT(function(){return bT(n,r,i)}),null},MT=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Rm(e,n,r),l=a||Dm(i),u=!l("as");return function(){var c=arguments,f=r&&e.__emotion_styles!==void 0?e.__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,y=1;y=4;++r,i-=4)n=t.charCodeAt(r)&255|(t.charCodeAt(++r)&255)<<8|(t.charCodeAt(++r)&255)<<16|(t.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(i){case 3:e^=(t.charCodeAt(r+2)&255)<<16;case 2:e^=(t.charCodeAt(r+1)&255)<<8;case 1:e^=t.charCodeAt(r)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ST={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},xT=/[A-Z]|^ms/g,TT=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Rv=function(e){return e.charCodeAt(1)===45},Am=function(e){return e!=null&&typeof e!="boolean"},wf=bv(function(t){return Rv(t)?t:t.replace(xT,"-$&").toLowerCase()}),Cm=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(TT,function(r,i,o){return Qn={name:i,styles:o,next:Qn},i})}return ST[e]!==1&&!Rv(e)&&typeof n=="number"&&n!==0?n+"px":n};function ya(t,e,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Qn={name:n.name,styles:n.styles,next:Qn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Qn={name:r.name,styles:r.styles,next:Qn},r=r.next;var i=n.styles+";";return i}return IT(t,e,n)}case"function":{if(t!==void 0){var o=Qn,s=n(t);return Qn=o,ya(t,e,s)}break}}if(e==null)return n;var a=e[n];return a!==void 0?a:n}function IT(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i96?FT:DT},Rm=function(e,n,r){var i;if(n){var o=n.shouldForwardProp;i=e.__emotion_forwardProp&&o?function(s){return e.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=e.__emotion_forwardProp),i},RT=function(e){var n=e.cache,r=e.serialized,i=e.isStringTag;return Dv(n,r,i),BT(function(){return bT(n,r,i)}),null},MT=function t(e,n){var r=e.__emotion_real===e,i=r&&e.__emotion_base||e,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Rm(e,n,r),l=a||Dm(i),u=!l("as");return function(){var c=arguments,f=r&&e.__emotion_styles!==void 0?e.__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,y=1;y{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},$T=["values","unit","step"],UT=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>B({},n,{[r.key]:r.val}),{})};function zT(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=t,i=ye(t,$T),o=UT(e),s=Object.keys(o);function a(d){return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof e[d]=="number"?e[d]:d)-r/100}${n})`}function u(d,y){const v=s.indexOf(y);return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n}) and (max-width:${(v!==-1&&typeof e[s[v]]=="number"?e[s[v]]:y)-r/100}${n})`}function c(d){return s.indexOf(d)+1`@media (min-width:${Gp[t]}px)`};function _r(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||Mm;return e.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(e[l]),s),{})}if(typeof e=="object"){const o=r.breakpoints||Mm;return Object.keys(e).reduce((s,a)=>{if(Object.keys(o.values||Gp).indexOf(a)!==-1){const l=o.up(a);s[l]=n(e[a],a)}else{const l=a;s[l]=e[l]}return s},{})}return n(e)}function WT(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function HT(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function xc(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function du(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=xc(t,n)||r,e&&(i=e(i,r,t)),i}function me(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=s=>{if(s[e]==null)return null;const a=s[e],l=s.theme,u=xc(l,r)||{};return _r(s,a,f=>{let d=du(u,i,f);return f===d&&typeof f=="string"&&(d=du(u,i,`${e}${f==="default"?"":De(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[e],o}function YT(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const KT={m:"margin",p:"padding"},GT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Lm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},QT=YT(t=>{if(t.length>2)if(Lm[t])t=Lm[t];else return[t];const[e,n]=t.split(""),r=KT[e],i=GT[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Qp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Xp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Qp,...Xp];function Ha(t,e,n,r){var i;const o=(i=xc(t,e,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function Pv(t){return Ha(t,"spacing",8)}function Ya(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),r=t(n);return e>=0?r:typeof r=="number"?-r:`-${r}`}function XT(t,e){return n=>t.reduce((r,i)=>(r[i]=Ya(e,n),r),{})}function JT(t,e,n,r){if(e.indexOf(n)===-1)return null;const i=QT(n),o=XT(i,r),s=t[n];return _r(t,s,o)}function $v(t,e){const n=Pv(t.theme);return Object.keys(t).map(r=>JT(t,e,r,n)).reduce(Go,{})}function je(t){return $v(t,Qp)}je.propTypes={};je.filterProps=Qp;function Ve(t){return $v(t,Xp)}Ve.propTypes={};Ve.filterProps=Xp;function qT(t=8){if(t.mui)return t;const e=Pv({spacing:t}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Tc(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?Go(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Jn(t){return typeof t!="number"?t:`${t}px solid`}const ZT=me({prop:"border",themeKey:"borders",transform:Jn}),e2=me({prop:"borderTop",themeKey:"borders",transform:Jn}),t2=me({prop:"borderRight",themeKey:"borders",transform:Jn}),n2=me({prop:"borderBottom",themeKey:"borders",transform:Jn}),r2=me({prop:"borderLeft",themeKey:"borders",transform:Jn}),i2=me({prop:"borderColor",themeKey:"palette"}),s2=me({prop:"borderTopColor",themeKey:"palette"}),o2=me({prop:"borderRightColor",themeKey:"palette"}),a2=me({prop:"borderBottomColor",themeKey:"palette"}),l2=me({prop:"borderLeftColor",themeKey:"palette"}),Ic=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Ha(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ya(e,r)});return _r(t,t.borderRadius,n)}return null};Ic.propTypes={};Ic.filterProps=["borderRadius"];Tc(ZT,e2,t2,n2,r2,i2,s2,o2,a2,l2,Ic);const Ec=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Ha(t.theme,"spacing",8),n=r=>({gap:Ya(e,r)});return _r(t,t.gap,n)}return null};Ec.propTypes={};Ec.filterProps=["gap"];const Oc=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Ha(t.theme,"spacing",8),n=r=>({columnGap:Ya(e,r)});return _r(t,t.columnGap,n)}return null};Oc.propTypes={};Oc.filterProps=["columnGap"];const Bc=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Ha(t.theme,"spacing",8),n=r=>({rowGap:Ya(e,r)});return _r(t,t.rowGap,n)}return null};Bc.propTypes={};Bc.filterProps=["rowGap"];const u2=me({prop:"gridColumn"}),c2=me({prop:"gridRow"}),f2=me({prop:"gridAutoFlow"}),d2=me({prop:"gridAutoColumns"}),p2=me({prop:"gridAutoRows"}),h2=me({prop:"gridTemplateColumns"}),y2=me({prop:"gridTemplateRows"}),m2=me({prop:"gridTemplateAreas"}),g2=me({prop:"gridArea"});Tc(Ec,Oc,Bc,u2,c2,f2,d2,p2,h2,y2,m2,g2);function Es(t,e){return e==="grey"?e:t}const v2=me({prop:"color",themeKey:"palette",transform:Es}),w2=me({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Es}),b2=me({prop:"backgroundColor",themeKey:"palette",transform:Es});Tc(v2,w2,b2);function Ht(t){return t<=1&&t!==0?`${t*100}%`:t}const _2=me({prop:"width",transform:Ht}),Jp=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var r;return{maxWidth:((r=t.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Gp[n]||Ht(n)}};return _r(t,t.maxWidth,e)}return null};Jp.filterProps=["maxWidth"];const S2=me({prop:"minWidth",transform:Ht}),x2=me({prop:"height",transform:Ht}),T2=me({prop:"maxHeight",transform:Ht}),I2=me({prop:"minHeight",transform:Ht});me({prop:"size",cssProperty:"width",transform:Ht});me({prop:"size",cssProperty:"height",transform:Ht});const E2=me({prop:"boxSizing"});Tc(_2,Jp,S2,x2,T2,I2,E2);const O2={border:{themeKey:"borders",transform:Jn},borderTop:{themeKey:"borders",transform:Jn},borderRight:{themeKey:"borders",transform:Jn},borderBottom:{themeKey:"borders",transform:Jn},borderLeft:{themeKey:"borders",transform:Jn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ic},color:{themeKey:"palette",transform:Es},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Es},backgroundColor:{themeKey:"palette",transform:Es},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:je},mt:{style:je},mr:{style:je},mb:{style:je},ml:{style:je},mx:{style:je},my:{style:je},margin:{style:je},marginTop:{style:je},marginRight:{style:je},marginBottom:{style:je},marginLeft:{style:je},marginX:{style:je},marginY:{style:je},marginInline:{style:je},marginInlineStart:{style:je},marginInlineEnd:{style:je},marginBlock:{style:je},marginBlockStart:{style:je},marginBlockEnd:{style:je},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ec},rowGap:{style:Bc},columnGap:{style:Oc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ht},maxWidth:{style:Jp},minWidth:{transform:Ht},height:{transform:Ht},maxHeight:{transform:Ht},minHeight:{transform:Ht},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},kc=O2;function B2(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function k2(t,e){return typeof t=="function"?t(e):t}function A2(){function t(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=xc(i,u)||{};return f?f(s):_r(s,r,v=>{let g=du(d,c,v);return v===g&&typeof v=="string"&&(g=du(d,c,`${n}${v==="default"?"":De(v)}`,v)),l===!1?g:{[l]:g}})}function e(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:kc;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=WT(o.breakpoints),f=Object.keys(c);let d=c;return Object.keys(u).forEach(y=>{const v=k2(u[y],o);if(v!=null)if(typeof v=="object")if(s[y])d=Go(d,t(y,v,o,s));else{const g=_r({theme:o},v,E=>({[y]:E}));B2(g,v)?d[y]=e({sx:v,theme:o}):d=Go(d,g)}else d=Go(d,t(y,v,o,s))}),HT(f,d)}return Array.isArray(i)?i.map(a):a(i)}return e}const Uv=A2();Uv.filterProps=["sx"];const Ac=Uv,C2=["breakpoints","palette","spacing","shape"];function qp(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=t,s=ye(t,C2),a=zT(n),l=qT(i);let u=wr({breakpoints:a,direction:"ltr",components:{},palette:B({mode:"light"},r),spacing:l,shape:B({},VT,o)},s);return u=e.reduce((c,f)=>wr(c,f),u),u.unstable_sxConfig=B({},kc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(f){return Ac({sx:f,theme:this})},u}function F2(t){return Object.keys(t).length===0}function Zp(t=null){const e=T.useContext(Yp);return!e||F2(e)?t:e}const D2=qp();function eh(t=D2){return Zp(t)}const R2=["sx"],M2=t=>{var e,n;const r={systemProps:{},otherProps:{}},i=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:kc;return Object.keys(t).forEach(o=>{i[o]?r.systemProps[o]=t[o]:r.otherProps[o]=t[o]}),r};function zv(t){const{sx:e}=t,n=ye(t,R2),{systemProps:r,otherProps:i}=M2(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...s)=>{const a=e(...s);return xi(a)?B({},r,a):r}:o=B({},r,e),B({},i,{sx:o})}function jv(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;ea!=="theme"&&a!=="sx"&&a!=="as"})(Ac);return T.forwardRef(function(l,u){const c=eh(n),f=zv(l),{className:d,component:y="div"}=f,v=ye(f,L2);return D.jsx(o,B({as:y,ref:u,className:Ee(d,i?i(r):r),theme:e&&c[e]||c},v))})}const P2=["variant"];function Nm(t){return t.length===0}function Vv(t){const{variant:e}=t,n=ye(t,P2);let r=e||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Nm(r)?t[i]:De(t[i]):r+=`${Nm(r)?i:De(i)}${De(t[i].toString())}`}),r}const $2=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function U2(t){return Object.keys(t).length===0}function z2(t){return typeof t=="string"&&t.charCodeAt(0)>96}const j2=(t,e)=>e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null,V2=(t,e)=>{let n=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants);const r={};return n.forEach(i=>{const o=Vv(i.props);r[o]=i.style}),r},W2=(t,e,n,r)=>{var i;const{ownerState:o={}}=t,s=[],a=n==null||(i=n.components)==null||(i=i[r])==null?void 0:i.variants;return a&&a.forEach(l=>{let u=!0;Object.keys(l.props).forEach(c=>{o[c]!==l.props[c]&&t[c]!==l.props[c]&&(u=!1)}),u&&s.push(e[Vv(l.props)])}),s};function Kl(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const H2=qp();function Oo({defaultTheme:t,theme:e,themeId:n}){return U2(e)?t:e[n]||e}function Y2(t={}){const{themeId:e,defaultTheme:n=H2,rootShouldForwardProp:r=Kl,slotShouldForwardProp:i=Kl}=t,o=s=>Ac(B({},s,{theme:Oo(B({},s,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(s,a={})=>{PT(s,w=>w.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:d}=a,y=ye(a,$2),v=c!==void 0?c:u&&u!=="Root"||!1,g=f||!1;let E,h=Kl;u==="Root"?h=r:u?h=i:z2(s)&&(h=void 0);const p=Nv(s,B({shouldForwardProp:h,label:E},y)),m=(w,...S)=>{const I=S?S.map(k=>typeof k=="function"&&k.__emotion_real!==k?$=>k(B({},$,{theme:Oo(B({},$,{defaultTheme:n,themeId:e}))})):k):[];let x=w;l&&d&&I.push(k=>{const $=Oo(B({},k,{defaultTheme:n,themeId:e})),ne=j2(l,$);if(ne){const q={};return Object.entries(ne).forEach(([Ie,z])=>{q[Ie]=typeof z=="function"?z(B({},k,{theme:$})):z}),d(k,q)}return null}),l&&!v&&I.push(k=>{const $=Oo(B({},k,{defaultTheme:n,themeId:e}));return W2(k,V2(l,$),$,l)}),g||I.push(o);const A=I.length-S.length;if(Array.isArray(w)&&A>0){const k=new Array(A).fill("");x=[...w,...k],x.raw=[...w.raw,...k]}else typeof w=="function"&&w.__emotion_real!==w&&(x=k=>w(B({},k,{theme:Oo(B({},k,{defaultTheme:n,themeId:e}))})));const M=p(x,...I);return s.muiName&&(M.muiName=s.muiName),M};return p.withConfig&&(m.withConfig=p.withConfig),m}}function K2(t){const{theme:e,name:n,props:r}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?r:vv(e.components[n].defaultProps,r)}function G2({props:t,name:e,defaultTheme:n,themeId:r}){let i=eh(n);return r&&(i=i[r]||i),K2({theme:i,name:e,props:t})}function th(t,e=0,n=1){return Math.min(Math.max(e,t),n)}function Q2(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Di(t){if(t.type)return t;if(t.charAt(0)==="#")return Di(Q2(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error($s(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error($s(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Cc(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function X2(t){t=Di(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),s=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(a+="a",l.push(e[3])),Cc({type:a,values:l})}function Pm(t){t=Di(t);let e=t.type==="hsl"||t.type==="hsla"?Di(X2(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function J2(t,e){const n=Pm(t),r=Pm(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function si(t,e){return t=Di(t),e=th(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Cc(t)}function Wv(t,e){if(t=Di(t),e=th(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Cc(t)}function Hv(t,e){if(t=Di(t),e=th(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Cc(t)}const q2=T.createContext(null),Yv=q2;function Kv(){return T.useContext(Yv)}const Z2=typeof Symbol=="function"&&Symbol.for,eI=Z2?Symbol.for("mui.nested"):"__THEME_NESTED__";function tI(t,e){return typeof e=="function"?e(t):B({},t,e)}function nI(t){const{children:e,theme:n}=t,r=Kv(),i=T.useMemo(()=>{const o=r===null?n:tI(r,n);return o!=null&&(o[eI]=r!==null),o},[n,r]);return D.jsx(Yv.Provider,{value:i,children:e})}const $m={};function Um(t,e,n,r=!1){return T.useMemo(()=>{const i=t&&e[t]||e;if(typeof n=="function"){const o=n(i),s=t?B({},e,{[t]:o}):o;return r?()=>s:s}return t?B({},e,{[t]:n}):B({},e,n)},[t,e,n,r])}function rI(t){const{children:e,theme:n,themeId:r}=t,i=Zp($m),o=Kv()||$m,s=Um(r,i,n),a=Um(r,o,n,!0);return D.jsx(nI,{theme:a,children:D.jsx(Yp.Provider,{value:s,children:e})})}function iI(t,e){return B({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}const sI=["mode","contrastThreshold","tonalOffset"],zm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fa.white,default:fa.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},bf={text:{primary:fa.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fa.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function jm(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Hv(t.main,i):e==="dark"&&(t.dark=Wv(t.main,o)))}function oI(t="light"){return t==="dark"?{main:ns[200],light:ns[50],dark:ns[400]}:{main:ns[700],light:ns[400],dark:ns[800]}}function aI(t="light"){return t==="dark"?{main:ts[200],light:ts[50],dark:ts[400]}:{main:ts[500],light:ts[300],dark:ts[700]}}function lI(t="light"){return t==="dark"?{main:es[500],light:es[300],dark:es[700]}:{main:es[700],light:es[400],dark:es[800]}}function uI(t="light"){return t==="dark"?{main:rs[400],light:rs[300],dark:rs[700]}:{main:rs[700],light:rs[500],dark:rs[900]}}function cI(t="light"){return t==="dark"?{main:is[400],light:is[300],dark:is[700]}:{main:is[800],light:is[500],dark:is[900]}}function fI(t="light"){return t==="dark"?{main:Io[400],light:Io[300],dark:Io[700]}:{main:"#ed6c02",light:Io[500],dark:Io[900]}}function dI(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2}=t,i=ye(t,sI),o=t.primary||oI(e),s=t.secondary||aI(e),a=t.error||lI(e),l=t.info||uI(e),u=t.success||cI(e),c=t.warning||fI(e);function f(g){return J2(g,bf.text.primary)>=n?bf.text.primary:zm.text.primary}const d=({color:g,name:E,mainShade:h=500,lightShade:p=300,darkShade:m=700})=>{if(g=B({},g),!g.main&&g[h]&&(g.main=g[h]),!g.hasOwnProperty("main"))throw new Error($s(11,E?` (${E})`:"",h));if(typeof g.main!="string")throw new Error($s(12,E?` (${E})`:"",JSON.stringify(g.main)));return jm(g,"light",p,r),jm(g,"dark",m,r),g.contrastText||(g.contrastText=f(g.main)),g},y={dark:bf,light:zm};return wr(B({common:B({},fa),mode:e,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:pd,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},y[e]),i)}const pI=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function hI(t){return Math.round(t*1e5)/1e5}const Vm={textTransform:"uppercase"},Wm='"Roboto", "Helvetica", "Arial", sans-serif';function yI(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:r=Wm,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=ye(n,pI),y=i/14,v=f||(h=>`${h/u*y}rem`),g=(h,p,m,w,S)=>B({fontFamily:r,fontWeight:h,fontSize:v(p),lineHeight:m},r===Wm?{letterSpacing:`${hI(w/p)}em`}:{},S,c),E={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(a,14,1.75,.4,Vm),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,Vm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wr(B({htmlFontSize:u,pxToRem:v,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},E),d,{clone:!1})}const mI=.2,gI=.14,vI=.12;function Re(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${mI})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${gI})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${vI})`].join(",")}const wI=["none",Re(0,2,1,-1,0,1,1,0,0,1,3,0),Re(0,3,1,-2,0,2,2,0,0,1,5,0),Re(0,3,3,-2,0,3,4,0,0,1,8,0),Re(0,2,4,-1,0,4,5,0,0,1,10,0),Re(0,3,5,-1,0,5,8,0,0,1,14,0),Re(0,3,5,-1,0,6,10,0,0,1,18,0),Re(0,4,5,-2,0,7,10,1,0,2,16,1),Re(0,5,5,-3,0,8,10,1,0,3,14,2),Re(0,5,6,-3,0,9,12,1,0,3,16,2),Re(0,6,6,-3,0,10,14,1,0,4,18,3),Re(0,6,7,-4,0,11,15,1,0,4,20,3),Re(0,7,8,-4,0,12,17,2,0,5,22,4),Re(0,7,8,-4,0,13,19,2,0,5,24,4),Re(0,7,9,-4,0,14,21,2,0,5,26,4),Re(0,8,9,-5,0,15,22,2,0,6,28,5),Re(0,8,10,-5,0,16,24,2,0,6,30,5),Re(0,8,11,-5,0,17,26,2,0,6,32,5),Re(0,9,11,-5,0,18,28,2,0,7,34,6),Re(0,9,12,-6,0,19,29,2,0,7,36,6),Re(0,10,13,-6,0,20,31,3,0,8,38,7),Re(0,10,13,-6,0,21,33,3,0,8,40,7),Re(0,10,14,-6,0,22,35,3,0,8,42,7),Re(0,11,14,-7,0,23,36,3,0,9,44,8),Re(0,11,15,-7,0,24,38,3,0,9,46,8)],bI=wI,_I=["duration","easing","delay"],SI={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},xI={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hm(t){return`${Math.round(t)}ms`}function TI(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function II(t){const e=B({},SI,t.easing),n=B({},xI,t.duration);return B({getAutoHeightDuration:TI,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=e.easeInOut,delay:l=0}=o;return ye(o,_I),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:Hm(s)} ${a} ${typeof l=="string"?l:Hm(l)}`).join(",")}},t,{easing:e,duration:n})}const EI={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},OI=EI,BI=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function nh(t={},...e){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=t,s=ye(t,BI);if(t.vars)throw new Error($s(18));const a=dI(r),l=qp(t);let u=wr(l,{mixins:iI(l.breakpoints,n),palette:a,shadows:bI.slice(),typography:yI(a,o),transitions:II(i),zIndex:B({},OI)});return u=wr(u,s),u=e.reduce((c,f)=>wr(c,f),u),u.unstable_sxConfig=B({},kc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(f){return Ac({sx:f,theme:this})},u}const kI=nh(),rh=kI;function Gv(){const t=eh(rh);return t[Us]||t}function rn({props:t,name:e}){return G2({props:t,name:e,defaultTheme:rh,themeId:Us})}const AI=t=>Kl(t)&&t!=="classes",CI=Y2({themeId:Us,defaultTheme:rh,rootShouldForwardProp:AI}),gt=CI,FI=["theme"];function DI(t){let{theme:e}=t,n=ye(t,FI);const r=e[Us];return D.jsx(rI,B({},n,{themeId:r?Us:void 0,theme:r||e}))}function RI(t){return typeof t=="string"}function jo(t,e,n){return t===void 0||RI(t)?e:B({},e,{ownerState:B({},e.ownerState,n)})}const MI={disableDefaultClasses:!1},LI=T.createContext(MI);function NI(t){const{disableDefaultClasses:e}=T.useContext(LI);return n=>e?"":t(n)}function PI(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(r=>r.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function $I(t,e,n){return typeof t=="function"?t(e,n):t}function Ym(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function UI(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const y=Ee(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),v=B({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),g=B({},n,i,r);return y.length>0&&(g.className=y),Object.keys(v).length>0&&(g.style=v),{props:g,internalRef:void 0}}const s=PI(B({},i,r)),a=Ym(r),l=Ym(i),u=e(s),c=Ee(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),f=B({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),d=B({},u,n,l,a);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}const zI=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function jI(t){var e;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=t,s=ye(t,zI),a=o?{}:$I(r,i),{props:l,internalRef:u}=UI(B({},s,{externalSlotProps:a})),c=ii(u,a==null?void 0:a.ref,(e=t.additionalProps)==null?void 0:e.ref);return jo(n,B({},l,{ref:c}),i)}var At="top",vn="bottom",wn="right",Ct="left",ih="auto",Ka=[At,vn,wn,Ct],js="start",ma="end",VI="clippingParents",Qv="viewport",Bo="popper",WI="reference",Km=Ka.reduce(function(t,e){return t.concat([e+"-"+js,e+"-"+ma])},[]),Xv=[].concat(Ka,[ih]).reduce(function(t,e){return t.concat([e,e+"-"+js,e+"-"+ma])},[]),HI="beforeRead",YI="read",KI="afterRead",GI="beforeMain",QI="main",XI="afterMain",JI="beforeWrite",qI="write",ZI="afterWrite",eE=[HI,YI,KI,GI,QI,XI,JI,qI,ZI];function ir(t){return t?(t.nodeName||"").toLowerCase():null}function Xt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ri(t){var e=Xt(t).Element;return t instanceof e||t instanceof Element}function yn(t){var e=Xt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function sh(t){if(typeof ShadowRoot>"u")return!1;var e=Xt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function tE(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!yn(o)||!ir(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function nE(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=s.reduce(function(l,u){return l[u]="",l},{});!yn(i)||!ir(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const rE={name:"applyStyles",enabled:!0,phase:"write",fn:tE,effect:nE,requires:["computeStyles"]};function tr(t){return t.split("-")[0]}var ki=Math.max,pu=Math.min,Vs=Math.round;function bd(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Jv(){return!/^((?!chrome|android).)*safari/i.test(bd())}function Ws(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&yn(t)&&(i=t.offsetWidth>0&&Vs(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Vs(r.height)/t.offsetHeight||1);var s=Ri(t)?Xt(t):window,a=s.visualViewport,l=!Jv()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/i,c=(r.top+(l&&a?a.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function oh(t){var e=Ws(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function qv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&sh(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Sr(t){return Xt(t).getComputedStyle(t)}function iE(t){return["table","td","th"].indexOf(ir(t))>=0}function di(t){return((Ri(t)?t.ownerDocument:t.document)||window.document).documentElement}function Fc(t){return ir(t)==="html"?t:t.assignedSlot||t.parentNode||(sh(t)?t.host:null)||di(t)}function Gm(t){return!yn(t)||Sr(t).position==="fixed"?null:t.offsetParent}function sE(t){var e=/firefox/i.test(bd()),n=/Trident/i.test(bd());if(n&&yn(t)){var r=Sr(t);if(r.position==="fixed")return null}var i=Fc(t);for(sh(i)&&(i=i.host);yn(i)&&["html","body"].indexOf(ir(i))<0;){var o=Sr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Ga(t){for(var e=Xt(t),n=Gm(t);n&&iE(n)&&Sr(n).position==="static";)n=Gm(n);return n&&(ir(n)==="html"||ir(n)==="body"&&Sr(n).position==="static")?e:n||sE(t)||e}function ah(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Qo(t,e,n){return ki(t,pu(e,n))}function oE(t,e,n){var r=Qo(t,e,n);return r>n?n:r}function Zv(){return{top:0,right:0,bottom:0,left:0}}function e1(t){return Object.assign({},Zv(),t)}function t1(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var aE=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,e1(typeof e!="number"?e:t1(e,Ka))};function lE(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=tr(n.placement),l=ah(a),u=[Ct,wn].indexOf(a)>=0,c=u?"height":"width";if(!(!o||!s)){var f=aE(i.padding,n),d=oh(o),y=l==="y"?At:Ct,v=l==="y"?vn:wn,g=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],E=s[l]-n.rects.reference[l],h=Ga(o),p=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,m=g/2-E/2,w=f[y],S=p-d[c]-f[v],I=p/2-d[c]/2+m,x=Qo(w,I,S),A=l;n.modifiersData[r]=(e={},e[A]=x,e.centerOffset=x-I,e)}}function uE(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||qv(e.elements.popper,i)&&(e.elements.arrow=i))}const cE={name:"arrow",enabled:!0,phase:"main",fn:lE,effect:uE,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(t){return t.split("-")[1]}var fE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dE(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:Vs(n*i)/i||0,y:Vs(r*i)/i||0}}function Qm(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,d=s.x,y=d===void 0?0:d,v=s.y,g=v===void 0?0:v,E=typeof c=="function"?c({x:y,y:g}):{x:y,y:g};y=E.x,g=E.y;var h=s.hasOwnProperty("x"),p=s.hasOwnProperty("y"),m=Ct,w=At,S=window;if(u){var I=Ga(n),x="clientHeight",A="clientWidth";if(I===Xt(n)&&(I=di(n),Sr(I).position!=="static"&&a==="absolute"&&(x="scrollHeight",A="scrollWidth")),I=I,i===At||(i===Ct||i===wn)&&o===ma){w=vn;var M=f&&I===S&&S.visualViewport?S.visualViewport.height:I[x];g-=M-r.height,g*=l?1:-1}if(i===Ct||(i===At||i===vn)&&o===ma){m=wn;var k=f&&I===S&&S.visualViewport?S.visualViewport.width:I[A];y-=k-r.width,y*=l?1:-1}}var $=Object.assign({position:a},u&&fE),ne=c===!0?dE({x:y,y:g},Xt(n)):{x:y,y:g};if(y=ne.x,g=ne.y,l){var q;return Object.assign({},$,(q={},q[w]=p?"0":"",q[m]=h?"0":"",q.transform=(S.devicePixelRatio||1)<=1?"translate("+y+"px, "+g+"px)":"translate3d("+y+"px, "+g+"px, 0)",q))}return Object.assign({},$,(e={},e[w]=p?g+"px":"",e[m]=h?y+"px":"",e.transform="",e))}function pE(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:tr(e.placement),variation:Hs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Qm(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Qm(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const hE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pE,data:{}};var ml={passive:!0};function yE(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=Xt(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,ml)}),a&&l.addEventListener("resize",n.update,ml),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ml)}),a&&l.removeEventListener("resize",n.update,ml)}}const mE={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:yE,data:{}};var gE={left:"right",right:"left",bottom:"top",top:"bottom"};function Gl(t){return t.replace(/left|right|bottom|top/g,function(e){return gE[e]})}var vE={start:"end",end:"start"};function Xm(t){return t.replace(/start|end/g,function(e){return vE[e]})}function lh(t){var e=Xt(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function uh(t){return Ws(di(t)).left+lh(t).scrollLeft}function wE(t,e){var n=Xt(t),r=di(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var u=Jv();(u||!u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+uh(t),y:l}}function bE(t){var e,n=di(t),r=lh(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ki(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=ki(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+uh(t),l=-r.scrollTop;return Sr(i||n).direction==="rtl"&&(a+=ki(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function ch(t){var e=Sr(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function n1(t){return["html","body","#document"].indexOf(ir(t))>=0?t.ownerDocument.body:yn(t)&&ch(t)?t:n1(Fc(t))}function Xo(t,e){var n;e===void 0&&(e=[]);var r=n1(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Xt(r),s=i?[o].concat(o.visualViewport||[],ch(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(Xo(Fc(s)))}function _d(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _E(t,e){var n=Ws(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Jm(t,e,n){return e===Qv?_d(wE(t,n)):Ri(e)?_E(e,n):_d(bE(di(t)))}function SE(t){var e=Xo(Fc(t)),n=["absolute","fixed"].indexOf(Sr(t).position)>=0,r=n&&yn(t)?Ga(t):t;return Ri(r)?e.filter(function(i){return Ri(i)&&qv(i,r)&&ir(i)!=="body"}):[]}function xE(t,e,n,r){var i=e==="clippingParents"?SE(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,u){var c=Jm(t,u,r);return l.top=ki(c.top,l.top),l.right=pu(c.right,l.right),l.bottom=pu(c.bottom,l.bottom),l.left=ki(c.left,l.left),l},Jm(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function r1(t){var e=t.reference,n=t.element,r=t.placement,i=r?tr(r):null,o=r?Hs(r):null,s=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case At:l={x:s,y:e.y-n.height};break;case vn:l={x:s,y:e.y+e.height};break;case wn:l={x:e.x+e.width,y:a};break;case Ct:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=i?ah(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case js:l[u]=l[u]-(e[c]/2-n[c]/2);break;case ma:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function ga(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,s=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?VI:a,u=n.rootBoundary,c=u===void 0?Qv:u,f=n.elementContext,d=f===void 0?Bo:f,y=n.altBoundary,v=y===void 0?!1:y,g=n.padding,E=g===void 0?0:g,h=e1(typeof E!="number"?E:t1(E,Ka)),p=d===Bo?WI:Bo,m=t.rects.popper,w=t.elements[v?p:d],S=xE(Ri(w)?w:w.contextElement||di(t.elements.popper),l,c,s),I=Ws(t.elements.reference),x=r1({reference:I,element:m,strategy:"absolute",placement:i}),A=_d(Object.assign({},m,x)),M=d===Bo?A:I,k={top:S.top-M.top+h.top,bottom:M.bottom-S.bottom+h.bottom,left:S.left-M.left+h.left,right:M.right-S.right+h.right},$=t.modifiersData.offset;if(d===Bo&&$){var ne=$[i];Object.keys(k).forEach(function(q){var Ie=[wn,vn].indexOf(q)>=0?1:-1,z=[At,vn].indexOf(q)>=0?"y":"x";k[q]+=ne[z]*Ie})}return k}function TE(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Xv:l,c=Hs(r),f=c?a?Km:Km.filter(function(v){return Hs(v)===c}):Ka,d=f.filter(function(v){return u.indexOf(v)>=0});d.length===0&&(d=f);var y=d.reduce(function(v,g){return v[g]=ga(t,{placement:g,boundary:i,rootBoundary:o,padding:s})[tr(g)],v},{});return Object.keys(y).sort(function(v,g){return y[v]-y[g]})}function IE(t){if(tr(t)===ih)return[];var e=Gl(t);return[Xm(t),e,Xm(e)]}function EE(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,y=n.flipVariations,v=y===void 0?!0:y,g=n.allowedAutoPlacements,E=e.options.placement,h=tr(E),p=h===E,m=l||(p||!v?[Gl(E)]:IE(E)),w=[E].concat(m).reduce(function(ke,Je){return ke.concat(tr(Je)===ih?TE(e,{placement:Je,boundary:c,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:g}):Je)},[]),S=e.rects.reference,I=e.rects.popper,x=new Map,A=!0,M=w[0],k=0;k=0,z=Ie?"width":"height",j=ga(e,{placement:$,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),re=Ie?q?wn:Ct:q?vn:At;S[z]>I[z]&&(re=Gl(re));var F=Gl(re),N=[];if(o&&N.push(j[ne]<=0),a&&N.push(j[re]<=0,j[F]<=0),N.every(function(ke){return ke})){M=$,A=!1;break}x.set($,N)}if(A)for(var P=v?3:1,pe=function(Je){var Ke=w.find(function(vt){var it=x.get(vt);if(it)return it.slice(0,Je).every(function(He){return He})});if(Ke)return M=Ke,"break"},xe=P;xe>0;xe--){var It=pe(xe);if(It==="break")break}e.placement!==M&&(e.modifiersData[r]._skip=!0,e.placement=M,e.reset=!0)}}const OE={name:"flip",enabled:!0,phase:"main",fn:EE,requiresIfExists:["offset"],data:{_skip:!1}};function qm(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Zm(t){return[At,wn,vn,Ct].some(function(e){return t[e]>=0})}function BE(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=ga(e,{elementContext:"reference"}),a=ga(e,{altBoundary:!0}),l=qm(s,r),u=qm(a,i,o),c=Zm(l),f=Zm(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const kE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:BE};function AE(t,e,n){var r=tr(t),i=[Ct,At].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Ct,wn].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function CE(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,s=Xv.reduce(function(c,f){return c[f]=AE(f,e.rects,o),c},{}),a=s[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=s}const FE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:CE};function DE(t){var e=t.state,n=t.name;e.modifiersData[n]=r1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const RE={name:"popperOffsets",enabled:!0,phase:"read",fn:DE,data:{}};function ME(t){return t==="x"?"y":"x"}function LE(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,y=d===void 0?!0:d,v=n.tetherOffset,g=v===void 0?0:v,E=ga(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),h=tr(e.placement),p=Hs(e.placement),m=!p,w=ah(h),S=ME(w),I=e.modifiersData.popperOffsets,x=e.rects.reference,A=e.rects.popper,M=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,k=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),$=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,ne={x:0,y:0};if(I){if(o){var q,Ie=w==="y"?At:Ct,z=w==="y"?vn:wn,j=w==="y"?"height":"width",re=I[w],F=re+E[Ie],N=re-E[z],P=y?-A[j]/2:0,pe=p===js?x[j]:A[j],xe=p===js?-A[j]:-x[j],It=e.elements.arrow,ke=y&&It?oh(It):{width:0,height:0},Je=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Zv(),Ke=Je[Ie],vt=Je[z],it=Qo(0,x[j],ke[j]),He=m?x[j]/2-P-it-Ke-k.mainAxis:pe-it-Ke-k.mainAxis,Rr=m?-x[j]/2+P+it+vt+k.mainAxis:xe+it+vt+k.mainAxis,an=e.elements.arrow&&Ga(e.elements.arrow),wo=an?w==="y"?an.clientTop||0:an.clientLeft||0:0,Qi=(q=$==null?void 0:$[w])!=null?q:0,Xi=re+He-Qi-wo,ln=re+Rr-Qi,Mr=Qo(y?pu(F,Xi):F,re,y?ki(N,ln):N);I[w]=Mr,ne[w]=Mr-re}if(a){var Ji,cr=w==="x"?At:Ct,qi=w==="x"?vn:wn,wt=I[S],Vn=S==="y"?"height":"width",fr=wt+E[cr],Lr=wt-E[qi],Pt=[At,Ct].indexOf(h)!==-1,$t=(Ji=$==null?void 0:$[S])!=null?Ji:0,un=Pt?fr:wt-x[Vn]-A[Vn]-$t+k.altAxis,Nr=Pt?wt+x[Vn]+A[Vn]-$t-k.altAxis:Lr,Zi=y&&Pt?oE(un,wt,Nr):Qo(y?un:fr,wt,y?Nr:Lr);I[S]=Zi,ne[S]=Zi-wt}e.modifiersData[r]=ne}}const NE={name:"preventOverflow",enabled:!0,phase:"main",fn:LE,requiresIfExists:["offset"]};function PE(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function $E(t){return t===Xt(t)||!yn(t)?lh(t):PE(t)}function UE(t){var e=t.getBoundingClientRect(),n=Vs(e.width)/t.offsetWidth||1,r=Vs(e.height)/t.offsetHeight||1;return n!==1||r!==1}function zE(t,e,n){n===void 0&&(n=!1);var r=yn(e),i=yn(e)&&UE(e),o=di(e),s=Ws(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ir(e)!=="body"||ch(o))&&(a=$E(e)),yn(e)?(l=Ws(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=uh(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function jE(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function VE(t){var e=jE(t);return eE.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function WE(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function HE(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var eg={placement:"bottom",modifiers:[],strategy:"absolute"};function tg(){for(var t=arguments.length,e=new Array(t),n=0;n{Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))},$T=["values","unit","step"],UT=t=>{const e=Object.keys(t).map(n=>({key:n,val:t[n]}))||[];return e.sort((n,r)=>n.val-r.val),e.reduce((n,r)=>B({},n,{[r.key]:r.val}),{})};function zT(t){const{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=t,i=ye(t,$T),o=UT(e),s=Object.keys(o);function a(d){return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n})`}function l(d){return`@media (max-width:${(typeof e[d]=="number"?e[d]:d)-r/100}${n})`}function u(d,y){const v=s.indexOf(y);return`@media (min-width:${typeof e[d]=="number"?e[d]:d}${n}) and (max-width:${(v!==-1&&typeof e[s[v]]=="number"?e[s[v]]:y)-r/100}${n})`}function c(d){return s.indexOf(d)+1`@media (min-width:${Gp[t]}px)`};function _r(t,e,n){const r=t.theme||{};if(Array.isArray(e)){const o=r.breakpoints||Mm;return e.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(e[l]),s),{})}if(typeof e=="object"){const o=r.breakpoints||Mm;return Object.keys(e).reduce((s,a)=>{if(Object.keys(o.values||Gp).indexOf(a)!==-1){const l=o.up(a);s[l]=n(e[a],a)}else{const l=a;s[l]=e[l]}return s},{})}return n(e)}function WT(t={}){var e;return((e=t.keys)==null?void 0:e.reduce((r,i)=>{const o=t.up(i);return r[o]={},r},{}))||{}}function HT(t,e){return t.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},e)}function xc(t,e,n=!0){if(!e||typeof e!="string")return null;if(t&&t.vars&&n){const r=`vars.${e}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,t);if(r!=null)return r}return e.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,t)}function du(t,e,n,r=n){let i;return typeof t=="function"?i=t(n):Array.isArray(t)?i=t[n]||r:i=xc(t,n)||r,e&&(i=e(i,r,t)),i}function me(t){const{prop:e,cssProperty:n=t.prop,themeKey:r,transform:i}=t,o=s=>{if(s[e]==null)return null;const a=s[e],l=s.theme,u=xc(l,r)||{};return _r(s,a,f=>{let d=du(u,i,f);return f===d&&typeof f=="string"&&(d=du(u,i,`${e}${f==="default"?"":De(f)}`,f)),n===!1?d:{[n]:d}})};return o.propTypes={},o.filterProps=[e],o}function YT(t){const e={};return n=>(e[n]===void 0&&(e[n]=t(n)),e[n])}const KT={m:"margin",p:"padding"},GT={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Lm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},QT=YT(t=>{if(t.length>2)if(Lm[t])t=Lm[t];else return[t];const[e,n]=t.split(""),r=KT[e],i=GT[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),Qp=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Xp=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Qp,...Xp];function Ha(t,e,n,r){var i;const o=(i=xc(t,e,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function Pv(t){return Ha(t,"spacing",8)}function Ya(t,e){if(typeof e=="string"||e==null)return e;const n=Math.abs(e),r=t(n);return e>=0?r:typeof r=="number"?-r:`-${r}`}function XT(t,e){return n=>t.reduce((r,i)=>(r[i]=Ya(e,n),r),{})}function JT(t,e,n,r){if(e.indexOf(n)===-1)return null;const i=QT(n),o=XT(i,r),s=t[n];return _r(t,s,o)}function $v(t,e){const n=Pv(t.theme);return Object.keys(t).map(r=>JT(t,e,r,n)).reduce(Go,{})}function je(t){return $v(t,Qp)}je.propTypes={};je.filterProps=Qp;function Ve(t){return $v(t,Xp)}Ve.propTypes={};Ve.filterProps=Xp;function qT(t=8){if(t.mui)return t;const e=Pv({spacing:t}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=e(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Tc(...t){const e=t.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>e[o]?Go(i,e[o](r)):i,{});return n.propTypes={},n.filterProps=t.reduce((r,i)=>r.concat(i.filterProps),[]),n}function Jn(t){return typeof t!="number"?t:`${t}px solid`}const ZT=me({prop:"border",themeKey:"borders",transform:Jn}),e2=me({prop:"borderTop",themeKey:"borders",transform:Jn}),t2=me({prop:"borderRight",themeKey:"borders",transform:Jn}),n2=me({prop:"borderBottom",themeKey:"borders",transform:Jn}),r2=me({prop:"borderLeft",themeKey:"borders",transform:Jn}),i2=me({prop:"borderColor",themeKey:"palette"}),s2=me({prop:"borderTopColor",themeKey:"palette"}),o2=me({prop:"borderRightColor",themeKey:"palette"}),a2=me({prop:"borderBottomColor",themeKey:"palette"}),l2=me({prop:"borderLeftColor",themeKey:"palette"}),Ic=t=>{if(t.borderRadius!==void 0&&t.borderRadius!==null){const e=Ha(t.theme,"shape.borderRadius",4),n=r=>({borderRadius:Ya(e,r)});return _r(t,t.borderRadius,n)}return null};Ic.propTypes={};Ic.filterProps=["borderRadius"];Tc(ZT,e2,t2,n2,r2,i2,s2,o2,a2,l2,Ic);const Ec=t=>{if(t.gap!==void 0&&t.gap!==null){const e=Ha(t.theme,"spacing",8),n=r=>({gap:Ya(e,r)});return _r(t,t.gap,n)}return null};Ec.propTypes={};Ec.filterProps=["gap"];const Oc=t=>{if(t.columnGap!==void 0&&t.columnGap!==null){const e=Ha(t.theme,"spacing",8),n=r=>({columnGap:Ya(e,r)});return _r(t,t.columnGap,n)}return null};Oc.propTypes={};Oc.filterProps=["columnGap"];const Bc=t=>{if(t.rowGap!==void 0&&t.rowGap!==null){const e=Ha(t.theme,"spacing",8),n=r=>({rowGap:Ya(e,r)});return _r(t,t.rowGap,n)}return null};Bc.propTypes={};Bc.filterProps=["rowGap"];const u2=me({prop:"gridColumn"}),c2=me({prop:"gridRow"}),f2=me({prop:"gridAutoFlow"}),d2=me({prop:"gridAutoColumns"}),p2=me({prop:"gridAutoRows"}),h2=me({prop:"gridTemplateColumns"}),y2=me({prop:"gridTemplateRows"}),m2=me({prop:"gridTemplateAreas"}),g2=me({prop:"gridArea"});Tc(Ec,Oc,Bc,u2,c2,f2,d2,p2,h2,y2,m2,g2);function Es(t,e){return e==="grey"?e:t}const v2=me({prop:"color",themeKey:"palette",transform:Es}),w2=me({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Es}),b2=me({prop:"backgroundColor",themeKey:"palette",transform:Es});Tc(v2,w2,b2);function Ht(t){return t<=1&&t!==0?`${t*100}%`:t}const _2=me({prop:"width",transform:Ht}),Jp=t=>{if(t.maxWidth!==void 0&&t.maxWidth!==null){const e=n=>{var r;return{maxWidth:((r=t.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Gp[n]||Ht(n)}};return _r(t,t.maxWidth,e)}return null};Jp.filterProps=["maxWidth"];const S2=me({prop:"minWidth",transform:Ht}),x2=me({prop:"height",transform:Ht}),T2=me({prop:"maxHeight",transform:Ht}),I2=me({prop:"minHeight",transform:Ht});me({prop:"size",cssProperty:"width",transform:Ht});me({prop:"size",cssProperty:"height",transform:Ht});const E2=me({prop:"boxSizing"});Tc(_2,Jp,S2,x2,T2,I2,E2);const O2={border:{themeKey:"borders",transform:Jn},borderTop:{themeKey:"borders",transform:Jn},borderRight:{themeKey:"borders",transform:Jn},borderBottom:{themeKey:"borders",transform:Jn},borderLeft:{themeKey:"borders",transform:Jn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ic},color:{themeKey:"palette",transform:Es},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Es},backgroundColor:{themeKey:"palette",transform:Es},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:je},mt:{style:je},mr:{style:je},mb:{style:je},ml:{style:je},mx:{style:je},my:{style:je},margin:{style:je},marginTop:{style:je},marginRight:{style:je},marginBottom:{style:je},marginLeft:{style:je},marginX:{style:je},marginY:{style:je},marginInline:{style:je},marginInlineStart:{style:je},marginInlineEnd:{style:je},marginBlock:{style:je},marginBlockStart:{style:je},marginBlockEnd:{style:je},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ec},rowGap:{style:Bc},columnGap:{style:Oc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ht},maxWidth:{style:Jp},minWidth:{transform:Ht},height:{transform:Ht},maxHeight:{transform:Ht},minHeight:{transform:Ht},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},kc=O2;function B2(...t){const e=t.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(e);return t.every(r=>n.size===Object.keys(r).length)}function k2(t,e){return typeof t=="function"?t(e):t}function A2(){function t(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:f}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=xc(i,u)||{};return f?f(s):_r(s,r,v=>{let g=du(d,c,v);return v===g&&typeof v=="string"&&(g=du(d,c,`${n}${v==="default"?"":De(v)}`,v)),l===!1?g:{[l]:g}})}function e(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:kc;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=WT(o.breakpoints),f=Object.keys(c);let d=c;return Object.keys(u).forEach(y=>{const v=k2(u[y],o);if(v!=null)if(typeof v=="object")if(s[y])d=Go(d,t(y,v,o,s));else{const g=_r({theme:o},v,T=>({[y]:T}));B2(g,v)?d[y]=e({sx:v,theme:o}):d=Go(d,g)}else d=Go(d,t(y,v,o,s))}),HT(f,d)}return Array.isArray(i)?i.map(a):a(i)}return e}const Uv=A2();Uv.filterProps=["sx"];const Ac=Uv,C2=["breakpoints","palette","spacing","shape"];function qp(t={},...e){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=t,s=ye(t,C2),a=zT(n),l=qT(i);let u=wr({breakpoints:a,direction:"ltr",components:{},palette:B({mode:"light"},r),spacing:l,shape:B({},VT,o)},s);return u=e.reduce((c,f)=>wr(c,f),u),u.unstable_sxConfig=B({},kc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(f){return Ac({sx:f,theme:this})},u}function F2(t){return Object.keys(t).length===0}function Zp(t=null){const e=I.useContext(Yp);return!e||F2(e)?t:e}const D2=qp();function eh(t=D2){return Zp(t)}const R2=["sx"],M2=t=>{var e,n;const r={systemProps:{},otherProps:{}},i=(e=t==null||(n=t.theme)==null?void 0:n.unstable_sxConfig)!=null?e:kc;return Object.keys(t).forEach(o=>{i[o]?r.systemProps[o]=t[o]:r.otherProps[o]=t[o]}),r};function zv(t){const{sx:e}=t,n=ye(t,R2),{systemProps:r,otherProps:i}=M2(n);let o;return Array.isArray(e)?o=[r,...e]:typeof e=="function"?o=(...s)=>{const a=e(...s);return xi(a)?B({},r,a):r}:o=B({},r,e),B({},i,{sx:o})}function jv(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;ea!=="theme"&&a!=="sx"&&a!=="as"})(Ac);return I.forwardRef(function(l,u){const c=eh(n),f=zv(l),{className:d,component:y="div"}=f,v=ye(f,L2);return D.jsx(o,B({as:y,ref:u,className:Ee(d,i?i(r):r),theme:e&&c[e]||c},v))})}const P2=["variant"];function Nm(t){return t.length===0}function Vv(t){const{variant:e}=t,n=ye(t,P2);let r=e||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=Nm(r)?t[i]:De(t[i]):r+=`${Nm(r)?i:De(i)}${De(t[i].toString())}`}),r}const $2=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function U2(t){return Object.keys(t).length===0}function z2(t){return typeof t=="string"&&t.charCodeAt(0)>96}const j2=(t,e)=>e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null,V2=(t,e)=>{let n=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants);const r={};return n.forEach(i=>{const o=Vv(i.props);r[o]=i.style}),r},W2=(t,e,n,r)=>{var i;const{ownerState:o={}}=t,s=[],a=n==null||(i=n.components)==null||(i=i[r])==null?void 0:i.variants;return a&&a.forEach(l=>{let u=!0;Object.keys(l.props).forEach(c=>{o[c]!==l.props[c]&&t[c]!==l.props[c]&&(u=!1)}),u&&s.push(e[Vv(l.props)])}),s};function Kl(t){return t!=="ownerState"&&t!=="theme"&&t!=="sx"&&t!=="as"}const H2=qp();function Oo({defaultTheme:t,theme:e,themeId:n}){return U2(e)?t:e[n]||e}function Y2(t={}){const{themeId:e,defaultTheme:n=H2,rootShouldForwardProp:r=Kl,slotShouldForwardProp:i=Kl}=t,o=s=>Ac(B({},s,{theme:Oo(B({},s,{defaultTheme:n,themeId:e}))}));return o.__mui_systemSx=!0,(s,a={})=>{PT(s,w=>w.filter(S=>!(S!=null&&S.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:d}=a,y=ye(a,$2),v=c!==void 0?c:u&&u!=="Root"||!1,g=f||!1;let T,h=Kl;u==="Root"?h=r:u?h=i:z2(s)&&(h=void 0);const p=Nv(s,B({shouldForwardProp:h,label:T},y)),m=(w,...S)=>{const E=S?S.map(k=>typeof k=="function"&&k.__emotion_real!==k?$=>k(B({},$,{theme:Oo(B({},$,{defaultTheme:n,themeId:e}))})):k):[];let x=w;l&&d&&E.push(k=>{const $=Oo(B({},k,{defaultTheme:n,themeId:e})),ne=j2(l,$);if(ne){const q={};return Object.entries(ne).forEach(([Ie,z])=>{q[Ie]=typeof z=="function"?z(B({},k,{theme:$})):z}),d(k,q)}return null}),l&&!v&&E.push(k=>{const $=Oo(B({},k,{defaultTheme:n,themeId:e}));return W2(k,V2(l,$),$,l)}),g||E.push(o);const A=E.length-S.length;if(Array.isArray(w)&&A>0){const k=new Array(A).fill("");x=[...w,...k],x.raw=[...w.raw,...k]}else typeof w=="function"&&w.__emotion_real!==w&&(x=k=>w(B({},k,{theme:Oo(B({},k,{defaultTheme:n,themeId:e}))})));const M=p(x,...E);return s.muiName&&(M.muiName=s.muiName),M};return p.withConfig&&(m.withConfig=p.withConfig),m}}function K2(t){const{theme:e,name:n,props:r}=t;return!e||!e.components||!e.components[n]||!e.components[n].defaultProps?r:vv(e.components[n].defaultProps,r)}function G2({props:t,name:e,defaultTheme:n,themeId:r}){let i=eh(n);return r&&(i=i[r]||i),K2({theme:i,name:e,props:t})}function th(t,e=0,n=1){return Math.min(Math.max(e,t),n)}function Q2(t){t=t.slice(1);const e=new RegExp(`.{1,${t.length>=6?2:1}}`,"g");let n=t.match(e);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Di(t){if(t.type)return t;if(t.charAt(0)==="#")return Di(Q2(t));const e=t.indexOf("("),n=t.substring(0,e);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error($s(9,t));let r=t.substring(e+1,t.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error($s(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}function Cc(t){const{type:e,colorSpace:n}=t;let{values:r}=t;return e.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):e.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),e.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${e}(${r})`}function X2(t){t=Di(t);const{values:e}=t,n=e[0],r=e[1]/100,i=e[2]/100,o=r*Math.min(i,1-i),s=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return t.type==="hsla"&&(a+="a",l.push(e[3])),Cc({type:a,values:l})}function Pm(t){t=Di(t);let e=t.type==="hsl"||t.type==="hsla"?Di(X2(t)).values:t.values;return e=e.map(n=>(t.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function J2(t,e){const n=Pm(t),r=Pm(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function si(t,e){return t=Di(t),e=th(e),(t.type==="rgb"||t.type==="hsl")&&(t.type+="a"),t.type==="color"?t.values[3]=`/${e}`:t.values[3]=e,Cc(t)}function Wv(t,e){if(t=Di(t),e=th(e),t.type.indexOf("hsl")!==-1)t.values[2]*=1-e;else if(t.type.indexOf("rgb")!==-1||t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]*=1-e;return Cc(t)}function Hv(t,e){if(t=Di(t),e=th(e),t.type.indexOf("hsl")!==-1)t.values[2]+=(100-t.values[2])*e;else if(t.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return Cc(t)}const q2=I.createContext(null),Yv=q2;function Kv(){return I.useContext(Yv)}const Z2=typeof Symbol=="function"&&Symbol.for,eI=Z2?Symbol.for("mui.nested"):"__THEME_NESTED__";function tI(t,e){return typeof e=="function"?e(t):B({},t,e)}function nI(t){const{children:e,theme:n}=t,r=Kv(),i=I.useMemo(()=>{const o=r===null?n:tI(r,n);return o!=null&&(o[eI]=r!==null),o},[n,r]);return D.jsx(Yv.Provider,{value:i,children:e})}const $m={};function Um(t,e,n,r=!1){return I.useMemo(()=>{const i=t&&e[t]||e;if(typeof n=="function"){const o=n(i),s=t?B({},e,{[t]:o}):o;return r?()=>s:s}return t?B({},e,{[t]:n}):B({},e,n)},[t,e,n,r])}function rI(t){const{children:e,theme:n,themeId:r}=t,i=Zp($m),o=Kv()||$m,s=Um(r,i,n),a=Um(r,o,n,!0);return D.jsx(nI,{theme:a,children:D.jsx(Yp.Provider,{value:s,children:e})})}function iI(t,e){return B({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},e)}const sI=["mode","contrastThreshold","tonalOffset"],zm={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:fa.white,default:fa.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},bf={text:{primary:fa.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:fa.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function jm(t,e,n,r){const i=r.light||r,o=r.dark||r*1.5;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:e==="light"?t.light=Hv(t.main,i):e==="dark"&&(t.dark=Wv(t.main,o)))}function oI(t="light"){return t==="dark"?{main:ns[200],light:ns[50],dark:ns[400]}:{main:ns[700],light:ns[400],dark:ns[800]}}function aI(t="light"){return t==="dark"?{main:ts[200],light:ts[50],dark:ts[400]}:{main:ts[500],light:ts[300],dark:ts[700]}}function lI(t="light"){return t==="dark"?{main:es[500],light:es[300],dark:es[700]}:{main:es[700],light:es[400],dark:es[800]}}function uI(t="light"){return t==="dark"?{main:rs[400],light:rs[300],dark:rs[700]}:{main:rs[700],light:rs[500],dark:rs[900]}}function cI(t="light"){return t==="dark"?{main:is[400],light:is[300],dark:is[700]}:{main:is[800],light:is[500],dark:is[900]}}function fI(t="light"){return t==="dark"?{main:Io[400],light:Io[300],dark:Io[700]}:{main:"#ed6c02",light:Io[500],dark:Io[900]}}function dI(t){const{mode:e="light",contrastThreshold:n=3,tonalOffset:r=.2}=t,i=ye(t,sI),o=t.primary||oI(e),s=t.secondary||aI(e),a=t.error||lI(e),l=t.info||uI(e),u=t.success||cI(e),c=t.warning||fI(e);function f(g){return J2(g,bf.text.primary)>=n?bf.text.primary:zm.text.primary}const d=({color:g,name:T,mainShade:h=500,lightShade:p=300,darkShade:m=700})=>{if(g=B({},g),!g.main&&g[h]&&(g.main=g[h]),!g.hasOwnProperty("main"))throw new Error($s(11,T?` (${T})`:"",h));if(typeof g.main!="string")throw new Error($s(12,T?` (${T})`:"",JSON.stringify(g.main)));return jm(g,"light",p,r),jm(g,"dark",m,r),g.contrastText||(g.contrastText=f(g.main)),g},y={dark:bf,light:zm};return wr(B({common:B({},fa),mode:e,primary:d({color:o,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:a,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:l,name:"info"}),success:d({color:u,name:"success"}),grey:pd,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},y[e]),i)}const pI=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function hI(t){return Math.round(t*1e5)/1e5}const Vm={textTransform:"uppercase"},Wm='"Roboto", "Helvetica", "Arial", sans-serif';function yI(t,e){const n=typeof e=="function"?e(t):e,{fontFamily:r=Wm,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=ye(n,pI),y=i/14,v=f||(h=>`${h/u*y}rem`),g=(h,p,m,w,S)=>B({fontFamily:r,fontWeight:h,fontSize:v(p),lineHeight:m},r===Wm?{letterSpacing:`${hI(w/p)}em`}:{},S,c),T={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(a,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(a,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(a,14,1.75,.4,Vm),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,Vm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return wr(B({htmlFontSize:u,pxToRem:v,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},T),d,{clone:!1})}const mI=.2,gI=.14,vI=.12;function Re(...t){return[`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,${mI})`,`${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,${gI})`,`${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,${vI})`].join(",")}const wI=["none",Re(0,2,1,-1,0,1,1,0,0,1,3,0),Re(0,3,1,-2,0,2,2,0,0,1,5,0),Re(0,3,3,-2,0,3,4,0,0,1,8,0),Re(0,2,4,-1,0,4,5,0,0,1,10,0),Re(0,3,5,-1,0,5,8,0,0,1,14,0),Re(0,3,5,-1,0,6,10,0,0,1,18,0),Re(0,4,5,-2,0,7,10,1,0,2,16,1),Re(0,5,5,-3,0,8,10,1,0,3,14,2),Re(0,5,6,-3,0,9,12,1,0,3,16,2),Re(0,6,6,-3,0,10,14,1,0,4,18,3),Re(0,6,7,-4,0,11,15,1,0,4,20,3),Re(0,7,8,-4,0,12,17,2,0,5,22,4),Re(0,7,8,-4,0,13,19,2,0,5,24,4),Re(0,7,9,-4,0,14,21,2,0,5,26,4),Re(0,8,9,-5,0,15,22,2,0,6,28,5),Re(0,8,10,-5,0,16,24,2,0,6,30,5),Re(0,8,11,-5,0,17,26,2,0,6,32,5),Re(0,9,11,-5,0,18,28,2,0,7,34,6),Re(0,9,12,-6,0,19,29,2,0,7,36,6),Re(0,10,13,-6,0,20,31,3,0,8,38,7),Re(0,10,13,-6,0,21,33,3,0,8,40,7),Re(0,10,14,-6,0,22,35,3,0,8,42,7),Re(0,11,14,-7,0,23,36,3,0,9,44,8),Re(0,11,15,-7,0,24,38,3,0,9,46,8)],bI=wI,_I=["duration","easing","delay"],SI={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},xI={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hm(t){return`${Math.round(t)}ms`}function TI(t){if(!t)return 0;const e=t/36;return Math.round((4+15*e**.25+e/5)*10)}function II(t){const e=B({},SI,t.easing),n=B({},xI,t.duration);return B({getAutoHeightDuration:TI,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=e.easeInOut,delay:l=0}=o;return ye(o,_I),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:Hm(s)} ${a} ${typeof l=="string"?l:Hm(l)}`).join(",")}},t,{easing:e,duration:n})}const EI={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},OI=EI,BI=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function nh(t={},...e){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=t,s=ye(t,BI);if(t.vars)throw new Error($s(18));const a=dI(r),l=qp(t);let u=wr(l,{mixins:iI(l.breakpoints,n),palette:a,shadows:bI.slice(),typography:yI(a,o),transitions:II(i),zIndex:B({},OI)});return u=wr(u,s),u=e.reduce((c,f)=>wr(c,f),u),u.unstable_sxConfig=B({},kc,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(f){return Ac({sx:f,theme:this})},u}const kI=nh(),rh=kI;function Gv(){const t=eh(rh);return t[Us]||t}function rn({props:t,name:e}){return G2({props:t,name:e,defaultTheme:rh,themeId:Us})}const AI=t=>Kl(t)&&t!=="classes",CI=Y2({themeId:Us,defaultTheme:rh,rootShouldForwardProp:AI}),gt=CI,FI=["theme"];function DI(t){let{theme:e}=t,n=ye(t,FI);const r=e[Us];return D.jsx(rI,B({},n,{themeId:r?Us:void 0,theme:r||e}))}function RI(t){return typeof t=="string"}function jo(t,e,n){return t===void 0||RI(t)?e:B({},e,{ownerState:B({},e.ownerState,n)})}const MI={disableDefaultClasses:!1},LI=I.createContext(MI);function NI(t){const{disableDefaultClasses:e}=I.useContext(LI);return n=>e?"":t(n)}function PI(t,e=[]){if(t===void 0)return{};const n={};return Object.keys(t).filter(r=>r.match(/^on[A-Z]/)&&typeof t[r]=="function"&&!e.includes(r)).forEach(r=>{n[r]=t[r]}),n}function $I(t,e,n){return typeof t=="function"?t(e,n):t}function Ym(t){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>!(n.match(/^on[A-Z]/)&&typeof t[n]=="function")).forEach(n=>{e[n]=t[n]}),e}function UI(t){const{getSlotProps:e,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=t;if(!e){const y=Ee(i==null?void 0:i.className,r==null?void 0:r.className,o,n==null?void 0:n.className),v=B({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),g=B({},n,i,r);return y.length>0&&(g.className=y),Object.keys(v).length>0&&(g.style=v),{props:g,internalRef:void 0}}const s=PI(B({},i,r)),a=Ym(r),l=Ym(i),u=e(s),c=Ee(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),f=B({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),d=B({},u,n,l,a);return c.length>0&&(d.className=c),Object.keys(f).length>0&&(d.style=f),{props:d,internalRef:u.ref}}const zI=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function jI(t){var e;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=t,s=ye(t,zI),a=o?{}:$I(r,i),{props:l,internalRef:u}=UI(B({},s,{externalSlotProps:a})),c=ii(u,a==null?void 0:a.ref,(e=t.additionalProps)==null?void 0:e.ref);return jo(n,B({},l,{ref:c}),i)}var At="top",vn="bottom",wn="right",Ct="left",ih="auto",Ka=[At,vn,wn,Ct],js="start",ma="end",VI="clippingParents",Qv="viewport",Bo="popper",WI="reference",Km=Ka.reduce(function(t,e){return t.concat([e+"-"+js,e+"-"+ma])},[]),Xv=[].concat(Ka,[ih]).reduce(function(t,e){return t.concat([e,e+"-"+js,e+"-"+ma])},[]),HI="beforeRead",YI="read",KI="afterRead",GI="beforeMain",QI="main",XI="afterMain",JI="beforeWrite",qI="write",ZI="afterWrite",eE=[HI,YI,KI,GI,QI,XI,JI,qI,ZI];function ir(t){return t?(t.nodeName||"").toLowerCase():null}function Xt(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function Ri(t){var e=Xt(t).Element;return t instanceof e||t instanceof Element}function yn(t){var e=Xt(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function sh(t){if(typeof ShadowRoot>"u")return!1;var e=Xt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function tE(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var r=e.styles[n]||{},i=e.attributes[n]||{},o=e.elements[n];!yn(o)||!ir(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(s){var a=i[s];a===!1?o.removeAttribute(s):o.setAttribute(s,a===!0?"":a)}))})}function nE(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},s=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:n[r]),a=s.reduce(function(l,u){return l[u]="",l},{});!yn(i)||!ir(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){i.removeAttribute(l)}))})}}const rE={name:"applyStyles",enabled:!0,phase:"write",fn:tE,effect:nE,requires:["computeStyles"]};function tr(t){return t.split("-")[0]}var ki=Math.max,pu=Math.min,Vs=Math.round;function bd(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Jv(){return!/^((?!chrome|android).)*safari/i.test(bd())}function Ws(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var r=t.getBoundingClientRect(),i=1,o=1;e&&yn(t)&&(i=t.offsetWidth>0&&Vs(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Vs(r.height)/t.offsetHeight||1);var s=Ri(t)?Xt(t):window,a=s.visualViewport,l=!Jv()&&n,u=(r.left+(l&&a?a.offsetLeft:0))/i,c=(r.top+(l&&a?a.offsetTop:0))/o,f=r.width/i,d=r.height/o;return{width:f,height:d,top:c,right:u+f,bottom:c+d,left:u,x:u,y:c}}function oh(t){var e=Ws(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function qv(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&sh(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Sr(t){return Xt(t).getComputedStyle(t)}function iE(t){return["table","td","th"].indexOf(ir(t))>=0}function di(t){return((Ri(t)?t.ownerDocument:t.document)||window.document).documentElement}function Fc(t){return ir(t)==="html"?t:t.assignedSlot||t.parentNode||(sh(t)?t.host:null)||di(t)}function Gm(t){return!yn(t)||Sr(t).position==="fixed"?null:t.offsetParent}function sE(t){var e=/firefox/i.test(bd()),n=/Trident/i.test(bd());if(n&&yn(t)){var r=Sr(t);if(r.position==="fixed")return null}var i=Fc(t);for(sh(i)&&(i=i.host);yn(i)&&["html","body"].indexOf(ir(i))<0;){var o=Sr(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Ga(t){for(var e=Xt(t),n=Gm(t);n&&iE(n)&&Sr(n).position==="static";)n=Gm(n);return n&&(ir(n)==="html"||ir(n)==="body"&&Sr(n).position==="static")?e:n||sE(t)||e}function ah(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Qo(t,e,n){return ki(t,pu(e,n))}function oE(t,e,n){var r=Qo(t,e,n);return r>n?n:r}function Zv(){return{top:0,right:0,bottom:0,left:0}}function e1(t){return Object.assign({},Zv(),t)}function t1(t,e){return e.reduce(function(n,r){return n[r]=t,n},{})}var aE=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,e1(typeof e!="number"?e:t1(e,Ka))};function lE(t){var e,n=t.state,r=t.name,i=t.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=tr(n.placement),l=ah(a),u=[Ct,wn].indexOf(a)>=0,c=u?"height":"width";if(!(!o||!s)){var f=aE(i.padding,n),d=oh(o),y=l==="y"?At:Ct,v=l==="y"?vn:wn,g=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],T=s[l]-n.rects.reference[l],h=Ga(o),p=h?l==="y"?h.clientHeight||0:h.clientWidth||0:0,m=g/2-T/2,w=f[y],S=p-d[c]-f[v],E=p/2-d[c]/2+m,x=Qo(w,E,S),A=l;n.modifiersData[r]=(e={},e[A]=x,e.centerOffset=x-E,e)}}function uE(t){var e=t.state,n=t.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||qv(e.elements.popper,i)&&(e.elements.arrow=i))}const cE={name:"arrow",enabled:!0,phase:"main",fn:lE,effect:uE,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hs(t){return t.split("-")[1]}var fE={top:"auto",right:"auto",bottom:"auto",left:"auto"};function dE(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:Vs(n*i)/i||0,y:Vs(r*i)/i||0}}function Qm(t){var e,n=t.popper,r=t.popperRect,i=t.placement,o=t.variation,s=t.offsets,a=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,f=t.isFixed,d=s.x,y=d===void 0?0:d,v=s.y,g=v===void 0?0:v,T=typeof c=="function"?c({x:y,y:g}):{x:y,y:g};y=T.x,g=T.y;var h=s.hasOwnProperty("x"),p=s.hasOwnProperty("y"),m=Ct,w=At,S=window;if(u){var E=Ga(n),x="clientHeight",A="clientWidth";if(E===Xt(n)&&(E=di(n),Sr(E).position!=="static"&&a==="absolute"&&(x="scrollHeight",A="scrollWidth")),E=E,i===At||(i===Ct||i===wn)&&o===ma){w=vn;var M=f&&E===S&&S.visualViewport?S.visualViewport.height:E[x];g-=M-r.height,g*=l?1:-1}if(i===Ct||(i===At||i===vn)&&o===ma){m=wn;var k=f&&E===S&&S.visualViewport?S.visualViewport.width:E[A];y-=k-r.width,y*=l?1:-1}}var $=Object.assign({position:a},u&&fE),ne=c===!0?dE({x:y,y:g},Xt(n)):{x:y,y:g};if(y=ne.x,g=ne.y,l){var q;return Object.assign({},$,(q={},q[w]=p?"0":"",q[m]=h?"0":"",q.transform=(S.devicePixelRatio||1)<=1?"translate("+y+"px, "+g+"px)":"translate3d("+y+"px, "+g+"px, 0)",q))}return Object.assign({},$,(e={},e[w]=p?g+"px":"",e[m]=h?y+"px":"",e.transform="",e))}function pE(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=r===void 0?!0:r,o=n.adaptive,s=o===void 0?!0:o,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:tr(e.placement),variation:Hs(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Qm(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Qm(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const hE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:pE,data:{}};var ml={passive:!0};function yE(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,o=i===void 0?!0:i,s=r.resize,a=s===void 0?!0:s,l=Xt(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&u.forEach(function(c){c.addEventListener("scroll",n.update,ml)}),a&&l.addEventListener("resize",n.update,ml),function(){o&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ml)}),a&&l.removeEventListener("resize",n.update,ml)}}const mE={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:yE,data:{}};var gE={left:"right",right:"left",bottom:"top",top:"bottom"};function Gl(t){return t.replace(/left|right|bottom|top/g,function(e){return gE[e]})}var vE={start:"end",end:"start"};function Xm(t){return t.replace(/start|end/g,function(e){return vE[e]})}function lh(t){var e=Xt(t),n=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:n,scrollTop:r}}function uh(t){return Ws(di(t)).left+lh(t).scrollLeft}function wE(t,e){var n=Xt(t),r=di(t),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var u=Jv();(u||!u&&e==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+uh(t),y:l}}function bE(t){var e,n=di(t),r=lh(t),i=(e=t.ownerDocument)==null?void 0:e.body,o=ki(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=ki(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+uh(t),l=-r.scrollTop;return Sr(i||n).direction==="rtl"&&(a+=ki(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:l}}function ch(t){var e=Sr(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function n1(t){return["html","body","#document"].indexOf(ir(t))>=0?t.ownerDocument.body:yn(t)&&ch(t)?t:n1(Fc(t))}function Xo(t,e){var n;e===void 0&&(e=[]);var r=n1(t),i=r===((n=t.ownerDocument)==null?void 0:n.body),o=Xt(r),s=i?[o].concat(o.visualViewport||[],ch(r)?r:[]):r,a=e.concat(s);return i?a:a.concat(Xo(Fc(s)))}function _d(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function _E(t,e){var n=Ws(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Jm(t,e,n){return e===Qv?_d(wE(t,n)):Ri(e)?_E(e,n):_d(bE(di(t)))}function SE(t){var e=Xo(Fc(t)),n=["absolute","fixed"].indexOf(Sr(t).position)>=0,r=n&&yn(t)?Ga(t):t;return Ri(r)?e.filter(function(i){return Ri(i)&&qv(i,r)&&ir(i)!=="body"}):[]}function xE(t,e,n,r){var i=e==="clippingParents"?SE(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(l,u){var c=Jm(t,u,r);return l.top=ki(c.top,l.top),l.right=pu(c.right,l.right),l.bottom=pu(c.bottom,l.bottom),l.left=ki(c.left,l.left),l},Jm(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function r1(t){var e=t.reference,n=t.element,r=t.placement,i=r?tr(r):null,o=r?Hs(r):null,s=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(i){case At:l={x:s,y:e.y-n.height};break;case vn:l={x:s,y:e.y+e.height};break;case wn:l={x:e.x+e.width,y:a};break;case Ct:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var u=i?ah(i):null;if(u!=null){var c=u==="y"?"height":"width";switch(o){case js:l[u]=l[u]-(e[c]/2-n[c]/2);break;case ma:l[u]=l[u]+(e[c]/2-n[c]/2);break}}return l}function ga(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=r===void 0?t.placement:r,o=n.strategy,s=o===void 0?t.strategy:o,a=n.boundary,l=a===void 0?VI:a,u=n.rootBoundary,c=u===void 0?Qv:u,f=n.elementContext,d=f===void 0?Bo:f,y=n.altBoundary,v=y===void 0?!1:y,g=n.padding,T=g===void 0?0:g,h=e1(typeof T!="number"?T:t1(T,Ka)),p=d===Bo?WI:Bo,m=t.rects.popper,w=t.elements[v?p:d],S=xE(Ri(w)?w:w.contextElement||di(t.elements.popper),l,c,s),E=Ws(t.elements.reference),x=r1({reference:E,element:m,strategy:"absolute",placement:i}),A=_d(Object.assign({},m,x)),M=d===Bo?A:E,k={top:S.top-M.top+h.top,bottom:M.bottom-S.bottom+h.bottom,left:S.left-M.left+h.left,right:M.right-S.right+h.right},$=t.modifiersData.offset;if(d===Bo&&$){var ne=$[i];Object.keys(k).forEach(function(q){var Ie=[wn,vn].indexOf(q)>=0?1:-1,z=[At,vn].indexOf(q)>=0?"y":"x";k[q]+=ne[z]*Ie})}return k}function TE(t,e){e===void 0&&(e={});var n=e,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?Xv:l,c=Hs(r),f=c?a?Km:Km.filter(function(v){return Hs(v)===c}):Ka,d=f.filter(function(v){return u.indexOf(v)>=0});d.length===0&&(d=f);var y=d.reduce(function(v,g){return v[g]=ga(t,{placement:g,boundary:i,rootBoundary:o,padding:s})[tr(g)],v},{});return Object.keys(y).sort(function(v,g){return y[v]-y[g]})}function IE(t){if(tr(t)===ih)return[];var e=Gl(t);return[Xm(t),e,Xm(e)]}function EE(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,y=n.flipVariations,v=y===void 0?!0:y,g=n.allowedAutoPlacements,T=e.options.placement,h=tr(T),p=h===T,m=l||(p||!v?[Gl(T)]:IE(T)),w=[T].concat(m).reduce(function(ke,Je){return ke.concat(tr(Je)===ih?TE(e,{placement:Je,boundary:c,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:g}):Je)},[]),S=e.rects.reference,E=e.rects.popper,x=new Map,A=!0,M=w[0],k=0;k=0,z=Ie?"width":"height",j=ga(e,{placement:$,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),re=Ie?q?wn:Ct:q?vn:At;S[z]>E[z]&&(re=Gl(re));var F=Gl(re),N=[];if(o&&N.push(j[ne]<=0),a&&N.push(j[re]<=0,j[F]<=0),N.every(function(ke){return ke})){M=$,A=!1;break}x.set($,N)}if(A)for(var P=v?3:1,pe=function(Je){var Ke=w.find(function(vt){var it=x.get(vt);if(it)return it.slice(0,Je).every(function(He){return He})});if(Ke)return M=Ke,"break"},xe=P;xe>0;xe--){var It=pe(xe);if(It==="break")break}e.placement!==M&&(e.modifiersData[r]._skip=!0,e.placement=M,e.reset=!0)}}const OE={name:"flip",enabled:!0,phase:"main",fn:EE,requiresIfExists:["offset"],data:{_skip:!1}};function qm(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Zm(t){return[At,wn,vn,Ct].some(function(e){return t[e]>=0})}function BE(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,s=ga(e,{elementContext:"reference"}),a=ga(e,{altBoundary:!0}),l=qm(s,r),u=qm(a,i,o),c=Zm(l),f=Zm(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}const kE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:BE};function AE(t,e,n){var r=tr(t),i=[Ct,At].indexOf(r)>=0?-1:1,o=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,[Ct,wn].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}function CE(t){var e=t.state,n=t.options,r=t.name,i=n.offset,o=i===void 0?[0,0]:i,s=Xv.reduce(function(c,f){return c[f]=AE(f,e.rects,o),c},{}),a=s[e.placement],l=a.x,u=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[r]=s}const FE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:CE};function DE(t){var e=t.state,n=t.name;e.modifiersData[n]=r1({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const RE={name:"popperOffsets",enabled:!0,phase:"read",fn:DE,data:{}};function ME(t){return t==="x"?"y":"x"}function LE(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,o=i===void 0?!0:i,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,y=d===void 0?!0:d,v=n.tetherOffset,g=v===void 0?0:v,T=ga(e,{boundary:l,rootBoundary:u,padding:f,altBoundary:c}),h=tr(e.placement),p=Hs(e.placement),m=!p,w=ah(h),S=ME(w),E=e.modifiersData.popperOffsets,x=e.rects.reference,A=e.rects.popper,M=typeof g=="function"?g(Object.assign({},e.rects,{placement:e.placement})):g,k=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),$=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,ne={x:0,y:0};if(E){if(o){var q,Ie=w==="y"?At:Ct,z=w==="y"?vn:wn,j=w==="y"?"height":"width",re=E[w],F=re+T[Ie],N=re-T[z],P=y?-A[j]/2:0,pe=p===js?x[j]:A[j],xe=p===js?-A[j]:-x[j],It=e.elements.arrow,ke=y&&It?oh(It):{width:0,height:0},Je=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Zv(),Ke=Je[Ie],vt=Je[z],it=Qo(0,x[j],ke[j]),He=m?x[j]/2-P-it-Ke-k.mainAxis:pe-it-Ke-k.mainAxis,Rr=m?-x[j]/2+P+it+vt+k.mainAxis:xe+it+vt+k.mainAxis,an=e.elements.arrow&&Ga(e.elements.arrow),wo=an?w==="y"?an.clientTop||0:an.clientLeft||0:0,Qi=(q=$==null?void 0:$[w])!=null?q:0,Xi=re+He-Qi-wo,ln=re+Rr-Qi,Mr=Qo(y?pu(F,Xi):F,re,y?ki(N,ln):N);E[w]=Mr,ne[w]=Mr-re}if(a){var Ji,cr=w==="x"?At:Ct,qi=w==="x"?vn:wn,wt=E[S],Vn=S==="y"?"height":"width",fr=wt+T[cr],Lr=wt-T[qi],Pt=[At,Ct].indexOf(h)!==-1,$t=(Ji=$==null?void 0:$[S])!=null?Ji:0,un=Pt?fr:wt-x[Vn]-A[Vn]-$t+k.altAxis,Nr=Pt?wt+x[Vn]+A[Vn]-$t-k.altAxis:Lr,Zi=y&&Pt?oE(un,wt,Nr):Qo(y?un:fr,wt,y?Nr:Lr);E[S]=Zi,ne[S]=Zi-wt}e.modifiersData[r]=ne}}const NE={name:"preventOverflow",enabled:!0,phase:"main",fn:LE,requiresIfExists:["offset"]};function PE(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function $E(t){return t===Xt(t)||!yn(t)?lh(t):PE(t)}function UE(t){var e=t.getBoundingClientRect(),n=Vs(e.width)/t.offsetWidth||1,r=Vs(e.height)/t.offsetHeight||1;return n!==1||r!==1}function zE(t,e,n){n===void 0&&(n=!1);var r=yn(e),i=yn(e)&&UE(e),o=di(e),s=Ws(t,i,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((ir(e)!=="body"||ch(o))&&(a=$E(e)),yn(e)?(l=Ws(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):o&&(l.x=uh(o))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function jE(t){var e=new Map,n=new Set,r=[];t.forEach(function(o){e.set(o.name,o)});function i(o){n.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&i(l)}}),r.push(o)}return t.forEach(function(o){n.has(o.name)||i(o)}),r}function VE(t){var e=jE(t);return eE.reduce(function(n,r){return n.concat(e.filter(function(i){return i.phase===r}))},[])}function WE(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function HE(t){var e=t.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(e).map(function(n){return e[n]})}var eg={placement:"bottom",modifiers:[],strategy:"absolute"};function tg(){for(var t=arguments.length,e=new Array(t),n=0;ne in t?LS(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(t){function e(F,N){var P=F.length;F.push(N);e:for(;0>>1,xe=F[pe];if(0>>1;pei(Je,P))Kei(vt,Je)?(F[pe]=vt,F[Ke]=P,pe=Ke):(F[pe]=Je,F[ke]=P,pe=ke);else if(Kei(vt,P))F[pe]=vt,F[Ke]=P,pe=Ke;else break e}}return N}function i(F,N){var P=F.sortIndex-N.sortIndex;return P!==0?P:F.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,y=!1,v=!1,g=!1,E=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(F){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=F)r(u),N.sortIndex=N.expirationTime,e(l,N);else break;N=n(u)}}function w(F){if(g=!1,m(F),!v)if(n(l)!==null)v=!0,j(S);else{var N=n(u);N!==null&&re(w,N.startTime-F)}}function S(F,N){v=!1,g&&(g=!1,h(A),A=-1),y=!0;var P=d;try{for(m(N),f=n(l);f!==null&&(!(f.expirationTime>N)||F&&!$());){var pe=f.callback;if(typeof pe=="function"){f.callback=null,d=f.priorityLevel;var xe=pe(f.expirationTime<=N);N=t.unstable_now(),typeof xe=="function"?f.callback=xe:f===n(l)&&r(l),m(N)}else r(l);f=n(l)}if(f!==null)var It=!0;else{var ke=n(u);ke!==null&&re(w,ke.startTime-N),It=!1}return It}finally{f=null,d=P,y=!1}}var I=!1,x=null,A=-1,M=5,k=-1;function $(){return!(t.unstable_now()-kF||125pe?(F.sortIndex=P,e(u,F),n(l)===null&&F===n(u)&&(g?(h(A),A=-1):g=!0,re(w,P-pe))):(F.sortIndex=xe,e(l,F),v||y||(v=!0,j(S))),F},t.unstable_shouldYield=$,t.unstable_wrapCallback=function(F){var N=d;return function(){var P=d;d=N;try{return F.apply(this,arguments)}finally{d=P}}}})(o1);s1.exports=o1;var QE=s1.exports;/** + */(function(t){function e(F,N){var P=F.length;F.push(N);e:for(;0>>1,xe=F[pe];if(0>>1;pei(Je,P))Kei(vt,Je)?(F[pe]=vt,F[Ke]=P,pe=Ke):(F[pe]=Je,F[ke]=P,pe=ke);else if(Kei(vt,P))F[pe]=vt,F[Ke]=P,pe=Ke;else break e}}return N}function i(F,N){var P=F.sortIndex-N.sortIndex;return P!==0?P:F.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();t.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,f=null,d=3,y=!1,v=!1,g=!1,T=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(F){for(var N=n(u);N!==null;){if(N.callback===null)r(u);else if(N.startTime<=F)r(u),N.sortIndex=N.expirationTime,e(l,N);else break;N=n(u)}}function w(F){if(g=!1,m(F),!v)if(n(l)!==null)v=!0,j(S);else{var N=n(u);N!==null&&re(w,N.startTime-F)}}function S(F,N){v=!1,g&&(g=!1,h(A),A=-1),y=!0;var P=d;try{for(m(N),f=n(l);f!==null&&(!(f.expirationTime>N)||F&&!$());){var pe=f.callback;if(typeof pe=="function"){f.callback=null,d=f.priorityLevel;var xe=pe(f.expirationTime<=N);N=t.unstable_now(),typeof xe=="function"?f.callback=xe:f===n(l)&&r(l),m(N)}else r(l);f=n(l)}if(f!==null)var It=!0;else{var ke=n(u);ke!==null&&re(w,ke.startTime-N),It=!1}return It}finally{f=null,d=P,y=!1}}var E=!1,x=null,A=-1,M=5,k=-1;function $(){return!(t.unstable_now()-kF||125pe?(F.sortIndex=P,e(u,F),n(l)===null&&F===n(u)&&(g?(h(A),A=-1):g=!0,re(w,P-pe))):(F.sortIndex=xe,e(l,F),v||y||(v=!0,j(S))),F},t.unstable_shouldYield=$,t.unstable_wrapCallback=function(F){var N=d;return function(){var P=d;d=N;try{return F.apply(this,arguments)}finally{d=P}}}})(o1);s1.exports=o1;var QE=s1.exports;/** * @license React * react-dom.production.min.js * @@ -43,14 +43,14 @@ var LS=Object.defineProperty;var NS=(t,e,n)=>e in t?LS(t,e,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var a1=T,Jt=QE;function C(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sd=Object.prototype.hasOwnProperty,XE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ng={},rg={};function JE(t){return Sd.call(rg,t)?!0:Sd.call(ng,t)?!1:XE.test(t)?rg[t]=!0:(ng[t]=!0,!1)}function qE(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function ZE(t,e,n,r){if(e===null||typeof e>"u"||qE(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Tt(t,e,n,r,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ct[t]=new Tt(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ct[e]=new Tt(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ct[t]=new Tt(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ct[t]=new Tt(t,2,!1,t,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(t){ct[t]=new Tt(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ct[t]=new Tt(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ct[t]=new Tt(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ct[t]=new Tt(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ct[t]=new Tt(t,5,!1,t.toLowerCase(),null,!1,!1)});var fh=/[\-:]([a-z])/g;function dh(t){return t[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(t){var e=t.replace(fh,dh);ct[e]=new Tt(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(fh,dh);ct[e]=new Tt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(fh,dh);ct[e]=new Tt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){ct[t]=new Tt(t,1,!1,t.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){ct[t]=new Tt(t,1,!1,t.toLowerCase(),null,!0,!0)});function ph(t,e,n,r){var i=ct.hasOwnProperty(e)?ct[e]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Sd=Object.prototype.hasOwnProperty,XE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ng={},rg={};function JE(t){return Sd.call(rg,t)?!0:Sd.call(ng,t)?!1:XE.test(t)?rg[t]=!0:(ng[t]=!0,!1)}function qE(t,e,n,r){if(n!==null&&n.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function ZE(t,e,n,r){if(e===null||typeof e>"u"||qE(t,e,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Tt(t,e,n,r,i,o,s){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=s}var ct={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ct[t]=new Tt(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ct[e]=new Tt(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ct[t]=new Tt(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ct[t]=new Tt(t,2,!1,t,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(t){ct[t]=new Tt(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ct[t]=new Tt(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ct[t]=new Tt(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ct[t]=new Tt(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ct[t]=new Tt(t,5,!1,t.toLowerCase(),null,!1,!1)});var fh=/[\-:]([a-z])/g;function dh(t){return t[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(t){var e=t.replace(fh,dh);ct[e]=new Tt(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(fh,dh);ct[e]=new Tt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(fh,dh);ct[e]=new Tt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){ct[t]=new Tt(t,1,!1,t.toLowerCase(),null,!1,!1)});ct.xlinkHref=new Tt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){ct[t]=new Tt(t,1,!1,t.toLowerCase(),null,!0,!0)});function ph(t,e,n,r){var i=ct.hasOwnProperty(e)?ct[e]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==o[a]){var l=` -`+i[s].replace(" at new "," at ");return t.displayName&&l.includes("")&&(l=l.replace("",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{Sf=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Vo(t):""}function eO(t){switch(t.tag){case 5:return Vo(t.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 2:case 15:return t=xf(t.type,!1),t;case 11:return t=xf(t.type.render,!1),t;case 1:return t=xf(t.type,!0),t;default:return""}}function Ed(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ps:return"Fragment";case ds:return"Portal";case xd:return"Profiler";case hh:return"StrictMode";case Td:return"Suspense";case Id:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case c1:return(t.displayName||"Context")+".Consumer";case u1:return(t._context.displayName||"Context")+".Provider";case yh:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case mh:return e=t.displayName||null,e!==null?e:Ed(t.type)||"Memo";case jr:e=t._payload,t=t._init;try{return Ed(t(e))}catch{}}return null}function tO(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ed(e);case 8:return e===hh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function oi(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function d1(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function nO(t){var e=d1(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function vl(t){t._valueTracker||(t._valueTracker=nO(t))}function p1(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=d1(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function hu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Od(t,e){var n=e.checked;return ze({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function sg(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=oi(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function h1(t,e){e=e.checked,e!=null&&ph(t,"checked",e,!1)}function Bd(t,e){h1(t,e);var n=oi(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?kd(t,e.type,n):e.hasOwnProperty("defaultValue")&&kd(t,e.type,oi(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function og(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function kd(t,e,n){(e!=="number"||hu(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Wo=Array.isArray;function Os(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=wl.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function wa(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Jo={animationIterationCount:!0,aspectRatio:!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},rO=["Webkit","ms","Moz","O"];Object.keys(Jo).forEach(function(t){rO.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Jo[e]=Jo[t]})});function v1(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Jo.hasOwnProperty(t)&&Jo[t]?(""+e).trim():e+"px"}function w1(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=v1(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var iO=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 Fd(t,e){if(e){if(iO[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(C(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(C(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(C(61))}if(e.style!=null&&typeof e.style!="object")throw Error(C(62))}}function Dd(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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}}var Rd=null;function gh(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Md=null,Bs=null,ks=null;function ug(t){if(t=Ja(t)){if(typeof Md!="function")throw Error(C(280));var e=t.stateNode;e&&(e=Nc(e),Md(t.stateNode,t.type,e))}}function b1(t){Bs?ks?ks.push(t):ks=[t]:Bs=t}function _1(){if(Bs){var t=Bs,e=ks;if(ks=Bs=null,ug(t),e)for(t=0;t>>=0,t===0?32:31-(yO(t)/mO|0)|0}var bl=64,_l=4194304;function Ho(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function vu(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Ho(a):(o&=s,o!==0&&(r=Ho(o)))}else s=n&~i,s!==0?r=Ho(s):o!==0&&(r=Ho(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Qa(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Dn(e),t[e]=n}function bO(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=Zo),vg=String.fromCharCode(32),wg=!1;function z1(t,e){switch(t){case"keyup":return GO.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var hs=!1;function XO(t,e){switch(t){case"compositionend":return j1(e);case"keypress":return e.which!==32?null:(wg=!0,vg);case"textInput":return t=e.data,t===vg&&wg?null:t;default:return null}}function JO(t,e){if(hs)return t==="compositionend"||!Ih&&z1(t,e)?(t=$1(),Xl=Sh=Yr=null,hs=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=xg(n)}}function Y1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Y1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function K1(){for(var t=window,e=hu();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=hu(t.document)}return e}function Eh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function oB(t){var e=K1(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&Y1(n.ownerDocument.documentElement,n)){if(r!==null&&Eh(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=Tg(n,o);var s=Tg(n,r);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ys=null,zd=null,ta=null,jd=!1;function Ig(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jd||ys==null||ys!==hu(r)||(r=ys,"selectionStart"in r&&Eh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ta&&Ia(ta,r)||(ta=r,r=_u(zd,"onSelect"),0vs||(t.current=Gd[vs],Gd[vs]=null,vs--)}function Oe(t,e){vs++,Gd[vs]=t.current,t.current=e}var ai={},mt=hi(ai),Ft=hi(!1),Mi=ai;function Ks(t,e){var n=t.type.contextTypes;if(!n)return ai;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Dt(t){return t=t.childContextTypes,t!=null}function xu(){Fe(Ft),Fe(mt)}function Fg(t,e,n){if(mt.current!==ai)throw Error(C(168));Oe(mt,e),Oe(Ft,n)}function nw(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(C(108,tO(t)||"Unknown",i));return ze({},n,r)}function Tu(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||ai,Mi=mt.current,Oe(mt,t),Oe(Ft,Ft.current),!0}function Dg(t,e,n){var r=t.stateNode;if(!r)throw Error(C(169));n?(t=nw(t,e,Mi),r.__reactInternalMemoizedMergedChildContext=t,Fe(Ft),Fe(mt),Oe(mt,t)):Fe(Ft),Oe(Ft,n)}var hr=null,Pc=!1,Nf=!1;function rw(t){hr===null?hr=[t]:hr.push(t)}function vB(t){Pc=!0,rw(t)}function yi(){if(!Nf&&hr!==null){Nf=!0;var t=0,e=be;try{var n=hr;for(be=1;t>=s,i-=s,mr=1<<32-Dn(e)+i|n<A?(M=x,x=null):M=x.sibling;var k=d(h,x,m[A],w);if(k===null){x===null&&(x=M);break}t&&x&&k.alternate===null&&e(h,x),p=o(k,p,A),I===null?S=k:I.sibling=k,I=k,x=M}if(A===m.length)return n(h,x),Le&&wi(h,A),S;if(x===null){for(;AA?(M=x,x=null):M=x.sibling;var $=d(h,x,k.value,w);if($===null){x===null&&(x=M);break}t&&x&&$.alternate===null&&e(h,x),p=o($,p,A),I===null?S=$:I.sibling=$,I=$,x=M}if(k.done)return n(h,x),Le&&wi(h,A),S;if(x===null){for(;!k.done;A++,k=m.next())k=f(h,k.value,w),k!==null&&(p=o(k,p,A),I===null?S=k:I.sibling=k,I=k);return Le&&wi(h,A),S}for(x=r(h,x);!k.done;A++,k=m.next())k=y(x,h,A,k.value,w),k!==null&&(t&&k.alternate!==null&&x.delete(k.key===null?A:k.key),p=o(k,p,A),I===null?S=k:I.sibling=k,I=k);return t&&x.forEach(function(ne){return e(h,ne)}),Le&&wi(h,A),S}function E(h,p,m,w){if(typeof m=="object"&&m!==null&&m.type===ps&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case gl:e:{for(var S=m.key,I=p;I!==null;){if(I.key===S){if(S=m.type,S===ps){if(I.tag===7){n(h,I.sibling),p=i(I,m.props.children),p.return=h,h=p;break e}}else if(I.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===jr&&Ug(S)===I.type){n(h,I.sibling),p=i(I,m.props),p.ref=Ro(h,I,m),p.return=h,h=p;break e}n(h,I);break}else e(h,I);I=I.sibling}m.type===ps?(p=Ci(m.props.children,h.mode,w,m.key),p.return=h,h=p):(w=iu(m.type,m.key,m.props,null,h.mode,w),w.ref=Ro(h,p,m),w.return=h,h=w)}return s(h);case ds:e:{for(I=m.key;p!==null;){if(p.key===I)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(h,p.sibling),p=i(p,m.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else e(h,p);p=p.sibling}p=Hf(m,h.mode,w),p.return=h,h=p}return s(h);case jr:return I=m._init,E(h,p,I(m._payload),w)}if(Wo(m))return v(h,p,m,w);if(ko(m))return g(h,p,m,w);Bl(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,m),p.return=h,h=p):(n(h,p),p=Wf(m,h.mode,w),p.return=h,h=p),s(h)):n(h,p)}return E}var Qs=fw(!0),dw=fw(!1),qa={},rr=hi(qa),ka=hi(qa),Aa=hi(qa);function Ei(t){if(t===qa)throw Error(C(174));return t}function Mh(t,e){switch(Oe(Aa,e),Oe(ka,t),Oe(rr,qa),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Cd(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Cd(e,t)}Fe(rr),Oe(rr,e)}function Xs(){Fe(rr),Fe(ka),Fe(Aa)}function pw(t){Ei(Aa.current);var e=Ei(rr.current),n=Cd(e,t.type);e!==n&&(Oe(ka,t),Oe(rr,n))}function Lh(t){ka.current===t&&(Fe(rr),Fe(ka))}var Ne=hi(0);function Au(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Pf=[];function Nh(){for(var t=0;tn?n:4,t(!0);var r=$f.transition;$f.transition={};try{t(!1),e()}finally{be=n,$f.transition=r}}function kw(){return _n().memoizedState}function SB(t,e,n){var r=ni(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Aw(t))Cw(e,n);else if(n=aw(t,e,n,r),n!==null){var i=St();Rn(n,t,r,i),Fw(n,e,r)}}function xB(t,e,n){var r=ni(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Aw(t))Cw(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,s)){var l=e.interleaved;l===null?(i.next=i,Dh(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}n=aw(t,e,i,r),n!==null&&(i=St(),Rn(n,t,r,i),Fw(n,e,r))}}function Aw(t){var e=t.alternate;return t===$e||e!==null&&e===$e}function Cw(t,e){na=Cu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Fw(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,wh(t,n)}}var Fu={readContext:bn,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},TB={readContext:bn,useCallback:function(t,e){return Yn().memoizedState=[t,e===void 0?null:e],t},useContext:bn,useEffect:jg,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,eu(4194308,4,Tw.bind(null,e,t),n)},useLayoutEffect:function(t,e){return eu(4194308,4,t,e)},useInsertionEffect:function(t,e){return eu(4,2,t,e)},useMemo:function(t,e){var n=Yn();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Yn();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=SB.bind(null,$e,t),[r.memoizedState,t]},useRef:function(t){var e=Yn();return t={current:t},e.memoizedState=t},useState:zg,useDebugValue:jh,useDeferredValue:function(t){return Yn().memoizedState=t},useTransition:function(){var t=zg(!1),e=t[0];return t=_B.bind(null,t[1]),Yn().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=$e,i=Yn();if(Le){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),nt===null)throw Error(C(349));Ni&30||mw(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,jg(vw.bind(null,r,o,t),[t]),r.flags|=2048,Da(9,gw.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=Yn(),e=nt.identifierPrefix;if(Le){var n=gr,r=mr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Ca++,0")&&(l=l.replace("",t.displayName)),l}while(1<=s&&0<=a);break}}}finally{Sf=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?Vo(t):""}function eO(t){switch(t.tag){case 5:return Vo(t.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 2:case 15:return t=xf(t.type,!1),t;case 11:return t=xf(t.type.render,!1),t;case 1:return t=xf(t.type,!0),t;default:return""}}function Ed(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case ps:return"Fragment";case ds:return"Portal";case xd:return"Profiler";case hh:return"StrictMode";case Td:return"Suspense";case Id:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case c1:return(t.displayName||"Context")+".Consumer";case u1:return(t._context.displayName||"Context")+".Provider";case yh:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case mh:return e=t.displayName||null,e!==null?e:Ed(t.type)||"Memo";case jr:e=t._payload,t=t._init;try{return Ed(t(e))}catch{}}return null}function tO(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ed(e);case 8:return e===hh?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function oi(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function d1(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function nO(t){var e=d1(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function vl(t){t._valueTracker||(t._valueTracker=nO(t))}function p1(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=d1(t)?t.checked?"true":"false":t.value),t=r,t!==n?(e.setValue(t),!0):!1}function hu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Od(t,e){var n=e.checked;return ze({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??t._wrapperState.initialChecked})}function sg(t,e){var n=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;n=oi(e.value!=null?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function h1(t,e){e=e.checked,e!=null&&ph(t,"checked",e,!1)}function Bd(t,e){h1(t,e);var n=oi(e.value),r=e.type;if(n!=null)r==="number"?(n===0&&t.value===""||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if(r==="submit"||r==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?kd(t,e.type,n):e.hasOwnProperty("defaultValue")&&kd(t,e.type,oi(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function og(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}n=t.name,n!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,n!==""&&(t.name=n)}function kd(t,e,n){(e!=="number"||hu(t.ownerDocument)!==t)&&(n==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var Wo=Array.isArray;function Os(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i"+e.valueOf().toString()+"",e=wl.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function wa(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&n.nodeType===3){n.nodeValue=e;return}}t.textContent=e}var Jo={animationIterationCount:!0,aspectRatio:!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},rO=["Webkit","ms","Moz","O"];Object.keys(Jo).forEach(function(t){rO.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Jo[e]=Jo[t]})});function v1(t,e,n){return e==null||typeof e=="boolean"||e===""?"":n||typeof e!="number"||e===0||Jo.hasOwnProperty(t)&&Jo[t]?(""+e).trim():e+"px"}function w1(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=v1(n,e[n],r);n==="float"&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}var iO=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 Fd(t,e){if(e){if(iO[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(C(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(C(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(C(61))}if(e.style!=null&&typeof e.style!="object")throw Error(C(62))}}function Dd(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){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}}var Rd=null;function gh(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Md=null,Bs=null,ks=null;function ug(t){if(t=Ja(t)){if(typeof Md!="function")throw Error(C(280));var e=t.stateNode;e&&(e=Nc(e),Md(t.stateNode,t.type,e))}}function b1(t){Bs?ks?ks.push(t):ks=[t]:Bs=t}function _1(){if(Bs){var t=Bs,e=ks;if(ks=Bs=null,ug(t),e)for(t=0;t>>=0,t===0?32:31-(yO(t)/mO|0)|0}var bl=64,_l=4194304;function Ho(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function vu(t,e){var n=t.pendingLanes;if(n===0)return 0;var r=0,i=t.suspendedLanes,o=t.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Ho(a):(o&=s,o!==0&&(r=Ho(o)))}else s=n&~i,s!==0?r=Ho(s):o!==0&&(r=Ho(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&i)&&(i=r&-r,o=e&-e,i>=o||i===16&&(o&4194240)!==0))return e;if(r&4&&(r|=n&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=r;0n;n++)e.push(t);return e}function Qa(t,e,n){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-Dn(e),t[e]=n}function bO(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0=Zo),vg=String.fromCharCode(32),wg=!1;function z1(t,e){switch(t){case"keyup":return GO.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j1(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var hs=!1;function XO(t,e){switch(t){case"compositionend":return j1(e);case"keypress":return e.which!==32?null:(wg=!0,vg);case"textInput":return t=e.data,t===vg&&wg?null:t;default:return null}}function JO(t,e){if(hs)return t==="compositionend"||!Ih&&z1(t,e)?(t=$1(),Xl=Sh=Yr=null,hs=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=xg(n)}}function Y1(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Y1(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function K1(){for(var t=window,e=hu();e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=hu(t.document)}return e}function Eh(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function oB(t){var e=K1(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&Y1(n.ownerDocument.documentElement,n)){if(r!==null&&Eh(n)){if(e=r.start,t=r.end,t===void 0&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if(t=(e=n.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!t.extend&&o>r&&(i=r,r=o,o=i),i=Tg(n,o);var s=Tg(n,r);i&&s&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==s.node||t.focusOffset!==s.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),o>r?(t.addRange(e),t.extend(s.node,s.offset)):(e.setEnd(s.node,s.offset),t.addRange(e)))}}for(e=[],t=n;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,ys=null,zd=null,ta=null,jd=!1;function Ig(t,e,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;jd||ys==null||ys!==hu(r)||(r=ys,"selectionStart"in r&&Eh(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),ta&&Ia(ta,r)||(ta=r,r=_u(zd,"onSelect"),0vs||(t.current=Gd[vs],Gd[vs]=null,vs--)}function Oe(t,e){vs++,Gd[vs]=t.current,t.current=e}var ai={},mt=hi(ai),Ft=hi(!1),Mi=ai;function Ks(t,e){var n=t.type.contextTypes;if(!n)return ai;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=e[o];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Dt(t){return t=t.childContextTypes,t!=null}function xu(){Fe(Ft),Fe(mt)}function Fg(t,e,n){if(mt.current!==ai)throw Error(C(168));Oe(mt,e),Oe(Ft,n)}function nw(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in e))throw Error(C(108,tO(t)||"Unknown",i));return ze({},n,r)}function Tu(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||ai,Mi=mt.current,Oe(mt,t),Oe(Ft,Ft.current),!0}function Dg(t,e,n){var r=t.stateNode;if(!r)throw Error(C(169));n?(t=nw(t,e,Mi),r.__reactInternalMemoizedMergedChildContext=t,Fe(Ft),Fe(mt),Oe(mt,t)):Fe(Ft),Oe(Ft,n)}var hr=null,Pc=!1,Nf=!1;function rw(t){hr===null?hr=[t]:hr.push(t)}function vB(t){Pc=!0,rw(t)}function yi(){if(!Nf&&hr!==null){Nf=!0;var t=0,e=be;try{var n=hr;for(be=1;t>=s,i-=s,mr=1<<32-Dn(e)+i|n<A?(M=x,x=null):M=x.sibling;var k=d(h,x,m[A],w);if(k===null){x===null&&(x=M);break}t&&x&&k.alternate===null&&e(h,x),p=o(k,p,A),E===null?S=k:E.sibling=k,E=k,x=M}if(A===m.length)return n(h,x),Le&&wi(h,A),S;if(x===null){for(;AA?(M=x,x=null):M=x.sibling;var $=d(h,x,k.value,w);if($===null){x===null&&(x=M);break}t&&x&&$.alternate===null&&e(h,x),p=o($,p,A),E===null?S=$:E.sibling=$,E=$,x=M}if(k.done)return n(h,x),Le&&wi(h,A),S;if(x===null){for(;!k.done;A++,k=m.next())k=f(h,k.value,w),k!==null&&(p=o(k,p,A),E===null?S=k:E.sibling=k,E=k);return Le&&wi(h,A),S}for(x=r(h,x);!k.done;A++,k=m.next())k=y(x,h,A,k.value,w),k!==null&&(t&&k.alternate!==null&&x.delete(k.key===null?A:k.key),p=o(k,p,A),E===null?S=k:E.sibling=k,E=k);return t&&x.forEach(function(ne){return e(h,ne)}),Le&&wi(h,A),S}function T(h,p,m,w){if(typeof m=="object"&&m!==null&&m.type===ps&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case gl:e:{for(var S=m.key,E=p;E!==null;){if(E.key===S){if(S=m.type,S===ps){if(E.tag===7){n(h,E.sibling),p=i(E,m.props.children),p.return=h,h=p;break e}}else if(E.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===jr&&Ug(S)===E.type){n(h,E.sibling),p=i(E,m.props),p.ref=Ro(h,E,m),p.return=h,h=p;break e}n(h,E);break}else e(h,E);E=E.sibling}m.type===ps?(p=Ci(m.props.children,h.mode,w,m.key),p.return=h,h=p):(w=iu(m.type,m.key,m.props,null,h.mode,w),w.ref=Ro(h,p,m),w.return=h,h=w)}return s(h);case ds:e:{for(E=m.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){n(h,p.sibling),p=i(p,m.children||[]),p.return=h,h=p;break e}else{n(h,p);break}else e(h,p);p=p.sibling}p=Hf(m,h.mode,w),p.return=h,h=p}return s(h);case jr:return E=m._init,T(h,p,E(m._payload),w)}if(Wo(m))return v(h,p,m,w);if(ko(m))return g(h,p,m,w);Bl(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(n(h,p.sibling),p=i(p,m),p.return=h,h=p):(n(h,p),p=Wf(m,h.mode,w),p.return=h,h=p),s(h)):n(h,p)}return T}var Qs=fw(!0),dw=fw(!1),qa={},rr=hi(qa),ka=hi(qa),Aa=hi(qa);function Ei(t){if(t===qa)throw Error(C(174));return t}function Mh(t,e){switch(Oe(Aa,e),Oe(ka,t),Oe(rr,qa),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Cd(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=Cd(e,t)}Fe(rr),Oe(rr,e)}function Xs(){Fe(rr),Fe(ka),Fe(Aa)}function pw(t){Ei(Aa.current);var e=Ei(rr.current),n=Cd(e,t.type);e!==n&&(Oe(ka,t),Oe(rr,n))}function Lh(t){ka.current===t&&(Fe(rr),Fe(ka))}var Ne=hi(0);function Au(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Pf=[];function Nh(){for(var t=0;tn?n:4,t(!0);var r=$f.transition;$f.transition={};try{t(!1),e()}finally{be=n,$f.transition=r}}function kw(){return _n().memoizedState}function SB(t,e,n){var r=ni(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Aw(t))Cw(e,n);else if(n=aw(t,e,n,r),n!==null){var i=St();Rn(n,t,r,i),Fw(n,e,r)}}function xB(t,e,n){var r=ni(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Aw(t))Cw(e,i);else{var o=t.alternate;if(t.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var s=e.lastRenderedState,a=o(s,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,s)){var l=e.interleaved;l===null?(i.next=i,Dh(e)):(i.next=l.next,l.next=i),e.interleaved=i;return}}catch{}finally{}n=aw(t,e,i,r),n!==null&&(i=St(),Rn(n,t,r,i),Fw(n,e,r))}}function Aw(t){var e=t.alternate;return t===$e||e!==null&&e===$e}function Cw(t,e){na=Cu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Fw(t,e,n){if(n&4194240){var r=e.lanes;r&=t.pendingLanes,n|=r,e.lanes=n,wh(t,n)}}var Fu={readContext:bn,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},TB={readContext:bn,useCallback:function(t,e){return Yn().memoizedState=[t,e===void 0?null:e],t},useContext:bn,useEffect:jg,useImperativeHandle:function(t,e,n){return n=n!=null?n.concat([t]):null,eu(4194308,4,Tw.bind(null,e,t),n)},useLayoutEffect:function(t,e){return eu(4194308,4,t,e)},useInsertionEffect:function(t,e){return eu(4,2,t,e)},useMemo:function(t,e){var n=Yn();return e=e===void 0?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=Yn();return e=n!==void 0?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=SB.bind(null,$e,t),[r.memoizedState,t]},useRef:function(t){var e=Yn();return t={current:t},e.memoizedState=t},useState:zg,useDebugValue:jh,useDeferredValue:function(t){return Yn().memoizedState=t},useTransition:function(){var t=zg(!1),e=t[0];return t=_B.bind(null,t[1]),Yn().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=$e,i=Yn();if(Le){if(n===void 0)throw Error(C(407));n=n()}else{if(n=e(),nt===null)throw Error(C(349));Ni&30||mw(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,jg(vw.bind(null,r,o,t),[t]),r.flags|=2048,Da(9,gw.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=Yn(),e=nt.identifierPrefix;if(Le){var n=gr,r=mr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,e=":"+e+"R"+n,n=Ca++,0<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[qn]=e,t[Ba]=r,zw(t,e,!1,!1),e.stateNode=t;e:{switch(s=Dd(n,r),n){case"dialog":Ae("cancel",t),Ae("close",t),i=r;break;case"iframe":case"object":case"embed":Ae("load",t),i=r;break;case"video":case"audio":for(i=0;iqs&&(e.flags|=128,r=!0,Mo(o,!1),e.lanes=4194304)}else{if(!r)if(t=Au(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Mo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Le)return pt(e),null}else 2*Ye()-o.renderingStartTime>qs&&n!==1073741824&&(e.flags|=128,r=!0,Mo(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ye(),e.sibling=null,n=Ne.current,Oe(Ne,r?n&1|2:n&1),e):(pt(e),null);case 22:case 23:return Gh(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?jt&1073741824&&(pt(e),e.subtreeFlags&6&&(e.flags|=8192)):pt(e),null;case 24:return null;case 25:return null}throw Error(C(156,e.tag))}function FB(t,e){switch(Bh(e),e.tag){case 1:return Dt(e.type)&&xu(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Xs(),Fe(Ft),Fe(mt),Nh(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Lh(e),null;case 13:if(Fe(Ne),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));Gs()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Fe(Ne),null;case 4:return Xs(),null;case 10:return Fh(e.type._context),null;case 22:case 23:return Gh(),null;case 24:return null;default:return null}}var Al=!1,yt=!1,DB=typeof WeakSet=="function"?WeakSet:Set,L=null;function Ss(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){We(t,e,r)}else n.current=null}function op(t,e,n){try{n()}catch(r){We(t,e,r)}}var Jg=!1;function RB(t,e){if(Vd=wu,t=K1(),Eh(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=t,d=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(y=f.firstChild)!==null;)d=f,f=y;for(;;){if(f===t)break t;if(d===n&&++u===i&&(a=s),d===o&&++c===r&&(l=s),(y=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wd={focusedElem:t,selectionRange:n},wu=!1,L=e;L!==null;)if(e=L,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,L=t;else for(;L!==null;){e=L;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,E=v.memoizedState,h=e.stateNode,p=h.getSnapshotBeforeUpdate(e.elementType===e.type?g:On(e.type,g),E);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=e.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){We(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,L=t;break}L=e.return}return v=Jg,Jg=!1,v}function ra(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&op(e,n,o)}i=i.next}while(i!==r)}}function zc(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ap(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function Ww(t){var e=t.alternate;e!==null&&(t.alternate=null,Ww(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[qn],delete e[Ba],delete e[Kd],delete e[mB],delete e[gB])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Hw(t){return t.tag===5||t.tag===3||t.tag===4}function qg(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Hw(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function lp(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Su));else if(r!==4&&(t=t.child,t!==null))for(lp(t,e,n),t=t.sibling;t!==null;)lp(t,e,n),t=t.sibling}function up(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(up(t,e,n),t=t.sibling;t!==null;)up(t,e,n),t=t.sibling}var st=null,Bn=!1;function $r(t,e,n){for(n=n.child;n!==null;)Yw(t,e,n),n=n.sibling}function Yw(t,e,n){if(nr&&typeof nr.onCommitFiberUnmount=="function")try{nr.onCommitFiberUnmount(Dc,n)}catch{}switch(n.tag){case 5:yt||Ss(n,e);case 6:var r=st,i=Bn;st=null,$r(t,e,n),st=r,Bn=i,st!==null&&(Bn?(t=st,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):st.removeChild(n.stateNode));break;case 18:st!==null&&(Bn?(t=st,n=n.stateNode,t.nodeType===8?Lf(t.parentNode,n):t.nodeType===1&&Lf(t,n),xa(t)):Lf(st,n.stateNode));break;case 4:r=st,i=Bn,st=n.stateNode.containerInfo,Bn=!0,$r(t,e,n),st=r,Bn=i;break;case 0:case 11:case 14:case 15:if(!yt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&op(n,e,s),i=i.next}while(i!==r)}$r(t,e,n);break;case 1:if(!yt&&(Ss(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){We(n,e,a)}$r(t,e,n);break;case 21:$r(t,e,n);break;case 22:n.mode&1?(yt=(r=yt)||n.memoizedState!==null,$r(t,e,n),yt=r):$r(t,e,n);break;default:$r(t,e,n)}}function Zg(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new DB),e.forEach(function(r){var i=VB.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function In(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*LB(r/1960))-r,10t?16:t,Kr===null)var r=!1;else{if(t=Kr,Kr=null,Mu=0,ue&6)throw Error(C(331));var i=ue;for(ue|=4,L=t.current;L!==null;){var o=L,s=o.child;if(L.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lYe()-Yh?Ai(t,0):Hh|=n),Rt(t,e)}function eb(t,e){e===0&&(t.mode&1?(e=_l,_l<<=1,!(_l&130023424)&&(_l=4194304)):e=1);var n=St();t=Ir(t,e),t!==null&&(Qa(t,e,n),Rt(t,n))}function jB(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),eb(t,n)}function VB(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(e),eb(t,n)}var tb;tb=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ft.current)Bt=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Bt=!1,AB(t,e,n);Bt=!!(t.flags&131072)}else Bt=!1,Le&&e.flags&1048576&&iw(e,Eu,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;tu(t,e),t=e.pendingProps;var i=Ks(e,mt.current);Cs(e,n),i=$h(null,e,r,t,i,n);var o=Uh();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Dt(r)?(o=!0,Tu(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Rh(e),i.updater=$c,e.stateNode=i,i._reactInternals=e,Zd(e,r,t,n),e=np(null,e,r,!0,o,n)):(e.tag=0,Le&&o&&Oh(e),bt(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(tu(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=HB(r),t=On(r,t),i){case 0:e=tp(null,e,r,t,n);break e;case 1:e=Gg(null,e,r,t,n);break e;case 11:e=Yg(null,e,r,t,n);break e;case 14:e=Kg(null,e,r,On(r.type,t),n);break e}throw Error(C(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),tp(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),Gg(t,e,r,i,n);case 3:e:{if(Pw(e),t===null)throw Error(C(387));r=e.pendingProps,o=e.memoizedState,i=o.element,lw(t,e),ku(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=Js(Error(C(423)),e),e=Qg(t,e,r,n,i);break e}else if(r!==i){i=Js(Error(C(424)),e),e=Qg(t,e,r,n,i);break e}else for(Yt=Zr(e.stateNode.containerInfo.firstChild),Gt=e,Le=!0,kn=null,n=dw(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gs(),r===i){e=Er(t,e,n);break e}bt(t,e,r,n)}e=e.child}return e;case 5:return pw(e),t===null&&Xd(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,Hd(r,i)?s=null:o!==null&&Hd(r,o)&&(e.flags|=32),Nw(t,e),bt(t,e,s,n),e.child;case 6:return t===null&&Xd(e),null;case 13:return $w(t,e,n);case 4:return Mh(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Qs(e,null,r,n):bt(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),Yg(t,e,r,i,n);case 7:return bt(t,e,e.pendingProps,n),e.child;case 8:return bt(t,e,e.pendingProps.children,n),e.child;case 12:return bt(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,Oe(Ou,r._currentValue),r._currentValue=s,o!==null)if(Nn(o.value,s)){if(o.children===i.children&&!Ft.current){e=Er(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=br(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Jd(o.return,n,e),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Jd(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}bt(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Cs(e,n),i=bn(i),r=r(i),e.flags|=1,bt(t,e,r,n),e.child;case 14:return r=e.type,i=On(r,e.pendingProps),i=On(r.type,i),Kg(t,e,r,i,n);case 15:return Mw(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),tu(t,e),e.tag=1,Dt(r)?(t=!0,Tu(e)):t=!1,Cs(e,n),cw(e,r,i),Zd(e,r,i,n),np(null,e,r,!0,t,n);case 19:return Uw(t,e,n);case 22:return Lw(t,e,n)}throw Error(C(156,e.tag))};function nb(t,e){return B1(t,e)}function WB(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(t,e,n,r){return new WB(t,e,n,r)}function Xh(t){return t=t.prototype,!(!t||!t.isReactComponent)}function HB(t){if(typeof t=="function")return Xh(t)?1:0;if(t!=null){if(t=t.$$typeof,t===yh)return 11;if(t===mh)return 14}return 2}function ri(t,e){var n=t.alternate;return n===null?(n=hn(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function iu(t,e,n,r,i,o){var s=2;if(r=t,typeof t=="function")Xh(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case ps:return Ci(n.children,i,o,e);case hh:s=8,i|=8;break;case xd:return t=hn(12,n,e,i|2),t.elementType=xd,t.lanes=o,t;case Td:return t=hn(13,n,e,i),t.elementType=Td,t.lanes=o,t;case Id:return t=hn(19,n,e,i),t.elementType=Id,t.lanes=o,t;case f1:return Vc(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case u1:s=10;break e;case c1:s=9;break e;case yh:s=11;break e;case mh:s=14;break e;case jr:s=16,r=null;break e}throw Error(C(130,t==null?t:typeof t,""))}return e=hn(s,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function Ci(t,e,n,r){return t=hn(7,t,r,e),t.lanes=n,t}function Vc(t,e,n,r){return t=hn(22,t,r,e),t.elementType=f1,t.lanes=n,t.stateNode={isHidden:!1},t}function Wf(t,e,n){return t=hn(6,t,null,e),t.lanes=n,t}function Hf(t,e,n){return e=hn(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function YB(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=If(0),this.expirationTimes=If(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=If(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Jh(t,e,n,r,i,o,s,a,l){return t=new YB(t,e,n,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=hn(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rh(o),t}function KB(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ob)}catch(t){console.error(t)}}ob(),i1.exports=sn;var ty=i1.exports;const Dl=ac(ty);function qB(t){return typeof t=="function"?t():t}const ZB=T.forwardRef(function(e,n){const{children:r,container:i,disablePortal:o=!1}=e,[s,a]=T.useState(null),l=ii(T.isValidElement(r)?r.ref:null,n);if(da(()=>{o||a(qB(i)||document.body)},[i,o]),da(()=>{if(s&&!o)return hd(n,s),()=>{hd(n,null)}},[n,s,o]),o){if(T.isValidElement(r)){const u={ref:l};return T.cloneElement(r,u)}return D.jsx(T.Fragment,{children:r})}return D.jsx(T.Fragment,{children:s&&ty.createPortal(r,s)})}),ek=ZB;function tk(t){return en("MuiPopper",t)}tn("MuiPopper",["root"]);const nk=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],rk=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ik(t,e){if(e==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function hp(t){return typeof t=="function"?t():t}function sk(t){return t.nodeType!==void 0}const ok=()=>xn({root:["root"]},NI(tk)),ak={},lk=T.forwardRef(function(e,n){var r;const{anchorEl:i,children:o,direction:s,disablePortal:a,modifiers:l,open:u,placement:c,popperOptions:f,popperRef:d,slotProps:y={},slots:v={},TransitionProps:g}=e,E=ye(e,nk),h=T.useRef(null),p=ii(h,n),m=T.useRef(null),w=ii(m,d),S=T.useRef(w);da(()=>{S.current=w},[w]),T.useImperativeHandle(d,()=>m.current,[]);const I=ik(c,s),[x,A]=T.useState(I),[M,k]=T.useState(hp(i));T.useEffect(()=>{m.current&&m.current.forceUpdate()}),T.useEffect(()=>{i&&k(hp(i))},[i]),da(()=>{if(!M||!u)return;const z=F=>{A(F.placement)};let j=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{z(F)}}];l!=null&&(j=j.concat(l)),f&&f.modifiers!=null&&(j=j.concat(f.modifiers));const re=GE(M,h.current,B({placement:I},f,{modifiers:j}));return S.current(re),()=>{re.destroy(),S.current(null)}},[M,a,l,u,f,I]);const $={placement:x};g!==null&&($.TransitionProps=g);const ne=ok(),q=(r=v.root)!=null?r:"div",Ie=jI({elementType:q,externalSlotProps:y.root,externalForwardedProps:E,additionalProps:{role:"tooltip",ref:p},ownerState:e,className:ne.root});return D.jsx(q,B({},Ie,{children:typeof o=="function"?o($):o}))}),uk=T.forwardRef(function(e,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=ak,popperRef:y,style:v,transition:g=!1,slotProps:E={},slots:h={}}=e,p=ye(e,rk),[m,w]=T.useState(!0),S=()=>{w(!1)},I=()=>{w(!0)};if(!l&&!c&&(!g||m))return null;let x;if(o)x=o;else if(r){const k=hp(r);x=k&&sk(k)?wm(k).body:wm(null).body}const A=!c&&l&&(!g||m)?"none":void 0,M=g?{in:c,onEnter:S,onExited:I}:void 0;return D.jsx(ek,{disablePortal:a,container:x,children:D.jsx(lk,B({anchorEl:r,direction:s,disablePortal:a,modifiers:u,ref:n,open:g?!m:c,placement:f,popperOptions:d,popperRef:y,slotProps:E,slots:h},p,{style:B({position:"fixed",top:0,left:0,display:A},v),TransitionProps:M,children:i}))})}),ck=uk;function fk(t){return en("MuiSvgIcon",t)}tn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const dk=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],pk=t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root",e!=="inherit"&&`color${De(e)}`,`fontSize${De(n)}`]};return xn(i,fk,r)},hk=gt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${De(n.color)}`],e[`fontSize${De(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,r,i,o,s,a,l,u,c,f,d,y,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=t.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=t.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=t.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=t.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[e.fontSize],color:(f=(d=(t.vars||t).palette)==null||(d=d[e.color])==null?void 0:d.main)!=null?f:{action:(y=(t.vars||t).palette)==null||(y=y.action)==null?void 0:y.active,disabled:(v=(t.vars||t).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[e.color]}}),ab=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,y=ye(r,dk),v=T.isValidElement(i)&&i.type==="svg",g=B({},r,{color:s,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:v}),E={};c||(E.viewBox=d);const h=pk(g);return D.jsxs(hk,B({as:a,className:Ee(h.root,o),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},E,y,v&&i.props,{ownerState:g,children:[v?i.props.children:i,f?D.jsx("title",{children:f}):null]}))});ab.muiName="SvgIcon";const a0=ab;function lb(t,e){function n(r,i){return D.jsx(a0,B({"data-testid":`${e}Icon`,ref:i},r,{children:t}))}return n.muiName=a0.muiName,T.memo(T.forwardRef(n))}function yp(t,e){return yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},yp(t,e)}function ub(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,yp(t,e)}const l0={disabled:!1},Pu=Cn.createContext(null);var yk=function(e){return e.scrollTop},Ko="unmounted",_i="exited",Si="entering",us="entered",mp="exiting",kr=function(t){ub(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=_i,o.appearStatus=Si):l=us:r.unmountOnExit||r.mountOnEnter?l=Ko:l=_i,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Ko?{status:_i}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Si&&s!==us&&(o=Si):(s===Si||s===us)&&(o=mp)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Si){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Dl.findDOMNode(this);s&&yk(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_i&&this.setState({status:Ko})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Dl.findDOMNode(this),a],u=l[0],c=l[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!i&&!s||l0.disabled){this.safeSetState({status:us},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Si},function(){o.props.onEntering(u,c),o.onTransitionEnd(d,function(){o.safeSetState({status:us},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Dl.findDOMNode(this);if(!o||l0.disabled){this.safeSetState({status:_i},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:mp},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:_i},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Dl.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Ko)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=ye(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Cn.createElement(Pu.Provider,{value:null},typeof s=="function"?s(i,a):Cn.cloneElement(Cn.Children.only(s),a))},e}(Cn.Component);kr.contextType=Pu;kr.propTypes={};function os(){}kr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:os,onEntering:os,onEntered:os,onExit:os,onExiting:os,onExited:os};kr.UNMOUNTED=Ko;kr.EXITED=_i;kr.ENTERING=Si;kr.ENTERED=us;kr.EXITING=mp;const mk=kr;function gk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ny(t,e){var n=function(o){return e&&T.isValidElement(o)?e(o):o},r=Object.create(null);return t&&T.Children.map(t,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function vk(t,e){t=t||{},e=e||{};function n(c){return c in e?e[c]:t[c]}var r=Object.create(null),i=[];for(var o in t)o in e?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in e){if(r[l])for(s=0;st.scrollTop;function u0(t,e){var n,r;const{timeout:i,easing:o,style:s={}}=t;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[e.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[e.mode]:o,delay:s.transitionDelay}}function Ik(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:u}=t,[c,f]=T.useState(!1),d=Ee(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},v=Ee(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&f(!0),T.useEffect(()=>{if(!a&&l!=null){const g=setTimeout(l,u);return()=>{clearTimeout(g)}}},[l,a,u]),D.jsx("span",{className:d,style:y,children:D.jsx("span",{className:v})})}const Ek=tn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fn=Ek,Ok=["center","classes","className"];let Gc=t=>t,c0,f0,d0,p0;const gp=550,Bk=80,kk=Kp(c0||(c0=Gc` +`+o.stack}return{value:t,source:e,stack:i,digest:null}}function jf(t,e,n){return{value:t,source:null,stack:n??null,digest:e??null}}function ep(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var OB=typeof WeakMap=="function"?WeakMap:Map;function Dw(t,e,n){n=br(-1,n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Ru||(Ru=!0,cp=r),ep(t,e)},n}function Rw(t,e,n){n=br(-1,n),n.tag=3;var r=t.type.getDerivedStateFromError;if(typeof r=="function"){var i=e.value;n.payload=function(){return r(i)},n.callback=function(){ep(t,e)}}var o=t.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){ep(t,e),typeof r!="function"&&(ti===null?ti=new Set([this]):ti.add(this));var s=e.stack;this.componentDidCatch(e.value,{componentStack:s!==null?s:""})}),n}function Vg(t,e,n){var r=t.pingCache;if(r===null){r=t.pingCache=new OB;var i=new Set;r.set(e,i)}else i=r.get(e),i===void 0&&(i=new Set,r.set(e,i));i.has(n)||(i.add(n),t=zB.bind(null,t,e,n),e.then(t,t))}function Wg(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function Hg(t,e,n,r,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(e=br(-1,1),e.tag=2,ei(n,e,1))),n.lanes|=1),t)}var BB=Br.ReactCurrentOwner,Bt=!1;function bt(t,e,n,r){e.child=t===null?dw(e,null,n,r):Qs(e,t.child,n,r)}function Yg(t,e,n,r,i){n=n.render;var o=e.ref;return Cs(e,i),r=$h(t,e,n,r,o,i),n=Uh(),t!==null&&!Bt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Er(t,e,i)):(Le&&n&&Oh(e),e.flags|=1,bt(t,e,r,i),e.child)}function Kg(t,e,n,r,i){if(t===null){var o=n.type;return typeof o=="function"&&!Xh(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(e.tag=15,e.type=o,Mw(t,e,o,r,i)):(t=iu(n.type,null,r,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(o=t.child,!(t.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Ia,n(s,r)&&t.ref===e.ref)return Er(t,e,i)}return e.flags|=1,t=ri(o,r),t.ref=e.ref,t.return=e,e.child=t}function Mw(t,e,n,r,i){if(t!==null){var o=t.memoizedProps;if(Ia(o,r)&&t.ref===e.ref)if(Bt=!1,e.pendingProps=r=o,(t.lanes&i)!==0)t.flags&131072&&(Bt=!0);else return e.lanes=t.lanes,Er(t,e,i)}return tp(t,e,n,r,i)}function Lw(t,e,n){var r=e.pendingProps,i=r.children,o=t!==null?t.memoizedState:null;if(r.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oe(xs,jt),jt|=n;else{if(!(n&1073741824))return t=o!==null?o.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Oe(xs,jt),jt|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Oe(xs,jt),jt|=r}else o!==null?(r=o.baseLanes|n,e.memoizedState=null):r=n,Oe(xs,jt),jt|=r;return bt(t,e,i,n),e.child}function Nw(t,e){var n=e.ref;(t===null&&n!==null||t!==null&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function tp(t,e,n,r,i){var o=Dt(n)?Mi:mt.current;return o=Ks(e,o),Cs(e,i),n=$h(t,e,n,r,o,i),r=Uh(),t!==null&&!Bt?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Er(t,e,i)):(Le&&r&&Oh(e),e.flags|=1,bt(t,e,n,i),e.child)}function Gg(t,e,n,r,i){if(Dt(n)){var o=!0;Tu(e)}else o=!1;if(Cs(e,i),e.stateNode===null)tu(t,e),cw(e,n,r),Zd(e,n,r,i),r=!0;else if(t===null){var s=e.stateNode,a=e.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=bn(u):(u=Dt(n)?Mi:mt.current,u=Ks(e,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&$g(e,s,r,u),Vr=!1;var d=e.memoizedState;s.state=d,ku(e,r,s,i),l=e.memoizedState,a!==r||d!==l||Ft.current||Vr?(typeof c=="function"&&(qd(e,n,c,r),l=e.memoizedState),(a=Vr||Pg(e,n,a,r,d,l,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(e.flags|=4194308)):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(e.flags|=4194308),r=!1)}else{s=e.stateNode,lw(t,e),a=e.memoizedProps,u=e.type===e.elementType?a:On(e.type,a),s.props=u,f=e.pendingProps,d=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=bn(l):(l=Dt(n)?Mi:mt.current,l=Ks(e,l));var y=n.getDerivedStateFromProps;(c=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||d!==l)&&$g(e,s,r,l),Vr=!1,d=e.memoizedState,s.state=d,ku(e,r,s,i);var v=e.memoizedState;a!==f||d!==v||Ft.current||Vr?(typeof y=="function"&&(qd(e,n,y,r),v=e.memoizedState),(u=Vr||Pg(e,n,u,r,d,v,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,v,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,v,l)),typeof s.componentDidUpdate=="function"&&(e.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=v),s.props=r,s.state=v,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===t.memoizedProps&&d===t.memoizedState||(e.flags|=1024),r=!1)}return np(t,e,n,r,o,i)}function np(t,e,n,r,i,o){Nw(t,e);var s=(e.flags&128)!==0;if(!r&&!s)return i&&Dg(e,n,!1),Er(t,e,o);r=e.stateNode,BB.current=e;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return e.flags|=1,t!==null&&s?(e.child=Qs(e,t.child,null,o),e.child=Qs(e,null,a,o)):bt(t,e,a,o),e.memoizedState=r.state,i&&Dg(e,n,!0),e.child}function Pw(t){var e=t.stateNode;e.pendingContext?Fg(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Fg(t,e.context,!1),Mh(t,e.containerInfo)}function Qg(t,e,n,r,i){return Gs(),kh(i),e.flags|=256,bt(t,e,n,r),e.child}var rp={dehydrated:null,treeContext:null,retryLane:0};function ip(t){return{baseLanes:t,cachePool:null,transitions:null}}function $w(t,e,n){var r=e.pendingProps,i=Ne.current,o=!1,s=(e.flags&128)!==0,a;if((a=s)||(a=t!==null&&t.memoizedState===null?!1:(i&2)!==0),a?(o=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Oe(Ne,i&1),t===null)return Xd(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(s=r.children,t=r.fallback,o?(r=e.mode,o=e.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=Vc(s,r,0,null),t=Ci(t,r,n,null),o.return=e,t.return=e,o.sibling=t,e.child=o,e.child.memoizedState=ip(n),e.memoizedState=rp,t):Vh(e,s));if(i=t.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return kB(t,e,s,r,a,i,n);if(o){o=r.fallback,s=e.mode,i=t.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&e.child!==i?(r=e.child,r.childLanes=0,r.pendingProps=l,e.deletions=null):(r=ri(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=ri(a,o):(o=Ci(o,s,n,null),o.flags|=2),o.return=e,r.return=e,r.sibling=o,e.child=r,r=o,o=e.child,s=t.child.memoizedState,s=s===null?ip(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=t.childLanes&~n,e.memoizedState=rp,r}return o=t.child,t=o.sibling,r=ri(o,{mode:"visible",children:r.children}),!(e.mode&1)&&(r.lanes=n),r.return=e,r.sibling=null,t!==null&&(n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=r,e.memoizedState=null,r}function Vh(t,e){return e=Vc({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function kl(t,e,n,r){return r!==null&&kh(r),Qs(e,t.child,null,n),t=Vh(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function kB(t,e,n,r,i,o,s){if(n)return e.flags&256?(e.flags&=-257,r=jf(Error(C(422))),kl(t,e,s,r)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(o=r.fallback,i=e.mode,r=Vc({mode:"visible",children:r.children},i,0,null),o=Ci(o,i,s,null),o.flags|=2,r.return=e,o.return=e,r.sibling=o,e.child=r,e.mode&1&&Qs(e,t.child,null,s),e.child.memoizedState=ip(s),e.memoizedState=rp,o);if(!(e.mode&1))return kl(t,e,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(C(419)),r=jf(o,r,void 0),kl(t,e,s,r)}if(a=(s&t.childLanes)!==0,Bt||a){if(r=nt,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ir(t,i),Rn(r,t,i,-1))}return Qh(),r=jf(Error(C(421))),kl(t,e,s,r)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=jB.bind(null,t),i._reactRetry=e,null):(t=o.treeContext,Yt=Zr(i.nextSibling),Gt=e,Le=!0,kn=null,t!==null&&(dn[pn++]=mr,dn[pn++]=gr,dn[pn++]=Li,mr=t.id,gr=t.overflow,Li=e),e=Vh(e,r.children),e.flags|=4096,e)}function Xg(t,e,n){t.lanes|=e;var r=t.alternate;r!==null&&(r.lanes|=e),Jd(t.return,e,n)}function Vf(t,e,n,r,i){var o=t.memoizedState;o===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function Uw(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(bt(t,e,r.children,n),r=Ne.current,r&2)r=r&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Xg(t,n,e);else if(t.tag===19)Xg(t,n,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Oe(Ne,r),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;n!==null;)t=n.alternate,t!==null&&Au(t)===null&&(i=n),n=n.sibling;n=i,n===null?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Vf(e,!1,i,n,o);break;case"backwards":for(n=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Au(t)===null){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Vf(e,!0,n,null,o);break;case"together":Vf(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function tu(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Er(t,e,n){if(t!==null&&(e.dependencies=t.dependencies),Pi|=e.lanes,!(n&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(C(153));if(e.child!==null){for(t=e.child,n=ri(t,t.pendingProps),e.child=n,n.return=e;t.sibling!==null;)t=t.sibling,n=n.sibling=ri(t,t.pendingProps),n.return=e;n.sibling=null}return e.child}function AB(t,e,n){switch(e.tag){case 3:Pw(e),Gs();break;case 5:pw(e);break;case 1:Dt(e.type)&&Tu(e);break;case 4:Mh(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,i=e.memoizedProps.value;Oe(Ou,r._currentValue),r._currentValue=i;break;case 13:if(r=e.memoizedState,r!==null)return r.dehydrated!==null?(Oe(Ne,Ne.current&1),e.flags|=128,null):n&e.child.childLanes?$w(t,e,n):(Oe(Ne,Ne.current&1),t=Er(t,e,n),t!==null?t.sibling:null);Oe(Ne,Ne.current&1);break;case 19:if(r=(n&e.childLanes)!==0,t.flags&128){if(r)return Uw(t,e,n);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Oe(Ne,Ne.current),r)break;return null;case 22:case 23:return e.lanes=0,Lw(t,e,n)}return Er(t,e,n)}var zw,sp,jw,Vw;zw=function(t,e){for(var n=e.child;n!==null;){if(n.tag===5||n.tag===6)t.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};sp=function(){};jw=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,Ei(rr.current);var o=null;switch(n){case"input":i=Od(t,i),r=Od(t,r),o=[];break;case"select":i=ze({},i,{value:void 0}),r=ze({},r,{value:void 0}),o=[];break;case"textarea":i=Ad(t,i),r=Ad(t,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(t.onclick=Su)}Fd(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(va.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(va.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Ae("scroll",t),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(e.updateQueue=u)&&(e.flags|=4)}};Vw=function(t,e,n,r){n!==r&&(e.flags|=4)};function Mo(t,e){if(!Le)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;e!==null;)e.alternate!==null&&(n=e),e=e.sibling;n===null?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:r.sibling=null}}function pt(t){var e=t.alternate!==null&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function CB(t,e,n){var r=e.pendingProps;switch(Bh(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(e),null;case 1:return Dt(e.type)&&xu(),pt(e),null;case 3:return r=e.stateNode,Xs(),Fe(Ft),Fe(mt),Nh(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(t===null||t.child===null)&&(Ol(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,kn!==null&&(pp(kn),kn=null))),sp(t,e),pt(e),null;case 5:Lh(e);var i=Ei(Aa.current);if(n=e.type,t!==null&&e.stateNode!=null)jw(t,e,n,r,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(e.stateNode===null)throw Error(C(166));return pt(e),null}if(t=Ei(rr.current),Ol(e)){r=e.stateNode,n=e.type;var o=e.memoizedProps;switch(r[qn]=e,r[Ba]=o,t=(e.mode&1)!==0,n){case"dialog":Ae("cancel",r),Ae("close",r);break;case"iframe":case"object":case"embed":Ae("load",r);break;case"video":case"audio":for(i=0;i<\/script>",t=t.removeChild(t.firstChild)):typeof r.is=="string"?t=s.createElement(n,{is:r.is}):(t=s.createElement(n),n==="select"&&(s=t,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):t=s.createElementNS(t,n),t[qn]=e,t[Ba]=r,zw(t,e,!1,!1),e.stateNode=t;e:{switch(s=Dd(n,r),n){case"dialog":Ae("cancel",t),Ae("close",t),i=r;break;case"iframe":case"object":case"embed":Ae("load",t),i=r;break;case"video":case"audio":for(i=0;iqs&&(e.flags|=128,r=!0,Mo(o,!1),e.lanes=4194304)}else{if(!r)if(t=Au(s),t!==null){if(e.flags|=128,r=!0,n=t.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),Mo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Le)return pt(e),null}else 2*Ye()-o.renderingStartTime>qs&&n!==1073741824&&(e.flags|=128,r=!0,Mo(o,!1),e.lanes=4194304);o.isBackwards?(s.sibling=e.child,e.child=s):(n=o.last,n!==null?n.sibling=s:e.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Ye(),e.sibling=null,n=Ne.current,Oe(Ne,r?n&1|2:n&1),e):(pt(e),null);case 22:case 23:return Gh(),r=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?jt&1073741824&&(pt(e),e.subtreeFlags&6&&(e.flags|=8192)):pt(e),null;case 24:return null;case 25:return null}throw Error(C(156,e.tag))}function FB(t,e){switch(Bh(e),e.tag){case 1:return Dt(e.type)&&xu(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Xs(),Fe(Ft),Fe(mt),Nh(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return Lh(e),null;case 13:if(Fe(Ne),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(C(340));Gs()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Fe(Ne),null;case 4:return Xs(),null;case 10:return Fh(e.type._context),null;case 22:case 23:return Gh(),null;case 24:return null;default:return null}}var Al=!1,yt=!1,DB=typeof WeakSet=="function"?WeakSet:Set,L=null;function Ss(t,e){var n=t.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){We(t,e,r)}else n.current=null}function op(t,e,n){try{n()}catch(r){We(t,e,r)}}var Jg=!1;function RB(t,e){if(Vd=wu,t=K1(),Eh(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else e:{n=(n=t.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,f=t,d=null;t:for(;;){for(var y;f!==n||i!==0&&f.nodeType!==3||(a=s+i),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(y=f.firstChild)!==null;)d=f,f=y;for(;;){if(f===t)break t;if(d===n&&++u===i&&(a=s),d===o&&++c===r&&(l=s),(y=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=y}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wd={focusedElem:t,selectionRange:n},wu=!1,L=e;L!==null;)if(e=L,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,L=t;else for(;L!==null;){e=L;try{var v=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var g=v.memoizedProps,T=v.memoizedState,h=e.stateNode,p=h.getSnapshotBeforeUpdate(e.elementType===e.type?g:On(e.type,g),T);h.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=e.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch(w){We(e,e.return,w)}if(t=e.sibling,t!==null){t.return=e.return,L=t;break}L=e.return}return v=Jg,Jg=!1,v}function ra(t,e,n){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&t)===t){var o=i.destroy;i.destroy=void 0,o!==void 0&&op(e,n,o)}i=i.next}while(i!==r)}}function zc(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ap(t){var e=t.ref;if(e!==null){var n=t.stateNode;switch(t.tag){case 5:t=n;break;default:t=n}typeof e=="function"?e(t):e.current=t}}function Ww(t){var e=t.alternate;e!==null&&(t.alternate=null,Ww(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[qn],delete e[Ba],delete e[Kd],delete e[mB],delete e[gB])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Hw(t){return t.tag===5||t.tag===3||t.tag===4}function qg(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Hw(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function lp(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.nodeType===8?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(n.nodeType===8?(e=n.parentNode,e.insertBefore(t,n)):(e=n,e.appendChild(t)),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=Su));else if(r!==4&&(t=t.child,t!==null))for(lp(t,e,n),t=t.sibling;t!==null;)lp(t,e,n),t=t.sibling}function up(t,e,n){var r=t.tag;if(r===5||r===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(r!==4&&(t=t.child,t!==null))for(up(t,e,n),t=t.sibling;t!==null;)up(t,e,n),t=t.sibling}var st=null,Bn=!1;function $r(t,e,n){for(n=n.child;n!==null;)Yw(t,e,n),n=n.sibling}function Yw(t,e,n){if(nr&&typeof nr.onCommitFiberUnmount=="function")try{nr.onCommitFiberUnmount(Dc,n)}catch{}switch(n.tag){case 5:yt||Ss(n,e);case 6:var r=st,i=Bn;st=null,$r(t,e,n),st=r,Bn=i,st!==null&&(Bn?(t=st,n=n.stateNode,t.nodeType===8?t.parentNode.removeChild(n):t.removeChild(n)):st.removeChild(n.stateNode));break;case 18:st!==null&&(Bn?(t=st,n=n.stateNode,t.nodeType===8?Lf(t.parentNode,n):t.nodeType===1&&Lf(t,n),xa(t)):Lf(st,n.stateNode));break;case 4:r=st,i=Bn,st=n.stateNode.containerInfo,Bn=!0,$r(t,e,n),st=r,Bn=i;break;case 0:case 11:case 14:case 15:if(!yt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,s=o.destroy;o=o.tag,s!==void 0&&(o&2||o&4)&&op(n,e,s),i=i.next}while(i!==r)}$r(t,e,n);break;case 1:if(!yt&&(Ss(n,e),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){We(n,e,a)}$r(t,e,n);break;case 21:$r(t,e,n);break;case 22:n.mode&1?(yt=(r=yt)||n.memoizedState!==null,$r(t,e,n),yt=r):$r(t,e,n);break;default:$r(t,e,n)}}function Zg(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var n=t.stateNode;n===null&&(n=t.stateNode=new DB),e.forEach(function(r){var i=VB.bind(null,t,r);n.has(r)||(n.add(r),r.then(i,i))})}}function In(t,e){var n=e.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*LB(r/1960))-r,10t?16:t,Kr===null)var r=!1;else{if(t=Kr,Kr=null,Mu=0,ue&6)throw Error(C(331));var i=ue;for(ue|=4,L=t.current;L!==null;){var o=L,s=o.child;if(L.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lYe()-Yh?Ai(t,0):Hh|=n),Rt(t,e)}function eb(t,e){e===0&&(t.mode&1?(e=_l,_l<<=1,!(_l&130023424)&&(_l=4194304)):e=1);var n=St();t=Ir(t,e),t!==null&&(Qa(t,e,n),Rt(t,n))}function jB(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),eb(t,n)}function VB(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(C(314))}r!==null&&r.delete(e),eb(t,n)}var tb;tb=function(t,e,n){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ft.current)Bt=!0;else{if(!(t.lanes&n)&&!(e.flags&128))return Bt=!1,AB(t,e,n);Bt=!!(t.flags&131072)}else Bt=!1,Le&&e.flags&1048576&&iw(e,Eu,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;tu(t,e),t=e.pendingProps;var i=Ks(e,mt.current);Cs(e,n),i=$h(null,e,r,t,i,n);var o=Uh();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Dt(r)?(o=!0,Tu(e)):o=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Rh(e),i.updater=$c,e.stateNode=i,i._reactInternals=e,Zd(e,r,t,n),e=np(null,e,r,!0,o,n)):(e.tag=0,Le&&o&&Oh(e),bt(null,e,i,n),e=e.child),e;case 16:r=e.elementType;e:{switch(tu(t,e),t=e.pendingProps,i=r._init,r=i(r._payload),e.type=r,i=e.tag=HB(r),t=On(r,t),i){case 0:e=tp(null,e,r,t,n);break e;case 1:e=Gg(null,e,r,t,n);break e;case 11:e=Yg(null,e,r,t,n);break e;case 14:e=Kg(null,e,r,On(r.type,t),n);break e}throw Error(C(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),tp(t,e,r,i,n);case 1:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),Gg(t,e,r,i,n);case 3:e:{if(Pw(e),t===null)throw Error(C(387));r=e.pendingProps,o=e.memoizedState,i=o.element,lw(t,e),ku(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){i=Js(Error(C(423)),e),e=Qg(t,e,r,n,i);break e}else if(r!==i){i=Js(Error(C(424)),e),e=Qg(t,e,r,n,i);break e}else for(Yt=Zr(e.stateNode.containerInfo.firstChild),Gt=e,Le=!0,kn=null,n=dw(e,null,r,n),e.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Gs(),r===i){e=Er(t,e,n);break e}bt(t,e,r,n)}e=e.child}return e;case 5:return pw(e),t===null&&Xd(e),r=e.type,i=e.pendingProps,o=t!==null?t.memoizedProps:null,s=i.children,Hd(r,i)?s=null:o!==null&&Hd(r,o)&&(e.flags|=32),Nw(t,e),bt(t,e,s,n),e.child;case 6:return t===null&&Xd(e),null;case 13:return $w(t,e,n);case 4:return Mh(e,e.stateNode.containerInfo),r=e.pendingProps,t===null?e.child=Qs(e,null,r,n):bt(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),Yg(t,e,r,i,n);case 7:return bt(t,e,e.pendingProps,n),e.child;case 8:return bt(t,e,e.pendingProps.children,n),e.child;case 12:return bt(t,e,e.pendingProps.children,n),e.child;case 10:e:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,Oe(Ou,r._currentValue),r._currentValue=s,o!==null)if(Nn(o.value,s)){if(o.children===i.children&&!Ft.current){e=Er(t,e,n);break e}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var a=o.dependencies;if(a!==null){s=o.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=br(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Jd(o.return,n,e),a.lanes|=n;break}l=l.next}}else if(o.tag===10)s=o.type===e.type?null:o.child;else if(o.tag===18){if(s=o.return,s===null)throw Error(C(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Jd(s,n,e),s=o.sibling}else s=o.child;if(s!==null)s.return=o;else for(s=o;s!==null;){if(s===e){s=null;break}if(o=s.sibling,o!==null){o.return=s.return,s=o;break}s=s.return}o=s}bt(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Cs(e,n),i=bn(i),r=r(i),e.flags|=1,bt(t,e,r,n),e.child;case 14:return r=e.type,i=On(r,e.pendingProps),i=On(r.type,i),Kg(t,e,r,i,n);case 15:return Mw(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:On(r,i),tu(t,e),e.tag=1,Dt(r)?(t=!0,Tu(e)):t=!1,Cs(e,n),cw(e,r,i),Zd(e,r,i,n),np(null,e,r,!0,t,n);case 19:return Uw(t,e,n);case 22:return Lw(t,e,n)}throw Error(C(156,e.tag))};function nb(t,e){return B1(t,e)}function WB(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function hn(t,e,n,r){return new WB(t,e,n,r)}function Xh(t){return t=t.prototype,!(!t||!t.isReactComponent)}function HB(t){if(typeof t=="function")return Xh(t)?1:0;if(t!=null){if(t=t.$$typeof,t===yh)return 11;if(t===mh)return 14}return 2}function ri(t,e){var n=t.alternate;return n===null?(n=hn(t.tag,e,t.key,t.mode),n.elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=t.flags&14680064,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function iu(t,e,n,r,i,o){var s=2;if(r=t,typeof t=="function")Xh(t)&&(s=1);else if(typeof t=="string")s=5;else e:switch(t){case ps:return Ci(n.children,i,o,e);case hh:s=8,i|=8;break;case xd:return t=hn(12,n,e,i|2),t.elementType=xd,t.lanes=o,t;case Td:return t=hn(13,n,e,i),t.elementType=Td,t.lanes=o,t;case Id:return t=hn(19,n,e,i),t.elementType=Id,t.lanes=o,t;case f1:return Vc(n,i,o,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case u1:s=10;break e;case c1:s=9;break e;case yh:s=11;break e;case mh:s=14;break e;case jr:s=16,r=null;break e}throw Error(C(130,t==null?t:typeof t,""))}return e=hn(s,n,e,i),e.elementType=t,e.type=r,e.lanes=o,e}function Ci(t,e,n,r){return t=hn(7,t,r,e),t.lanes=n,t}function Vc(t,e,n,r){return t=hn(22,t,r,e),t.elementType=f1,t.lanes=n,t.stateNode={isHidden:!1},t}function Wf(t,e,n){return t=hn(6,t,null,e),t.lanes=n,t}function Hf(t,e,n){return e=hn(4,t.children!==null?t.children:[],t.key,e),e.lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function YB(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=If(0),this.expirationTimes=If(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=If(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Jh(t,e,n,r,i,o,s,a,l){return t=new YB(t,e,n,a,l),e===1?(e=1,o===!0&&(e|=8)):e=0,o=hn(3,null,null,e),t.current=o,o.stateNode=t,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rh(o),t}function KB(t,e,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ob)}catch(t){console.error(t)}}ob(),i1.exports=sn;var ty=i1.exports;const Dl=ac(ty);function qB(t){return typeof t=="function"?t():t}const ZB=I.forwardRef(function(e,n){const{children:r,container:i,disablePortal:o=!1}=e,[s,a]=I.useState(null),l=ii(I.isValidElement(r)?r.ref:null,n);if(da(()=>{o||a(qB(i)||document.body)},[i,o]),da(()=>{if(s&&!o)return hd(n,s),()=>{hd(n,null)}},[n,s,o]),o){if(I.isValidElement(r)){const u={ref:l};return I.cloneElement(r,u)}return D.jsx(I.Fragment,{children:r})}return D.jsx(I.Fragment,{children:s&&ty.createPortal(r,s)})}),ek=ZB;function tk(t){return en("MuiPopper",t)}tn("MuiPopper",["root"]);const nk=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],rk=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function ik(t,e){if(e==="ltr")return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}function hp(t){return typeof t=="function"?t():t}function sk(t){return t.nodeType!==void 0}const ok=()=>xn({root:["root"]},NI(tk)),ak={},lk=I.forwardRef(function(e,n){var r;const{anchorEl:i,children:o,direction:s,disablePortal:a,modifiers:l,open:u,placement:c,popperOptions:f,popperRef:d,slotProps:y={},slots:v={},TransitionProps:g}=e,T=ye(e,nk),h=I.useRef(null),p=ii(h,n),m=I.useRef(null),w=ii(m,d),S=I.useRef(w);da(()=>{S.current=w},[w]),I.useImperativeHandle(d,()=>m.current,[]);const E=ik(c,s),[x,A]=I.useState(E),[M,k]=I.useState(hp(i));I.useEffect(()=>{m.current&&m.current.forceUpdate()}),I.useEffect(()=>{i&&k(hp(i))},[i]),da(()=>{if(!M||!u)return;const z=F=>{A(F.placement)};let j=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:F})=>{z(F)}}];l!=null&&(j=j.concat(l)),f&&f.modifiers!=null&&(j=j.concat(f.modifiers));const re=GE(M,h.current,B({placement:E},f,{modifiers:j}));return S.current(re),()=>{re.destroy(),S.current(null)}},[M,a,l,u,f,E]);const $={placement:x};g!==null&&($.TransitionProps=g);const ne=ok(),q=(r=v.root)!=null?r:"div",Ie=jI({elementType:q,externalSlotProps:y.root,externalForwardedProps:T,additionalProps:{role:"tooltip",ref:p},ownerState:e,className:ne.root});return D.jsx(q,B({},Ie,{children:typeof o=="function"?o($):o}))}),uk=I.forwardRef(function(e,n){const{anchorEl:r,children:i,container:o,direction:s="ltr",disablePortal:a=!1,keepMounted:l=!1,modifiers:u,open:c,placement:f="bottom",popperOptions:d=ak,popperRef:y,style:v,transition:g=!1,slotProps:T={},slots:h={}}=e,p=ye(e,rk),[m,w]=I.useState(!0),S=()=>{w(!1)},E=()=>{w(!0)};if(!l&&!c&&(!g||m))return null;let x;if(o)x=o;else if(r){const k=hp(r);x=k&&sk(k)?wm(k).body:wm(null).body}const A=!c&&l&&(!g||m)?"none":void 0,M=g?{in:c,onEnter:S,onExited:E}:void 0;return D.jsx(ek,{disablePortal:a,container:x,children:D.jsx(lk,B({anchorEl:r,direction:s,disablePortal:a,modifiers:u,ref:n,open:g?!m:c,placement:f,popperOptions:d,popperRef:y,slotProps:T,slots:h},p,{style:B({position:"fixed",top:0,left:0,display:A},v),TransitionProps:M,children:i}))})}),ck=uk;function fk(t){return en("MuiSvgIcon",t)}tn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const dk=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],pk=t=>{const{color:e,fontSize:n,classes:r}=t,i={root:["root",e!=="inherit"&&`color${De(e)}`,`fontSize${De(n)}`]};return xn(i,fk,r)},hk=gt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="inherit"&&e[`color${De(n.color)}`],e[`fontSize${De(n.fontSize)}`]]}})(({theme:t,ownerState:e})=>{var n,r,i,o,s,a,l,u,c,f,d,y,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:e.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=t.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=t.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=t.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=t.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=t.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[e.fontSize],color:(f=(d=(t.vars||t).palette)==null||(d=d[e.color])==null?void 0:d.main)!=null?f:{action:(y=(t.vars||t).palette)==null||(y=y.action)==null?void 0:y.active,disabled:(v=(t.vars||t).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[e.color]}}),ab=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,y=ye(r,dk),v=I.isValidElement(i)&&i.type==="svg",g=B({},r,{color:s,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:v}),T={};c||(T.viewBox=d);const h=pk(g);return D.jsxs(hk,B({as:a,className:Ee(h.root,o),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},T,y,v&&i.props,{ownerState:g,children:[v?i.props.children:i,f?D.jsx("title",{children:f}):null]}))});ab.muiName="SvgIcon";const a0=ab;function lb(t,e){function n(r,i){return D.jsx(a0,B({"data-testid":`${e}Icon`,ref:i},r,{children:t}))}return n.muiName=a0.muiName,I.memo(I.forwardRef(n))}function yp(t,e){return yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},yp(t,e)}function ub(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,yp(t,e)}const l0={disabled:!1},Pu=Cn.createContext(null);var yk=function(e){return e.scrollTop},Ko="unmounted",_i="exited",Si="entering",us="entered",mp="exiting",kr=function(t){ub(e,t);function e(r,i){var o;o=t.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=_i,o.appearStatus=Si):l=us:r.unmountOnExit||r.mountOnEnter?l=Ko:l=_i,o.state={status:l},o.nextCallback=null,o}e.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Ko?{status:_i}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==Si&&s!==us&&(o=Si):(s===Si||s===us)&&(o=mp)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===Si){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Dl.findDOMNode(this);s&&yk(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===_i&&this.setState({status:Ko})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Dl.findDOMNode(this),a],u=l[0],c=l[1],f=this.getTimeouts(),d=a?f.appear:f.enter;if(!i&&!s||l0.disabled){this.safeSetState({status:us},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Si},function(){o.props.onEntering(u,c),o.onTransitionEnd(d,function(){o.safeSetState({status:us},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:Dl.findDOMNode(this);if(!o||l0.disabled){this.safeSetState({status:_i},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:mp},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:_i},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:Dl.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Ko)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=ye(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Cn.createElement(Pu.Provider,{value:null},typeof s=="function"?s(i,a):Cn.cloneElement(Cn.Children.only(s),a))},e}(Cn.Component);kr.contextType=Pu;kr.propTypes={};function os(){}kr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:os,onEntering:os,onEntered:os,onExit:os,onExiting:os,onExited:os};kr.UNMOUNTED=Ko;kr.EXITED=_i;kr.ENTERING=Si;kr.ENTERED=us;kr.EXITING=mp;const mk=kr;function gk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ny(t,e){var n=function(o){return e&&I.isValidElement(o)?e(o):o},r=Object.create(null);return t&&I.Children.map(t,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function vk(t,e){t=t||{},e=e||{};function n(c){return c in e?e[c]:t[c]}var r=Object.create(null),i=[];for(var o in t)o in e?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in e){if(r[l])for(s=0;st.scrollTop;function u0(t,e){var n,r;const{timeout:i,easing:o,style:s={}}=t;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[e.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[e.mode]:o,delay:s.transitionDelay}}function Ik(t){const{className:e,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:u}=t,[c,f]=I.useState(!1),d=Ee(e,n.ripple,n.rippleVisible,r&&n.ripplePulsate),y={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},v=Ee(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&f(!0),I.useEffect(()=>{if(!a&&l!=null){const g=setTimeout(l,u);return()=>{clearTimeout(g)}}},[l,a,u]),D.jsx("span",{className:d,style:y,children:D.jsx("span",{className:v})})}const Ek=tn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),fn=Ek,Ok=["center","classes","className"];let Gc=t=>t,c0,f0,d0,p0;const gp=550,Bk=80,kk=Kp(c0||(c0=Gc` 0% { transform: scale(0); opacity: 0.1; @@ -123,8 +123,8 @@ Error generating stack: `+o.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`),fn.rippleVisible,kk,gp,({theme:t})=>t.transitions.easing.easeInOut,fn.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,fn.child,fn.childLeaving,Ak,gp,({theme:t})=>t.transitions.easing.easeInOut,fn.childPulsate,Ck,({theme:t})=>t.transitions.easing.easeInOut),Rk=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=ye(r,Ok),[l,u]=T.useState([]),c=T.useRef(0),f=T.useRef(null);T.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=T.useRef(!1),y=T.useRef(0),v=T.useRef(null),g=T.useRef(null);T.useEffect(()=>()=>{y.current&&clearTimeout(y.current)},[]);const E=T.useCallback(w=>{const{pulsate:S,rippleX:I,rippleY:x,rippleSize:A,cb:M}=w;u(k=>[...k,D.jsx(Dk,{classes:{ripple:Ee(o.ripple,fn.ripple),rippleVisible:Ee(o.rippleVisible,fn.rippleVisible),ripplePulsate:Ee(o.ripplePulsate,fn.ripplePulsate),child:Ee(o.child,fn.child),childLeaving:Ee(o.childLeaving,fn.childLeaving),childPulsate:Ee(o.childPulsate,fn.childPulsate)},timeout:gp,pulsate:S,rippleX:I,rippleY:x,rippleSize:A},c.current)]),c.current+=1,f.current=M},[o]),h=T.useCallback((w={},S={},I=()=>{})=>{const{pulsate:x=!1,center:A=i||S.pulsate,fakeElement:M=!1}=S;if((w==null?void 0:w.type)==="mousedown"&&d.current){d.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(d.current=!0);const k=M?null:g.current,$=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ne,q,Ie;if(A||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)ne=Math.round($.width/2),q=Math.round($.height/2);else{const{clientX:z,clientY:j}=w.touches&&w.touches.length>0?w.touches[0]:w;ne=Math.round(z-$.left),q=Math.round(j-$.top)}if(A)Ie=Math.sqrt((2*$.width**2+$.height**2)/3),Ie%2===0&&(Ie+=1);else{const z=Math.max(Math.abs((k?k.clientWidth:0)-ne),ne)*2+2,j=Math.max(Math.abs((k?k.clientHeight:0)-q),q)*2+2;Ie=Math.sqrt(z**2+j**2)}w!=null&&w.touches?v.current===null&&(v.current=()=>{E({pulsate:x,rippleX:ne,rippleY:q,rippleSize:Ie,cb:I})},y.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},Bk)):E({pulsate:x,rippleX:ne,rippleY:q,rippleSize:Ie,cb:I})},[i,E]),p=T.useCallback(()=>{h({},{pulsate:!0})},[h]),m=T.useCallback((w,S)=>{if(clearTimeout(y.current),(w==null?void 0:w.type)==="touchend"&&v.current){v.current(),v.current=null,y.current=setTimeout(()=>{m(w,S)});return}v.current=null,u(I=>I.length>0?I.slice(1):I),f.current=S},[]);return T.useImperativeHandle(n,()=>({pulsate:p,start:h,stop:m}),[p,h,m]),D.jsx(Fk,B({className:Ee(fn.root,o.root,s),ref:g},a,{children:D.jsx(xk,{component:null,exit:!0,children:l})}))}),Mk=Rk;function Lk(t){return en("MuiButtonBase",t)}const Nk=tn("MuiButtonBase",["root","disabled","focusVisible"]),Pk=Nk,$k=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Uk=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,s=xn({root:["root",e&&"disabled",n&&"focusVisible"]},Lk,i);return n&&r&&(s.root+=` ${r}`),s},zk=gt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Pk.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),jk=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:y="a",onBlur:v,onClick:g,onContextMenu:E,onDragLeave:h,onFocus:p,onFocusVisible:m,onKeyDown:w,onKeyUp:S,onMouseDown:I,onMouseLeave:x,onMouseUp:A,onTouchEnd:M,onTouchMove:k,onTouchStart:$,tabIndex:ne=0,TouchRippleProps:q,touchRippleRef:Ie,type:z}=r,j=ye(r,$k),re=T.useRef(null),F=T.useRef(null),N=ii(F,Ie),{isFocusVisibleRef:P,onFocus:pe,onBlur:xe,ref:It}=gv(),[ke,Je]=T.useState(!1);u&&ke&&Je(!1),T.useImperativeHandle(i,()=>({focusVisible:()=>{Je(!0),re.current.focus()}}),[]);const[Ke,vt]=T.useState(!1);T.useEffect(()=>{vt(!0)},[]);const it=Ke&&!c&&!u;T.useEffect(()=>{ke&&d&&!c&&Ke&&F.current.pulsate()},[c,d,ke,Ke]);function He(G,cn,bo=f){return zo(Pr=>(cn&&cn(Pr),!bo&&F.current&&F.current[G](Pr),!0))}const Rr=He("start",I),an=He("stop",E),wo=He("stop",h),Qi=He("stop",A),Xi=He("stop",G=>{ke&&G.preventDefault(),x&&x(G)}),ln=He("start",$),Mr=He("stop",M),Ji=He("stop",k),cr=He("stop",G=>{xe(G),P.current===!1&&Je(!1),v&&v(G)},!1),qi=zo(G=>{re.current||(re.current=G.currentTarget),pe(G),P.current===!0&&(Je(!0),m&&m(G)),p&&p(G)}),wt=()=>{const G=re.current;return l&&l!=="button"&&!(G.tagName==="A"&&G.href)},Vn=T.useRef(!1),fr=zo(G=>{d&&!Vn.current&&ke&&F.current&&G.key===" "&&(Vn.current=!0,F.current.stop(G,()=>{F.current.start(G)})),G.target===G.currentTarget&&wt()&&G.key===" "&&G.preventDefault(),w&&w(G),G.target===G.currentTarget&&wt()&&G.key==="Enter"&&!u&&(G.preventDefault(),g&&g(G))}),Lr=zo(G=>{d&&G.key===" "&&F.current&&ke&&!G.defaultPrevented&&(Vn.current=!1,F.current.stop(G,()=>{F.current.pulsate(G)})),S&&S(G),g&&G.target===G.currentTarget&&wt()&&G.key===" "&&!G.defaultPrevented&&g(G)});let Pt=l;Pt==="button"&&(j.href||j.to)&&(Pt=y);const $t={};Pt==="button"?($t.type=z===void 0?"button":z,$t.disabled=u):(!j.href&&!j.to&&($t.role="button"),u&&($t["aria-disabled"]=u));const un=ii(n,It,re),Nr=B({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:ne,focusVisible:ke}),Zi=Uk(Nr);return D.jsxs(zk,B({as:Pt,className:Ee(Zi.root,a),ownerState:Nr,onBlur:cr,onClick:g,onContextMenu:an,onFocus:qi,onKeyDown:fr,onKeyUp:Lr,onMouseDown:Rr,onMouseLeave:Xi,onMouseUp:Qi,onDragLeave:wo,onTouchEnd:Mr,onTouchMove:Ji,onTouchStart:ln,ref:un,tabIndex:u?-1:ne,type:z},$t,j,{children:[s,it?D.jsx(Mk,B({ref:N,center:o},q)):null]}))}),Vk=jk;function Wk(t){return en("MuiIconButton",t)}const Hk=tn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Yk=Hk,Kk=["edge","children","className","color","disabled","disableFocusRipple","size"],Gk=t=>{const{classes:e,disabled:n,color:r,edge:i,size:o}=t,s={root:["root",n&&"disabled",r!=="default"&&`color${De(r)}`,i&&`edge${De(i)}`,`size${De(o)}`]};return xn(s,Wk,e)},Qk=gt(Vk,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${De(n.color)}`],n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})(({theme:t,ownerState:e})=>B({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:si(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const r=(n=(t.vars||t).palette)==null?void 0:n[e.color];return B({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&B({color:r==null?void 0:r.main},!e.disableRipple&&{"&:hover":B({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:si(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${Yk.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),Xk=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,f=ye(r,Kk),d=B({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),y=Gk(d);return D.jsx(Qk,B({className:Ee(y.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n,ownerState:d},f,{children:o}))}),Jk=Xk;function qk(t){return en("MuiTypography",t)}tn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Zk=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],eA=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,t.align!=="inherit"&&`align${De(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return xn(a,qk,s)},tA=gt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${De(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>B({margin:0},e.variant&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),h0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},nA={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},rA=t=>nA[t]||t,iA=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTypography"}),i=rA(r.color),o=zv(B({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:y=h0}=o,v=ye(o,Zk),g=B({},o,{align:s,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:y}),E=l||(f?"p":y[d]||h0[d])||"span",h=eA(g);return D.jsx(tA,B({as:E,ref:n,ownerState:g,className:Ee(h.root,a)},v))}),y0=iA,sA=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],oA=gt(ck,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),aA=T.forwardRef(function(e,n){var r;const i=Zp(),o=rn({props:e,name:"MuiPopper"}),{anchorEl:s,component:a,components:l,componentsProps:u,container:c,disablePortal:f,keepMounted:d,modifiers:y,open:v,placement:g,popperOptions:E,popperRef:h,transition:p,slots:m,slotProps:w}=o,S=ye(o,sA),I=(r=m==null?void 0:m.root)!=null?r:l==null?void 0:l.Root,x=B({anchorEl:s,container:c,disablePortal:f,keepMounted:d,modifiers:y,open:v,placement:g,popperOptions:E,popperRef:h,transition:p},S);return D.jsx(oA,B({as:a,direction:i==null?void 0:i.direction,slots:{root:I},slotProps:w??u},x,{ref:n}))}),cb=aA,lA=nh(),uA=N2({themeId:Us,defaultTheme:lA,defaultClassName:"MuiBox-root",generateClassName:wv.generate}),su=uA,cA=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function vp(t){return`scale(${t}, ${t**2})`}const fA={entering:{opacity:1,transform:vp(1)},entered:{opacity:1,transform:"none"}},Yf=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),fb=T.forwardRef(function(e,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:y,style:v,timeout:g="auto",TransitionComponent:E=mk}=e,h=ye(e,cA),p=T.useRef(),m=T.useRef(),w=Gv(),S=T.useRef(null),I=ii(S,o.ref,n),x=z=>j=>{if(z){const re=S.current;j===void 0?z(re):z(re,j)}},A=x(c),M=x((z,j)=>{Tk(z);const{duration:re,delay:F,easing:N}=u0({style:v,timeout:g,easing:s},{mode:"enter"});let P;g==="auto"?(P=w.transitions.getAutoHeightDuration(z.clientHeight),m.current=P):P=re,z.style.transition=[w.transitions.create("opacity",{duration:P,delay:F}),w.transitions.create("transform",{duration:Yf?P:P*.666,delay:F,easing:N})].join(","),l&&l(z,j)}),k=x(u),$=x(y),ne=x(z=>{const{duration:j,delay:re,easing:F}=u0({style:v,timeout:g,easing:s},{mode:"exit"});let N;g==="auto"?(N=w.transitions.getAutoHeightDuration(z.clientHeight),m.current=N):N=j,z.style.transition=[w.transitions.create("opacity",{duration:N,delay:re}),w.transitions.create("transform",{duration:Yf?N:N*.666,delay:Yf?re:re||N*.333,easing:F})].join(","),z.style.opacity=0,z.style.transform=vp(.75),f&&f(z)}),q=x(d),Ie=z=>{g==="auto"&&(p.current=setTimeout(z,m.current||0)),r&&r(S.current,z)};return T.useEffect(()=>()=>{clearTimeout(p.current)},[]),D.jsx(E,B({appear:i,in:a,nodeRef:S,onEnter:M,onEntered:k,onEntering:A,onExit:ne,onExited:q,onExiting:$,addEndListener:Ie,timeout:g==="auto"?null:g},h,{children:(z,j)=>T.cloneElement(o,B({style:B({opacity:0,transform:vp(.75),visibility:z==="exited"&&!a?"hidden":void 0},fA[z],v,o.props.style),ref:I},j))}))});fb.muiSupportAuto=!0;const m0=fb;function dA(t){return en("MuiTooltip",t)}const pA=tn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Gr=pA,hA=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function yA(t){return Math.round(t*1e5)/1e5}const mA=t=>{const{classes:e,disableInteractive:n,arrow:r,touch:i,placement:o}=t,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${De(o.split("-")[0])}`],arrow:["arrow"]};return xn(s,dA,e)},gA=gt(cb,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>B({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${Gr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Gr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Gr.arrow}`]:B({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Gr.arrow}`]:B({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),vA=gt("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${De(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>B({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:si(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${yA(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${Gr.popper}[data-popper-placement*="left"] &`]:B({transformOrigin:"right center"},e.isRtl?B({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):B({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${Gr.popper}[data-popper-placement*="right"] &`]:B({transformOrigin:"left center"},e.isRtl?B({marginRight:"14px"},e.touch&&{marginRight:"24px"}):B({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${Gr.popper}[data-popper-placement*="top"] &`]:B({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${Gr.popper}[data-popper-placement*="bottom"] &`]:B({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),wA=gt("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:si(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Rl=!1,Kf=null,No={x:0,y:0};function Ml(t,e){return n=>{e&&e(n),t(n)}}const bA=T.forwardRef(function(e,n){var r,i,o,s,a,l,u,c,f,d,y,v,g,E,h,p,m,w,S;const I=rn({props:e,name:"MuiTooltip"}),{arrow:x=!1,children:A,components:M={},componentsProps:k={},describeChild:$=!1,disableFocusListener:ne=!1,disableHoverListener:q=!1,disableInteractive:Ie=!1,disableTouchListener:z=!1,enterDelay:j=100,enterNextDelay:re=0,enterTouchDelay:F=700,followCursor:N=!1,id:P,leaveDelay:pe=0,leaveTouchDelay:xe=1500,onClose:It,onOpen:ke,open:Je,placement:Ke="bottom",PopperComponent:vt,PopperProps:it={},slotProps:He={},slots:Rr={},title:an,TransitionComponent:wo=m0,TransitionProps:Qi}=I,Xi=ye(I,hA),ln=T.isValidElement(A)?A:D.jsx("span",{children:A}),Mr=Gv(),Ji=Mr.direction==="rtl",[cr,qi]=T.useState(),[wt,Vn]=T.useState(null),fr=T.useRef(!1),Lr=Ie||N,Pt=T.useRef(),$t=T.useRef(),un=T.useRef(),Nr=T.useRef(),[Zi,G]=gx({controlled:Je,default:!1,name:"Tooltip",state:"open"});let cn=Zi;const bo=mx(P),Pr=T.useRef(),_o=T.useCallback(()=>{Pr.current!==void 0&&(document.body.style.WebkitUserSelect=Pr.current,Pr.current=void 0),clearTimeout(Nr.current)},[]);T.useEffect(()=>()=>{clearTimeout(Pt.current),clearTimeout($t.current),clearTimeout(un.current),_o()},[_o]);const nm=ie=>{clearTimeout(Kf),Rl=!0,G(!0),ke&&!cn&&ke(ie)},pl=zo(ie=>{clearTimeout(Kf),Kf=setTimeout(()=>{Rl=!1},800+pe),G(!1),It&&cn&&It(ie),clearTimeout(Pt.current),Pt.current=setTimeout(()=>{fr.current=!1},Mr.transitions.duration.shortest)}),pf=ie=>{fr.current&&ie.type!=="touchstart"||(cr&&cr.removeAttribute("title"),clearTimeout($t.current),clearTimeout(un.current),j||Rl&&re?$t.current=setTimeout(()=>{nm(ie)},Rl?re:j):nm(ie))},rm=ie=>{clearTimeout($t.current),clearTimeout(un.current),un.current=setTimeout(()=>{pl(ie)},pe)},{isFocusVisibleRef:im,onBlur:TS,onFocus:IS,ref:ES}=gv(),[,sm]=T.useState(!1),om=ie=>{TS(ie),im.current===!1&&(sm(!1),rm(ie))},am=ie=>{cr||qi(ie.currentTarget),IS(ie),im.current===!0&&(sm(!0),pf(ie))},lm=ie=>{fr.current=!0;const Ut=ln.props;Ut.onTouchStart&&Ut.onTouchStart(ie)},um=pf,cm=rm,OS=ie=>{lm(ie),clearTimeout(un.current),clearTimeout(Pt.current),_o(),Pr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Nr.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Pr.current,pf(ie)},F)},BS=ie=>{ln.props.onTouchEnd&&ln.props.onTouchEnd(ie),_o(),clearTimeout(un.current),un.current=setTimeout(()=>{pl(ie)},xe)};T.useEffect(()=>{if(!cn)return;function ie(Ut){(Ut.key==="Escape"||Ut.key==="Esc")&&pl(Ut)}return document.addEventListener("keydown",ie),()=>{document.removeEventListener("keydown",ie)}},[pl,cn]);const kS=ii(ln.ref,ES,qi,n);!an&&an!==0&&(cn=!1);const hf=T.useRef(),AS=ie=>{const Ut=ln.props;Ut.onMouseMove&&Ut.onMouseMove(ie),No={x:ie.clientX,y:ie.clientY},hf.current&&hf.current.update()},So={},yf=typeof an=="string";$?(So.title=!cn&&yf&&!q?an:null,So["aria-describedby"]=cn?bo:null):(So["aria-label"]=yf?an:null,So["aria-labelledby"]=cn&&!yf?bo:null);const Tn=B({},So,Xi,ln.props,{className:Ee(Xi.className,ln.props.className),onTouchStart:lm,ref:kS},N?{onMouseMove:AS}:{}),xo={};z||(Tn.onTouchStart=OS,Tn.onTouchEnd=BS),q||(Tn.onMouseOver=Ml(um,Tn.onMouseOver),Tn.onMouseLeave=Ml(cm,Tn.onMouseLeave),Lr||(xo.onMouseOver=um,xo.onMouseLeave=cm)),ne||(Tn.onFocus=Ml(am,Tn.onFocus),Tn.onBlur=Ml(om,Tn.onBlur),Lr||(xo.onFocus=am,xo.onBlur=om));const CS=T.useMemo(()=>{var ie;let Ut=[{name:"arrow",enabled:!!wt,options:{element:wt,padding:4}}];return(ie=it.popperOptions)!=null&&ie.modifiers&&(Ut=Ut.concat(it.popperOptions.modifiers)),B({},it.popperOptions,{modifiers:Ut})},[wt,it]),To=B({},I,{isRtl:Ji,arrow:x,disableInteractive:Lr,placement:Ke,PopperComponentProp:vt,touch:fr.current}),mf=mA(To),fm=(r=(i=Rr.popper)!=null?i:M.Popper)!=null?r:gA,dm=(o=(s=(a=Rr.transition)!=null?a:M.Transition)!=null?s:wo)!=null?o:m0,pm=(l=(u=Rr.tooltip)!=null?u:M.Tooltip)!=null?l:vA,hm=(c=(f=Rr.arrow)!=null?f:M.Arrow)!=null?c:wA,FS=jo(fm,B({},it,(d=He.popper)!=null?d:k.popper,{className:Ee(mf.popper,it==null?void 0:it.className,(y=(v=He.popper)!=null?v:k.popper)==null?void 0:y.className)}),To),DS=jo(dm,B({},Qi,(g=He.transition)!=null?g:k.transition),To),RS=jo(pm,B({},(E=He.tooltip)!=null?E:k.tooltip,{className:Ee(mf.tooltip,(h=(p=He.tooltip)!=null?p:k.tooltip)==null?void 0:h.className)}),To),MS=jo(hm,B({},(m=He.arrow)!=null?m:k.arrow,{className:Ee(mf.arrow,(w=(S=He.arrow)!=null?S:k.arrow)==null?void 0:w.className)}),To);return D.jsxs(T.Fragment,{children:[T.cloneElement(ln,Tn),D.jsx(fm,B({as:vt??cb,placement:Ke,anchorEl:N?{getBoundingClientRect:()=>({top:No.y,left:No.x,right:No.x,bottom:No.y,width:0,height:0})}:cr,popperRef:hf,open:cr?cn:!1,id:bo,transition:!0},xo,FS,{popperOptions:CS,children:({TransitionProps:ie})=>D.jsx(dm,B({timeout:Mr.transitions.duration.shorter},ie,DS,{children:D.jsxs(pm,B({},RS,{children:[an,x?D.jsx(hm,B({},MS,{ref:Vn})):null]}))}))}))]})}),_A=bA,SA=T.createContext(),db=SA;function xA(t){return en("MuiTable",t)}tn("MuiTable",["root","stickyHeader"]);const TA=["className","component","padding","size","stickyHeader"],IA=t=>{const{classes:e,stickyHeader:n}=t;return xn({root:["root",n&&"stickyHeader"]},xA,e)},EA=gt("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>B({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":B({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),g0="table",OA=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTable"}),{className:i,component:o=g0,padding:s="normal",size:a="medium",stickyHeader:l=!1}=r,u=ye(r,TA),c=B({},r,{component:o,padding:s,size:a,stickyHeader:l}),f=IA(c),d=T.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return D.jsx(db.Provider,{value:d,children:D.jsx(EA,B({as:o,role:o===g0?null:"table",ref:n,className:Ee(f.root,i),ownerState:c},u))})}),BA=OA,kA=T.createContext(),Qc=kA;function AA(t){return en("MuiTableBody",t)}tn("MuiTableBody",["root"]);const CA=["className","component"],FA=t=>{const{classes:e}=t;return xn({root:["root"]},AA,e)},DA=gt("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),RA={variant:"body"},v0="tbody",MA=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableBody"}),{className:i,component:o=v0}=r,s=ye(r,CA),a=B({},r,{component:o}),l=FA(a);return D.jsx(Qc.Provider,{value:RA,children:D.jsx(DA,B({className:Ee(l.root,i),as:o,ref:n,role:o===v0?null:"rowgroup",ownerState:a},s))})}),LA=MA;function NA(t){return en("MuiTableCell",t)}const PA=tn("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),$A=PA,UA=["align","className","component","padding","scope","size","sortDirection","variant"],zA=t=>{const{classes:e,variant:n,align:r,padding:i,size:o,stickyHeader:s}=t,a={root:["root",n,s&&"stickyHeader",r!=="inherit"&&`align${De(r)}`,i!=="normal"&&`padding${De(i)}`,`size${De(o)}`]};return xn(a,NA,e)},jA=gt("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${De(n.size)}`],n.padding!=="normal"&&e[`padding${De(n.padding)}`],n.align!=="inherit"&&e[`align${De(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>B({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid - ${t.palette.mode==="light"?Hv(si(t.palette.divider,1),.88):Wv(si(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${$A.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),VA=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableCell"}),{align:i="inherit",className:o,component:s,padding:a,scope:l,size:u,sortDirection:c,variant:f}=r,d=ye(r,UA),y=T.useContext(db),v=T.useContext(Qc),g=v&&v.variant==="head";let E;s?E=s:E=g?"th":"td";let h=l;E==="td"?h=void 0:!h&&g&&(h="col");const p=f||v&&v.variant,m=B({},r,{align:i,component:E,padding:a||(y&&y.padding?y.padding:"normal"),size:u||(y&&y.size?y.size:"medium"),sortDirection:c,stickyHeader:p==="head"&&y&&y.stickyHeader,variant:p}),w=zA(m);let S=null;return c&&(S=c==="asc"?"ascending":"descending"),D.jsx(jA,B({as:E,ref:n,className:Ee(w.root,o),"aria-sort":S,scope:h,ownerState:m},d))}),Ds=VA;function WA(t){return en("MuiTableContainer",t)}tn("MuiTableContainer",["root"]);const HA=["className","component"],YA=t=>{const{classes:e}=t;return xn({root:["root"]},WA,e)},KA=gt("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),GA=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableContainer"}),{className:i,component:o="div"}=r,s=ye(r,HA),a=B({},r,{component:o}),l=YA(a);return D.jsx(KA,B({ref:n,as:o,className:Ee(l.root,i),ownerState:a},s))}),QA=GA;function XA(t){return en("MuiTableHead",t)}tn("MuiTableHead",["root"]);const JA=["className","component"],qA=t=>{const{classes:e}=t;return xn({root:["root"]},XA,e)},ZA=gt("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),eC={variant:"head"},w0="thead",tC=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableHead"}),{className:i,component:o=w0}=r,s=ye(r,JA),a=B({},r,{component:o}),l=qA(a);return D.jsx(Qc.Provider,{value:eC,children:D.jsx(ZA,B({as:o,className:Ee(l.root,i),ref:n,role:o===w0?null:"rowgroup",ownerState:a},s))})}),nC=tC;function rC(t){return en("MuiTableRow",t)}const iC=tn("MuiTableRow",["root","selected","hover","head","footer"]),b0=iC,sC=["className","component","hover","selected"],oC=t=>{const{classes:e,selected:n,hover:r,head:i,footer:o}=t;return xn({root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]},rC,e)},aC=gt("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${b0.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${b0.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:si(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:si(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),_0="tr",lC=T.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableRow"}),{className:i,component:o=_0,hover:s=!1,selected:a=!1}=r,l=ye(r,sC),u=T.useContext(Qc),c=B({},r,{component:o,hover:s,selected:a,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),f=oC(c);return D.jsx(aC,B({as:o,ref:n,className:Ee(f.root,i),role:o===_0?null:"row",ownerState:c},l))}),pb=lC;var wp={},S0=ty;wp.createRoot=S0.createRoot,wp.hydrateRoot=S0.hydrateRoot;const uC="#061B22",hb="#0A2C37",yb="#2D736D",$u="#D3E5E4",bp="#E9F2F1",cC=$u,fC=yb,dC=hb,pC="#F2C94C",hC="#EB5757",yC="#A22C37",mC="#571610",gC=pC,vC="#F6D881",wC="#E77956",bC="#FAFAFA",_C="#F5F5F5",SC="#E0E0E0",xC="#BDBDBD",TC="#757575",IC="#212121",EC=["#54A08E","#A4CBC1","#366567","#7BADA4","#1C383E"],OC=["#F8D06D","#F0EC89","#AD743E","#F4E07B","#5C291A"],BC=["#5690C5","#8DA6BF","#274F69","#6D90B1","#0B1D26"],kC=["#E77956","#FFDBA3","#A8402D","#FBAD78","#571610"],AC=["#959CFA","#D5D1FF","#5F74B3","#B2B1FF","#314A66"],CC=["#957A89","#D2C0C4","#664F5E","#B59CA6","#352731"],FC=["#78AE79","#C7DFC3","#5D8955","#9FC79D","#436036"],DC=["#FF8DA1","#FFC9F1","#C15F84","#FFA9D0","#823966"],RC=["#74B3C0","#99D4D2","#537F88","#BFE6DD","#314B50"],MC=["#A484BD","#CBC7E4","#745E86","#B5A5D1","#45384F"],mb=[EC,OC,BC,kC,AC,CC,FC,DC,RC,MC];mb.map(t=>t[0]);const Xc=t=>Object.fromEntries(mb.map(e=>[e[0],e[t]]));Xc(1);Xc(2);Xc(3);Xc(4);const gb=["SourceSansPro","Arial","sans-serif"].join(","),Gf={WebkitFontSmoothing:"auto",height:"100%",width:"100%",margin:0,fontFamily:gb},Me=nh({palette:{primary:{lighter:bp,light:$u,main:yb,dark:uC},info:{light:cC,main:fC,dark:dC},action:{hover:bp,hoverOpacity:.25},error:{light:wC,main:hC},grey:{50:bC,100:_C,300:SC,500:xC,600:TC,900:IC},important:{main:vC},destructive:{main:yC}},typography:{fontFamily:gb,h1:{fontSize:"2rem",fontWeight:600,lineHeight:1.2,letterSpacing:"-0.02em",margin:0},h2:{fontSize:"1.5rem",fontWeight:600,lineHeight:1.35,letterSpacing:"-0.02em",margin:0},h3:{fontSize:"1.5rem",fontWeight:400,lineHeight:1.35,margin:0},h4:{fontSize:"1.25rem",fontWeight:600,lineHeight:1.2,margin:0},h5:{fontSize:"1.1rem",fontWeight:600,lineHeight:1.1,margin:0},body2:{fontSize:"1rem",fontWeight:400,lineHeight:1.5,letterSpacing:"0.01em",margin:0},bodyStrong:{fontSize:"1rem",fontWeight:600,lineHeight:1.5,letterSpacing:"0.01em",margin:0,color:pd[600]},fontWeightBold:600,button:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.15,letterSpacing:"0.03em",textTransform:"uppercase"},subtitle1:{fontSize:"0.75rem",fontWeight:400,lineHeight:1.3,letterSpacing:"0.01em",color:pd[600]},menu:{fontWeight:600,fontSize:"0.875rem",lineHeight:1.15,letterSpacing:"0.03em"},code:{color:"rgb(9,171,59)",fontFamily:'"Source Code Pro", monospace',margin:0,fontSize:"0.75em",borderRadius:"0.25rem",background:"rgb(250,250,250)",width:"fit-content"}}});Me.components={MuiCssBaseline:{styleOverrides:{html:Gf,body:Gf,"#root":Gf,h1:Me.typography.h1,h2:Me.typography.h2,h3:Me.typography.h3,h4:Me.typography.h4,h5:Me.typography.h5,p:Me.typography.body2,".link":{color:Me.palette.primary.main,textDecoration:"underline",cursor:"pointer"},".disabled":{color:Me.palette.grey[400]},".input":{color:Me.palette.grey[600],fontStyle:"italic"},".detail":Me.typography.subtitle1,".dot":{height:Me.spacing(2),width:Me.spacing(2),borderRadius:Me.spacing(2),marginRight:Me.spacing(1),display:"flex"},a:{color:"unset","&:link":{textDecoration:"none"},"&:visited":{textDecoration:"none"}}}},MuiButton:{styleOverrides:{sizeLarge:{padding:Me.spacing(2),height:Me.spacing(6)},sizeMedium:{padding:Me.spacing(2),height:Me.spacing(6)},sizeSmall:{height:Me.spacing(4),lineHeight:1}},variants:[{props:{color:"primary",variant:"contained"},style:{":hover":{backgroundColor:hb}}},{props:{color:"primary",variant:"outlined"},style:{borderColor:$u,":hover":{borderColor:$u,backgroundColor:bp}}},{props:{color:"important"},style:{color:Me.palette.grey[900],":hover":{backgroundColor:gC}}},{props:{color:"destructive"},style:{color:"#FFFFFF",":hover":{background:mC}}}]},MuiInputBase:{styleOverrides:{root:{height:Me.spacing(5)}}},MuiTouchRipple:{styleOverrides:{root:{height:Me.spacing(6)}}}};var vb={exports:{}},Se={};/* +`),fn.rippleVisible,kk,gp,({theme:t})=>t.transitions.easing.easeInOut,fn.ripplePulsate,({theme:t})=>t.transitions.duration.shorter,fn.child,fn.childLeaving,Ak,gp,({theme:t})=>t.transitions.easing.easeInOut,fn.childPulsate,Ck,({theme:t})=>t.transitions.easing.easeInOut),Rk=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=ye(r,Ok),[l,u]=I.useState([]),c=I.useRef(0),f=I.useRef(null);I.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const d=I.useRef(!1),y=I.useRef(0),v=I.useRef(null),g=I.useRef(null);I.useEffect(()=>()=>{y.current&&clearTimeout(y.current)},[]);const T=I.useCallback(w=>{const{pulsate:S,rippleX:E,rippleY:x,rippleSize:A,cb:M}=w;u(k=>[...k,D.jsx(Dk,{classes:{ripple:Ee(o.ripple,fn.ripple),rippleVisible:Ee(o.rippleVisible,fn.rippleVisible),ripplePulsate:Ee(o.ripplePulsate,fn.ripplePulsate),child:Ee(o.child,fn.child),childLeaving:Ee(o.childLeaving,fn.childLeaving),childPulsate:Ee(o.childPulsate,fn.childPulsate)},timeout:gp,pulsate:S,rippleX:E,rippleY:x,rippleSize:A},c.current)]),c.current+=1,f.current=M},[o]),h=I.useCallback((w={},S={},E=()=>{})=>{const{pulsate:x=!1,center:A=i||S.pulsate,fakeElement:M=!1}=S;if((w==null?void 0:w.type)==="mousedown"&&d.current){d.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(d.current=!0);const k=M?null:g.current,$=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ne,q,Ie;if(A||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)ne=Math.round($.width/2),q=Math.round($.height/2);else{const{clientX:z,clientY:j}=w.touches&&w.touches.length>0?w.touches[0]:w;ne=Math.round(z-$.left),q=Math.round(j-$.top)}if(A)Ie=Math.sqrt((2*$.width**2+$.height**2)/3),Ie%2===0&&(Ie+=1);else{const z=Math.max(Math.abs((k?k.clientWidth:0)-ne),ne)*2+2,j=Math.max(Math.abs((k?k.clientHeight:0)-q),q)*2+2;Ie=Math.sqrt(z**2+j**2)}w!=null&&w.touches?v.current===null&&(v.current=()=>{T({pulsate:x,rippleX:ne,rippleY:q,rippleSize:Ie,cb:E})},y.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},Bk)):T({pulsate:x,rippleX:ne,rippleY:q,rippleSize:Ie,cb:E})},[i,T]),p=I.useCallback(()=>{h({},{pulsate:!0})},[h]),m=I.useCallback((w,S)=>{if(clearTimeout(y.current),(w==null?void 0:w.type)==="touchend"&&v.current){v.current(),v.current=null,y.current=setTimeout(()=>{m(w,S)});return}v.current=null,u(E=>E.length>0?E.slice(1):E),f.current=S},[]);return I.useImperativeHandle(n,()=>({pulsate:p,start:h,stop:m}),[p,h,m]),D.jsx(Fk,B({className:Ee(fn.root,o.root,s),ref:g},a,{children:D.jsx(xk,{component:null,exit:!0,children:l})}))}),Mk=Rk;function Lk(t){return en("MuiButtonBase",t)}const Nk=tn("MuiButtonBase",["root","disabled","focusVisible"]),Pk=Nk,$k=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Uk=t=>{const{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,s=xn({root:["root",e&&"disabled",n&&"focusVisible"]},Lk,i);return n&&r&&(s.root+=` ${r}`),s},zk=gt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Pk.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),jk=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:y="a",onBlur:v,onClick:g,onContextMenu:T,onDragLeave:h,onFocus:p,onFocusVisible:m,onKeyDown:w,onKeyUp:S,onMouseDown:E,onMouseLeave:x,onMouseUp:A,onTouchEnd:M,onTouchMove:k,onTouchStart:$,tabIndex:ne=0,TouchRippleProps:q,touchRippleRef:Ie,type:z}=r,j=ye(r,$k),re=I.useRef(null),F=I.useRef(null),N=ii(F,Ie),{isFocusVisibleRef:P,onFocus:pe,onBlur:xe,ref:It}=gv(),[ke,Je]=I.useState(!1);u&&ke&&Je(!1),I.useImperativeHandle(i,()=>({focusVisible:()=>{Je(!0),re.current.focus()}}),[]);const[Ke,vt]=I.useState(!1);I.useEffect(()=>{vt(!0)},[]);const it=Ke&&!c&&!u;I.useEffect(()=>{ke&&d&&!c&&Ke&&F.current.pulsate()},[c,d,ke,Ke]);function He(G,cn,bo=f){return zo(Pr=>(cn&&cn(Pr),!bo&&F.current&&F.current[G](Pr),!0))}const Rr=He("start",E),an=He("stop",T),wo=He("stop",h),Qi=He("stop",A),Xi=He("stop",G=>{ke&&G.preventDefault(),x&&x(G)}),ln=He("start",$),Mr=He("stop",M),Ji=He("stop",k),cr=He("stop",G=>{xe(G),P.current===!1&&Je(!1),v&&v(G)},!1),qi=zo(G=>{re.current||(re.current=G.currentTarget),pe(G),P.current===!0&&(Je(!0),m&&m(G)),p&&p(G)}),wt=()=>{const G=re.current;return l&&l!=="button"&&!(G.tagName==="A"&&G.href)},Vn=I.useRef(!1),fr=zo(G=>{d&&!Vn.current&&ke&&F.current&&G.key===" "&&(Vn.current=!0,F.current.stop(G,()=>{F.current.start(G)})),G.target===G.currentTarget&&wt()&&G.key===" "&&G.preventDefault(),w&&w(G),G.target===G.currentTarget&&wt()&&G.key==="Enter"&&!u&&(G.preventDefault(),g&&g(G))}),Lr=zo(G=>{d&&G.key===" "&&F.current&&ke&&!G.defaultPrevented&&(Vn.current=!1,F.current.stop(G,()=>{F.current.pulsate(G)})),S&&S(G),g&&G.target===G.currentTarget&&wt()&&G.key===" "&&!G.defaultPrevented&&g(G)});let Pt=l;Pt==="button"&&(j.href||j.to)&&(Pt=y);const $t={};Pt==="button"?($t.type=z===void 0?"button":z,$t.disabled=u):(!j.href&&!j.to&&($t.role="button"),u&&($t["aria-disabled"]=u));const un=ii(n,It,re),Nr=B({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:ne,focusVisible:ke}),Zi=Uk(Nr);return D.jsxs(zk,B({as:Pt,className:Ee(Zi.root,a),ownerState:Nr,onBlur:cr,onClick:g,onContextMenu:an,onFocus:qi,onKeyDown:fr,onKeyUp:Lr,onMouseDown:Rr,onMouseLeave:Xi,onMouseUp:Qi,onDragLeave:wo,onTouchEnd:Mr,onTouchMove:Ji,onTouchStart:ln,ref:un,tabIndex:u?-1:ne,type:z},$t,j,{children:[s,it?D.jsx(Mk,B({ref:N,center:o},q)):null]}))}),Vk=jk;function Wk(t){return en("MuiIconButton",t)}const Hk=tn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Yk=Hk,Kk=["edge","children","className","color","disabled","disableFocusRipple","size"],Gk=t=>{const{classes:e,disabled:n,color:r,edge:i,size:o}=t,s={root:["root",n&&"disabled",r!=="default"&&`color${De(r)}`,i&&`edge${De(i)}`,`size${De(o)}`]};return xn(s,Wk,e)},Qk=gt(Vk,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.color!=="default"&&e[`color${De(n.color)}`],n.edge&&e[`edge${De(n.edge)}`],e[`size${De(n.size)}`]]}})(({theme:t,ownerState:e})=>B({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!e.disableRipple&&{"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:si(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12}),({theme:t,ownerState:e})=>{var n;const r=(n=(t.vars||t).palette)==null?void 0:n[e.color];return B({},e.color==="inherit"&&{color:"inherit"},e.color!=="inherit"&&e.color!=="default"&&B({color:r==null?void 0:r.main},!e.disableRipple&&{"&:hover":B({},r&&{backgroundColor:t.vars?`rgba(${r.mainChannel} / ${t.vars.palette.action.hoverOpacity})`:si(r.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),e.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},e.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},{[`&.${Yk.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}})}),Xk=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,f=ye(r,Kk),d=B({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),y=Gk(d);return D.jsx(Qk,B({className:Ee(y.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n,ownerState:d},f,{children:o}))}),Jk=Xk;function qk(t){return en("MuiTypography",t)}tn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Zk=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],eA=t=>{const{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=t,a={root:["root",o,t.align!=="inherit"&&`align${De(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return xn(a,qk,s)},tA=gt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],n.align!=="inherit"&&e[`align${De(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})(({theme:t,ownerState:e})=>B({margin:0},e.variant&&t.typography[e.variant],e.align!=="inherit"&&{textAlign:e.align},e.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},e.gutterBottom&&{marginBottom:"0.35em"},e.paragraph&&{marginBottom:16})),h0={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},nA={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},rA=t=>nA[t]||t,iA=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTypography"}),i=rA(r.color),o=zv(B({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:y=h0}=o,v=ye(o,Zk),g=B({},o,{align:s,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:y}),T=l||(f?"p":y[d]||h0[d])||"span",h=eA(g);return D.jsx(tA,B({as:T,ref:n,ownerState:g,className:Ee(h.root,a)},v))}),y0=iA,sA=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],oA=gt(ck,{name:"MuiPopper",slot:"Root",overridesResolver:(t,e)=>e.root})({}),aA=I.forwardRef(function(e,n){var r;const i=Zp(),o=rn({props:e,name:"MuiPopper"}),{anchorEl:s,component:a,components:l,componentsProps:u,container:c,disablePortal:f,keepMounted:d,modifiers:y,open:v,placement:g,popperOptions:T,popperRef:h,transition:p,slots:m,slotProps:w}=o,S=ye(o,sA),E=(r=m==null?void 0:m.root)!=null?r:l==null?void 0:l.Root,x=B({anchorEl:s,container:c,disablePortal:f,keepMounted:d,modifiers:y,open:v,placement:g,popperOptions:T,popperRef:h,transition:p},S);return D.jsx(oA,B({as:a,direction:i==null?void 0:i.direction,slots:{root:E},slotProps:w??u},x,{ref:n}))}),cb=aA,lA=nh(),uA=N2({themeId:Us,defaultTheme:lA,defaultClassName:"MuiBox-root",generateClassName:wv.generate}),su=uA,cA=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function vp(t){return`scale(${t}, ${t**2})`}const fA={entering:{opacity:1,transform:vp(1)},entered:{opacity:1,transform:"none"}},Yf=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),fb=I.forwardRef(function(e,n){const{addEndListener:r,appear:i=!0,children:o,easing:s,in:a,onEnter:l,onEntered:u,onEntering:c,onExit:f,onExited:d,onExiting:y,style:v,timeout:g="auto",TransitionComponent:T=mk}=e,h=ye(e,cA),p=I.useRef(),m=I.useRef(),w=Gv(),S=I.useRef(null),E=ii(S,o.ref,n),x=z=>j=>{if(z){const re=S.current;j===void 0?z(re):z(re,j)}},A=x(c),M=x((z,j)=>{Tk(z);const{duration:re,delay:F,easing:N}=u0({style:v,timeout:g,easing:s},{mode:"enter"});let P;g==="auto"?(P=w.transitions.getAutoHeightDuration(z.clientHeight),m.current=P):P=re,z.style.transition=[w.transitions.create("opacity",{duration:P,delay:F}),w.transitions.create("transform",{duration:Yf?P:P*.666,delay:F,easing:N})].join(","),l&&l(z,j)}),k=x(u),$=x(y),ne=x(z=>{const{duration:j,delay:re,easing:F}=u0({style:v,timeout:g,easing:s},{mode:"exit"});let N;g==="auto"?(N=w.transitions.getAutoHeightDuration(z.clientHeight),m.current=N):N=j,z.style.transition=[w.transitions.create("opacity",{duration:N,delay:re}),w.transitions.create("transform",{duration:Yf?N:N*.666,delay:Yf?re:re||N*.333,easing:F})].join(","),z.style.opacity=0,z.style.transform=vp(.75),f&&f(z)}),q=x(d),Ie=z=>{g==="auto"&&(p.current=setTimeout(z,m.current||0)),r&&r(S.current,z)};return I.useEffect(()=>()=>{clearTimeout(p.current)},[]),D.jsx(T,B({appear:i,in:a,nodeRef:S,onEnter:M,onEntered:k,onEntering:A,onExit:ne,onExited:q,onExiting:$,addEndListener:Ie,timeout:g==="auto"?null:g},h,{children:(z,j)=>I.cloneElement(o,B({style:B({opacity:0,transform:vp(.75),visibility:z==="exited"&&!a?"hidden":void 0},fA[z],v,o.props.style),ref:E},j))}))});fb.muiSupportAuto=!0;const m0=fb;function dA(t){return en("MuiTooltip",t)}const pA=tn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Gr=pA,hA=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function yA(t){return Math.round(t*1e5)/1e5}const mA=t=>{const{classes:e,disableInteractive:n,arrow:r,touch:i,placement:o}=t,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${De(o.split("-")[0])}`],arrow:["arrow"]};return xn(s,dA,e)},gA=gt(cb,{name:"MuiTooltip",slot:"Popper",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})(({theme:t,ownerState:e,open:n})=>B({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!e.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},e.arrow&&{[`&[data-popper-placement*="bottom"] .${Gr.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Gr.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Gr.arrow}`]:B({},e.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Gr.arrow}`]:B({},e.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),vA=gt("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e[`tooltipPlacement${De(n.placement.split("-")[0])}`]]}})(({theme:t,ownerState:e})=>B({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:si(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},e.arrow&&{position:"relative",margin:0},e.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:`${yA(16/14)}em`,fontWeight:t.typography.fontWeightRegular},{[`.${Gr.popper}[data-popper-placement*="left"] &`]:B({transformOrigin:"right center"},e.isRtl?B({marginLeft:"14px"},e.touch&&{marginLeft:"24px"}):B({marginRight:"14px"},e.touch&&{marginRight:"24px"})),[`.${Gr.popper}[data-popper-placement*="right"] &`]:B({transformOrigin:"left center"},e.isRtl?B({marginRight:"14px"},e.touch&&{marginRight:"24px"}):B({marginLeft:"14px"},e.touch&&{marginLeft:"24px"})),[`.${Gr.popper}[data-popper-placement*="top"] &`]:B({transformOrigin:"center bottom",marginBottom:"14px"},e.touch&&{marginBottom:"24px"}),[`.${Gr.popper}[data-popper-placement*="bottom"] &`]:B({transformOrigin:"center top",marginTop:"14px"},e.touch&&{marginTop:"24px"})})),wA=gt("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(t,e)=>e.arrow})(({theme:t})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:si(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Rl=!1,Kf=null,No={x:0,y:0};function Ml(t,e){return n=>{e&&e(n),t(n)}}const bA=I.forwardRef(function(e,n){var r,i,o,s,a,l,u,c,f,d,y,v,g,T,h,p,m,w,S;const E=rn({props:e,name:"MuiTooltip"}),{arrow:x=!1,children:A,components:M={},componentsProps:k={},describeChild:$=!1,disableFocusListener:ne=!1,disableHoverListener:q=!1,disableInteractive:Ie=!1,disableTouchListener:z=!1,enterDelay:j=100,enterNextDelay:re=0,enterTouchDelay:F=700,followCursor:N=!1,id:P,leaveDelay:pe=0,leaveTouchDelay:xe=1500,onClose:It,onOpen:ke,open:Je,placement:Ke="bottom",PopperComponent:vt,PopperProps:it={},slotProps:He={},slots:Rr={},title:an,TransitionComponent:wo=m0,TransitionProps:Qi}=E,Xi=ye(E,hA),ln=I.isValidElement(A)?A:D.jsx("span",{children:A}),Mr=Gv(),Ji=Mr.direction==="rtl",[cr,qi]=I.useState(),[wt,Vn]=I.useState(null),fr=I.useRef(!1),Lr=Ie||N,Pt=I.useRef(),$t=I.useRef(),un=I.useRef(),Nr=I.useRef(),[Zi,G]=gx({controlled:Je,default:!1,name:"Tooltip",state:"open"});let cn=Zi;const bo=mx(P),Pr=I.useRef(),_o=I.useCallback(()=>{Pr.current!==void 0&&(document.body.style.WebkitUserSelect=Pr.current,Pr.current=void 0),clearTimeout(Nr.current)},[]);I.useEffect(()=>()=>{clearTimeout(Pt.current),clearTimeout($t.current),clearTimeout(un.current),_o()},[_o]);const nm=ie=>{clearTimeout(Kf),Rl=!0,G(!0),ke&&!cn&&ke(ie)},pl=zo(ie=>{clearTimeout(Kf),Kf=setTimeout(()=>{Rl=!1},800+pe),G(!1),It&&cn&&It(ie),clearTimeout(Pt.current),Pt.current=setTimeout(()=>{fr.current=!1},Mr.transitions.duration.shortest)}),pf=ie=>{fr.current&&ie.type!=="touchstart"||(cr&&cr.removeAttribute("title"),clearTimeout($t.current),clearTimeout(un.current),j||Rl&&re?$t.current=setTimeout(()=>{nm(ie)},Rl?re:j):nm(ie))},rm=ie=>{clearTimeout($t.current),clearTimeout(un.current),un.current=setTimeout(()=>{pl(ie)},pe)},{isFocusVisibleRef:im,onBlur:TS,onFocus:IS,ref:ES}=gv(),[,sm]=I.useState(!1),om=ie=>{TS(ie),im.current===!1&&(sm(!1),rm(ie))},am=ie=>{cr||qi(ie.currentTarget),IS(ie),im.current===!0&&(sm(!0),pf(ie))},lm=ie=>{fr.current=!0;const Ut=ln.props;Ut.onTouchStart&&Ut.onTouchStart(ie)},um=pf,cm=rm,OS=ie=>{lm(ie),clearTimeout(un.current),clearTimeout(Pt.current),_o(),Pr.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Nr.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Pr.current,pf(ie)},F)},BS=ie=>{ln.props.onTouchEnd&&ln.props.onTouchEnd(ie),_o(),clearTimeout(un.current),un.current=setTimeout(()=>{pl(ie)},xe)};I.useEffect(()=>{if(!cn)return;function ie(Ut){(Ut.key==="Escape"||Ut.key==="Esc")&&pl(Ut)}return document.addEventListener("keydown",ie),()=>{document.removeEventListener("keydown",ie)}},[pl,cn]);const kS=ii(ln.ref,ES,qi,n);!an&&an!==0&&(cn=!1);const hf=I.useRef(),AS=ie=>{const Ut=ln.props;Ut.onMouseMove&&Ut.onMouseMove(ie),No={x:ie.clientX,y:ie.clientY},hf.current&&hf.current.update()},So={},yf=typeof an=="string";$?(So.title=!cn&&yf&&!q?an:null,So["aria-describedby"]=cn?bo:null):(So["aria-label"]=yf?an:null,So["aria-labelledby"]=cn&&!yf?bo:null);const Tn=B({},So,Xi,ln.props,{className:Ee(Xi.className,ln.props.className),onTouchStart:lm,ref:kS},N?{onMouseMove:AS}:{}),xo={};z||(Tn.onTouchStart=OS,Tn.onTouchEnd=BS),q||(Tn.onMouseOver=Ml(um,Tn.onMouseOver),Tn.onMouseLeave=Ml(cm,Tn.onMouseLeave),Lr||(xo.onMouseOver=um,xo.onMouseLeave=cm)),ne||(Tn.onFocus=Ml(am,Tn.onFocus),Tn.onBlur=Ml(om,Tn.onBlur),Lr||(xo.onFocus=am,xo.onBlur=om));const CS=I.useMemo(()=>{var ie;let Ut=[{name:"arrow",enabled:!!wt,options:{element:wt,padding:4}}];return(ie=it.popperOptions)!=null&&ie.modifiers&&(Ut=Ut.concat(it.popperOptions.modifiers)),B({},it.popperOptions,{modifiers:Ut})},[wt,it]),To=B({},E,{isRtl:Ji,arrow:x,disableInteractive:Lr,placement:Ke,PopperComponentProp:vt,touch:fr.current}),mf=mA(To),fm=(r=(i=Rr.popper)!=null?i:M.Popper)!=null?r:gA,dm=(o=(s=(a=Rr.transition)!=null?a:M.Transition)!=null?s:wo)!=null?o:m0,pm=(l=(u=Rr.tooltip)!=null?u:M.Tooltip)!=null?l:vA,hm=(c=(f=Rr.arrow)!=null?f:M.Arrow)!=null?c:wA,FS=jo(fm,B({},it,(d=He.popper)!=null?d:k.popper,{className:Ee(mf.popper,it==null?void 0:it.className,(y=(v=He.popper)!=null?v:k.popper)==null?void 0:y.className)}),To),DS=jo(dm,B({},Qi,(g=He.transition)!=null?g:k.transition),To),RS=jo(pm,B({},(T=He.tooltip)!=null?T:k.tooltip,{className:Ee(mf.tooltip,(h=(p=He.tooltip)!=null?p:k.tooltip)==null?void 0:h.className)}),To),MS=jo(hm,B({},(m=He.arrow)!=null?m:k.arrow,{className:Ee(mf.arrow,(w=(S=He.arrow)!=null?S:k.arrow)==null?void 0:w.className)}),To);return D.jsxs(I.Fragment,{children:[I.cloneElement(ln,Tn),D.jsx(fm,B({as:vt??cb,placement:Ke,anchorEl:N?{getBoundingClientRect:()=>({top:No.y,left:No.x,right:No.x,bottom:No.y,width:0,height:0})}:cr,popperRef:hf,open:cr?cn:!1,id:bo,transition:!0},xo,FS,{popperOptions:CS,children:({TransitionProps:ie})=>D.jsx(dm,B({timeout:Mr.transitions.duration.shorter},ie,DS,{children:D.jsxs(pm,B({},RS,{children:[an,x?D.jsx(hm,B({},MS,{ref:Vn})):null]}))}))}))]})}),_A=bA,SA=I.createContext(),db=SA;function xA(t){return en("MuiTable",t)}tn("MuiTable",["root","stickyHeader"]);const TA=["className","component","padding","size","stickyHeader"],IA=t=>{const{classes:e,stickyHeader:n}=t;return xn({root:["root",n&&"stickyHeader"]},xA,e)},EA=gt("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>B({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":B({},t.typography.body2,{padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},e.stickyHeader&&{borderCollapse:"separate"})),g0="table",OA=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTable"}),{className:i,component:o=g0,padding:s="normal",size:a="medium",stickyHeader:l=!1}=r,u=ye(r,TA),c=B({},r,{component:o,padding:s,size:a,stickyHeader:l}),f=IA(c),d=I.useMemo(()=>({padding:s,size:a,stickyHeader:l}),[s,a,l]);return D.jsx(db.Provider,{value:d,children:D.jsx(EA,B({as:o,role:o===g0?null:"table",ref:n,className:Ee(f.root,i),ownerState:c},u))})}),BA=OA,kA=I.createContext(),Qc=kA;function AA(t){return en("MuiTableBody",t)}tn("MuiTableBody",["root"]);const CA=["className","component"],FA=t=>{const{classes:e}=t;return xn({root:["root"]},AA,e)},DA=gt("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),RA={variant:"body"},v0="tbody",MA=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableBody"}),{className:i,component:o=v0}=r,s=ye(r,CA),a=B({},r,{component:o}),l=FA(a);return D.jsx(Qc.Provider,{value:RA,children:D.jsx(DA,B({className:Ee(l.root,i),as:o,ref:n,role:o===v0?null:"rowgroup",ownerState:a},s))})}),LA=MA;function NA(t){return en("MuiTableCell",t)}const PA=tn("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),$A=PA,UA=["align","className","component","padding","scope","size","sortDirection","variant"],zA=t=>{const{classes:e,variant:n,align:r,padding:i,size:o,stickyHeader:s}=t,a={root:["root",n,s&&"stickyHeader",r!=="inherit"&&`align${De(r)}`,i!=="normal"&&`padding${De(i)}`,`size${De(o)}`]};return xn(a,NA,e)},jA=gt("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant],e[`size${De(n.size)}`],n.padding!=="normal"&&e[`padding${De(n.padding)}`],n.align!=="inherit"&&e[`align${De(n.align)}`],n.stickyHeader&&e.stickyHeader]}})(({theme:t,ownerState:e})=>B({},t.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid + ${t.palette.mode==="light"?Hv(si(t.palette.divider,1),.88):Wv(si(t.palette.divider,1),.68)}`,textAlign:"left",padding:16},e.variant==="head"&&{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium},e.variant==="body"&&{color:(t.vars||t).palette.text.primary},e.variant==="footer"&&{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)},e.size==="small"&&{padding:"6px 16px",[`&.${$A.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},e.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},e.padding==="none"&&{padding:0},e.align==="left"&&{textAlign:"left"},e.align==="center"&&{textAlign:"center"},e.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},e.align==="justify"&&{textAlign:"justify"},e.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default})),VA=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableCell"}),{align:i="inherit",className:o,component:s,padding:a,scope:l,size:u,sortDirection:c,variant:f}=r,d=ye(r,UA),y=I.useContext(db),v=I.useContext(Qc),g=v&&v.variant==="head";let T;s?T=s:T=g?"th":"td";let h=l;T==="td"?h=void 0:!h&&g&&(h="col");const p=f||v&&v.variant,m=B({},r,{align:i,component:T,padding:a||(y&&y.padding?y.padding:"normal"),size:u||(y&&y.size?y.size:"medium"),sortDirection:c,stickyHeader:p==="head"&&y&&y.stickyHeader,variant:p}),w=zA(m);let S=null;return c&&(S=c==="asc"?"ascending":"descending"),D.jsx(jA,B({as:T,ref:n,className:Ee(w.root,o),"aria-sort":S,scope:h,ownerState:m},d))}),Ds=VA;function WA(t){return en("MuiTableContainer",t)}tn("MuiTableContainer",["root"]);const HA=["className","component"],YA=t=>{const{classes:e}=t;return xn({root:["root"]},WA,e)},KA=gt("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"}),GA=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableContainer"}),{className:i,component:o="div"}=r,s=ye(r,HA),a=B({},r,{component:o}),l=YA(a);return D.jsx(KA,B({ref:n,as:o,className:Ee(l.root,i),ownerState:a},s))}),QA=GA;function XA(t){return en("MuiTableHead",t)}tn("MuiTableHead",["root"]);const JA=["className","component"],qA=t=>{const{classes:e}=t;return xn({root:["root"]},XA,e)},ZA=gt("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),eC={variant:"head"},w0="thead",tC=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableHead"}),{className:i,component:o=w0}=r,s=ye(r,JA),a=B({},r,{component:o}),l=qA(a);return D.jsx(Qc.Provider,{value:eC,children:D.jsx(ZA,B({as:o,className:Ee(l.root,i),ref:n,role:o===w0?null:"rowgroup",ownerState:a},s))})}),nC=tC;function rC(t){return en("MuiTableRow",t)}const iC=tn("MuiTableRow",["root","selected","hover","head","footer"]),b0=iC,sC=["className","component","hover","selected"],oC=t=>{const{classes:e,selected:n,hover:r,head:i,footer:o}=t;return xn({root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]},rC,e)},aC=gt("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${b0.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${b0.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:si(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:si(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}})),_0="tr",lC=I.forwardRef(function(e,n){const r=rn({props:e,name:"MuiTableRow"}),{className:i,component:o=_0,hover:s=!1,selected:a=!1}=r,l=ye(r,sC),u=I.useContext(Qc),c=B({},r,{component:o,hover:s,selected:a,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),f=oC(c);return D.jsx(aC,B({as:o,ref:n,className:Ee(f.root,i),role:o===_0?null:"row",ownerState:c},l))}),pb=lC;var wp={},S0=ty;wp.createRoot=S0.createRoot,wp.hydrateRoot=S0.hydrateRoot;const uC="#061B22",hb="#0A2C37",yb="#2D736D",$u="#D3E5E4",bp="#E9F2F1",cC=$u,fC=yb,dC=hb,pC="#F2C94C",hC="#EB5757",yC="#A22C37",mC="#571610",gC=pC,vC="#F6D881",wC="#E77956",bC="#FAFAFA",_C="#F5F5F5",SC="#E0E0E0",xC="#BDBDBD",TC="#757575",IC="#212121",EC=["#54A08E","#A4CBC1","#366567","#7BADA4","#1C383E"],OC=["#F8D06D","#F0EC89","#AD743E","#F4E07B","#5C291A"],BC=["#5690C5","#8DA6BF","#274F69","#6D90B1","#0B1D26"],kC=["#E77956","#FFDBA3","#A8402D","#FBAD78","#571610"],AC=["#959CFA","#D5D1FF","#5F74B3","#B2B1FF","#314A66"],CC=["#957A89","#D2C0C4","#664F5E","#B59CA6","#352731"],FC=["#78AE79","#C7DFC3","#5D8955","#9FC79D","#436036"],DC=["#FF8DA1","#FFC9F1","#C15F84","#FFA9D0","#823966"],RC=["#74B3C0","#99D4D2","#537F88","#BFE6DD","#314B50"],MC=["#A484BD","#CBC7E4","#745E86","#B5A5D1","#45384F"],mb=[EC,OC,BC,kC,AC,CC,FC,DC,RC,MC];mb.map(t=>t[0]);const Xc=t=>Object.fromEntries(mb.map(e=>[e[0],e[t]]));Xc(1);Xc(2);Xc(3);Xc(4);const gb=["SourceSansPro","Arial","sans-serif"].join(","),Gf={WebkitFontSmoothing:"auto",height:"100%",width:"100%",margin:0,fontFamily:gb},Me=nh({palette:{primary:{lighter:bp,light:$u,main:yb,dark:uC},info:{light:cC,main:fC,dark:dC},action:{hover:bp,hoverOpacity:.25},error:{light:wC,main:hC},grey:{50:bC,100:_C,300:SC,500:xC,600:TC,900:IC},important:{main:vC},destructive:{main:yC}},typography:{fontFamily:gb,h1:{fontSize:"2rem",fontWeight:600,lineHeight:1.2,letterSpacing:"-0.02em",margin:0},h2:{fontSize:"1.5rem",fontWeight:600,lineHeight:1.35,letterSpacing:"-0.02em",margin:0},h3:{fontSize:"1.5rem",fontWeight:400,lineHeight:1.35,margin:0},h4:{fontSize:"1.25rem",fontWeight:600,lineHeight:1.2,margin:0},h5:{fontSize:"1.1rem",fontWeight:600,lineHeight:1.1,margin:0},body2:{fontSize:"1rem",fontWeight:400,lineHeight:1.5,letterSpacing:"0.01em",margin:0},bodyStrong:{fontSize:"1rem",fontWeight:600,lineHeight:1.5,letterSpacing:"0.01em",margin:0,color:pd[600]},fontWeightBold:600,button:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.15,letterSpacing:"0.03em",textTransform:"uppercase"},subtitle1:{fontSize:"0.75rem",fontWeight:400,lineHeight:1.3,letterSpacing:"0.01em",color:pd[600]},menu:{fontWeight:600,fontSize:"0.875rem",lineHeight:1.15,letterSpacing:"0.03em"},code:{color:"rgb(9,171,59)",fontFamily:'"Source Code Pro", monospace',margin:0,fontSize:"0.75em",borderRadius:"0.25rem",background:"rgb(250,250,250)",width:"fit-content"}}});Me.components={MuiCssBaseline:{styleOverrides:{html:Gf,body:Gf,"#root":Gf,h1:Me.typography.h1,h2:Me.typography.h2,h3:Me.typography.h3,h4:Me.typography.h4,h5:Me.typography.h5,p:Me.typography.body2,".link":{color:Me.palette.primary.main,textDecoration:"underline",cursor:"pointer"},".disabled":{color:Me.palette.grey[400]},".input":{color:Me.palette.grey[600],fontStyle:"italic"},".detail":Me.typography.subtitle1,".dot":{height:Me.spacing(2),width:Me.spacing(2),borderRadius:Me.spacing(2),marginRight:Me.spacing(1),display:"flex"},a:{color:"unset","&:link":{textDecoration:"none"},"&:visited":{textDecoration:"none"}}}},MuiButton:{styleOverrides:{sizeLarge:{padding:Me.spacing(2),height:Me.spacing(6)},sizeMedium:{padding:Me.spacing(2),height:Me.spacing(6)},sizeSmall:{height:Me.spacing(4),lineHeight:1}},variants:[{props:{color:"primary",variant:"contained"},style:{":hover":{backgroundColor:hb}}},{props:{color:"primary",variant:"outlined"},style:{borderColor:$u,":hover":{borderColor:$u,backgroundColor:bp}}},{props:{color:"important"},style:{color:Me.palette.grey[900],":hover":{backgroundColor:gC}}},{props:{color:"destructive"},style:{color:"#FFFFFF",":hover":{background:mC}}}]},MuiInputBase:{styleOverrides:{root:{height:Me.spacing(5)}}},MuiTouchRipple:{styleOverrides:{root:{height:Me.spacing(6)}}}};var vb={exports:{}},Se={};/* object-assign (c) Sindre Sorhus @license MIT @@ -135,7 +135,7 @@ object-assign * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var iy=UC,Un=typeof Symbol=="function"&&Symbol.for,Za=Un?Symbol.for("react.element"):60103,zC=Un?Symbol.for("react.portal"):60106,jC=Un?Symbol.for("react.fragment"):60107,VC=Un?Symbol.for("react.strict_mode"):60108,WC=Un?Symbol.for("react.profiler"):60114,HC=Un?Symbol.for("react.provider"):60109,YC=Un?Symbol.for("react.context"):60110,KC=Un?Symbol.for("react.forward_ref"):60112,GC=Un?Symbol.for("react.suspense"):60113,QC=Un?Symbol.for("react.memo"):60115,XC=Un?Symbol.for("react.lazy"):60116,T0=typeof Symbol=="function"&&Symbol.iterator;function el(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;nUu.length&&Uu.push(t)}function _p(t,e,n,r){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case Za:case zC:o=!0}}if(o)return n(r,t,e===""?"."+Qf(t,0):e),1;if(o=0,e=e===""?".":e+":",Array.isArray(t))for(var s=0;s0){const t=new Array(arguments.length);for(let e=0;e>>0)+this.high*4294967296};_.Long.prototype.equals=function(t){return this.low==t.low&&this.high==t.high};_.Long.ZERO=new _.Long(0,0);_.Builder=function(t){if(t)var e=t;else var e=1024;this.bb=_.ByteBuffer.allocate(e),this.space=e,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};_.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};_.Builder.prototype.forceDefaults=function(t){this.force_defaults=t};_.Builder.prototype.dataBuffer=function(){return this.bb};_.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())};_.Builder.prototype.prep=function(t,e){t>this.minalign&&(this.minalign=t);for(var n=~(this.bb.capacity()-this.space+e)+1&t-1;this.space=0&&this.vtable[e]==0;e--);for(var n=e+1;e>=0;e--)this.addInt16(this.vtable[e]!=0?t-this.vtable[e]:0);var r=2;this.addInt16(t-this.object_start);var i=(n+r)*_.SIZEOF_SHORT;this.addInt16(i);var o=0,s=this.space;e:for(e=0;e=0;r--)this.writeInt8(n.charCodeAt(r))}this.prep(this.minalign,_.SIZEOF_INT),this.addOffset(t),this.bb.setPosition(this.space)};_.Builder.prototype.requiredField=function(t,e){var n=this.bb.capacity()-t,r=n-this.bb.readInt32(n),i=this.bb.readInt16(r+e)!=0;if(!i)throw new Error("FlatBuffers: field "+e+" must be set")};_.Builder.prototype.startVector=function(t,e,n){this.notNested(),this.vector_num_elems=e,this.prep(_.SIZEOF_INT,t*e),this.prep(n,t*e)};_.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()};_.Builder.prototype.createString=function(t){if(t instanceof Uint8Array)var e=t;else for(var e=[],n=0;n=56320)r=i;else{var o=t.charCodeAt(n++);r=(i<<10)+o+(65536-56623104-56320)}r<128?e.push(r):(r<2048?e.push(r>>6&31|192):(r<65536?e.push(r>>12&15|224):e.push(r>>18&7|240,r>>12&63|128),e.push(r>>6&63|128)),e.push(r&63|128))}this.addInt8(0),this.startVector(1,e.length,1),this.bb.setPosition(this.space-=e.length);for(var n=0,s=this.space,a=this.bb.bytes();n>24};_.ByteBuffer.prototype.readUint8=function(t){return this.bytes_[t]};_.ByteBuffer.prototype.readInt16=function(t){return this.readUint16(t)<<16>>16};_.ByteBuffer.prototype.readUint16=function(t){return this.bytes_[t]|this.bytes_[t+1]<<8};_.ByteBuffer.prototype.readInt32=function(t){return this.bytes_[t]|this.bytes_[t+1]<<8|this.bytes_[t+2]<<16|this.bytes_[t+3]<<24};_.ByteBuffer.prototype.readUint32=function(t){return this.readInt32(t)>>>0};_.ByteBuffer.prototype.readInt64=function(t){return new _.Long(this.readInt32(t),this.readInt32(t+4))};_.ByteBuffer.prototype.readUint64=function(t){return new _.Long(this.readUint32(t),this.readUint32(t+4))};_.ByteBuffer.prototype.readFloat32=function(t){return _.int32[0]=this.readInt32(t),_.float32[0]};_.ByteBuffer.prototype.readFloat64=function(t){return _.int32[_.isLittleEndian?0:1]=this.readInt32(t),_.int32[_.isLittleEndian?1:0]=this.readInt32(t+4),_.float64[0]};_.ByteBuffer.prototype.writeInt8=function(t,e){this.bytes_[t]=e};_.ByteBuffer.prototype.writeUint8=function(t,e){this.bytes_[t]=e};_.ByteBuffer.prototype.writeInt16=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8};_.ByteBuffer.prototype.writeUint16=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8};_.ByteBuffer.prototype.writeInt32=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24};_.ByteBuffer.prototype.writeUint32=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24};_.ByteBuffer.prototype.writeInt64=function(t,e){this.writeInt32(t,e.low),this.writeInt32(t+4,e.high)};_.ByteBuffer.prototype.writeUint64=function(t,e){this.writeUint32(t,e.low),this.writeUint32(t+4,e.high)};_.ByteBuffer.prototype.writeFloat32=function(t,e){_.float32[0]=e,this.writeInt32(t,_.int32[0])};_.ByteBuffer.prototype.writeFloat64=function(t,e){_.float64[0]=e,this.writeInt32(t,_.int32[_.isLittleEndian?0:1]),this.writeInt32(t+4,_.int32[_.isLittleEndian?1:0])};_.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length>10)+55296,(o&1024-1)+56320))}return r};_.ByteBuffer.prototype.__indirect=function(t){return t+this.readInt32(t)};_.ByteBuffer.prototype.__vector=function(t){return t+this.readInt32(t)+_.SIZEOF_INT};_.ByteBuffer.prototype.__vector_len=function(t){return this.readInt32(t+this.readInt32(t))};_.ByteBuffer.prototype.__has_identifier=function(t){if(t.length!=_.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+_.FILE_IDENTIFIER_LENGTH);for(var e=0;e<_.FILE_IDENTIFIER_LENGTH;e++)if(t.charCodeAt(e)!=this.readInt8(this.position_+_.SIZEOF_INT+e))return!1;return!0};_.ByteBuffer.prototype.createLong=function(t,e){return _.Long.create(t,e)};function yr(t,e,n){return e<=t&&t<=n}function Jc(t){if(t===void 0)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function fF(t){for(var e=String(t),n=e.length,r=0,i=[];r57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(r===n-1)i.push(65533);else{var s=t.charCodeAt(r+1);if(56320<=s&&s<=57343){var a=o&1023,l=s&1023;i.push(65536+(a<<10)+l),r+=1}else i.push(65533)}r+=1}return i}function dF(t){for(var e="",n=0;n>10)+55296,(r&1023)+56320))}return e}var zu=-1;function uy(t){this.tokens=[].slice.call(t)}uy.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():zu},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.shift());else this.tokens.push(t)}};var eo=-1;function Xf(t,e){if(t)throw TypeError("Decoder error");return e||65533}var ju="utf-8";function Vu(t,e){if(!(this instanceof Vu))return new Vu(t,e);if(t=t!==void 0?String(t).toLowerCase():ju,t!==ju)throw new Error("Encoding not supported. Only utf-8 is supported");e=Jc(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!e.fatal,this._ignoreBOM=!!e.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Vu.prototype={decode:function(e,n){var r;typeof e=="object"&&e instanceof ArrayBuffer?r=new Uint8Array(e):typeof e=="object"&&"buffer"in e&&e.buffer instanceof ArrayBuffer?r=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):r=new Uint8Array(0),n=Jc(n),this._streaming||(this._decoder=new pF({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!n.stream;for(var i=new uy(r),o=[],s;!i.endOfStream()&&(s=this._decoder.handler(i,i.read()),s!==eo);)s!==null&&(Array.isArray(s)?o.push.apply(o,s):o.push(s));if(!this._streaming){do{if(s=this._decoder.handler(i,i.read()),s===eo)break;s!==null&&(Array.isArray(s)?o.push.apply(o,s):o.push(s))}while(!i.endOfStream());this._decoder=null}return o.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(o[0]===65279?(this._BOMseen=!0,o.shift()):this._BOMseen=!0),dF(o)}};function Wu(t,e){if(!(this instanceof Wu))return new Wu(t,e);if(t=t!==void 0?String(t).toLowerCase():ju,t!==ju)throw new Error("Encoding not supported. Only utf-8 is supported");e=Jc(e),this._streaming=!1,this._encoder=null,this._options={fatal:!!e.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Wu.prototype={encode:function(e,n){e=e?String(e):"",n=Jc(n),this._streaming||(this._encoder=new hF(this._options)),this._streaming=!!n.stream;for(var r=[],i=new uy(fF(e)),o;!i.endOfStream()&&(o=this._encoder.handler(i,i.read()),o!==eo);)Array.isArray(o)?r.push.apply(r,o):r.push(o);if(!this._streaming){for(;o=this._encoder.handler(i,i.read()),o!==eo;)Array.isArray(o)?r.push.apply(r,o):r.push(o);this._encoder=null}return new Uint8Array(r)}};function pF(t){var e=t.fatal,n=0,r=0,i=0,o=128,s=191;this.handler=function(a,l){if(l===zu&&i!==0)return i=0,Xf(e);if(l===zu)return eo;if(i===0){if(yr(l,0,127))return l;if(yr(l,194,223))i=1,n=l-192;else if(yr(l,224,239))l===224&&(o=160),l===237&&(s=159),i=2,n=l-224;else if(yr(l,240,244))l===240&&(o=144),l===244&&(s=143),i=3,n=l-240;else return Xf(e);return n=n<<6*i,null}if(!yr(l,o,s))return n=i=r=0,o=128,s=191,a.prepend(l),Xf(e);if(o=128,s=191,r+=1,n+=l-128<<6*(i-r),r!==i)return null;var u=n;return n=i=r=0,u}}function hF(t){t.fatal,this.handler=function(e,n){if(n===zu)return eo;if(yr(n,0,127))return n;var r,i;yr(n,128,2047)?(r=1,i=192):yr(n,2048,65535)?(r=2,i=224):yr(n,65536,1114111)&&(r=3,i=240);for(var o=[(n>>6*r)+i];r>0;){var s=n>>6*(r-1);o.push(128|s&63),r-=1}return o}}const Hu=typeof Buffer=="function"?Buffer:null,Db=typeof TextDecoder=="function"&&typeof TextEncoder=="function",Ip=(t=>{if(Db||!Hu){const e=new t("utf-8");return n=>e.decode(n)}return e=>{const{buffer:n,byteOffset:r,length:i}=se(e);return Hu.from(n,r,i).toString()}})(typeof TextDecoder<"u"?TextDecoder:Vu),qc=(t=>{if(Db||!Hu){const e=new t;return n=>e.encode(n)}return(e="")=>se(Hu.from(e,"utf8"))})(typeof TextEncoder<"u"?TextEncoder:Wu),Pe=Object.freeze({done:!0,value:void 0});class A0{constructor(e){this._json=e}get schema(){return this._json.schema}get batches(){return this._json.batches||[]}get dictionaries(){return this._json.dictionaries||[]}}class Ki{tee(){return this._getDOMStream().tee()}pipe(e,n){return this._getNodeStream().pipe(e,n)}pipeTo(e,n){return this._getDOMStream().pipeTo(e,n)}pipeThrough(e,n){return this._getDOMStream().pipeThrough(e,n)}_getDOMStream(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}_getNodeStream(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}class yF extends Ki{constructor(){super(),this._values=[],this.resolvers=[],this._closedPromise=new Promise(e=>this._closedPromiseResolve=e)}get closed(){return this._closedPromise}async cancel(e){await this.return(e)}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(Pe);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return Wt.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return Wt.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}async throw(e){return await this.abort(e),Pe}async return(e){return await this.close(),Pe}async read(e){return(await this.next(e,"read")).value}async peek(e){return(await this.next(e,"peek")).value}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((n,r)=>{this.resolvers.push({resolve:n,reject:r})}):Promise.resolve(Pe)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error(`${this} is closed`)}}const[mF,Zc]=(()=>{const t=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw t()}return e.asIntN=()=>{throw t()},e.asUintN=()=>{throw t()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[mo,iL]=(()=>{const t=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw t()}static from(){throw t()}constructor(){throw t()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[tl,sL]=(()=>{const t=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw t()}static from(){throw t()}constructor(){throw t()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),gF=t=>typeof t=="number",Rb=t=>typeof t=="boolean",Sn=t=>typeof t=="function",qt=t=>t!=null&&Object(t)===t,ui=t=>qt(t)&&Sn(t.then),Pn=t=>qt(t)&&Sn(t[Symbol.iterator]),Cr=t=>qt(t)&&Sn(t[Symbol.asyncIterator]),Ep=t=>qt(t)&&qt(t.schema),Mb=t=>qt(t)&&"done"in t&&"value"in t,Lb=t=>qt(t)&&Sn(t.stat)&&gF(t.fd),Nb=t=>qt(t)&&cy(t.body),vF=t=>qt(t)&&Sn(t.abort)&&Sn(t.getWriter)&&!(t instanceof Ki),cy=t=>qt(t)&&Sn(t.cancel)&&Sn(t.getReader)&&!(t instanceof Ki),wF=t=>qt(t)&&Sn(t.end)&&Sn(t.write)&&Rb(t.writable)&&!(t instanceof Ki),Pb=t=>qt(t)&&Sn(t.read)&&Sn(t.pipe)&&Rb(t.readable)&&!(t instanceof Ki);var bF=_.ByteBuffer;const fy=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function _F(t){let e=t[0]?[t[0]]:[],n,r,i,o;for(let s,a,l=0,u=0,c=t.length;++lc+f.byteLength,0),i,o,s,a=0,l=-1,u=Math.min(e||1/0,r);for(let c=n.length;++lhe(Int32Array,t),SF=t=>he(mo,t),se=t=>he(Uint8Array,t),xF=t=>he(tl,t),Op=t=>(t.next(),t);function*TF(t,e){const n=function*(i){yield i},r=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof fy?n(e):Pn(e)?e:n(e);yield*Op(function*(i){let o=null;do o=i.next(yield he(t,o));while(!o.done)}(r[Symbol.iterator]()))}const IF=t=>TF(Uint8Array,t);async function*$b(t,e){if(ui(e))return yield*$b(t,await e);const n=async function*(o){yield await o},r=async function*(o){yield*Op(function*(s){let a=null;do a=s.next(yield a&&a.value);while(!a.done)}(o[Symbol.iterator]()))},i=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof fy?n(e):Pn(e)?r(e):Cr(e)?e:n(e);yield*Op(async function*(o){let s=null;do s=await o.next(yield he(t,s));while(!s.done)}(i[Symbol.asyncIterator]()))}const EF=t=>$b(Uint8Array,t);function dy(t,e,n){if(t!==0){n=n.slice(0,e+1);for(let r=-1;++r<=e;)n[r]+=t}return n}function OF(t,e){let n=0,r=t.length;if(r!==e.length)return!1;if(r>0)do if(t[n]!==e[n])return!1;while(++n(t.next(),t);function*BF(t){let e,n=!1,r=[],i,o,s,a=0;function l(){return o==="peek"?sr(r,s)[0]:([i,r,a]=sr(r,s),i)}({cmd:o,size:s}=yield null);let u=IF(t)[Symbol.iterator]();try{do if({done:e,value:i}=isNaN(s-a)?u.next(void 0):u.next(s-a),!e&&i.byteLength>0&&(r.push(i),a+=i.byteLength),e||s<=a)do({cmd:o,size:s}=yield l());while(s0&&(r.push(i),a+=i.byteLength),e||s<=a)do({cmd:o,size:s}=yield l());while(s0&&(r.push(se(i)),a+=i.byteLength),e||s<=a)do({cmd:o,size:s}=yield l());while(s{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=this.byobReader=this.defaultReader=null}async cancel(e){const{reader:n,source:r}=this;n&&await n.cancel(e).catch(()=>{}),r&&r.locked&&this.releaseLock()}async read(e){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const n=!this.supportsBYOB||typeof e!="number"?await this.getDefaultReader().read():await this.readFromBYOBReader(e);return!n.done&&(n.value=se(n)),n}getDefaultReader(){return this.byobReader&&this.releaseLock(),this.defaultReader||(this.defaultReader=this.source.getReader(),this.defaultReader.closed.catch(()=>{})),this.reader=this.defaultReader}getBYOBReader(){return this.defaultReader&&this.releaseLock(),this.byobReader||(this.byobReader=this.source.getReader({mode:"byob"}),this.byobReader.closed.catch(()=>{})),this.reader=this.byobReader}async readFromBYOBReader(e){return await Ub(this.getBYOBReader(),new ArrayBuffer(e),0,e)}}async function Ub(t,e,n,r){if(n>=r)return{done:!1,value:new Uint8Array(e,0,r)};const{done:i,value:o}=await t.read(new Uint8Array(e,n,r-n));return(n+=o.byteLength){let n=i=>r([e,i]),r;return[e,n,new Promise(i=>(r=i)&&t.once(e,n))]};async function*FF(t){let e=[],n="error",r=!1,i=null,o,s,a=0,l=[],u;function c(){return o==="peek"?sr(l,s)[0]:([u,l,a]=sr(l,s),u)}if({cmd:o,size:s}=yield null,t.isTTY)return yield new Uint8Array(0);try{e[0]=Jf(t,"end"),e[1]=Jf(t,"error");do{if(e[2]=Jf(t,"readable"),[n,i]=await Promise.race(e.map(d=>d[2])),n==="error")break;if((r=n==="end")||(isFinite(s-a)?(u=se(t.read(s-a)),u.byteLength0&&(l.push(u),a+=u.byteLength)),r||s<=a)do({cmd:o,size:s}=yield c());while(s{for(const[E,h]of d)t.off(E,h);try{const E=t.destroy;E&&E.call(t,y),y=void 0}catch(E){y=E||y}finally{y!=null?g(y):v()}})}}class ae{}var O;(function(t){(function(e){(function(n){(function(r){(function(i){i[i.V1=0]="V1",i[i.V2=1]="V2",i[i.V3=2]="V3",i[i.V4=3]="V4"})(r.MetadataVersion||(r.MetadataVersion={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.Sparse=0]="Sparse",i[i.Dense=1]="Dense"})(r.UnionMode||(r.UnionMode={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.HALF=0]="HALF",i[i.SINGLE=1]="SINGLE",i[i.DOUBLE=2]="DOUBLE"})(r.Precision||(r.Precision={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.DAY=0]="DAY",i[i.MILLISECOND=1]="MILLISECOND"})(r.DateUnit||(r.DateUnit={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.SECOND=0]="SECOND",i[i.MILLISECOND=1]="MILLISECOND",i[i.MICROSECOND=2]="MICROSECOND",i[i.NANOSECOND=3]="NANOSECOND"})(r.TimeUnit||(r.TimeUnit={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.YEAR_MONTH=0]="YEAR_MONTH",i[i.DAY_TIME=1]="DAY_TIME"})(r.IntervalUnit||(r.IntervalUnit={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.NONE=0]="NONE",i[i.Null=1]="Null",i[i.Int=2]="Int",i[i.FloatingPoint=3]="FloatingPoint",i[i.Binary=4]="Binary",i[i.Utf8=5]="Utf8",i[i.Bool=6]="Bool",i[i.Decimal=7]="Decimal",i[i.Date=8]="Date",i[i.Time=9]="Time",i[i.Timestamp=10]="Timestamp",i[i.Interval=11]="Interval",i[i.List=12]="List",i[i.Struct_=13]="Struct_",i[i.Union=14]="Union",i[i.FixedSizeBinary=15]="FixedSizeBinary",i[i.FixedSizeList=16]="FixedSizeList",i[i.Map=17]="Map",i[i.Duration=18]="Duration",i[i.LargeBinary=19]="LargeBinary",i[i.LargeUtf8=20]="LargeUtf8",i[i.LargeList=21]="LargeList"})(r.Type||(r.Type={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.Little=0]="Little",i[i.Big=1]="Big"})(r.Endianness||(r.Endianness={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsNull(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startNull(s){s.startObject(0)}static endNull(s){return s.endObject()}static createNull(s){return i.startNull(s),i.endNull(s)}}r.Null=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsStruct_(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startStruct_(s){s.startObject(0)}static endStruct_(s){return s.endObject()}static createStruct_(s){return i.startStruct_(s),i.endStruct_(s)}}r.Struct_=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsList(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startList(s){s.startObject(0)}static endList(s){return s.endObject()}static createList(s){return i.startList(s),i.endList(s)}}r.List=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsLargeList(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startLargeList(s){s.startObject(0)}static endLargeList(s){return s.endObject()}static createLargeList(s){return i.startLargeList(s),i.endLargeList(s)}}r.LargeList=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsFixedSizeList(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}listSize(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}static startFixedSizeList(s){s.startObject(1)}static addListSize(s,a){s.addFieldInt32(0,a,0)}static endFixedSizeList(s){return s.endObject()}static createFixedSizeList(s,a){return i.startFixedSizeList(s),i.addListSize(s,a),i.endFixedSizeList(s)}}r.FixedSizeList=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsMap(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}keysSorted(){let s=this.bb.__offset(this.bb_pos,4);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startMap(s){s.startObject(1)}static addKeysSorted(s,a){s.addFieldInt8(0,+a,0)}static endMap(s){return s.endObject()}static createMap(s,a){return i.startMap(s),i.addKeysSorted(s,a),i.endMap(s)}}r.Map=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsUnion(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}mode(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.UnionMode.Sparse}typeIds(s){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb.__vector(this.bb_pos+a)+s*4):0}typeIdsLength(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.__vector_len(this.bb_pos+s):0}typeIdsArray(){let s=this.bb.__offset(this.bb_pos,6);return s?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+s),this.bb.__vector_len(this.bb_pos+s)):null}static startUnion(s){s.startObject(2)}static addMode(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.UnionMode.Sparse)}static addTypeIds(s,a){s.addFieldOffset(1,a,0)}static createTypeIdsVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addInt32(a[l]);return s.endVector()}static startTypeIdsVector(s,a){s.startVector(4,a,4)}static endUnion(s){return s.endObject()}static createUnion(s,a,l){return i.startUnion(s),i.addMode(s,a),i.addTypeIds(s,l),i.endUnion(s)}}r.Union=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsInt(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}bitWidth(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}isSigned(){let s=this.bb.__offset(this.bb_pos,6);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startInt(s){s.startObject(2)}static addBitWidth(s,a){s.addFieldInt32(0,a,0)}static addIsSigned(s,a){s.addFieldInt8(1,+a,0)}static endInt(s){return s.endObject()}static createInt(s,a,l){return i.startInt(s),i.addBitWidth(s,a),i.addIsSigned(s,l),i.endInt(s)}}r.Int=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsFloatingPoint(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}precision(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.Precision.HALF}static startFloatingPoint(s){s.startObject(1)}static addPrecision(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.Precision.HALF)}static endFloatingPoint(s){return s.endObject()}static createFloatingPoint(s,a){return i.startFloatingPoint(s),i.addPrecision(s,a),i.endFloatingPoint(s)}}r.FloatingPoint=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsUtf8(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startUtf8(s){s.startObject(0)}static endUtf8(s){return s.endObject()}static createUtf8(s){return i.startUtf8(s),i.endUtf8(s)}}r.Utf8=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsBinary(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startBinary(s){s.startObject(0)}static endBinary(s){return s.endObject()}static createBinary(s){return i.startBinary(s),i.endBinary(s)}}r.Binary=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsLargeUtf8(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startLargeUtf8(s){s.startObject(0)}static endLargeUtf8(s){return s.endObject()}static createLargeUtf8(s){return i.startLargeUtf8(s),i.endLargeUtf8(s)}}r.LargeUtf8=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsLargeBinary(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startLargeBinary(s){s.startObject(0)}static endLargeBinary(s){return s.endObject()}static createLargeBinary(s){return i.startLargeBinary(s),i.endLargeBinary(s)}}r.LargeBinary=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsFixedSizeBinary(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}byteWidth(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}static startFixedSizeBinary(s){s.startObject(1)}static addByteWidth(s,a){s.addFieldInt32(0,a,0)}static endFixedSizeBinary(s){return s.endObject()}static createFixedSizeBinary(s,a){return i.startFixedSizeBinary(s),i.addByteWidth(s,a),i.endFixedSizeBinary(s)}}r.FixedSizeBinary=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsBool(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startBool(s){s.startObject(0)}static endBool(s){return s.endObject()}static createBool(s){return i.startBool(s),i.endBool(s)}}r.Bool=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDecimal(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}precision(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}scale(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.readInt32(this.bb_pos+s):0}static startDecimal(s){s.startObject(2)}static addPrecision(s,a){s.addFieldInt32(0,a,0)}static addScale(s,a){s.addFieldInt32(1,a,0)}static endDecimal(s){return s.endObject()}static createDecimal(s,a,l){return i.startDecimal(s),i.addPrecision(s,a),i.addScale(s,l),i.endDecimal(s)}}r.Decimal=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDate(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.DateUnit.MILLISECOND}static startDate(s){s.startObject(1)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.DateUnit.MILLISECOND)}static endDate(s){return s.endObject()}static createDate(s,a){return i.startDate(s),i.addUnit(s,a),i.endDate(s)}}r.Date=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsTime(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.TimeUnit.MILLISECOND}bitWidth(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.readInt32(this.bb_pos+s):32}static startTime(s){s.startObject(2)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static addBitWidth(s,a){s.addFieldInt32(1,a,32)}static endTime(s){return s.endObject()}static createTime(s,a,l){return i.startTime(s),i.addUnit(s,a),i.addBitWidth(s,l),i.endTime(s)}}r.Time=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsTimestamp(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.TimeUnit.SECOND}timezone(s){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,s):null}static startTimestamp(s){s.startObject(2)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.TimeUnit.SECOND)}static addTimezone(s,a){s.addFieldOffset(1,a,0)}static endTimestamp(s){return s.endObject()}static createTimestamp(s,a,l){return i.startTimestamp(s),i.addUnit(s,a),i.addTimezone(s,l),i.endTimestamp(s)}}r.Timestamp=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsInterval(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}static startInterval(s){s.startObject(1)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}static endInterval(s){return s.endObject()}static createInterval(s,a){return i.startInterval(s),i.addUnit(s,a),i.endInterval(s)}}r.Interval=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDuration(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.TimeUnit.MILLISECOND}static startDuration(s){s.startObject(1)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static endDuration(s){return s.endObject()}static createDuration(s,a){return i.startDuration(s),i.addUnit(s,a),i.endDuration(s)}}r.Duration=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsKeyValue(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}key(s){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,s):null}value(s){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,s):null}static startKeyValue(s){s.startObject(2)}static addKey(s,a){s.addFieldOffset(0,a,0)}static addValue(s,a){s.addFieldOffset(1,a,0)}static endKeyValue(s){return s.endObject()}static createKeyValue(s,a,l){return i.startKeyValue(s),i.addKey(s,a),i.addValue(s,l),i.endKeyValue(s)}}r.KeyValue=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDictionaryEncoding(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}id(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}indexType(s){let a=this.bb.__offset(this.bb_pos,6);return a?(s||new t.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isOrdered(){let s=this.bb.__offset(this.bb_pos,8);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startDictionaryEncoding(s){s.startObject(3)}static addId(s,a){s.addFieldInt64(0,a,s.createLong(0,0))}static addIndexType(s,a){s.addFieldOffset(1,a,0)}static addIsOrdered(s,a){s.addFieldInt8(2,+a,0)}static endDictionaryEncoding(s){return s.endObject()}static createDictionaryEncoding(s,a,l,u){return i.startDictionaryEncoding(s),i.addId(s,a),i.addIndexType(s,l),i.addIsOrdered(s,u),i.endDictionaryEncoding(s)}}r.DictionaryEncoding=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsField(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}name(s){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,s):null}nullable(){let s=this.bb.__offset(this.bb_pos,6);return s?!!this.bb.readInt8(this.bb_pos+s):!1}typeType(){let s=this.bb.__offset(this.bb_pos,8);return s?this.bb.readUint8(this.bb_pos+s):t.apache.arrow.flatbuf.Type.NONE}type(s){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__union(s,this.bb_pos+a):null}dictionary(s){let a=this.bb.__offset(this.bb_pos,12);return a?(s||new t.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}children(s,a){let l=this.bb.__offset(this.bb_pos,14);return l?(a||new t.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}childrenLength(){let s=this.bb.__offset(this.bb_pos,14);return s?this.bb.__vector_len(this.bb_pos+s):0}customMetadata(s,a){let l=this.bb.__offset(this.bb_pos,16);return l?(a||new t.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}customMetadataLength(){let s=this.bb.__offset(this.bb_pos,16);return s?this.bb.__vector_len(this.bb_pos+s):0}static startField(s){s.startObject(7)}static addName(s,a){s.addFieldOffset(0,a,0)}static addNullable(s,a){s.addFieldInt8(1,+a,0)}static addTypeType(s,a){s.addFieldInt8(2,a,t.apache.arrow.flatbuf.Type.NONE)}static addType(s,a){s.addFieldOffset(3,a,0)}static addDictionary(s,a){s.addFieldOffset(4,a,0)}static addChildren(s,a){s.addFieldOffset(5,a,0)}static createChildrenVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startChildrenVector(s,a){s.startVector(4,a,4)}static addCustomMetadata(s,a){s.addFieldOffset(6,a,0)}static createCustomMetadataVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startCustomMetadataVector(s,a){s.startVector(4,a,4)}static endField(s){return s.endObject()}static createField(s,a,l,u,c,f,d,y){return i.startField(s),i.addName(s,a),i.addNullable(s,l),i.addTypeType(s,u),i.addType(s,c),i.addDictionary(s,f),i.addChildren(s,d),i.addCustomMetadata(s,y),i.endField(s)}}r.Field=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static createBuffer(s,a,l){return s.prep(8,16),s.writeInt64(l),s.writeInt64(a),s.offset()}}r.Buffer=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsSchema(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}endianness(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.Endianness.Little}fields(s,a){let l=this.bb.__offset(this.bb_pos,6);return l?(a||new t.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}fieldsLength(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.__vector_len(this.bb_pos+s):0}customMetadata(s,a){let l=this.bb.__offset(this.bb_pos,8);return l?(a||new t.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}customMetadataLength(){let s=this.bb.__offset(this.bb_pos,8);return s?this.bb.__vector_len(this.bb_pos+s):0}static startSchema(s){s.startObject(3)}static addEndianness(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.Endianness.Little)}static addFields(s,a){s.addFieldOffset(1,a,0)}static createFieldsVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startFieldsVector(s,a){s.startVector(4,a,4)}static addCustomMetadata(s,a){s.addFieldOffset(2,a,0)}static createCustomMetadataVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startCustomMetadataVector(s,a){s.startVector(4,a,4)}static endSchema(s){return s.endObject()}static finishSchemaBuffer(s,a){s.finish(a)}static createSchema(s,a,l,u){return i.startSchema(s),i.addEndianness(s,a),i.addFields(s,l),i.addCustomMetadata(s,u),i.endSchema(s)}}r.Schema=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));var ft;(function(t){(function(e){(function(n){(function(r){r.Schema=O.apache.arrow.flatbuf.Schema})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.NONE=0]="NONE",i[i.Schema=1]="Schema",i[i.DictionaryBatch=2]="DictionaryBatch",i[i.RecordBatch=3]="RecordBatch",i[i.Tensor=4]="Tensor",i[i.SparseTensor=5]="SparseTensor"})(r.MessageHeader||(r.MessageHeader={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static createFieldNode(s,a,l){return s.prep(8,16),s.writeInt64(l),s.writeInt64(a),s.offset()}}r.FieldNode=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsRecordBatch(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}length(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}nodes(s,a){let l=this.bb.__offset(this.bb_pos,6);return l?(a||new t.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+l)+s*16,this.bb):null}nodesLength(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.__vector_len(this.bb_pos+s):0}buffers(s,a){let l=this.bb.__offset(this.bb_pos,8);return l?(a||new O.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+l)+s*16,this.bb):null}buffersLength(){let s=this.bb.__offset(this.bb_pos,8);return s?this.bb.__vector_len(this.bb_pos+s):0}static startRecordBatch(s){s.startObject(3)}static addLength(s,a){s.addFieldInt64(0,a,s.createLong(0,0))}static addNodes(s,a){s.addFieldOffset(1,a,0)}static startNodesVector(s,a){s.startVector(16,a,8)}static addBuffers(s,a){s.addFieldOffset(2,a,0)}static startBuffersVector(s,a){s.startVector(16,a,8)}static endRecordBatch(s){return s.endObject()}static createRecordBatch(s,a,l,u){return i.startRecordBatch(s),i.addLength(s,a),i.addNodes(s,l),i.addBuffers(s,u),i.endRecordBatch(s)}}r.RecordBatch=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDictionaryBatch(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}id(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}data(s){let a=this.bb.__offset(this.bb_pos,6);return a?(s||new t.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isDelta(){let s=this.bb.__offset(this.bb_pos,8);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startDictionaryBatch(s){s.startObject(3)}static addId(s,a){s.addFieldInt64(0,a,s.createLong(0,0))}static addData(s,a){s.addFieldOffset(1,a,0)}static addIsDelta(s,a){s.addFieldInt8(2,+a,0)}static endDictionaryBatch(s){return s.endObject()}static createDictionaryBatch(s,a,l,u){return i.startDictionaryBatch(s),i.addId(s,a),i.addData(s,l),i.addIsDelta(s,u),i.endDictionaryBatch(s)}}r.DictionaryBatch=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsMessage(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}version(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):O.apache.arrow.flatbuf.MetadataVersion.V1}headerType(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.readUint8(this.bb_pos+s):t.apache.arrow.flatbuf.MessageHeader.NONE}header(s){let a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__union(s,this.bb_pos+a):null}bodyLength(){let s=this.bb.__offset(this.bb_pos,10);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}customMetadata(s,a){let l=this.bb.__offset(this.bb_pos,12);return l?(a||new O.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}customMetadataLength(){let s=this.bb.__offset(this.bb_pos,12);return s?this.bb.__vector_len(this.bb_pos+s):0}static startMessage(s){s.startObject(5)}static addVersion(s,a){s.addFieldInt16(0,a,O.apache.arrow.flatbuf.MetadataVersion.V1)}static addHeaderType(s,a){s.addFieldInt8(1,a,t.apache.arrow.flatbuf.MessageHeader.NONE)}static addHeader(s,a){s.addFieldOffset(2,a,0)}static addBodyLength(s,a){s.addFieldInt64(3,a,s.createLong(0,0))}static addCustomMetadata(s,a){s.addFieldOffset(4,a,0)}static createCustomMetadataVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startCustomMetadataVector(s,a){s.startVector(4,a,4)}static endMessage(s){return s.endObject()}static finishMessageBuffer(s,a){s.finish(a)}static createMessage(s,a,l,u,c,f){return i.startMessage(s),i.addVersion(s,a),i.addHeaderType(s,l),i.addHeader(s,u),i.addBodyLength(s,c),i.addCustomMetadata(s,f),i.endMessage(s)}}r.Message=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));O.apache.arrow.flatbuf.Type;var or=O.apache.arrow.flatbuf.DateUnit,ve=O.apache.arrow.flatbuf.TimeUnit,gn=O.apache.arrow.flatbuf.Precision,Or=O.apache.arrow.flatbuf.UnionMode,to=O.apache.arrow.flatbuf.IntervalUnit,Te=ft.apache.arrow.flatbuf.MessageHeader,An=O.apache.arrow.flatbuf.MetadataVersion,b;(function(t){t[t.NONE=0]="NONE",t[t.Null=1]="Null",t[t.Int=2]="Int",t[t.Float=3]="Float",t[t.Binary=4]="Binary",t[t.Utf8=5]="Utf8",t[t.Bool=6]="Bool",t[t.Decimal=7]="Decimal",t[t.Date=8]="Date",t[t.Time=9]="Time",t[t.Timestamp=10]="Timestamp",t[t.Interval=11]="Interval",t[t.List=12]="List",t[t.Struct=13]="Struct",t[t.Union=14]="Union",t[t.FixedSizeBinary=15]="FixedSizeBinary",t[t.FixedSizeList=16]="FixedSizeList",t[t.Map=17]="Map",t[t.Dictionary=-1]="Dictionary",t[t.Int8=-2]="Int8",t[t.Int16=-3]="Int16",t[t.Int32=-4]="Int32",t[t.Int64=-5]="Int64",t[t.Uint8=-6]="Uint8",t[t.Uint16=-7]="Uint16",t[t.Uint32=-8]="Uint32",t[t.Uint64=-9]="Uint64",t[t.Float16=-10]="Float16",t[t.Float32=-11]="Float32",t[t.Float64=-12]="Float64",t[t.DateDay=-13]="DateDay",t[t.DateMillisecond=-14]="DateMillisecond",t[t.TimestampSecond=-15]="TimestampSecond",t[t.TimestampMillisecond=-16]="TimestampMillisecond",t[t.TimestampMicrosecond=-17]="TimestampMicrosecond",t[t.TimestampNanosecond=-18]="TimestampNanosecond",t[t.TimeSecond=-19]="TimeSecond",t[t.TimeMillisecond=-20]="TimeMillisecond",t[t.TimeMicrosecond=-21]="TimeMicrosecond",t[t.TimeNanosecond=-22]="TimeNanosecond",t[t.DenseUnion=-23]="DenseUnion",t[t.SparseUnion=-24]="SparseUnion",t[t.IntervalDayTime=-25]="IntervalDayTime",t[t.IntervalYearMonth=-26]="IntervalYearMonth"})(b||(b={}));var U;(function(t){t[t.OFFSET=0]="OFFSET",t[t.DATA=1]="DATA",t[t.VALIDITY=2]="VALIDITY",t[t.TYPE=3]="TYPE"})(U||(U={}));function zb(t,e,n,r){return(n&1<>r}function RF(t,e,n){return n?!!(t[e>>3]|=1<>3]&=~(1<0||n.byteLength>3):Ku(ef(n,t,e,null,zb)).subarray(0,r)),i}return n}function Ku(t){let e=[],n=0,r=0,i=0;for(const s of t)s&&(i|=1<0)&&(e[n++]=i);let o=new Uint8Array(e.length+7&-8);return o.set(e),o}function*ef(t,e,n,r,i){let o=e%8,s=e>>3,a=0,l=n;for(;l>0;o=0){let u=t[s++];do yield i(r,a++,u,o);while(--l>0&&++o<8)}}function Bp(t,e,n){if(n-e<=0)return 0;if(n-e<8){let o=0;for(const s of ef(t,e,n-e,t,DF))o+=s;return o}const r=n>>3<<3,i=e+(e%8===0?0:8-e%8);return Bp(t,e,i)+Bp(t,r,n)+MF(t,i>>3,r-i>>3)}function MF(t,e,n){let r=0,i=e|0;const o=new DataView(t.buffer,t.byteOffset,t.byteLength),s=n===void 0?t.byteLength:i+n;for(;s-i>=4;)r+=qf(o.getUint32(i)),i+=4;for(;s-i>=2;)r+=qf(o.getUint16(i)),i+=2;for(;s-i>=1;)r+=qf(o.getUint8(i)),i+=1;return r}function qf(t){let e=t|0;return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}class te{visitMany(e,...n){return e.map((r,i)=>this.visit(r,...n.map(o=>o[i])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,n=!0){return LF(this,e,n)}visitNull(e,...n){return null}visitBool(e,...n){return null}visitInt(e,...n){return null}visitFloat(e,...n){return null}visitUtf8(e,...n){return null}visitBinary(e,...n){return null}visitFixedSizeBinary(e,...n){return null}visitDate(e,...n){return null}visitTimestamp(e,...n){return null}visitTime(e,...n){return null}visitDecimal(e,...n){return null}visitList(e,...n){return null}visitStruct(e,...n){return null}visitUnion(e,...n){return null}visitDictionary(e,...n){return null}visitInterval(e,...n){return null}visitFixedSizeList(e,...n){return null}visitMap(e,...n){return null}}function LF(t,e,n=!0){let r=null,i=b.NONE;switch(e instanceof R||e instanceof ae?i=Zf(e.type):e instanceof Z?i=Zf(e):typeof(i=e)!="number"&&(i=b[e]),i){case b.Null:r=t.visitNull;break;case b.Bool:r=t.visitBool;break;case b.Int:r=t.visitInt;break;case b.Int8:r=t.visitInt8||t.visitInt;break;case b.Int16:r=t.visitInt16||t.visitInt;break;case b.Int32:r=t.visitInt32||t.visitInt;break;case b.Int64:r=t.visitInt64||t.visitInt;break;case b.Uint8:r=t.visitUint8||t.visitInt;break;case b.Uint16:r=t.visitUint16||t.visitInt;break;case b.Uint32:r=t.visitUint32||t.visitInt;break;case b.Uint64:r=t.visitUint64||t.visitInt;break;case b.Float:r=t.visitFloat;break;case b.Float16:r=t.visitFloat16||t.visitFloat;break;case b.Float32:r=t.visitFloat32||t.visitFloat;break;case b.Float64:r=t.visitFloat64||t.visitFloat;break;case b.Utf8:r=t.visitUtf8;break;case b.Binary:r=t.visitBinary;break;case b.FixedSizeBinary:r=t.visitFixedSizeBinary;break;case b.Date:r=t.visitDate;break;case b.DateDay:r=t.visitDateDay||t.visitDate;break;case b.DateMillisecond:r=t.visitDateMillisecond||t.visitDate;break;case b.Timestamp:r=t.visitTimestamp;break;case b.TimestampSecond:r=t.visitTimestampSecond||t.visitTimestamp;break;case b.TimestampMillisecond:r=t.visitTimestampMillisecond||t.visitTimestamp;break;case b.TimestampMicrosecond:r=t.visitTimestampMicrosecond||t.visitTimestamp;break;case b.TimestampNanosecond:r=t.visitTimestampNanosecond||t.visitTimestamp;break;case b.Time:r=t.visitTime;break;case b.TimeSecond:r=t.visitTimeSecond||t.visitTime;break;case b.TimeMillisecond:r=t.visitTimeMillisecond||t.visitTime;break;case b.TimeMicrosecond:r=t.visitTimeMicrosecond||t.visitTime;break;case b.TimeNanosecond:r=t.visitTimeNanosecond||t.visitTime;break;case b.Decimal:r=t.visitDecimal;break;case b.List:r=t.visitList;break;case b.Struct:r=t.visitStruct;break;case b.Union:r=t.visitUnion;break;case b.DenseUnion:r=t.visitDenseUnion||t.visitUnion;break;case b.SparseUnion:r=t.visitSparseUnion||t.visitUnion;break;case b.Dictionary:r=t.visitDictionary;break;case b.Interval:r=t.visitInterval;break;case b.IntervalDayTime:r=t.visitIntervalDayTime||t.visitInterval;break;case b.IntervalYearMonth:r=t.visitIntervalYearMonth||t.visitInterval;break;case b.FixedSizeList:r=t.visitFixedSizeList;break;case b.Map:r=t.visitMap;break}if(typeof r=="function")return r;if(!n)return()=>null;throw new Error(`Unrecognized type '${b[i]}'`)}function Zf(t){switch(t.typeId){case b.Null:return b.Null;case b.Int:const{bitWidth:e,isSigned:n}=t;switch(e){case 8:return n?b.Int8:b.Uint8;case 16:return n?b.Int16:b.Uint16;case 32:return n?b.Int32:b.Uint32;case 64:return n?b.Int64:b.Uint64}return b.Int;case b.Float:switch(t.precision){case gn.HALF:return b.Float16;case gn.SINGLE:return b.Float32;case gn.DOUBLE:return b.Float64}return b.Float;case b.Binary:return b.Binary;case b.Utf8:return b.Utf8;case b.Bool:return b.Bool;case b.Decimal:return b.Decimal;case b.Time:switch(t.unit){case ve.SECOND:return b.TimeSecond;case ve.MILLISECOND:return b.TimeMillisecond;case ve.MICROSECOND:return b.TimeMicrosecond;case ve.NANOSECOND:return b.TimeNanosecond}return b.Time;case b.Timestamp:switch(t.unit){case ve.SECOND:return b.TimestampSecond;case ve.MILLISECOND:return b.TimestampMillisecond;case ve.MICROSECOND:return b.TimestampMicrosecond;case ve.NANOSECOND:return b.TimestampNanosecond}return b.Timestamp;case b.Date:switch(t.unit){case or.DAY:return b.DateDay;case or.MILLISECOND:return b.DateMillisecond}return b.Date;case b.Interval:switch(t.unit){case to.DAY_TIME:return b.IntervalDayTime;case to.YEAR_MONTH:return b.IntervalYearMonth}return b.Interval;case b.Map:return b.Map;case b.List:return b.List;case b.Struct:return b.Struct;case b.Union:switch(t.mode){case Or.Dense:return b.DenseUnion;case Or.Sparse:return b.SparseUnion}return b.Union;case b.FixedSizeBinary:return b.FixedSizeBinary;case b.FixedSizeList:return b.FixedSizeList;case b.Dictionary:return b.Dictionary}throw new Error(`Unrecognized type '${b[t.typeId]}'`)}te.prototype.visitInt8=null;te.prototype.visitInt16=null;te.prototype.visitInt32=null;te.prototype.visitInt64=null;te.prototype.visitUint8=null;te.prototype.visitUint16=null;te.prototype.visitUint32=null;te.prototype.visitUint64=null;te.prototype.visitFloat16=null;te.prototype.visitFloat32=null;te.prototype.visitFloat64=null;te.prototype.visitDateDay=null;te.prototype.visitDateMillisecond=null;te.prototype.visitTimestampSecond=null;te.prototype.visitTimestampMillisecond=null;te.prototype.visitTimestampMicrosecond=null;te.prototype.visitTimestampNanosecond=null;te.prototype.visitTimeSecond=null;te.prototype.visitTimeMillisecond=null;te.prototype.visitTimeMicrosecond=null;te.prototype.visitTimeNanosecond=null;te.prototype.visitDenseUnion=null;te.prototype.visitSparseUnion=null;te.prototype.visitIntervalDayTime=null;te.prototype.visitIntervalYearMonth=null;class V extends te{compareSchemas(e,n){return e===n||n instanceof e.constructor&&Qt.compareFields(e.fields,n.fields)}compareFields(e,n){return e===n||Array.isArray(e)&&Array.isArray(n)&&e.length===n.length&&e.every((r,i)=>Qt.compareField(r,n[i]))}compareField(e,n){return e===n||n instanceof e.constructor&&e.name===n.name&&e.nullable===n.nullable&&Qt.visit(e.type,n.type)}}function Nt(t,e){return e instanceof t.constructor}function nl(t,e){return t===e||Nt(t,e)}function Fr(t,e){return t===e||Nt(t,e)&&t.bitWidth===e.bitWidth&&t.isSigned===e.isSigned}function tf(t,e){return t===e||Nt(t,e)&&t.precision===e.precision}function NF(t,e){return t===e||Nt(t,e)&&t.byteWidth===e.byteWidth}function hy(t,e){return t===e||Nt(t,e)&&t.unit===e.unit}function rl(t,e){return t===e||Nt(t,e)&&t.unit===e.unit&&t.timezone===e.timezone}function il(t,e){return t===e||Nt(t,e)&&t.unit===e.unit&&t.bitWidth===e.bitWidth}function PF(t,e){return t===e||Nt(t,e)&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}function $F(t,e){return t===e||Nt(t,e)&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}function yy(t,e){return t===e||Nt(t,e)&&t.mode===e.mode&&t.typeIds.every((n,r)=>n===e.typeIds[r])&&Qt.compareFields(t.children,e.children)}function UF(t,e){return t===e||Nt(t,e)&&t.id===e.id&&t.isOrdered===e.isOrdered&&Qt.visit(t.indices,e.indices)&&Qt.visit(t.dictionary,e.dictionary)}function my(t,e){return t===e||Nt(t,e)&&t.unit===e.unit}function zF(t,e){return t===e||Nt(t,e)&&t.listSize===e.listSize&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}function jF(t,e){return t===e||Nt(t,e)&&t.keysSorted===e.keysSorted&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}V.prototype.visitNull=nl;V.prototype.visitBool=nl;V.prototype.visitInt=Fr;V.prototype.visitInt8=Fr;V.prototype.visitInt16=Fr;V.prototype.visitInt32=Fr;V.prototype.visitInt64=Fr;V.prototype.visitUint8=Fr;V.prototype.visitUint16=Fr;V.prototype.visitUint32=Fr;V.prototype.visitUint64=Fr;V.prototype.visitFloat=tf;V.prototype.visitFloat16=tf;V.prototype.visitFloat32=tf;V.prototype.visitFloat64=tf;V.prototype.visitUtf8=nl;V.prototype.visitBinary=nl;V.prototype.visitFixedSizeBinary=NF;V.prototype.visitDate=hy;V.prototype.visitDateDay=hy;V.prototype.visitDateMillisecond=hy;V.prototype.visitTimestamp=rl;V.prototype.visitTimestampSecond=rl;V.prototype.visitTimestampMillisecond=rl;V.prototype.visitTimestampMicrosecond=rl;V.prototype.visitTimestampNanosecond=rl;V.prototype.visitTime=il;V.prototype.visitTimeSecond=il;V.prototype.visitTimeMillisecond=il;V.prototype.visitTimeMicrosecond=il;V.prototype.visitTimeNanosecond=il;V.prototype.visitDecimal=nl;V.prototype.visitList=PF;V.prototype.visitStruct=$F;V.prototype.visitUnion=yy;V.prototype.visitDenseUnion=yy;V.prototype.visitSparseUnion=yy;V.prototype.visitDictionary=UF;V.prototype.visitInterval=my;V.prototype.visitIntervalDayTime=my;V.prototype.visitIntervalYearMonth=my;V.prototype.visitFixedSizeList=zF;V.prototype.visitMap=jF;const Qt=new V;class Z{static isNull(e){return e&&e.typeId===b.Null}static isInt(e){return e&&e.typeId===b.Int}static isFloat(e){return e&&e.typeId===b.Float}static isBinary(e){return e&&e.typeId===b.Binary}static isUtf8(e){return e&&e.typeId===b.Utf8}static isBool(e){return e&&e.typeId===b.Bool}static isDecimal(e){return e&&e.typeId===b.Decimal}static isDate(e){return e&&e.typeId===b.Date}static isTime(e){return e&&e.typeId===b.Time}static isTimestamp(e){return e&&e.typeId===b.Timestamp}static isInterval(e){return e&&e.typeId===b.Interval}static isList(e){return e&&e.typeId===b.List}static isStruct(e){return e&&e.typeId===b.Struct}static isUnion(e){return e&&e.typeId===b.Union}static isFixedSizeBinary(e){return e&&e.typeId===b.FixedSizeBinary}static isFixedSizeList(e){return e&&e.typeId===b.FixedSizeList}static isMap(e){return e&&e.typeId===b.Map}static isDictionary(e){return e&&e.typeId===b.Dictionary}get typeId(){return b.NONE}compareTo(e){return Qt.visit(this,e)}}Z[Symbol.toStringTag]=(t=>(t.children=null,t.ArrayType=Array,t[Symbol.toStringTag]="DataType"))(Z.prototype);let no=class extends Z{toString(){return"Null"}get typeId(){return b.Null}};no[Symbol.toStringTag]=(t=>t[Symbol.toStringTag]="Null")(no.prototype);class Lt extends Z{constructor(e,n){super(),this.isSigned=e,this.bitWidth=n}get typeId(){return b.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Lt[Symbol.toStringTag]=(t=>(t.isSigned=null,t.bitWidth=null,t[Symbol.toStringTag]="Int"))(Lt.prototype);class gy extends Lt{constructor(){super(!0,8)}}class vy extends Lt{constructor(){super(!0,16)}}class Ui extends Lt{constructor(){super(!0,32)}}let ro=class extends Lt{constructor(){super(!0,64)}};class wy extends Lt{constructor(){super(!1,8)}}class by extends Lt{constructor(){super(!1,16)}}class _y extends Lt{constructor(){super(!1,32)}}let io=class extends Lt{constructor(){super(!1,64)}};Object.defineProperty(gy.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(vy.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Ui.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(ro.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(wy.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(by.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(_y.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(io.prototype,"ArrayType",{value:Uint32Array});class zi extends Z{constructor(e){super(),this.precision=e}get typeId(){return b.Float}get ArrayType(){switch(this.precision){case gn.HALF:return Uint16Array;case gn.SINGLE:return Float32Array;case gn.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}zi[Symbol.toStringTag]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(zi.prototype);class nf extends zi{constructor(){super(gn.HALF)}}class Sy extends zi{constructor(){super(gn.SINGLE)}}class xy extends zi{constructor(){super(gn.DOUBLE)}}Object.defineProperty(nf.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(Sy.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(xy.prototype,"ArrayType",{value:Float64Array});let Ma=class extends Z{constructor(){super()}get typeId(){return b.Binary}toString(){return"Binary"}};Ma[Symbol.toStringTag]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Ma.prototype);let so=class extends Z{constructor(){super()}get typeId(){return b.Utf8}toString(){return"Utf8"}};so[Symbol.toStringTag]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(so.prototype);let La=class extends Z{constructor(){super()}get typeId(){return b.Bool}toString(){return"Bool"}};La[Symbol.toStringTag]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(La.prototype);let Gu=class extends Z{constructor(e,n){super(),this.scale=e,this.precision=n}get typeId(){return b.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Gu[Symbol.toStringTag]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(Gu.prototype);class oo extends Z{constructor(e){super(),this.unit=e}get typeId(){return b.Date}toString(){return`Date${(this.unit+1)*32}<${or[this.unit]}>`}}oo[Symbol.toStringTag]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Date"))(oo.prototype);class VF extends oo{constructor(){super(or.DAY)}}class C0 extends oo{constructor(){super(or.MILLISECOND)}}class Qu extends Z{constructor(e,n){super(),this.unit=e,this.bitWidth=n}get typeId(){return b.Time}toString(){return`Time${this.bitWidth}<${ve[this.unit]}>`}}Qu[Symbol.toStringTag]=(t=>(t.unit=null,t.bitWidth=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Time"))(Qu.prototype);class Xu extends Z{constructor(e,n){super(),this.unit=e,this.timezone=n}get typeId(){return b.Timestamp}toString(){return`Timestamp<${ve[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}Xu[Symbol.toStringTag]=(t=>(t.unit=null,t.timezone=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Timestamp"))(Xu.prototype);class Ju extends Z{constructor(e){super(),this.unit=e}get typeId(){return b.Interval}toString(){return`Interval<${to[this.unit]}>`}}Ju[Symbol.toStringTag]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Interval"))(Ju.prototype);let ao=class extends Z{constructor(e){super(),this.children=[e]}get typeId(){return b.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ao[Symbol.toStringTag]=(t=>(t.children=null,t[Symbol.toStringTag]="List"))(ao.prototype);let $n=class extends Z{constructor(e){super(),this.children=e}get typeId(){return b.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};$n[Symbol.toStringTag]=(t=>(t.children=null,t[Symbol.toStringTag]="Struct"))($n.prototype);class Na extends Z{constructor(e,n,r){super(),this.mode=e,this.children=r,this.typeIds=n=Int32Array.from(n),this.typeIdToChildIndex=n.reduce((i,o,s)=>(i[o]=s)&&i||i,Object.create(null))}get typeId(){return b.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}Na[Symbol.toStringTag]=(t=>(t.mode=null,t.typeIds=null,t.children=null,t.typeIdToChildIndex=null,t.ArrayType=Int8Array,t[Symbol.toStringTag]="Union"))(Na.prototype);let qu=class extends Z{constructor(e){super(),this.byteWidth=e}get typeId(){return b.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};qu[Symbol.toStringTag]=(t=>(t.byteWidth=null,t.ArrayType=Uint8Array,t[Symbol.toStringTag]="FixedSizeBinary"))(qu.prototype);let Pa=class extends Z{constructor(e,n){super(),this.listSize=e,this.children=[n]}get typeId(){return b.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};Pa[Symbol.toStringTag]=(t=>(t.children=null,t.listSize=null,t[Symbol.toStringTag]="FixedSizeList"))(Pa.prototype);let $a=class extends Z{constructor(e,n=!1){super(),this.children=[e],this.keysSorted=n}get typeId(){return b.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};$a[Symbol.toStringTag]=(t=>(t.children=null,t.keysSorted=null,t[Symbol.toStringTag]="Map_"))($a.prototype);const WF=(t=>()=>++t)(-1);class ci extends Z{constructor(e,n,r,i){super(),this.indices=n,this.dictionary=e,this.isOrdered=i||!1,this.id=r==null?WF():typeof r=="number"?r:r.low}get typeId(){return b.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}ci[Symbol.toStringTag]=(t=>(t.id=null,t.indices=null,t.isOrdered=null,t.dictionary=null,t[Symbol.toStringTag]="Dictionary"))(ci.prototype);function jb(t){let e=t;switch(t.typeId){case b.Decimal:return 4;case b.Timestamp:return 2;case b.Date:return 1+e.unit;case b.Interval:return 1+e.unit;case b.Int:return 1+ +(e.bitWidth>32);case b.Time:return 1+ +(e.bitWidth>32);case b.FixedSizeList:return e.listSize;case b.FixedSizeBinary:return e.byteWidth;default:return 1}}const HF=-1;class R{constructor(e,n,r,i,o,s,a){this.type=e,this.dictionary=a,this.offset=Math.floor(Math.max(n||0,0)),this.length=Math.floor(Math.max(r||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),this.childData=(s||[]).map(u=>u instanceof R?u:u.data);let l;o instanceof R?(this.stride=o.stride,this.values=o.values,this.typeIds=o.typeIds,this.nullBitmap=o.nullBitmap,this.valueOffsets=o.valueOffsets):(this.stride=jb(e),o&&((l=o[0])&&(this.valueOffsets=l),(l=o[1])&&(this.values=l),(l=o[2])&&(this.nullBitmap=l),(l=o[3])&&(this.typeIds=l)))}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0,{valueOffsets:n,values:r,nullBitmap:i,typeIds:o}=this;return n&&(e+=n.byteLength),r&&(e+=r.byteLength),i&&(e+=i.byteLength),o&&(e+=o.byteLength),this.childData.reduce((s,a)=>s+a.byteLength,e)}get nullCount(){let e=this._nullCount,n;return e<=HF&&(n=this.nullBitmap)&&(this._nullCount=e=this.length-Bp(n,this.offset,this.offset+this.length)),e}clone(e,n=this.offset,r=this.length,i=this._nullCount,o=this,s=this.childData){return new R(e,n,r,i,o,s,this.dictionary)}slice(e,n){const{stride:r,typeId:i,childData:o}=this,s=+(this._nullCount===0)-1,a=i===16?r:1,l=this._sliceBuffers(e,n,r,i);return this.clone(this.type,this.offset+e,n,s,l,!o.length||this.valueOffsets?o:this._sliceChildren(o,a*e,a*n))}_changeLengthAndBackfillNullBitmap(e){if(this.typeId===b.Null)return this.clone(this.type,0,e,0);const{length:n,nullCount:r}=this,i=new Uint8Array((e+63&-64)>>3).fill(255,0,n>>3);i[n>>3]=(1<0&&i.set(py(this.offset,n,this.nullBitmap),0);const o=this.buffers;return o[U.VALIDITY]=i,this.clone(this.type,0,e,r+(e-n),o)}_sliceBuffers(e,n,r,i){let o,{buffers:s}=this;return(o=s[U.TYPE])&&(s[U.TYPE]=o.subarray(e,e+n)),(o=s[U.OFFSET])&&(s[U.OFFSET]=o.subarray(e,e+n+1))||(o=s[U.DATA])&&(s[U.DATA]=i===6?o:o.subarray(r*e,r*(e+n))),s}_sliceChildren(e,n,r){return e.map(i=>i.slice(n,r))}static new(e,n,r,i,o,s,a){switch(o instanceof R?o=o.buffers:o||(o=[]),e.typeId){case b.Null:return R.Null(e,n,r);case b.Int:return R.Int(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Dictionary:return R.Dictionary(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[],a);case b.Float:return R.Float(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Bool:return R.Bool(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Decimal:return R.Decimal(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Date:return R.Date(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Time:return R.Time(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Timestamp:return R.Timestamp(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Interval:return R.Interval(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.FixedSizeBinary:return R.FixedSizeBinary(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Binary:return R.Binary(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],o[U.DATA]||[]);case b.Utf8:return R.Utf8(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],o[U.DATA]||[]);case b.List:return R.List(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],(s||[])[0]);case b.FixedSizeList:return R.FixedSizeList(e,n,r,i||0,o[U.VALIDITY],(s||[])[0]);case b.Struct:return R.Struct(e,n,r,i||0,o[U.VALIDITY],s||[]);case b.Map:return R.Map(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],(s||[])[0]);case b.Union:return R.Union(e,n,r,i||0,o[U.VALIDITY],o[U.TYPE]||[],o[U.OFFSET]||s,s)}throw new Error(`Unrecognized typeId ${e.typeId}`)}static Null(e,n,r){return new R(e,n,r,0)}static Int(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Dictionary(e,n,r,i,o,s,a){return new R(e,n,r,i,[void 0,he(e.indices.ArrayType,s),se(o)],[],a)}static Float(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Bool(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Decimal(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Date(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Time(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Timestamp(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Interval(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static FixedSizeBinary(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Binary(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),se(a),se(o)])}static Utf8(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),se(a),se(o)])}static List(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),void 0,se(o)],[a])}static FixedSizeList(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,void 0,se(o)],[s])}static Struct(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,void 0,se(o)],s)}static Map(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),void 0,se(o)],[a])}static Union(e,n,r,i,o,s,a,l){const u=[void 0,void 0,se(o),he(e.ArrayType,s)];return e.mode===Or.Sparse?new R(e,n,r,i,u,a):(u[U.OFFSET]=Po(a),new R(e,n,r,i,u,l))}}R.prototype.childData=Object.freeze([]);const YF=void 0;function aa(t){if(t===null)return"null";if(t===YF)return"undefined";switch(typeof t){case"number":return`${t}`;case"bigint":return`${t}`;case"string":return`"${t}"`}return typeof t[Symbol.toPrimitive]=="function"?t[Symbol.toPrimitive]("string"):ArrayBuffer.isView(t)?`[${t}]`:JSON.stringify(t)}function KF(t){if(!t||t.length<=0)return function(i){return!0};let e="",n=t.filter(r=>r===r);return n.length>0&&(e=` + */var iy=UC,Un=typeof Symbol=="function"&&Symbol.for,Za=Un?Symbol.for("react.element"):60103,zC=Un?Symbol.for("react.portal"):60106,jC=Un?Symbol.for("react.fragment"):60107,VC=Un?Symbol.for("react.strict_mode"):60108,WC=Un?Symbol.for("react.profiler"):60114,HC=Un?Symbol.for("react.provider"):60109,YC=Un?Symbol.for("react.context"):60110,KC=Un?Symbol.for("react.forward_ref"):60112,GC=Un?Symbol.for("react.suspense"):60113,QC=Un?Symbol.for("react.memo"):60115,XC=Un?Symbol.for("react.lazy"):60116,T0=typeof Symbol=="function"&&Symbol.iterator;function el(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;nUu.length&&Uu.push(t)}function _p(t,e,n,r){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(i){case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case Za:case zC:o=!0}}if(o)return n(r,t,e===""?"."+Qf(t,0):e),1;if(o=0,e=e===""?".":e+":",Array.isArray(t))for(var s=0;s0){const t=new Array(arguments.length);for(let e=0;e>>0)+this.high*4294967296};_.Long.prototype.equals=function(t){return this.low==t.low&&this.high==t.high};_.Long.ZERO=new _.Long(0,0);_.Builder=function(t){if(t)var e=t;else var e=1024;this.bb=_.ByteBuffer.allocate(e),this.space=e,this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};_.Builder.prototype.clear=function(){this.bb.clear(),this.space=this.bb.capacity(),this.minalign=1,this.vtable=null,this.vtable_in_use=0,this.isNested=!1,this.object_start=0,this.vtables=[],this.vector_num_elems=0,this.force_defaults=!1};_.Builder.prototype.forceDefaults=function(t){this.force_defaults=t};_.Builder.prototype.dataBuffer=function(){return this.bb};_.Builder.prototype.asUint8Array=function(){return this.bb.bytes().subarray(this.bb.position(),this.bb.position()+this.offset())};_.Builder.prototype.prep=function(t,e){t>this.minalign&&(this.minalign=t);for(var n=~(this.bb.capacity()-this.space+e)+1&t-1;this.space=0&&this.vtable[e]==0;e--);for(var n=e+1;e>=0;e--)this.addInt16(this.vtable[e]!=0?t-this.vtable[e]:0);var r=2;this.addInt16(t-this.object_start);var i=(n+r)*_.SIZEOF_SHORT;this.addInt16(i);var o=0,s=this.space;e:for(e=0;e=0;r--)this.writeInt8(n.charCodeAt(r))}this.prep(this.minalign,_.SIZEOF_INT),this.addOffset(t),this.bb.setPosition(this.space)};_.Builder.prototype.requiredField=function(t,e){var n=this.bb.capacity()-t,r=n-this.bb.readInt32(n),i=this.bb.readInt16(r+e)!=0;if(!i)throw new Error("FlatBuffers: field "+e+" must be set")};_.Builder.prototype.startVector=function(t,e,n){this.notNested(),this.vector_num_elems=e,this.prep(_.SIZEOF_INT,t*e),this.prep(n,t*e)};_.Builder.prototype.endVector=function(){return this.writeInt32(this.vector_num_elems),this.offset()};_.Builder.prototype.createString=function(t){if(t instanceof Uint8Array)var e=t;else for(var e=[],n=0;n=56320)r=i;else{var o=t.charCodeAt(n++);r=(i<<10)+o+(65536-56623104-56320)}r<128?e.push(r):(r<2048?e.push(r>>6&31|192):(r<65536?e.push(r>>12&15|224):e.push(r>>18&7|240,r>>12&63|128),e.push(r>>6&63|128)),e.push(r&63|128))}this.addInt8(0),this.startVector(1,e.length,1),this.bb.setPosition(this.space-=e.length);for(var n=0,s=this.space,a=this.bb.bytes();n>24};_.ByteBuffer.prototype.readUint8=function(t){return this.bytes_[t]};_.ByteBuffer.prototype.readInt16=function(t){return this.readUint16(t)<<16>>16};_.ByteBuffer.prototype.readUint16=function(t){return this.bytes_[t]|this.bytes_[t+1]<<8};_.ByteBuffer.prototype.readInt32=function(t){return this.bytes_[t]|this.bytes_[t+1]<<8|this.bytes_[t+2]<<16|this.bytes_[t+3]<<24};_.ByteBuffer.prototype.readUint32=function(t){return this.readInt32(t)>>>0};_.ByteBuffer.prototype.readInt64=function(t){return new _.Long(this.readInt32(t),this.readInt32(t+4))};_.ByteBuffer.prototype.readUint64=function(t){return new _.Long(this.readUint32(t),this.readUint32(t+4))};_.ByteBuffer.prototype.readFloat32=function(t){return _.int32[0]=this.readInt32(t),_.float32[0]};_.ByteBuffer.prototype.readFloat64=function(t){return _.int32[_.isLittleEndian?0:1]=this.readInt32(t),_.int32[_.isLittleEndian?1:0]=this.readInt32(t+4),_.float64[0]};_.ByteBuffer.prototype.writeInt8=function(t,e){this.bytes_[t]=e};_.ByteBuffer.prototype.writeUint8=function(t,e){this.bytes_[t]=e};_.ByteBuffer.prototype.writeInt16=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8};_.ByteBuffer.prototype.writeUint16=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8};_.ByteBuffer.prototype.writeInt32=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24};_.ByteBuffer.prototype.writeUint32=function(t,e){this.bytes_[t]=e,this.bytes_[t+1]=e>>8,this.bytes_[t+2]=e>>16,this.bytes_[t+3]=e>>24};_.ByteBuffer.prototype.writeInt64=function(t,e){this.writeInt32(t,e.low),this.writeInt32(t+4,e.high)};_.ByteBuffer.prototype.writeUint64=function(t,e){this.writeUint32(t,e.low),this.writeUint32(t+4,e.high)};_.ByteBuffer.prototype.writeFloat32=function(t,e){_.float32[0]=e,this.writeInt32(t,_.int32[0])};_.ByteBuffer.prototype.writeFloat64=function(t,e){_.float64[0]=e,this.writeInt32(t,_.int32[_.isLittleEndian?0:1]),this.writeInt32(t+4,_.int32[_.isLittleEndian?1:0])};_.ByteBuffer.prototype.getBufferIdentifier=function(){if(this.bytes_.length>10)+55296,(o&1024-1)+56320))}return r};_.ByteBuffer.prototype.__indirect=function(t){return t+this.readInt32(t)};_.ByteBuffer.prototype.__vector=function(t){return t+this.readInt32(t)+_.SIZEOF_INT};_.ByteBuffer.prototype.__vector_len=function(t){return this.readInt32(t+this.readInt32(t))};_.ByteBuffer.prototype.__has_identifier=function(t){if(t.length!=_.FILE_IDENTIFIER_LENGTH)throw new Error("FlatBuffers: file identifier must be length "+_.FILE_IDENTIFIER_LENGTH);for(var e=0;e<_.FILE_IDENTIFIER_LENGTH;e++)if(t.charCodeAt(e)!=this.readInt8(this.position_+_.SIZEOF_INT+e))return!1;return!0};_.ByteBuffer.prototype.createLong=function(t,e){return _.Long.create(t,e)};function yr(t,e,n){return e<=t&&t<=n}function Jc(t){if(t===void 0)return{};if(t===Object(t))return t;throw TypeError("Could not convert argument to dictionary")}function fF(t){for(var e=String(t),n=e.length,r=0,i=[];r57343)i.push(o);else if(56320<=o&&o<=57343)i.push(65533);else if(55296<=o&&o<=56319)if(r===n-1)i.push(65533);else{var s=t.charCodeAt(r+1);if(56320<=s&&s<=57343){var a=o&1023,l=s&1023;i.push(65536+(a<<10)+l),r+=1}else i.push(65533)}r+=1}return i}function dF(t){for(var e="",n=0;n>10)+55296,(r&1023)+56320))}return e}var zu=-1;function uy(t){this.tokens=[].slice.call(t)}uy.prototype={endOfStream:function(){return!this.tokens.length},read:function(){return this.tokens.length?this.tokens.shift():zu},prepend:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.unshift(e.pop());else this.tokens.unshift(t)},push:function(t){if(Array.isArray(t))for(var e=t;e.length;)this.tokens.push(e.shift());else this.tokens.push(t)}};var eo=-1;function Xf(t,e){if(t)throw TypeError("Decoder error");return e||65533}var ju="utf-8";function Vu(t,e){if(!(this instanceof Vu))return new Vu(t,e);if(t=t!==void 0?String(t).toLowerCase():ju,t!==ju)throw new Error("Encoding not supported. Only utf-8 is supported");e=Jc(e),this._streaming=!1,this._BOMseen=!1,this._decoder=null,this._fatal=!!e.fatal,this._ignoreBOM=!!e.ignoreBOM,Object.defineProperty(this,"encoding",{value:"utf-8"}),Object.defineProperty(this,"fatal",{value:this._fatal}),Object.defineProperty(this,"ignoreBOM",{value:this._ignoreBOM})}Vu.prototype={decode:function(e,n){var r;typeof e=="object"&&e instanceof ArrayBuffer?r=new Uint8Array(e):typeof e=="object"&&"buffer"in e&&e.buffer instanceof ArrayBuffer?r=new Uint8Array(e.buffer,e.byteOffset,e.byteLength):r=new Uint8Array(0),n=Jc(n),this._streaming||(this._decoder=new pF({fatal:this._fatal}),this._BOMseen=!1),this._streaming=!!n.stream;for(var i=new uy(r),o=[],s;!i.endOfStream()&&(s=this._decoder.handler(i,i.read()),s!==eo);)s!==null&&(Array.isArray(s)?o.push.apply(o,s):o.push(s));if(!this._streaming){do{if(s=this._decoder.handler(i,i.read()),s===eo)break;s!==null&&(Array.isArray(s)?o.push.apply(o,s):o.push(s))}while(!i.endOfStream());this._decoder=null}return o.length&&["utf-8"].indexOf(this.encoding)!==-1&&!this._ignoreBOM&&!this._BOMseen&&(o[0]===65279?(this._BOMseen=!0,o.shift()):this._BOMseen=!0),dF(o)}};function Wu(t,e){if(!(this instanceof Wu))return new Wu(t,e);if(t=t!==void 0?String(t).toLowerCase():ju,t!==ju)throw new Error("Encoding not supported. Only utf-8 is supported");e=Jc(e),this._streaming=!1,this._encoder=null,this._options={fatal:!!e.fatal},Object.defineProperty(this,"encoding",{value:"utf-8"})}Wu.prototype={encode:function(e,n){e=e?String(e):"",n=Jc(n),this._streaming||(this._encoder=new hF(this._options)),this._streaming=!!n.stream;for(var r=[],i=new uy(fF(e)),o;!i.endOfStream()&&(o=this._encoder.handler(i,i.read()),o!==eo);)Array.isArray(o)?r.push.apply(r,o):r.push(o);if(!this._streaming){for(;o=this._encoder.handler(i,i.read()),o!==eo;)Array.isArray(o)?r.push.apply(r,o):r.push(o);this._encoder=null}return new Uint8Array(r)}};function pF(t){var e=t.fatal,n=0,r=0,i=0,o=128,s=191;this.handler=function(a,l){if(l===zu&&i!==0)return i=0,Xf(e);if(l===zu)return eo;if(i===0){if(yr(l,0,127))return l;if(yr(l,194,223))i=1,n=l-192;else if(yr(l,224,239))l===224&&(o=160),l===237&&(s=159),i=2,n=l-224;else if(yr(l,240,244))l===240&&(o=144),l===244&&(s=143),i=3,n=l-240;else return Xf(e);return n=n<<6*i,null}if(!yr(l,o,s))return n=i=r=0,o=128,s=191,a.prepend(l),Xf(e);if(o=128,s=191,r+=1,n+=l-128<<6*(i-r),r!==i)return null;var u=n;return n=i=r=0,u}}function hF(t){t.fatal,this.handler=function(e,n){if(n===zu)return eo;if(yr(n,0,127))return n;var r,i;yr(n,128,2047)?(r=1,i=192):yr(n,2048,65535)?(r=2,i=224):yr(n,65536,1114111)&&(r=3,i=240);for(var o=[(n>>6*r)+i];r>0;){var s=n>>6*(r-1);o.push(128|s&63),r-=1}return o}}const Hu=typeof Buffer=="function"?Buffer:null,Db=typeof TextDecoder=="function"&&typeof TextEncoder=="function",Ip=(t=>{if(Db||!Hu){const e=new t("utf-8");return n=>e.decode(n)}return e=>{const{buffer:n,byteOffset:r,length:i}=se(e);return Hu.from(n,r,i).toString()}})(typeof TextDecoder<"u"?TextDecoder:Vu),qc=(t=>{if(Db||!Hu){const e=new t;return n=>e.encode(n)}return(e="")=>se(Hu.from(e,"utf8"))})(typeof TextEncoder<"u"?TextEncoder:Wu),Pe=Object.freeze({done:!0,value:void 0});class A0{constructor(e){this._json=e}get schema(){return this._json.schema}get batches(){return this._json.batches||[]}get dictionaries(){return this._json.dictionaries||[]}}class Ki{tee(){return this._getDOMStream().tee()}pipe(e,n){return this._getNodeStream().pipe(e,n)}pipeTo(e,n){return this._getDOMStream().pipeTo(e,n)}pipeThrough(e,n){return this._getDOMStream().pipeThrough(e,n)}_getDOMStream(){return this._DOMStream||(this._DOMStream=this.toDOMStream())}_getNodeStream(){return this._nodeStream||(this._nodeStream=this.toNodeStream())}}class yF extends Ki{constructor(){super(),this._values=[],this.resolvers=[],this._closedPromise=new Promise(e=>this._closedPromiseResolve=e)}get closed(){return this._closedPromise}async cancel(e){await this.return(e)}write(e){this._ensureOpen()&&(this.resolvers.length<=0?this._values.push(e):this.resolvers.shift().resolve({done:!1,value:e}))}abort(e){this._closedPromiseResolve&&(this.resolvers.length<=0?this._error={error:e}:this.resolvers.shift().reject({done:!0,value:e}))}close(){if(this._closedPromiseResolve){const{resolvers:e}=this;for(;e.length>0;)e.shift().resolve(Pe);this._closedPromiseResolve(),this._closedPromiseResolve=void 0}}[Symbol.asyncIterator](){return this}toDOMStream(e){return Wt.toDOMStream(this._closedPromiseResolve||this._error?this:this._values,e)}toNodeStream(e){return Wt.toNodeStream(this._closedPromiseResolve||this._error?this:this._values,e)}async throw(e){return await this.abort(e),Pe}async return(e){return await this.close(),Pe}async read(e){return(await this.next(e,"read")).value}async peek(e){return(await this.next(e,"peek")).value}next(...e){return this._values.length>0?Promise.resolve({done:!1,value:this._values.shift()}):this._error?Promise.reject({done:!0,value:this._error.error}):this._closedPromiseResolve?new Promise((n,r)=>{this.resolvers.push({resolve:n,reject:r})}):Promise.resolve(Pe)}_ensureOpen(){if(this._closedPromiseResolve)return!0;throw new Error(`${this} is closed`)}}const[mF,Zc]=(()=>{const t=()=>{throw new Error("BigInt is not available in this environment")};function e(){throw t()}return e.asIntN=()=>{throw t()},e.asUintN=()=>{throw t()},typeof BigInt<"u"?[BigInt,!0]:[e,!1]})(),[mo,iL]=(()=>{const t=()=>{throw new Error("BigInt64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw t()}static from(){throw t()}constructor(){throw t()}}return typeof BigInt64Array<"u"?[BigInt64Array,!0]:[e,!1]})(),[tl,sL]=(()=>{const t=()=>{throw new Error("BigUint64Array is not available in this environment")};class e{static get BYTES_PER_ELEMENT(){return 8}static of(){throw t()}static from(){throw t()}constructor(){throw t()}}return typeof BigUint64Array<"u"?[BigUint64Array,!0]:[e,!1]})(),gF=t=>typeof t=="number",Rb=t=>typeof t=="boolean",Sn=t=>typeof t=="function",qt=t=>t!=null&&Object(t)===t,ui=t=>qt(t)&&Sn(t.then),Pn=t=>qt(t)&&Sn(t[Symbol.iterator]),Cr=t=>qt(t)&&Sn(t[Symbol.asyncIterator]),Ep=t=>qt(t)&&qt(t.schema),Mb=t=>qt(t)&&"done"in t&&"value"in t,Lb=t=>qt(t)&&Sn(t.stat)&&gF(t.fd),Nb=t=>qt(t)&&cy(t.body),vF=t=>qt(t)&&Sn(t.abort)&&Sn(t.getWriter)&&!(t instanceof Ki),cy=t=>qt(t)&&Sn(t.cancel)&&Sn(t.getReader)&&!(t instanceof Ki),wF=t=>qt(t)&&Sn(t.end)&&Sn(t.write)&&Rb(t.writable)&&!(t instanceof Ki),Pb=t=>qt(t)&&Sn(t.read)&&Sn(t.pipe)&&Rb(t.readable)&&!(t instanceof Ki);var bF=_.ByteBuffer;const fy=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:ArrayBuffer;function _F(t){let e=t[0]?[t[0]]:[],n,r,i,o;for(let s,a,l=0,u=0,c=t.length;++lc+f.byteLength,0),i,o,s,a=0,l=-1,u=Math.min(e||1/0,r);for(let c=n.length;++lhe(Int32Array,t),SF=t=>he(mo,t),se=t=>he(Uint8Array,t),xF=t=>he(tl,t),Op=t=>(t.next(),t);function*TF(t,e){const n=function*(i){yield i},r=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof fy?n(e):Pn(e)?e:n(e);yield*Op(function*(i){let o=null;do o=i.next(yield he(t,o));while(!o.done)}(r[Symbol.iterator]()))}const IF=t=>TF(Uint8Array,t);async function*$b(t,e){if(ui(e))return yield*$b(t,await e);const n=async function*(o){yield await o},r=async function*(o){yield*Op(function*(s){let a=null;do a=s.next(yield a&&a.value);while(!a.done)}(o[Symbol.iterator]()))},i=typeof e=="string"||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof fy?n(e):Pn(e)?r(e):Cr(e)?e:n(e);yield*Op(async function*(o){let s=null;do s=await o.next(yield he(t,s));while(!s.done)}(i[Symbol.asyncIterator]()))}const EF=t=>$b(Uint8Array,t);function dy(t,e,n){if(t!==0){n=n.slice(0,e+1);for(let r=-1;++r<=e;)n[r]+=t}return n}function OF(t,e){let n=0,r=t.length;if(r!==e.length)return!1;if(r>0)do if(t[n]!==e[n])return!1;while(++n(t.next(),t);function*BF(t){let e,n=!1,r=[],i,o,s,a=0;function l(){return o==="peek"?sr(r,s)[0]:([i,r,a]=sr(r,s),i)}({cmd:o,size:s}=yield null);let u=IF(t)[Symbol.iterator]();try{do if({done:e,value:i}=isNaN(s-a)?u.next(void 0):u.next(s-a),!e&&i.byteLength>0&&(r.push(i),a+=i.byteLength),e||s<=a)do({cmd:o,size:s}=yield l());while(s0&&(r.push(i),a+=i.byteLength),e||s<=a)do({cmd:o,size:s}=yield l());while(s0&&(r.push(se(i)),a+=i.byteLength),e||s<=a)do({cmd:o,size:s}=yield l());while(s{}):Promise.resolve()}releaseLock(){this.reader&&this.reader.releaseLock(),this.reader=this.byobReader=this.defaultReader=null}async cancel(e){const{reader:n,source:r}=this;n&&await n.cancel(e).catch(()=>{}),r&&r.locked&&this.releaseLock()}async read(e){if(e===0)return{done:this.reader==null,value:new Uint8Array(0)};const n=!this.supportsBYOB||typeof e!="number"?await this.getDefaultReader().read():await this.readFromBYOBReader(e);return!n.done&&(n.value=se(n)),n}getDefaultReader(){return this.byobReader&&this.releaseLock(),this.defaultReader||(this.defaultReader=this.source.getReader(),this.defaultReader.closed.catch(()=>{})),this.reader=this.defaultReader}getBYOBReader(){return this.defaultReader&&this.releaseLock(),this.byobReader||(this.byobReader=this.source.getReader({mode:"byob"}),this.byobReader.closed.catch(()=>{})),this.reader=this.byobReader}async readFromBYOBReader(e){return await Ub(this.getBYOBReader(),new ArrayBuffer(e),0,e)}}async function Ub(t,e,n,r){if(n>=r)return{done:!1,value:new Uint8Array(e,0,r)};const{done:i,value:o}=await t.read(new Uint8Array(e,n,r-n));return(n+=o.byteLength){let n=i=>r([e,i]),r;return[e,n,new Promise(i=>(r=i)&&t.once(e,n))]};async function*FF(t){let e=[],n="error",r=!1,i=null,o,s,a=0,l=[],u;function c(){return o==="peek"?sr(l,s)[0]:([u,l,a]=sr(l,s),u)}if({cmd:o,size:s}=yield null,t.isTTY)return yield new Uint8Array(0);try{e[0]=Jf(t,"end"),e[1]=Jf(t,"error");do{if(e[2]=Jf(t,"readable"),[n,i]=await Promise.race(e.map(d=>d[2])),n==="error")break;if((r=n==="end")||(isFinite(s-a)?(u=se(t.read(s-a)),u.byteLength0&&(l.push(u),a+=u.byteLength)),r||s<=a)do({cmd:o,size:s}=yield c());while(s{for(const[T,h]of d)t.off(T,h);try{const T=t.destroy;T&&T.call(t,y),y=void 0}catch(T){y=T||y}finally{y!=null?g(y):v()}})}}class ae{}var O;(function(t){(function(e){(function(n){(function(r){(function(i){i[i.V1=0]="V1",i[i.V2=1]="V2",i[i.V3=2]="V3",i[i.V4=3]="V4"})(r.MetadataVersion||(r.MetadataVersion={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.Sparse=0]="Sparse",i[i.Dense=1]="Dense"})(r.UnionMode||(r.UnionMode={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.HALF=0]="HALF",i[i.SINGLE=1]="SINGLE",i[i.DOUBLE=2]="DOUBLE"})(r.Precision||(r.Precision={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.DAY=0]="DAY",i[i.MILLISECOND=1]="MILLISECOND"})(r.DateUnit||(r.DateUnit={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.SECOND=0]="SECOND",i[i.MILLISECOND=1]="MILLISECOND",i[i.MICROSECOND=2]="MICROSECOND",i[i.NANOSECOND=3]="NANOSECOND"})(r.TimeUnit||(r.TimeUnit={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.YEAR_MONTH=0]="YEAR_MONTH",i[i.DAY_TIME=1]="DAY_TIME"})(r.IntervalUnit||(r.IntervalUnit={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.NONE=0]="NONE",i[i.Null=1]="Null",i[i.Int=2]="Int",i[i.FloatingPoint=3]="FloatingPoint",i[i.Binary=4]="Binary",i[i.Utf8=5]="Utf8",i[i.Bool=6]="Bool",i[i.Decimal=7]="Decimal",i[i.Date=8]="Date",i[i.Time=9]="Time",i[i.Timestamp=10]="Timestamp",i[i.Interval=11]="Interval",i[i.List=12]="List",i[i.Struct_=13]="Struct_",i[i.Union=14]="Union",i[i.FixedSizeBinary=15]="FixedSizeBinary",i[i.FixedSizeList=16]="FixedSizeList",i[i.Map=17]="Map",i[i.Duration=18]="Duration",i[i.LargeBinary=19]="LargeBinary",i[i.LargeUtf8=20]="LargeUtf8",i[i.LargeList=21]="LargeList"})(r.Type||(r.Type={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.Little=0]="Little",i[i.Big=1]="Big"})(r.Endianness||(r.Endianness={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsNull(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startNull(s){s.startObject(0)}static endNull(s){return s.endObject()}static createNull(s){return i.startNull(s),i.endNull(s)}}r.Null=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsStruct_(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startStruct_(s){s.startObject(0)}static endStruct_(s){return s.endObject()}static createStruct_(s){return i.startStruct_(s),i.endStruct_(s)}}r.Struct_=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsList(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startList(s){s.startObject(0)}static endList(s){return s.endObject()}static createList(s){return i.startList(s),i.endList(s)}}r.List=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsLargeList(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startLargeList(s){s.startObject(0)}static endLargeList(s){return s.endObject()}static createLargeList(s){return i.startLargeList(s),i.endLargeList(s)}}r.LargeList=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsFixedSizeList(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}listSize(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}static startFixedSizeList(s){s.startObject(1)}static addListSize(s,a){s.addFieldInt32(0,a,0)}static endFixedSizeList(s){return s.endObject()}static createFixedSizeList(s,a){return i.startFixedSizeList(s),i.addListSize(s,a),i.endFixedSizeList(s)}}r.FixedSizeList=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsMap(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}keysSorted(){let s=this.bb.__offset(this.bb_pos,4);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startMap(s){s.startObject(1)}static addKeysSorted(s,a){s.addFieldInt8(0,+a,0)}static endMap(s){return s.endObject()}static createMap(s,a){return i.startMap(s),i.addKeysSorted(s,a),i.endMap(s)}}r.Map=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsUnion(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}mode(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.UnionMode.Sparse}typeIds(s){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.readInt32(this.bb.__vector(this.bb_pos+a)+s*4):0}typeIdsLength(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.__vector_len(this.bb_pos+s):0}typeIdsArray(){let s=this.bb.__offset(this.bb_pos,6);return s?new Int32Array(this.bb.bytes().buffer,this.bb.bytes().byteOffset+this.bb.__vector(this.bb_pos+s),this.bb.__vector_len(this.bb_pos+s)):null}static startUnion(s){s.startObject(2)}static addMode(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.UnionMode.Sparse)}static addTypeIds(s,a){s.addFieldOffset(1,a,0)}static createTypeIdsVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addInt32(a[l]);return s.endVector()}static startTypeIdsVector(s,a){s.startVector(4,a,4)}static endUnion(s){return s.endObject()}static createUnion(s,a,l){return i.startUnion(s),i.addMode(s,a),i.addTypeIds(s,l),i.endUnion(s)}}r.Union=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsInt(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}bitWidth(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}isSigned(){let s=this.bb.__offset(this.bb_pos,6);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startInt(s){s.startObject(2)}static addBitWidth(s,a){s.addFieldInt32(0,a,0)}static addIsSigned(s,a){s.addFieldInt8(1,+a,0)}static endInt(s){return s.endObject()}static createInt(s,a,l){return i.startInt(s),i.addBitWidth(s,a),i.addIsSigned(s,l),i.endInt(s)}}r.Int=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsFloatingPoint(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}precision(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.Precision.HALF}static startFloatingPoint(s){s.startObject(1)}static addPrecision(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.Precision.HALF)}static endFloatingPoint(s){return s.endObject()}static createFloatingPoint(s,a){return i.startFloatingPoint(s),i.addPrecision(s,a),i.endFloatingPoint(s)}}r.FloatingPoint=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsUtf8(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startUtf8(s){s.startObject(0)}static endUtf8(s){return s.endObject()}static createUtf8(s){return i.startUtf8(s),i.endUtf8(s)}}r.Utf8=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsBinary(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startBinary(s){s.startObject(0)}static endBinary(s){return s.endObject()}static createBinary(s){return i.startBinary(s),i.endBinary(s)}}r.Binary=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsLargeUtf8(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startLargeUtf8(s){s.startObject(0)}static endLargeUtf8(s){return s.endObject()}static createLargeUtf8(s){return i.startLargeUtf8(s),i.endLargeUtf8(s)}}r.LargeUtf8=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsLargeBinary(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startLargeBinary(s){s.startObject(0)}static endLargeBinary(s){return s.endObject()}static createLargeBinary(s){return i.startLargeBinary(s),i.endLargeBinary(s)}}r.LargeBinary=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsFixedSizeBinary(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}byteWidth(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}static startFixedSizeBinary(s){s.startObject(1)}static addByteWidth(s,a){s.addFieldInt32(0,a,0)}static endFixedSizeBinary(s){return s.endObject()}static createFixedSizeBinary(s,a){return i.startFixedSizeBinary(s),i.addByteWidth(s,a),i.endFixedSizeBinary(s)}}r.FixedSizeBinary=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsBool(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}static startBool(s){s.startObject(0)}static endBool(s){return s.endObject()}static createBool(s){return i.startBool(s),i.endBool(s)}}r.Bool=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDecimal(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}precision(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt32(this.bb_pos+s):0}scale(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.readInt32(this.bb_pos+s):0}static startDecimal(s){s.startObject(2)}static addPrecision(s,a){s.addFieldInt32(0,a,0)}static addScale(s,a){s.addFieldInt32(1,a,0)}static endDecimal(s){return s.endObject()}static createDecimal(s,a,l){return i.startDecimal(s),i.addPrecision(s,a),i.addScale(s,l),i.endDecimal(s)}}r.Decimal=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDate(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.DateUnit.MILLISECOND}static startDate(s){s.startObject(1)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.DateUnit.MILLISECOND)}static endDate(s){return s.endObject()}static createDate(s,a){return i.startDate(s),i.addUnit(s,a),i.endDate(s)}}r.Date=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsTime(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.TimeUnit.MILLISECOND}bitWidth(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.readInt32(this.bb_pos+s):32}static startTime(s){s.startObject(2)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static addBitWidth(s,a){s.addFieldInt32(1,a,32)}static endTime(s){return s.endObject()}static createTime(s,a,l){return i.startTime(s),i.addUnit(s,a),i.addBitWidth(s,l),i.endTime(s)}}r.Time=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsTimestamp(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.TimeUnit.SECOND}timezone(s){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,s):null}static startTimestamp(s){s.startObject(2)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.TimeUnit.SECOND)}static addTimezone(s,a){s.addFieldOffset(1,a,0)}static endTimestamp(s){return s.endObject()}static createTimestamp(s,a,l){return i.startTimestamp(s),i.addUnit(s,a),i.addTimezone(s,l),i.endTimestamp(s)}}r.Timestamp=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsInterval(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH}static startInterval(s){s.startObject(1)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.IntervalUnit.YEAR_MONTH)}static endInterval(s){return s.endObject()}static createInterval(s,a){return i.startInterval(s),i.addUnit(s,a),i.endInterval(s)}}r.Interval=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDuration(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}unit(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.TimeUnit.MILLISECOND}static startDuration(s){s.startObject(1)}static addUnit(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.TimeUnit.MILLISECOND)}static endDuration(s){return s.endObject()}static createDuration(s,a){return i.startDuration(s),i.addUnit(s,a),i.endDuration(s)}}r.Duration=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsKeyValue(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}key(s){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,s):null}value(s){let a=this.bb.__offset(this.bb_pos,6);return a?this.bb.__string(this.bb_pos+a,s):null}static startKeyValue(s){s.startObject(2)}static addKey(s,a){s.addFieldOffset(0,a,0)}static addValue(s,a){s.addFieldOffset(1,a,0)}static endKeyValue(s){return s.endObject()}static createKeyValue(s,a,l){return i.startKeyValue(s),i.addKey(s,a),i.addValue(s,l),i.endKeyValue(s)}}r.KeyValue=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDictionaryEncoding(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}id(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}indexType(s){let a=this.bb.__offset(this.bb_pos,6);return a?(s||new t.apache.arrow.flatbuf.Int).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isOrdered(){let s=this.bb.__offset(this.bb_pos,8);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startDictionaryEncoding(s){s.startObject(3)}static addId(s,a){s.addFieldInt64(0,a,s.createLong(0,0))}static addIndexType(s,a){s.addFieldOffset(1,a,0)}static addIsOrdered(s,a){s.addFieldInt8(2,+a,0)}static endDictionaryEncoding(s){return s.endObject()}static createDictionaryEncoding(s,a,l,u){return i.startDictionaryEncoding(s),i.addId(s,a),i.addIndexType(s,l),i.addIsOrdered(s,u),i.endDictionaryEncoding(s)}}r.DictionaryEncoding=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsField(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}name(s){let a=this.bb.__offset(this.bb_pos,4);return a?this.bb.__string(this.bb_pos+a,s):null}nullable(){let s=this.bb.__offset(this.bb_pos,6);return s?!!this.bb.readInt8(this.bb_pos+s):!1}typeType(){let s=this.bb.__offset(this.bb_pos,8);return s?this.bb.readUint8(this.bb_pos+s):t.apache.arrow.flatbuf.Type.NONE}type(s){let a=this.bb.__offset(this.bb_pos,10);return a?this.bb.__union(s,this.bb_pos+a):null}dictionary(s){let a=this.bb.__offset(this.bb_pos,12);return a?(s||new t.apache.arrow.flatbuf.DictionaryEncoding).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}children(s,a){let l=this.bb.__offset(this.bb_pos,14);return l?(a||new t.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}childrenLength(){let s=this.bb.__offset(this.bb_pos,14);return s?this.bb.__vector_len(this.bb_pos+s):0}customMetadata(s,a){let l=this.bb.__offset(this.bb_pos,16);return l?(a||new t.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}customMetadataLength(){let s=this.bb.__offset(this.bb_pos,16);return s?this.bb.__vector_len(this.bb_pos+s):0}static startField(s){s.startObject(7)}static addName(s,a){s.addFieldOffset(0,a,0)}static addNullable(s,a){s.addFieldInt8(1,+a,0)}static addTypeType(s,a){s.addFieldInt8(2,a,t.apache.arrow.flatbuf.Type.NONE)}static addType(s,a){s.addFieldOffset(3,a,0)}static addDictionary(s,a){s.addFieldOffset(4,a,0)}static addChildren(s,a){s.addFieldOffset(5,a,0)}static createChildrenVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startChildrenVector(s,a){s.startVector(4,a,4)}static addCustomMetadata(s,a){s.addFieldOffset(6,a,0)}static createCustomMetadataVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startCustomMetadataVector(s,a){s.startVector(4,a,4)}static endField(s){return s.endObject()}static createField(s,a,l,u,c,f,d,y){return i.startField(s),i.addName(s,a),i.addNullable(s,l),i.addTypeType(s,u),i.addType(s,c),i.addDictionary(s,f),i.addChildren(s,d),i.addCustomMetadata(s,y),i.endField(s)}}r.Field=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static createBuffer(s,a,l){return s.prep(8,16),s.writeInt64(l),s.writeInt64(a),s.offset()}}r.Buffer=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsSchema(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}endianness(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):t.apache.arrow.flatbuf.Endianness.Little}fields(s,a){let l=this.bb.__offset(this.bb_pos,6);return l?(a||new t.apache.arrow.flatbuf.Field).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}fieldsLength(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.__vector_len(this.bb_pos+s):0}customMetadata(s,a){let l=this.bb.__offset(this.bb_pos,8);return l?(a||new t.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}customMetadataLength(){let s=this.bb.__offset(this.bb_pos,8);return s?this.bb.__vector_len(this.bb_pos+s):0}static startSchema(s){s.startObject(3)}static addEndianness(s,a){s.addFieldInt16(0,a,t.apache.arrow.flatbuf.Endianness.Little)}static addFields(s,a){s.addFieldOffset(1,a,0)}static createFieldsVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startFieldsVector(s,a){s.startVector(4,a,4)}static addCustomMetadata(s,a){s.addFieldOffset(2,a,0)}static createCustomMetadataVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startCustomMetadataVector(s,a){s.startVector(4,a,4)}static endSchema(s){return s.endObject()}static finishSchemaBuffer(s,a){s.finish(a)}static createSchema(s,a,l,u){return i.startSchema(s),i.addEndianness(s,a),i.addFields(s,l),i.addCustomMetadata(s,u),i.endSchema(s)}}r.Schema=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(O||(O={}));var ft;(function(t){(function(e){(function(n){(function(r){r.Schema=O.apache.arrow.flatbuf.Schema})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){(function(i){i[i.NONE=0]="NONE",i[i.Schema=1]="Schema",i[i.DictionaryBatch=2]="DictionaryBatch",i[i.RecordBatch=3]="RecordBatch",i[i.Tensor=4]="Tensor",i[i.SparseTensor=5]="SparseTensor"})(r.MessageHeader||(r.MessageHeader={}))})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static createFieldNode(s,a,l){return s.prep(8,16),s.writeInt64(l),s.writeInt64(a),s.offset()}}r.FieldNode=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsRecordBatch(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}length(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}nodes(s,a){let l=this.bb.__offset(this.bb_pos,6);return l?(a||new t.apache.arrow.flatbuf.FieldNode).__init(this.bb.__vector(this.bb_pos+l)+s*16,this.bb):null}nodesLength(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.__vector_len(this.bb_pos+s):0}buffers(s,a){let l=this.bb.__offset(this.bb_pos,8);return l?(a||new O.apache.arrow.flatbuf.Buffer).__init(this.bb.__vector(this.bb_pos+l)+s*16,this.bb):null}buffersLength(){let s=this.bb.__offset(this.bb_pos,8);return s?this.bb.__vector_len(this.bb_pos+s):0}static startRecordBatch(s){s.startObject(3)}static addLength(s,a){s.addFieldInt64(0,a,s.createLong(0,0))}static addNodes(s,a){s.addFieldOffset(1,a,0)}static startNodesVector(s,a){s.startVector(16,a,8)}static addBuffers(s,a){s.addFieldOffset(2,a,0)}static startBuffersVector(s,a){s.startVector(16,a,8)}static endRecordBatch(s){return s.endObject()}static createRecordBatch(s,a,l,u){return i.startRecordBatch(s),i.addLength(s,a),i.addNodes(s,l),i.addBuffers(s,u),i.endRecordBatch(s)}}r.RecordBatch=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsDictionaryBatch(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}id(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}data(s){let a=this.bb.__offset(this.bb_pos,6);return a?(s||new t.apache.arrow.flatbuf.RecordBatch).__init(this.bb.__indirect(this.bb_pos+a),this.bb):null}isDelta(){let s=this.bb.__offset(this.bb_pos,8);return s?!!this.bb.readInt8(this.bb_pos+s):!1}static startDictionaryBatch(s){s.startObject(3)}static addId(s,a){s.addFieldInt64(0,a,s.createLong(0,0))}static addData(s,a){s.addFieldOffset(1,a,0)}static addIsDelta(s,a){s.addFieldInt8(2,+a,0)}static endDictionaryBatch(s){return s.endObject()}static createDictionaryBatch(s,a,l,u){return i.startDictionaryBatch(s),i.addId(s,a),i.addData(s,l),i.addIsDelta(s,u),i.endDictionaryBatch(s)}}r.DictionaryBatch=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));(function(t){(function(e){(function(n){(function(r){class i{constructor(){this.bb=null,this.bb_pos=0}__init(s,a){return this.bb_pos=s,this.bb=a,this}static getRootAsMessage(s,a){return(a||new i).__init(s.readInt32(s.position())+s.position(),s)}version(){let s=this.bb.__offset(this.bb_pos,4);return s?this.bb.readInt16(this.bb_pos+s):O.apache.arrow.flatbuf.MetadataVersion.V1}headerType(){let s=this.bb.__offset(this.bb_pos,6);return s?this.bb.readUint8(this.bb_pos+s):t.apache.arrow.flatbuf.MessageHeader.NONE}header(s){let a=this.bb.__offset(this.bb_pos,8);return a?this.bb.__union(s,this.bb_pos+a):null}bodyLength(){let s=this.bb.__offset(this.bb_pos,10);return s?this.bb.readInt64(this.bb_pos+s):this.bb.createLong(0,0)}customMetadata(s,a){let l=this.bb.__offset(this.bb_pos,12);return l?(a||new O.apache.arrow.flatbuf.KeyValue).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+l)+s*4),this.bb):null}customMetadataLength(){let s=this.bb.__offset(this.bb_pos,12);return s?this.bb.__vector_len(this.bb_pos+s):0}static startMessage(s){s.startObject(5)}static addVersion(s,a){s.addFieldInt16(0,a,O.apache.arrow.flatbuf.MetadataVersion.V1)}static addHeaderType(s,a){s.addFieldInt8(1,a,t.apache.arrow.flatbuf.MessageHeader.NONE)}static addHeader(s,a){s.addFieldOffset(2,a,0)}static addBodyLength(s,a){s.addFieldInt64(3,a,s.createLong(0,0))}static addCustomMetadata(s,a){s.addFieldOffset(4,a,0)}static createCustomMetadataVector(s,a){s.startVector(4,a.length,4);for(let l=a.length-1;l>=0;l--)s.addOffset(a[l]);return s.endVector()}static startCustomMetadataVector(s,a){s.startVector(4,a,4)}static endMessage(s){return s.endObject()}static finishMessageBuffer(s,a){s.finish(a)}static createMessage(s,a,l,u,c,f){return i.startMessage(s),i.addVersion(s,a),i.addHeaderType(s,l),i.addHeader(s,u),i.addBodyLength(s,c),i.addCustomMetadata(s,f),i.endMessage(s)}}r.Message=i})(n.flatbuf||(n.flatbuf={}))})(e.arrow||(e.arrow={}))})(t.apache||(t.apache={}))})(ft||(ft={}));O.apache.arrow.flatbuf.Type;var or=O.apache.arrow.flatbuf.DateUnit,ve=O.apache.arrow.flatbuf.TimeUnit,gn=O.apache.arrow.flatbuf.Precision,Or=O.apache.arrow.flatbuf.UnionMode,to=O.apache.arrow.flatbuf.IntervalUnit,Te=ft.apache.arrow.flatbuf.MessageHeader,An=O.apache.arrow.flatbuf.MetadataVersion,b;(function(t){t[t.NONE=0]="NONE",t[t.Null=1]="Null",t[t.Int=2]="Int",t[t.Float=3]="Float",t[t.Binary=4]="Binary",t[t.Utf8=5]="Utf8",t[t.Bool=6]="Bool",t[t.Decimal=7]="Decimal",t[t.Date=8]="Date",t[t.Time=9]="Time",t[t.Timestamp=10]="Timestamp",t[t.Interval=11]="Interval",t[t.List=12]="List",t[t.Struct=13]="Struct",t[t.Union=14]="Union",t[t.FixedSizeBinary=15]="FixedSizeBinary",t[t.FixedSizeList=16]="FixedSizeList",t[t.Map=17]="Map",t[t.Dictionary=-1]="Dictionary",t[t.Int8=-2]="Int8",t[t.Int16=-3]="Int16",t[t.Int32=-4]="Int32",t[t.Int64=-5]="Int64",t[t.Uint8=-6]="Uint8",t[t.Uint16=-7]="Uint16",t[t.Uint32=-8]="Uint32",t[t.Uint64=-9]="Uint64",t[t.Float16=-10]="Float16",t[t.Float32=-11]="Float32",t[t.Float64=-12]="Float64",t[t.DateDay=-13]="DateDay",t[t.DateMillisecond=-14]="DateMillisecond",t[t.TimestampSecond=-15]="TimestampSecond",t[t.TimestampMillisecond=-16]="TimestampMillisecond",t[t.TimestampMicrosecond=-17]="TimestampMicrosecond",t[t.TimestampNanosecond=-18]="TimestampNanosecond",t[t.TimeSecond=-19]="TimeSecond",t[t.TimeMillisecond=-20]="TimeMillisecond",t[t.TimeMicrosecond=-21]="TimeMicrosecond",t[t.TimeNanosecond=-22]="TimeNanosecond",t[t.DenseUnion=-23]="DenseUnion",t[t.SparseUnion=-24]="SparseUnion",t[t.IntervalDayTime=-25]="IntervalDayTime",t[t.IntervalYearMonth=-26]="IntervalYearMonth"})(b||(b={}));var U;(function(t){t[t.OFFSET=0]="OFFSET",t[t.DATA=1]="DATA",t[t.VALIDITY=2]="VALIDITY",t[t.TYPE=3]="TYPE"})(U||(U={}));function zb(t,e,n,r){return(n&1<>r}function RF(t,e,n){return n?!!(t[e>>3]|=1<>3]&=~(1<0||n.byteLength>3):Ku(ef(n,t,e,null,zb)).subarray(0,r)),i}return n}function Ku(t){let e=[],n=0,r=0,i=0;for(const s of t)s&&(i|=1<0)&&(e[n++]=i);let o=new Uint8Array(e.length+7&-8);return o.set(e),o}function*ef(t,e,n,r,i){let o=e%8,s=e>>3,a=0,l=n;for(;l>0;o=0){let u=t[s++];do yield i(r,a++,u,o);while(--l>0&&++o<8)}}function Bp(t,e,n){if(n-e<=0)return 0;if(n-e<8){let o=0;for(const s of ef(t,e,n-e,t,DF))o+=s;return o}const r=n>>3<<3,i=e+(e%8===0?0:8-e%8);return Bp(t,e,i)+Bp(t,r,n)+MF(t,i>>3,r-i>>3)}function MF(t,e,n){let r=0,i=e|0;const o=new DataView(t.buffer,t.byteOffset,t.byteLength),s=n===void 0?t.byteLength:i+n;for(;s-i>=4;)r+=qf(o.getUint32(i)),i+=4;for(;s-i>=2;)r+=qf(o.getUint16(i)),i+=2;for(;s-i>=1;)r+=qf(o.getUint8(i)),i+=1;return r}function qf(t){let e=t|0;return e=e-(e>>>1&1431655765),e=(e&858993459)+(e>>>2&858993459),(e+(e>>>4)&252645135)*16843009>>>24}class te{visitMany(e,...n){return e.map((r,i)=>this.visit(r,...n.map(o=>o[i])))}visit(...e){return this.getVisitFn(e[0],!1).apply(this,e)}getVisitFn(e,n=!0){return LF(this,e,n)}visitNull(e,...n){return null}visitBool(e,...n){return null}visitInt(e,...n){return null}visitFloat(e,...n){return null}visitUtf8(e,...n){return null}visitBinary(e,...n){return null}visitFixedSizeBinary(e,...n){return null}visitDate(e,...n){return null}visitTimestamp(e,...n){return null}visitTime(e,...n){return null}visitDecimal(e,...n){return null}visitList(e,...n){return null}visitStruct(e,...n){return null}visitUnion(e,...n){return null}visitDictionary(e,...n){return null}visitInterval(e,...n){return null}visitFixedSizeList(e,...n){return null}visitMap(e,...n){return null}}function LF(t,e,n=!0){let r=null,i=b.NONE;switch(e instanceof R||e instanceof ae?i=Zf(e.type):e instanceof Z?i=Zf(e):typeof(i=e)!="number"&&(i=b[e]),i){case b.Null:r=t.visitNull;break;case b.Bool:r=t.visitBool;break;case b.Int:r=t.visitInt;break;case b.Int8:r=t.visitInt8||t.visitInt;break;case b.Int16:r=t.visitInt16||t.visitInt;break;case b.Int32:r=t.visitInt32||t.visitInt;break;case b.Int64:r=t.visitInt64||t.visitInt;break;case b.Uint8:r=t.visitUint8||t.visitInt;break;case b.Uint16:r=t.visitUint16||t.visitInt;break;case b.Uint32:r=t.visitUint32||t.visitInt;break;case b.Uint64:r=t.visitUint64||t.visitInt;break;case b.Float:r=t.visitFloat;break;case b.Float16:r=t.visitFloat16||t.visitFloat;break;case b.Float32:r=t.visitFloat32||t.visitFloat;break;case b.Float64:r=t.visitFloat64||t.visitFloat;break;case b.Utf8:r=t.visitUtf8;break;case b.Binary:r=t.visitBinary;break;case b.FixedSizeBinary:r=t.visitFixedSizeBinary;break;case b.Date:r=t.visitDate;break;case b.DateDay:r=t.visitDateDay||t.visitDate;break;case b.DateMillisecond:r=t.visitDateMillisecond||t.visitDate;break;case b.Timestamp:r=t.visitTimestamp;break;case b.TimestampSecond:r=t.visitTimestampSecond||t.visitTimestamp;break;case b.TimestampMillisecond:r=t.visitTimestampMillisecond||t.visitTimestamp;break;case b.TimestampMicrosecond:r=t.visitTimestampMicrosecond||t.visitTimestamp;break;case b.TimestampNanosecond:r=t.visitTimestampNanosecond||t.visitTimestamp;break;case b.Time:r=t.visitTime;break;case b.TimeSecond:r=t.visitTimeSecond||t.visitTime;break;case b.TimeMillisecond:r=t.visitTimeMillisecond||t.visitTime;break;case b.TimeMicrosecond:r=t.visitTimeMicrosecond||t.visitTime;break;case b.TimeNanosecond:r=t.visitTimeNanosecond||t.visitTime;break;case b.Decimal:r=t.visitDecimal;break;case b.List:r=t.visitList;break;case b.Struct:r=t.visitStruct;break;case b.Union:r=t.visitUnion;break;case b.DenseUnion:r=t.visitDenseUnion||t.visitUnion;break;case b.SparseUnion:r=t.visitSparseUnion||t.visitUnion;break;case b.Dictionary:r=t.visitDictionary;break;case b.Interval:r=t.visitInterval;break;case b.IntervalDayTime:r=t.visitIntervalDayTime||t.visitInterval;break;case b.IntervalYearMonth:r=t.visitIntervalYearMonth||t.visitInterval;break;case b.FixedSizeList:r=t.visitFixedSizeList;break;case b.Map:r=t.visitMap;break}if(typeof r=="function")return r;if(!n)return()=>null;throw new Error(`Unrecognized type '${b[i]}'`)}function Zf(t){switch(t.typeId){case b.Null:return b.Null;case b.Int:const{bitWidth:e,isSigned:n}=t;switch(e){case 8:return n?b.Int8:b.Uint8;case 16:return n?b.Int16:b.Uint16;case 32:return n?b.Int32:b.Uint32;case 64:return n?b.Int64:b.Uint64}return b.Int;case b.Float:switch(t.precision){case gn.HALF:return b.Float16;case gn.SINGLE:return b.Float32;case gn.DOUBLE:return b.Float64}return b.Float;case b.Binary:return b.Binary;case b.Utf8:return b.Utf8;case b.Bool:return b.Bool;case b.Decimal:return b.Decimal;case b.Time:switch(t.unit){case ve.SECOND:return b.TimeSecond;case ve.MILLISECOND:return b.TimeMillisecond;case ve.MICROSECOND:return b.TimeMicrosecond;case ve.NANOSECOND:return b.TimeNanosecond}return b.Time;case b.Timestamp:switch(t.unit){case ve.SECOND:return b.TimestampSecond;case ve.MILLISECOND:return b.TimestampMillisecond;case ve.MICROSECOND:return b.TimestampMicrosecond;case ve.NANOSECOND:return b.TimestampNanosecond}return b.Timestamp;case b.Date:switch(t.unit){case or.DAY:return b.DateDay;case or.MILLISECOND:return b.DateMillisecond}return b.Date;case b.Interval:switch(t.unit){case to.DAY_TIME:return b.IntervalDayTime;case to.YEAR_MONTH:return b.IntervalYearMonth}return b.Interval;case b.Map:return b.Map;case b.List:return b.List;case b.Struct:return b.Struct;case b.Union:switch(t.mode){case Or.Dense:return b.DenseUnion;case Or.Sparse:return b.SparseUnion}return b.Union;case b.FixedSizeBinary:return b.FixedSizeBinary;case b.FixedSizeList:return b.FixedSizeList;case b.Dictionary:return b.Dictionary}throw new Error(`Unrecognized type '${b[t.typeId]}'`)}te.prototype.visitInt8=null;te.prototype.visitInt16=null;te.prototype.visitInt32=null;te.prototype.visitInt64=null;te.prototype.visitUint8=null;te.prototype.visitUint16=null;te.prototype.visitUint32=null;te.prototype.visitUint64=null;te.prototype.visitFloat16=null;te.prototype.visitFloat32=null;te.prototype.visitFloat64=null;te.prototype.visitDateDay=null;te.prototype.visitDateMillisecond=null;te.prototype.visitTimestampSecond=null;te.prototype.visitTimestampMillisecond=null;te.prototype.visitTimestampMicrosecond=null;te.prototype.visitTimestampNanosecond=null;te.prototype.visitTimeSecond=null;te.prototype.visitTimeMillisecond=null;te.prototype.visitTimeMicrosecond=null;te.prototype.visitTimeNanosecond=null;te.prototype.visitDenseUnion=null;te.prototype.visitSparseUnion=null;te.prototype.visitIntervalDayTime=null;te.prototype.visitIntervalYearMonth=null;class V extends te{compareSchemas(e,n){return e===n||n instanceof e.constructor&&Qt.compareFields(e.fields,n.fields)}compareFields(e,n){return e===n||Array.isArray(e)&&Array.isArray(n)&&e.length===n.length&&e.every((r,i)=>Qt.compareField(r,n[i]))}compareField(e,n){return e===n||n instanceof e.constructor&&e.name===n.name&&e.nullable===n.nullable&&Qt.visit(e.type,n.type)}}function Nt(t,e){return e instanceof t.constructor}function nl(t,e){return t===e||Nt(t,e)}function Fr(t,e){return t===e||Nt(t,e)&&t.bitWidth===e.bitWidth&&t.isSigned===e.isSigned}function tf(t,e){return t===e||Nt(t,e)&&t.precision===e.precision}function NF(t,e){return t===e||Nt(t,e)&&t.byteWidth===e.byteWidth}function hy(t,e){return t===e||Nt(t,e)&&t.unit===e.unit}function rl(t,e){return t===e||Nt(t,e)&&t.unit===e.unit&&t.timezone===e.timezone}function il(t,e){return t===e||Nt(t,e)&&t.unit===e.unit&&t.bitWidth===e.bitWidth}function PF(t,e){return t===e||Nt(t,e)&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}function $F(t,e){return t===e||Nt(t,e)&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}function yy(t,e){return t===e||Nt(t,e)&&t.mode===e.mode&&t.typeIds.every((n,r)=>n===e.typeIds[r])&&Qt.compareFields(t.children,e.children)}function UF(t,e){return t===e||Nt(t,e)&&t.id===e.id&&t.isOrdered===e.isOrdered&&Qt.visit(t.indices,e.indices)&&Qt.visit(t.dictionary,e.dictionary)}function my(t,e){return t===e||Nt(t,e)&&t.unit===e.unit}function zF(t,e){return t===e||Nt(t,e)&&t.listSize===e.listSize&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}function jF(t,e){return t===e||Nt(t,e)&&t.keysSorted===e.keysSorted&&t.children.length===e.children.length&&Qt.compareFields(t.children,e.children)}V.prototype.visitNull=nl;V.prototype.visitBool=nl;V.prototype.visitInt=Fr;V.prototype.visitInt8=Fr;V.prototype.visitInt16=Fr;V.prototype.visitInt32=Fr;V.prototype.visitInt64=Fr;V.prototype.visitUint8=Fr;V.prototype.visitUint16=Fr;V.prototype.visitUint32=Fr;V.prototype.visitUint64=Fr;V.prototype.visitFloat=tf;V.prototype.visitFloat16=tf;V.prototype.visitFloat32=tf;V.prototype.visitFloat64=tf;V.prototype.visitUtf8=nl;V.prototype.visitBinary=nl;V.prototype.visitFixedSizeBinary=NF;V.prototype.visitDate=hy;V.prototype.visitDateDay=hy;V.prototype.visitDateMillisecond=hy;V.prototype.visitTimestamp=rl;V.prototype.visitTimestampSecond=rl;V.prototype.visitTimestampMillisecond=rl;V.prototype.visitTimestampMicrosecond=rl;V.prototype.visitTimestampNanosecond=rl;V.prototype.visitTime=il;V.prototype.visitTimeSecond=il;V.prototype.visitTimeMillisecond=il;V.prototype.visitTimeMicrosecond=il;V.prototype.visitTimeNanosecond=il;V.prototype.visitDecimal=nl;V.prototype.visitList=PF;V.prototype.visitStruct=$F;V.prototype.visitUnion=yy;V.prototype.visitDenseUnion=yy;V.prototype.visitSparseUnion=yy;V.prototype.visitDictionary=UF;V.prototype.visitInterval=my;V.prototype.visitIntervalDayTime=my;V.prototype.visitIntervalYearMonth=my;V.prototype.visitFixedSizeList=zF;V.prototype.visitMap=jF;const Qt=new V;class Z{static isNull(e){return e&&e.typeId===b.Null}static isInt(e){return e&&e.typeId===b.Int}static isFloat(e){return e&&e.typeId===b.Float}static isBinary(e){return e&&e.typeId===b.Binary}static isUtf8(e){return e&&e.typeId===b.Utf8}static isBool(e){return e&&e.typeId===b.Bool}static isDecimal(e){return e&&e.typeId===b.Decimal}static isDate(e){return e&&e.typeId===b.Date}static isTime(e){return e&&e.typeId===b.Time}static isTimestamp(e){return e&&e.typeId===b.Timestamp}static isInterval(e){return e&&e.typeId===b.Interval}static isList(e){return e&&e.typeId===b.List}static isStruct(e){return e&&e.typeId===b.Struct}static isUnion(e){return e&&e.typeId===b.Union}static isFixedSizeBinary(e){return e&&e.typeId===b.FixedSizeBinary}static isFixedSizeList(e){return e&&e.typeId===b.FixedSizeList}static isMap(e){return e&&e.typeId===b.Map}static isDictionary(e){return e&&e.typeId===b.Dictionary}get typeId(){return b.NONE}compareTo(e){return Qt.visit(this,e)}}Z[Symbol.toStringTag]=(t=>(t.children=null,t.ArrayType=Array,t[Symbol.toStringTag]="DataType"))(Z.prototype);let no=class extends Z{toString(){return"Null"}get typeId(){return b.Null}};no[Symbol.toStringTag]=(t=>t[Symbol.toStringTag]="Null")(no.prototype);class Lt extends Z{constructor(e,n){super(),this.isSigned=e,this.bitWidth=n}get typeId(){return b.Int}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array;case 16:return this.isSigned?Int16Array:Uint16Array;case 32:return this.isSigned?Int32Array:Uint32Array;case 64:return this.isSigned?Int32Array:Uint32Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}Lt[Symbol.toStringTag]=(t=>(t.isSigned=null,t.bitWidth=null,t[Symbol.toStringTag]="Int"))(Lt.prototype);class gy extends Lt{constructor(){super(!0,8)}}class vy extends Lt{constructor(){super(!0,16)}}class Ui extends Lt{constructor(){super(!0,32)}}let ro=class extends Lt{constructor(){super(!0,64)}};class wy extends Lt{constructor(){super(!1,8)}}class by extends Lt{constructor(){super(!1,16)}}class _y extends Lt{constructor(){super(!1,32)}}let io=class extends Lt{constructor(){super(!1,64)}};Object.defineProperty(gy.prototype,"ArrayType",{value:Int8Array});Object.defineProperty(vy.prototype,"ArrayType",{value:Int16Array});Object.defineProperty(Ui.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(ro.prototype,"ArrayType",{value:Int32Array});Object.defineProperty(wy.prototype,"ArrayType",{value:Uint8Array});Object.defineProperty(by.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(_y.prototype,"ArrayType",{value:Uint32Array});Object.defineProperty(io.prototype,"ArrayType",{value:Uint32Array});class zi extends Z{constructor(e){super(),this.precision=e}get typeId(){return b.Float}get ArrayType(){switch(this.precision){case gn.HALF:return Uint16Array;case gn.SINGLE:return Float32Array;case gn.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}zi[Symbol.toStringTag]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(zi.prototype);class nf extends zi{constructor(){super(gn.HALF)}}class Sy extends zi{constructor(){super(gn.SINGLE)}}class xy extends zi{constructor(){super(gn.DOUBLE)}}Object.defineProperty(nf.prototype,"ArrayType",{value:Uint16Array});Object.defineProperty(Sy.prototype,"ArrayType",{value:Float32Array});Object.defineProperty(xy.prototype,"ArrayType",{value:Float64Array});let Ma=class extends Z{constructor(){super()}get typeId(){return b.Binary}toString(){return"Binary"}};Ma[Symbol.toStringTag]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Ma.prototype);let so=class extends Z{constructor(){super()}get typeId(){return b.Utf8}toString(){return"Utf8"}};so[Symbol.toStringTag]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(so.prototype);let La=class extends Z{constructor(){super()}get typeId(){return b.Bool}toString(){return"Bool"}};La[Symbol.toStringTag]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(La.prototype);let Gu=class extends Z{constructor(e,n){super(),this.scale=e,this.precision=n}get typeId(){return b.Decimal}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}};Gu[Symbol.toStringTag]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(Gu.prototype);class oo extends Z{constructor(e){super(),this.unit=e}get typeId(){return b.Date}toString(){return`Date${(this.unit+1)*32}<${or[this.unit]}>`}}oo[Symbol.toStringTag]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Date"))(oo.prototype);class VF extends oo{constructor(){super(or.DAY)}}class C0 extends oo{constructor(){super(or.MILLISECOND)}}class Qu extends Z{constructor(e,n){super(),this.unit=e,this.bitWidth=n}get typeId(){return b.Time}toString(){return`Time${this.bitWidth}<${ve[this.unit]}>`}}Qu[Symbol.toStringTag]=(t=>(t.unit=null,t.bitWidth=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Time"))(Qu.prototype);class Xu extends Z{constructor(e,n){super(),this.unit=e,this.timezone=n}get typeId(){return b.Timestamp}toString(){return`Timestamp<${ve[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}Xu[Symbol.toStringTag]=(t=>(t.unit=null,t.timezone=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Timestamp"))(Xu.prototype);class Ju extends Z{constructor(e){super(),this.unit=e}get typeId(){return b.Interval}toString(){return`Interval<${to[this.unit]}>`}}Ju[Symbol.toStringTag]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Interval"))(Ju.prototype);let ao=class extends Z{constructor(e){super(),this.children=[e]}get typeId(){return b.List}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}};ao[Symbol.toStringTag]=(t=>(t.children=null,t[Symbol.toStringTag]="List"))(ao.prototype);let $n=class extends Z{constructor(e){super(),this.children=e}get typeId(){return b.Struct}toString(){return`Struct<{${this.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};$n[Symbol.toStringTag]=(t=>(t.children=null,t[Symbol.toStringTag]="Struct"))($n.prototype);class Na extends Z{constructor(e,n,r){super(),this.mode=e,this.children=r,this.typeIds=n=Int32Array.from(n),this.typeIdToChildIndex=n.reduce((i,o,s)=>(i[o]=s)&&i||i,Object.create(null))}get typeId(){return b.Union}toString(){return`${this[Symbol.toStringTag]}<${this.children.map(e=>`${e.type}`).join(" | ")}>`}}Na[Symbol.toStringTag]=(t=>(t.mode=null,t.typeIds=null,t.children=null,t.typeIdToChildIndex=null,t.ArrayType=Int8Array,t[Symbol.toStringTag]="Union"))(Na.prototype);let qu=class extends Z{constructor(e){super(),this.byteWidth=e}get typeId(){return b.FixedSizeBinary}toString(){return`FixedSizeBinary[${this.byteWidth}]`}};qu[Symbol.toStringTag]=(t=>(t.byteWidth=null,t.ArrayType=Uint8Array,t[Symbol.toStringTag]="FixedSizeBinary"))(qu.prototype);let Pa=class extends Z{constructor(e,n){super(),this.listSize=e,this.children=[n]}get typeId(){return b.FixedSizeList}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}};Pa[Symbol.toStringTag]=(t=>(t.children=null,t.listSize=null,t[Symbol.toStringTag]="FixedSizeList"))(Pa.prototype);let $a=class extends Z{constructor(e,n=!1){super(),this.children=[e],this.keysSorted=n}get typeId(){return b.Map}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}toString(){return`Map<{${this.children[0].type.children.map(e=>`${e.name}:${e.type}`).join(", ")}}>`}};$a[Symbol.toStringTag]=(t=>(t.children=null,t.keysSorted=null,t[Symbol.toStringTag]="Map_"))($a.prototype);const WF=(t=>()=>++t)(-1);class ci extends Z{constructor(e,n,r,i){super(),this.indices=n,this.dictionary=e,this.isOrdered=i||!1,this.id=r==null?WF():typeof r=="number"?r:r.low}get typeId(){return b.Dictionary}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}ci[Symbol.toStringTag]=(t=>(t.id=null,t.indices=null,t.isOrdered=null,t.dictionary=null,t[Symbol.toStringTag]="Dictionary"))(ci.prototype);function jb(t){let e=t;switch(t.typeId){case b.Decimal:return 4;case b.Timestamp:return 2;case b.Date:return 1+e.unit;case b.Interval:return 1+e.unit;case b.Int:return 1+ +(e.bitWidth>32);case b.Time:return 1+ +(e.bitWidth>32);case b.FixedSizeList:return e.listSize;case b.FixedSizeBinary:return e.byteWidth;default:return 1}}const HF=-1;class R{constructor(e,n,r,i,o,s,a){this.type=e,this.dictionary=a,this.offset=Math.floor(Math.max(n||0,0)),this.length=Math.floor(Math.max(r||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),this.childData=(s||[]).map(u=>u instanceof R?u:u.data);let l;o instanceof R?(this.stride=o.stride,this.values=o.values,this.typeIds=o.typeIds,this.nullBitmap=o.nullBitmap,this.valueOffsets=o.valueOffsets):(this.stride=jb(e),o&&((l=o[0])&&(this.valueOffsets=l),(l=o[1])&&(this.values=l),(l=o[2])&&(this.nullBitmap=l),(l=o[3])&&(this.typeIds=l)))}get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get byteLength(){let e=0,{valueOffsets:n,values:r,nullBitmap:i,typeIds:o}=this;return n&&(e+=n.byteLength),r&&(e+=r.byteLength),i&&(e+=i.byteLength),o&&(e+=o.byteLength),this.childData.reduce((s,a)=>s+a.byteLength,e)}get nullCount(){let e=this._nullCount,n;return e<=HF&&(n=this.nullBitmap)&&(this._nullCount=e=this.length-Bp(n,this.offset,this.offset+this.length)),e}clone(e,n=this.offset,r=this.length,i=this._nullCount,o=this,s=this.childData){return new R(e,n,r,i,o,s,this.dictionary)}slice(e,n){const{stride:r,typeId:i,childData:o}=this,s=+(this._nullCount===0)-1,a=i===16?r:1,l=this._sliceBuffers(e,n,r,i);return this.clone(this.type,this.offset+e,n,s,l,!o.length||this.valueOffsets?o:this._sliceChildren(o,a*e,a*n))}_changeLengthAndBackfillNullBitmap(e){if(this.typeId===b.Null)return this.clone(this.type,0,e,0);const{length:n,nullCount:r}=this,i=new Uint8Array((e+63&-64)>>3).fill(255,0,n>>3);i[n>>3]=(1<0&&i.set(py(this.offset,n,this.nullBitmap),0);const o=this.buffers;return o[U.VALIDITY]=i,this.clone(this.type,0,e,r+(e-n),o)}_sliceBuffers(e,n,r,i){let o,{buffers:s}=this;return(o=s[U.TYPE])&&(s[U.TYPE]=o.subarray(e,e+n)),(o=s[U.OFFSET])&&(s[U.OFFSET]=o.subarray(e,e+n+1))||(o=s[U.DATA])&&(s[U.DATA]=i===6?o:o.subarray(r*e,r*(e+n))),s}_sliceChildren(e,n,r){return e.map(i=>i.slice(n,r))}static new(e,n,r,i,o,s,a){switch(o instanceof R?o=o.buffers:o||(o=[]),e.typeId){case b.Null:return R.Null(e,n,r);case b.Int:return R.Int(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Dictionary:return R.Dictionary(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[],a);case b.Float:return R.Float(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Bool:return R.Bool(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Decimal:return R.Decimal(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Date:return R.Date(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Time:return R.Time(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Timestamp:return R.Timestamp(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Interval:return R.Interval(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.FixedSizeBinary:return R.FixedSizeBinary(e,n,r,i||0,o[U.VALIDITY],o[U.DATA]||[]);case b.Binary:return R.Binary(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],o[U.DATA]||[]);case b.Utf8:return R.Utf8(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],o[U.DATA]||[]);case b.List:return R.List(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],(s||[])[0]);case b.FixedSizeList:return R.FixedSizeList(e,n,r,i||0,o[U.VALIDITY],(s||[])[0]);case b.Struct:return R.Struct(e,n,r,i||0,o[U.VALIDITY],s||[]);case b.Map:return R.Map(e,n,r,i||0,o[U.VALIDITY],o[U.OFFSET]||[],(s||[])[0]);case b.Union:return R.Union(e,n,r,i||0,o[U.VALIDITY],o[U.TYPE]||[],o[U.OFFSET]||s,s)}throw new Error(`Unrecognized typeId ${e.typeId}`)}static Null(e,n,r){return new R(e,n,r,0)}static Int(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Dictionary(e,n,r,i,o,s,a){return new R(e,n,r,i,[void 0,he(e.indices.ArrayType,s),se(o)],[],a)}static Float(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Bool(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Decimal(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Date(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Time(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Timestamp(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Interval(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static FixedSizeBinary(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,he(e.ArrayType,s),se(o)])}static Binary(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),se(a),se(o)])}static Utf8(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),se(a),se(o)])}static List(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),void 0,se(o)],[a])}static FixedSizeList(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,void 0,se(o)],[s])}static Struct(e,n,r,i,o,s){return new R(e,n,r,i,[void 0,void 0,se(o)],s)}static Map(e,n,r,i,o,s,a){return new R(e,n,r,i,[Po(s),void 0,se(o)],[a])}static Union(e,n,r,i,o,s,a,l){const u=[void 0,void 0,se(o),he(e.ArrayType,s)];return e.mode===Or.Sparse?new R(e,n,r,i,u,a):(u[U.OFFSET]=Po(a),new R(e,n,r,i,u,l))}}R.prototype.childData=Object.freeze([]);const YF=void 0;function aa(t){if(t===null)return"null";if(t===YF)return"undefined";switch(typeof t){case"number":return`${t}`;case"bigint":return`${t}`;case"string":return`"${t}"`}return typeof t[Symbol.toPrimitive]=="function"?t[Symbol.toPrimitive]("string"):ArrayBuffer.isView(t)?`[${t}]`:JSON.stringify(t)}function KF(t){if(!t||t.length<=0)return function(i){return!0};let e="",n=t.filter(r=>r===r);return n.length>0&&(e=` switch (x) {${n.map(r=>` case ${GF(r)}:`).join("")} return false; @@ -199,4 +199,4 @@ return true;`)}function GF(t){return typeof t!="bigint"?aa(t):Zc?`${aa(t)}n`:`"$ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */var bS=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),WM=function(t){bS(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Xn.setFrameHeight()},e.prototype.componentDidUpdate=function(){Xn.setFrameHeight()},e}(cs.PureComponent);function HM(t){var e=function(n){bS(r,n);function r(i){var o=n.call(this,i)||this;return o.componentDidMount=function(){Xn.events.addEventListener(Xn.RENDER_EVENT,o.onRenderEvent),Xn.setComponentReady()},o.componentDidUpdate=function(){o.state.componentError!=null&&Xn.setFrameHeight()},o.componentWillUnmount=function(){Xn.events.removeEventListener(Xn.RENDER_EVENT,o.onRenderEvent)},o.onRenderEvent=function(s){var a=s;o.setState({renderData:a.detail})},o.render=function(){return o.state.componentError!=null?cs.createElement("div",null,cs.createElement("h1",null,"Component Error"),cs.createElement("span",null,o.state.componentError.message)):o.state.renderData==null?null:cs.createElement(t,{width:window.innerWidth,disabled:o.state.renderData.disabled,args:o.state.renderData.args,theme:o.state.renderData.theme})},o.state={renderData:void 0,componentError:void 0},o}return r.getDerivedStateFromError=function(i){return{componentError:i}},r}(cs.PureComponent);return gT(e,t)}const fd=t=>t.method.obj.cls.name,iv=t=>t.method.name,sv=t=>typeof t.path=="string"?t.path:t.path.path.map(e=>{if(e){if("item_or_attribute"in e)return`.${e.item_or_attribute}`;if("index"in e)return`[${e.index}]`}}).filter(Boolean).join(""),YM=t=>({startTime:t!=null&&t.start_time?new Date(t.start_time):void 0,endTime:t!=null&&t.end_time?new Date(t.end_time):void 0}),_S=(t,e,n,r)=>{const i=n[r];t.children||(t.children=[]);let o=t.children.find(s=>s.name===fd(i)&&(s.startTime??0)<=new Date(e.perf.start_time)&&(s.endTime??1/0)>=new Date(e.perf.end_time));if(r===n.length-1){const{startTime:s,endTime:a}=YM(e.perf);if(o){o.startTime=s,o.endTime=a,o.id=e.stack[r].method.obj.id,o.raw=e;return}t.children.push({children:[],name:fd(i),path:sv(i),methodName:iv(i),id:i.method.obj.id,startTime:s,endTime:a,raw:e,parentNodes:[...t.parentNodes,t]});return}if(!o){const s={children:[],name:fd(i),methodName:iv(i),path:sv(i),parentNodes:[...t.parentNodes,t]};t.children.push(s),o=s}_S(o,e,n,r+1)},KM=t=>{const e={children:[],name:"All calls",startTime:new Date(t.perf.start_time),endTime:new Date(t.perf.end_time),path:"",parentNodes:[],id:0,raw:{stack:[],args:{str_or_query_bundle:""},error:null,rets:[],perf:t.perf,pid:-1,tid:-1}};return t.calls.forEach(n=>{_S(e,n,n.stack,0)}),e},GM=lb(D.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown"),QM=lb(D.jsx("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight"),SS=t=>{var r,i;const e=((r=t.startTime)==null?void 0:r.getTime())??0,n=((i=t.endTime)==null?void 0:i.getTime())??0;return{startTime:e,endTime:n,timeTaken:n-e}};function XM({startTime:t,endTime:e}){return D.jsxs(su,{sx:{lineHeight:1.5},children:[D.jsxs("span",{children:[D.jsx("b",{children:"Start: "}),new Date(t).toISOString()]}),D.jsx("br",{}),D.jsxs("span",{children:[D.jsx("b",{children:"End: "}),new Date(e).toISOString()]})]})}function xS({node:t,depth:e,totalTime:n,treeStart:r,selectedNode:i,setSelectedNode:o}){var y;T.useEffect(()=>Xn.setFrameHeight());const[s,a]=T.useState(!0),{startTime:l,timeTaken:u,endTime:c}=SS(t);let f="Select.App";t.path&&(f+=`.${t.path}`);const d=i===((y=t.raw)==null?void 0:y.perf.start_time);return D.jsxs(D.Fragment,{children:[D.jsxs(pb,{onClick:()=>{var v;return o(((v=t.raw)==null?void 0:v.perf.start_time)??void 0)},sx:{...qM,background:d?({palette:v})=>v.primary.lighter:void 0},children:[D.jsx(Ds,{children:D.jsxs(su,{sx:{ml:e,display:"flex",flexDirection:"row"},children:[t.children.length>0&&D.jsx(Jk,{onClick:()=>a(!s),disableRipple:!0,size:"small",children:s?D.jsx(GM,{}):D.jsx(QM,{})}),D.jsxs(su,{sx:{display:"flex",alignItems:"center",ml:t.children.length===0?5:0},children:[D.jsxs(y0,{children:[t.name,t.methodName?`.${t.methodName}`:""]}),D.jsx(y0,{variant:"code",sx:{ml:1,px:1},children:f})]})]})}),D.jsxs(Ds,{align:"right",children:[u," ms"]}),D.jsx(Ds,{sx:{minWidth:500,padding:0},children:D.jsx(_A,{title:D.jsx(XM,{startTime:l,endTime:c}),children:D.jsx(su,{sx:{left:`${(l-r)/n*100}%`,width:`${u/n*100}%`,background:({palette:v})=>i===void 0||d?v.grey[500]:v.grey[300],...JM}})})})]}),s?t.children.map(v=>{var g;return D.jsx(xS,{selectedNode:i,setSelectedNode:o,node:v,depth:e+1,totalTime:n,treeStart:r},`${v.name}-${v.id??""}-${((g=v.endTime)==null?void 0:g.toISOString())??""}`)}):null]})}const JM={position:"relative",height:20,borderRadius:.5},qM={cursor:"pointer","&:hover":{background:({palette:t})=>t.primary.lighter}};function ZM({root:t}){const[e,n]=T.useState();T.useEffect(()=>Xn.setComponentValue(e),[e]);const{timeTaken:r,startTime:i}=SS(t);return D.jsx(QA,{children:D.jsxs(BA,{sx:eL,"aria-label":"Table breakdown of the components in the current app",size:"small",children:[D.jsx(nC,{children:D.jsxs(pb,{children:[D.jsx(Ds,{width:275,children:"Method"}),D.jsx(Ds,{width:75,children:"Duration"}),D.jsx(Ds,{children:"Timeline"})]})}),D.jsx(LA,{children:D.jsx(xS,{selectedNode:e,setSelectedNode:n,node:t,depth:0,totalTime:r,treeStart:i})})]})})}const eL={borderRadius:4,border:({palette:t})=>`1px solid ${t.primary.light}`,minWidth:650,"& th":{backgroundColor:({palette:t})=>t.grey[100],color:({palette:t})=>t.grey[600],fontWeight:600},"& .MuiTableCell-root":{borderRight:({palette:t})=>`1px solid ${t.grey[300]}`},"& .MuiTableCell-root:last-child":{borderRight:"none"},"& .MuiTableBody-root .MuiTableCell-root":{mx:1}};class tL extends WM{constructor(){super(...arguments);ym(this,"render",()=>{const{record_json:n}=this.props.args,{font:r}=this.props.theme,i=KM(n);return D.jsx("div",{style:{fontFamily:r,display:"flex",flexDirection:"column",gap:16},children:D.jsx(ZM,{root:i})})})}}const nL=HM(tL);wp.createRoot(document.getElementById("root")).render(D.jsx(Cn.StrictMode,{children:D.jsx(NT,{injectFirst:!0,children:D.jsx(DI,{theme:Me,children:D.jsx(nL,{})})})})); + */var bS=globalThis&&globalThis.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])},t(e,n)};return function(e,n){t(e,n);function r(){this.constructor=e}e.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}(),WM=function(t){bS(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.componentDidMount=function(){Xn.setFrameHeight()},e.prototype.componentDidUpdate=function(){Xn.setFrameHeight()},e}(cs.PureComponent);function HM(t){var e=function(n){bS(r,n);function r(i){var o=n.call(this,i)||this;return o.componentDidMount=function(){Xn.events.addEventListener(Xn.RENDER_EVENT,o.onRenderEvent),Xn.setComponentReady()},o.componentDidUpdate=function(){o.state.componentError!=null&&Xn.setFrameHeight()},o.componentWillUnmount=function(){Xn.events.removeEventListener(Xn.RENDER_EVENT,o.onRenderEvent)},o.onRenderEvent=function(s){var a=s;o.setState({renderData:a.detail})},o.render=function(){return o.state.componentError!=null?cs.createElement("div",null,cs.createElement("h1",null,"Component Error"),cs.createElement("span",null,o.state.componentError.message)):o.state.renderData==null?null:cs.createElement(t,{width:window.innerWidth,disabled:o.state.renderData.disabled,args:o.state.renderData.args,theme:o.state.renderData.theme})},o.state={renderData:void 0,componentError:void 0},o}return r.getDerivedStateFromError=function(i){return{componentError:i}},r}(cs.PureComponent);return gT(e,t)}const fd=t=>t.method.obj.cls.name,iv=t=>t.method.name,sv=t=>typeof t.path=="string"?t.path:t.path.path.map(e=>{if(e){if("item_or_attribute"in e)return`.${e.item_or_attribute}`;if("index"in e)return`[${e.index}]`}}).filter(Boolean).join(""),YM=t=>({startTime:t!=null&&t.start_time?new Date(t.start_time):void 0,endTime:t!=null&&t.end_time?new Date(t.end_time):void 0}),_S=(t,e,n,r)=>{const i=n[r];t.children||(t.children=[]);let o=t.children.find(s=>s.name===fd(i)&&(s.startTime??0)<=new Date(e.perf.start_time)&&(s.endTime??1/0)>=new Date(e.perf.end_time));if(r===n.length-1){const{startTime:s,endTime:a}=YM(e.perf);if(o){o.startTime=s,o.endTime=a,o.id=e.stack[r].method.obj.id,o.raw=e;return}t.children.push({children:[],name:fd(i),path:sv(i),methodName:iv(i),id:i.method.obj.id,startTime:s,endTime:a,raw:e,parentNodes:[...t.parentNodes,t]});return}if(!o){const s={children:[],name:fd(i),methodName:iv(i),path:sv(i),parentNodes:[...t.parentNodes,t]};t.children.push(s),o=s}_S(o,e,n,r+1)},KM=t=>{const e={children:[],name:"All calls",startTime:new Date(t.perf.start_time),endTime:new Date(t.perf.end_time),path:"",parentNodes:[],id:0,raw:{stack:[],args:{str_or_query_bundle:""},error:null,rets:[],perf:t.perf,pid:-1,tid:-1}};return t.calls.forEach(n=>{_S(e,n,n.stack,0)}),e},GM=lb(D.jsx("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown"),QM=lb(D.jsx("path",{d:"m10 17 5-5-5-5v10z"}),"ArrowRight"),SS=t=>{var r,i;const e=((r=t.startTime)==null?void 0:r.getTime())??0,n=((i=t.endTime)==null?void 0:i.getTime())??0;return{startTime:e,endTime:n,timeTaken:n-e}};function XM({startTime:t,endTime:e}){return D.jsxs(su,{sx:{lineHeight:1.5},children:[D.jsxs("span",{children:[D.jsx("b",{children:"Start: "}),new Date(t).toISOString()]}),D.jsx("br",{}),D.jsxs("span",{children:[D.jsx("b",{children:"End: "}),new Date(e).toISOString()]})]})}function xS({node:t,depth:e,totalTime:n,treeStart:r,selectedNode:i,setSelectedNode:o}){var g;I.useEffect(()=>Xn.setFrameHeight());const[s,a]=I.useState(!0),{startTime:l,timeTaken:u,endTime:c}=SS(t);let f="Select.App";t.path&&(f+=`.${t.path}`);const y=!t.path?"":(g=t.raw)==null?void 0:g.perf.start_time,v=i===y;return D.jsxs(D.Fragment,{children:[D.jsxs(pb,{onClick:()=>o(y??void 0),sx:{...qM,background:v?({palette:T})=>T.primary.lighter:void 0},children:[D.jsx(Ds,{children:D.jsxs(su,{sx:{ml:e,display:"flex",flexDirection:"row"},children:[t.children.length>0&&D.jsx(Jk,{onClick:()=>a(!s),disableRipple:!0,size:"small",children:s?D.jsx(GM,{}):D.jsx(QM,{})}),D.jsxs(su,{sx:{display:"flex",alignItems:"center",ml:t.children.length===0?5:0},children:[D.jsxs(y0,{children:[t.name,t.methodName?`.${t.methodName}`:""]}),D.jsx(y0,{variant:"code",sx:{ml:1,px:1},children:f})]})]})}),D.jsxs(Ds,{align:"right",children:[u," ms"]}),D.jsx(Ds,{sx:{minWidth:500,padding:0},children:D.jsx(_A,{title:D.jsx(XM,{startTime:l,endTime:c}),children:D.jsx(su,{sx:{left:`${(l-r)/n*100}%`,width:`${u/n*100}%`,background:({palette:T})=>i===void 0||v?T.grey[500]:T.grey[300],...JM}})})})]}),s?t.children.map(T=>{var h;return D.jsx(xS,{selectedNode:i,setSelectedNode:o,node:T,depth:e+1,totalTime:n,treeStart:r},`${T.name}-${T.id??""}-${((h=T.endTime)==null?void 0:h.toISOString())??""}`)}):null]})}const JM={position:"relative",height:20,borderRadius:.5},qM={cursor:"pointer","&:hover":{background:({palette:t})=>t.primary.lighter}};function ZM({root:t}){const[e,n]=I.useState();I.useEffect(()=>Xn.setComponentValue(e),[e]);const{timeTaken:r,startTime:i}=SS(t);return D.jsx(QA,{children:D.jsxs(BA,{sx:eL,"aria-label":"Table breakdown of the components in the current app",size:"small",children:[D.jsx(nC,{children:D.jsxs(pb,{children:[D.jsx(Ds,{width:275,children:"Method"}),D.jsx(Ds,{width:75,children:"Duration"}),D.jsx(Ds,{children:"Timeline"})]})}),D.jsx(LA,{children:D.jsx(xS,{selectedNode:e,setSelectedNode:n,node:t,depth:0,totalTime:r,treeStart:i})})]})})}const eL={borderRadius:4,border:({palette:t})=>`1px solid ${t.primary.light}`,minWidth:650,"& th":{backgroundColor:({palette:t})=>t.grey[100],color:({palette:t})=>t.grey[600],fontWeight:600},"& .MuiTableCell-root":{borderRight:({palette:t})=>`1px solid ${t.grey[300]}`},"& .MuiTableCell-root:last-child":{borderRight:"none"},"& .MuiTableBody-root .MuiTableCell-root":{mx:1}};class tL extends WM{constructor(){super(...arguments);ym(this,"render",()=>{const{record_json:n}=this.props.args,{font:r}=this.props.theme,i=KM(n);return D.jsx("div",{style:{fontFamily:r,display:"flex",flexDirection:"column",gap:16},children:D.jsx(ZM,{root:i})})})}}const nL=HM(tL);wp.createRoot(document.getElementById("root")).render(D.jsx(Cn.StrictMode,{children:D.jsx(NT,{injectFirst:!0,children:D.jsx(DI,{theme:Me,children:D.jsx(nL,{})})})})); diff --git a/trulens_eval/trulens_eval/react_components/record_viewer/dist/index.html b/trulens_eval/trulens_eval/react_components/record_viewer/dist/index.html index 7cc7ea1a1..4673b9946 100644 --- a/trulens_eval/trulens_eval/react_components/record_viewer/dist/index.html +++ b/trulens_eval/trulens_eval/react_components/record_viewer/dist/index.html @@ -4,7 +4,7 @@ Record viewer - + diff --git a/trulens_eval/trulens_eval/react_components/record_viewer/src/RecordTable/RecordTableRow.tsx b/trulens_eval/trulens_eval/react_components/record_viewer/src/RecordTable/RecordTableRow.tsx index 0c5a4d32e..8f2bec113 100644 --- a/trulens_eval/trulens_eval/react_components/record_viewer/src/RecordTable/RecordTableRow.tsx +++ b/trulens_eval/trulens_eval/react_components/record_viewer/src/RecordTable/RecordTableRow.tsx @@ -45,14 +45,18 @@ export default function RecordTableRowRecursive({ const { startTime, timeTaken, endTime } = getStartAndEndTimesForNode(node); let selector = 'Select.App'; + if (node.path) selector += `.${node.path}`; - const isNodeSelected = selectedNode === node.raw?.perf.start_time; + const isRoot = !node.path; + const nodeStartTime = isRoot ? '' : node.raw?.perf.start_time; + + const isNodeSelected = selectedNode === nodeStartTime; return ( <> setSelectedNode(node.raw?.perf.start_time ?? undefined)} + onClick={() => setSelectedNode(nodeStartTime ?? undefined)} sx={{ ...recordRowSx, background: isNodeSelected ? ({ palette }) => palette.primary.lighter : undefined,