@harpercollins/harpercollins-design-system 1.8.66 → 1.8.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +60 -54
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/types/src/components/index.d.ts +2 -1
- package/dist/cjs/types/src/components/layout/Grid/Grid.d.ts +2 -0
- package/dist/cjs/types/src/components/layout/Grid/index.d.ts +2 -0
- package/dist/cjs/types/src/utils/utils.d.ts +2 -2
- package/dist/esm/index.js +58 -52
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/src/components/index.d.ts +2 -1
- package/dist/esm/types/src/components/layout/Grid/Grid.d.ts +2 -0
- package/dist/esm/types/src/components/layout/Grid/index.d.ts +2 -0
- package/dist/esm/types/src/utils/utils.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import o,{useRef as a,useDebugValue as i,createElement as l,useContext as s,useState as c,useEffect as u,useLayoutEffect as d,forwardRef as p,useCallback as f}from"react";import*as m from"react-dom";var g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)};function h(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function v(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var b=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|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)-.*))$/,y=v((function(e){return b.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function w(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var x="-ms-",S="-moz-",C="-webkit-",k="comm",O="rule",E="decl",I="@import",P="@keyframes",N="@layer",$=Math.abs,z=String.fromCharCode,R=Object.assign;function T(e){return e.trim()}function D(e,t){return(e=t.exec(e))?e[0]:e}function A(e,t,n){return e.replace(t,n)}function M(e,t,n){return e.indexOf(t,n)}function _(e,t){return 0|e.charCodeAt(t)}function L(e,t,n){return e.slice(t,n)}function F(e){return e.length}function V(e){return e.length}function j(e,t){return t.push(e),e}function B(e,t){return e.filter((function(e){return!D(e,t)}))}var H=1,W=1,G=0,q=0,Y=0,U="";function K(e,t,n,r,o,a,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:H,column:W,length:i,return:"",siblings:l}}function J(e,t){return R(K("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function X(e){for(;e.root;)e=J(e.root,{children:[e]});j(e,e.siblings)}function Q(){return Y=q<G?_(U,q++):0,W++,10===Y&&(W=1,H++),Y}function Z(){return _(U,q)}function ee(){return q}function te(e,t){return L(U,e,t)}function ne(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function re(e){return T(te(q-1,ie(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(Y=Z())&&Y<33;)Q();return ne(e)>2||ne(Y)>3?"":" "}function ae(e,t){for(;--t&&Q()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return te(e,ee()+(t<6&&32==Z()&&32==Q()))}function ie(e){for(;Q();)switch(Y){case e:return q;case 34:case 39:34!==e&&39!==e&&ie(Y);break;case 40:41===e&&ie(e);break;case 92:Q()}return q}function le(e,t){for(;Q()&&e+Y!==57&&(e+Y!==84||47!==Z()););return"/*"+te(t,q-1)+"*"+z(47===e?e:Q())}function se(e){for(;!ne(Z());)Q();return te(e,q)}function ce(e){return function(e){return U="",e}(ue("",null,null,null,[""],e=function(e){return H=W=1,G=F(U=e),q=0,[]}(e),0,[0],e))}function ue(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",w=o,x=a,S=r,C=y;h;)switch(m=b,b=Q()){case 40:if(108!=m&&58==_(C,d-1)){-1!=M(C+=A(re(b),"&","&\f"),"&\f",$(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=re(b);break;case 9:case 10:case 13:case 32:C+=oe(m);break;case 92:C+=ae(ee()-1,7);continue;case 47:switch(Z()){case 42:case 47:j(pe(le(Q(),ee()),t,n,s),s);break;default:C+="/"}break;case 123*g:l[c++]=F(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=A(C,/\f/g,"")),f>0&&F(C)-d&&j(f>32?fe(C+";",r,n,d-1,s):fe(A(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(j(S=de(C,t,n,c,u,o,l,y,w=[],x=[],d,a),a),123===b)if(0===u)ue(C,t,S,S,w,a,d,l,x);else switch(99===p&&110===_(C,3)?100:p){case 100:case 108:case 109:case 115:ue(e,S,S,r&&j(de(e,S,S,0,0,o,l,y,o,w=[],d,x),x),o,x,d,l,r?w:x);break;default:ue(C,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+F(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(Y=q>0?_(U,--q):0,W--,10===Y&&(W=1,H--),Y))continue;switch(C+=z(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(F(C)-1)*v,v=1;break;case 64:45===Z()&&(C+=re(Q())),p=Z(),u=d=F(y=C+=se(ee())),b++;break;case 45:45===m&&2==F(C)&&(g=0)}}return a}function de(e,t,n,r,o,a,i,l,s,c,u,d){for(var p=o-1,f=0===o?a:[""],m=V(f),g=0,h=0,v=0;g<r;++g)for(var b=0,y=L(e,p+1,p=$(h=i[g])),w=e;b<m;++b)(w=T(h>0?f[b]+" "+y:A(y,/&\f/g,f[b])))&&(s[v++]=w);return K(e,t,n,0===o?O:l,s,c,u,d)}function pe(e,t,n,r){return K(e,t,n,k,z(Y),L(e,2,-2),0,r)}function fe(e,t,n,r,o){return K(e,t,n,E,L(e,0,r),L(e,r+1,-1),r,o)}function me(e,t,n){switch(function(e,t){return 45^_(e,0)?(((t<<2^_(e,0))<<2^_(e,1))<<2^_(e,2))<<2^_(e,3):0}(e,t)){case 5103:return C+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+e+e;case 4789:return S+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+S+e+x+e+e;case 5936:switch(_(e,t+11)){case 114:return C+e+x+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+x+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+x+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return C+e+x+e+e;case 6165:return C+e+x+"flex-"+e+e;case 5187:return C+e+A(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+x+"flex-$1$2")+e;case 5443:return C+e+x+"flex-item-"+A(e,/flex-|-self/g,"")+(D(e,/flex-|baseline/)?"":x+"grid-row-"+A(e,/flex-|-self/g,""))+e;case 4675:return C+e+x+"flex-line-pack"+A(e,/align-content|flex-|-self/g,"")+e;case 5548:return C+e+x+A(e,"shrink","negative")+e;case 5292:return C+e+x+A(e,"basis","preferred-size")+e;case 6060:return C+"box-"+A(e,"-grow","")+C+e+x+A(e,"grow","positive")+e;case 4554:return C+A(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+x+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4200:if(!D(e,/flex-|baseline/))return x+"grid-column-align"+L(e,t)+e;break;case 2592:case 3360:return x+A(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,D(e.props,/grid-\w+-end/)}))?~M(e+(n=n[t].value),"span",0)?e:x+A(e,"-start","")+e+x+"grid-row-span:"+(~M(n,"span",0)?D(n,/\d+/):+D(n,/\d+/)-+D(e,/\d+/))+";":x+A(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return D(e.props,/grid-\w+-start/)}))?e:x+A(A(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,C+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(F(e)-1-t>6)switch(_(e,t+1)){case 109:if(45!==_(e,t+4))break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+S+(108==_(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch",0)?me(A(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return A(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,l){return x+n+":"+r+l+(o?x+n+"-span:"+(a?i:+i-+r)+l:"")+e}));case 4949:if(121===_(e,t+6))return A(e,":",":"+C)+e;break;case 6444:switch(_(e,45===_(e,14)?18:11)){case 120:return A(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+C+(45===_(e,14)?"inline-":"")+"box$3$1"+C+"$2$3$1"+x+"$2box$3")+e;case 100:return A(e,":",":"+x)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return A(e,"scroll-","scroll-snap-")+e}return e}function ge(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function he(e,t,n,r){switch(e.type){case N:if(e.children.length)break;case I:case E:return e.return=e.return||e.value;case k:return"";case P:return e.return=e.value+"{"+ge(e.children,r)+"}";case O:if(!F(e.value=e.props.join(",")))return""}return F(n=ge(e.children,r))?e.return=e.value+"{"+n+"}":""}function ve(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case E:return void(e.return=me(e.value,e.length,n));case P:return ge([J(e,{value:A(e.value,"@","@"+C)})],r);case O:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(D(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":X(J(e,{props:[A(t,/:(read-\w+)/,":"+S+"$1")]})),X(J(e,{props:[t]})),R(e,{props:B(n,r)});break;case"::placeholder":X(J(e,{props:[A(t,/:(plac\w+)/,":"+C+"input-$1")]})),X(J(e,{props:[A(t,/:(plac\w+)/,":"+S+"$1")]})),X(J(e,{props:[A(t,/:(plac\w+)/,x+"input-$1")]})),X(J(e,{props:[t]})),R(e,{props:B(n,r)})}return""}))}}var be={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},ye="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",we="active",xe="data-styled-version",Se="6.1.11",Ce="/*!sc*/\n",ke="undefined"!=typeof window&&"HTMLElement"in window,Oe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),Ee=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ee.test(e)?(i=!1,Ie.delete(r)):o.apply(void 0,h([e],t,!1))},a(),i&&!Ie.has(r)&&(console.warn(r),Ie.add(r))}catch(e){Ee.test(e.message)&&Ie.delete(r)}finally{console.error=o}}},Ne=Object.freeze([]),$e=Object.freeze({});var ze=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Te=/(^-|-$)/g;function De(e){return e.replace(Re,"-").replace(Te,"")}var Ae=/(a)(d)/gi,Me=52,_e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Le(e){var t,n="";for(t=Math.abs(e);t>Me;t=t/Me|0)n=_e(t%Me)+n;return(_e(t%Me)+n).replace(Ae,"$1-$2")}var Fe,Ve=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},je=function(e){return Ve(5381,e)};function Be(e){return Le(je(e)>>>0)}function He(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function We(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ge="function"==typeof Symbol&&Symbol.for,qe=Ge?Symbol.for("react.memo"):60115,Ye=Ge?Symbol.for("react.forward_ref"):60112,Ue={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ke={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Je={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xe=((Fe={})[Ye]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fe[qe]=Je,Fe);function Qe(e){return("type"in(t=e)&&t.type.$$typeof)===qe?Je:"$$typeof"in e?Xe[e.$$typeof]:Ue;var t}var Ze=Object.defineProperty,et=Object.getOwnPropertyNames,tt=Object.getOwnPropertySymbols,nt=Object.getOwnPropertyDescriptor,rt=Object.getPrototypeOf,ot=Object.prototype;function at(e,t,n){if("string"!=typeof t){if(ot){var r=rt(t);r&&r!==ot&&at(e,r,n)}var o=et(t);tt&&(o=o.concat(tt(t)));for(var a=Qe(e),i=Qe(t),l=0;l<o.length;++l){var s=o[l];if(!(s in Ke||n&&n[s]||i&&s in i||a&&s in a)){var c=nt(t,s);try{Ze(e,s,c)}catch(e){}}}}return e}function it(e){return"function"==typeof e}function lt(e){return"object"==typeof e&&"styledComponentId"in e}function st(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ct(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function ut(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function dt(e,t,n){if(void 0===n&&(n=!1),!n&&!ut(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=dt(e[r],t[r]);else if(ut(t))for(var r in t)e[r]=dt(e[r],t[r]);return e}function pt(e,t){Object.defineProperty(e,"toString",{value:t})}var ft="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function mt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,a=e.length;o<a;o+=1)r.push(e[o]);return r.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(mt.apply(void 0,h([ft[e]],t,!1)).trim())}var ht=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw gt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),l=(a=0,t.length);a<l;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(Ce);return t},e}(),vt=1<<30,bt=new Map,yt=new Map,wt=1,xt=function(e){if(bt.has(e))return bt.get(e);for(;yt.has(wt);)wt++;var t=wt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>vt))throw gt(16,"".concat(t));return bt.set(e,t),yt.set(t,e),t},St=function(e,t){wt=t+1,bt.set(e,t),yt.set(t,e)},Ct="style[".concat(ye,"][").concat(xe,'="').concat(Se,'"]'),kt=new RegExp("^".concat(ye,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ot=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},Et=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Ce),o=[],a=0,i=r.length;a<i;a++){var l=r[a].trim();if(l){var s=l.match(kt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(St(u,c),Ot(e,u,s[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}};var It=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ye,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ye,we),r.setAttribute(xe,Se);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},Pt=function(){function e(e){this.element=It(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw gt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Nt=function(){function e(e){this.element=It(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),$t=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),zt=ke,Rt={isServer:!ke,useCSSOMInjection:!Oe},Tt=function(){function e(e,t,n){void 0===e&&(e=$e),void 0===t&&(t={});var r=this;this.options=g(g({},Rt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ke&&zt&&(zt=!1,function(e){for(var t=document.querySelectorAll(Ct),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ye)!==we&&(Et(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),pt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return yt.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||0===i.length)return"continue";var l="".concat(ye,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(i).concat(l,'{content:"').concat(s,'"}').concat(Ce)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return xt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(g(g({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new $t(n):t?new Pt(n):new Nt(n)}(this.options),new ht(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(xt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(xt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(xt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Dt=/&/g,At=/^\s*\/\/.*$/gm;function Mt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Mt(e.children,t)),e}))}var _t=new Tt,Lt=function(e){var t,n,r,o=$e,a=o.options,i=void 0===a?$e:a,l=o.plugins,s=void 0===l?Ne:l,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===O&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Dt,n).replace(r,c))})),i.prefix&&u.push(ve),u.push(he);var d=function(e,o,a,l){void 0===o&&(o=""),void 0===a&&(a=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(At,""),c=ce(a||o?"".concat(a," ").concat(o," { ").concat(s," }"):s);i.namespace&&(c=Mt(c,i.namespace));var d,p=[];return ge(c,function(e){var t=V(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}(u.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=s.length?s.reduce((function(e,t){return t.name||gt(15),Ve(e,t.name)}),5381).toString():"",d}(),Ft=o.createContext({shouldForwardProp:void 0,styleSheet:_t,stylis:Lt});function Vt(){return s(Ft)}Ft.Consumer,o.createContext(void 0);var jt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Lt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,pt(this,(function(){throw gt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Lt),this.name+e.hash},e}(),Bt=function(e){return e>="A"&&e<="Z"};function Ht(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Bt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Wt=function(e){return null==e||!1===e||""===e},Gt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Wt(a)&&(Array.isArray(a)&&a.isCss||it(a)?r.push("".concat(Ht(o),":"),a,";"):ut(a)?r.push.apply(r,h(h(["".concat(o," {")],Gt(a),!1),["}"],!1)):r.push("".concat(Ht(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in be||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function qt(e,t,n,r){if(Wt(e))return[];if(lt(e))return[".".concat(e.styledComponentId)];if(it(e)){if(!it(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof jt||ut(o)||null===o||console.error("".concat(He(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),qt(o,t,n,r)}var a;return e instanceof jt?n?(e.inject(n,r),[e.getName(r)]):[e]:ut(e)?Gt(e):Array.isArray(e)?Array.prototype.concat.apply(Ne,e.map((function(e){return qt(e,t,n,r)}))):[e.toString()]}var Yt=je(Se),Ut=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(it(n)&&!lt(n))return!1}return!0}(e),this.componentId=t,this.baseHash=Ve(Yt,t),this.baseStyle=n,Tt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=st(r,this.staticRulesId);else{var o=ct(qt(this.rules,e,t,n)),a=Le(Ve(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=st(r,a),this.staticRulesId=a}else{for(var l=Ve(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=Ve(l,u));else if(u){var d=ct(qt(u,e,t,n));l=Ve(l,d+c),s+=d}}if(s){var p=Le(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=st(r,p)}}return r},e}(),Kt=o.createContext(void 0);Kt.Consumer;var Jt={},Xt=new Set;function Qt(e,t,n){var r=lt(e),a=e,s=!We(e),c=t.attrs,u=void 0===c?Ne:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":De(e);Jt[n]=(Jt[n]||0)+1;var r="".concat(n,"-").concat(Be(Se+n+Jt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,m=void 0===f?function(e){return We(e)?"styled.".concat(e):"Styled(".concat(He(e),")")}(e):f,h=t.displayName&&t.componentId?"".concat(De(t.displayName),"-").concat(t.componentId):t.componentId||p,v=r&&a.attrs?a.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(r&&a.shouldForwardProp){var w=a.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;b=function(e,t){return w(e,t)&&x(e,t)}}else b=w}var S=new Ut(n,h,r?a.componentStyle:void 0);function C(e,t){return function(e,t,n){var r=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=o.useContext(Kt),f=Vt(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&i(u);var h=function(e,t,n){return void 0===n&&(n=$e),e.theme!==n.theme&&e.theme||t||n.theme}(t,p,s)||$e,v=function(e,t,n){for(var r,o=g(g({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var i=it(r=e[a])?r(o):r;for(var l in i)o[l]="className"===l?st(o[l],i[l]):"style"===l?g(g({},o[l]),i[l]):i[l]}return t.className&&(o.className=st(o.className,t.className)),o}(r,t,h),b=v.as||d,w={};for(var x in v)void 0===v[x]||"$"===x[0]||"as"===x||"theme"===x&&v.theme===h||("forwardedAs"===x?w.as=v.forwardedAs:m&&!m(x,b)||(w[x]=v[x],m||"development"!==process.env.NODE_ENV||y(x)||Xt.has(x)||!ze.has(b)||(Xt.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var S=function(e,t){var n=Vt(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&i(r),r}(a,v);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=st(c,u);return S&&(C+=" "+S),v.className&&(C+=" "+v.className),w[We(b)&&!ze.has(b)?"class":"className"]=C,w.ref=n,l(b,w)}(k,e,t)}C.displayName=m;var k=o.forwardRef(C);return k.attrs=v,k.componentStyle=S,k.displayName=m,k.shouldForwardProp=b,k.foldedComponentIds=r?st(a.foldedComponentIds,a.styledComponentId):"",k.styledComponentId=h,k.target=r?a.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)dt(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Pe(m,h),k.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var a=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(a,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(m,h)),pt(k,(function(){return".".concat(k.styledComponentId)})),s&&at(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function Zt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var en=function(e){return Object.assign(e,{isCss:!0})};function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(it(e)||ut(e))return en(qt(Zt(Ne,h([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?qt(r):en(qt(Zt(r,t)))}function nn(e,t,n){if(void 0===n&&(n=$e),!t)throw gt(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,tn.apply(void 0,h([r],o,!1)))};return r.attrs=function(r){return nn(e,t,g(g({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return nn(e,t,g(g({},n),r))},r}var rn=function(e){return nn(Qt,e)},on=rn;function an(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=ct(tn.apply(void 0,h([e],t,!1))),o=Be(r);return new jt(o,r)}ze.forEach((function(e){on[e]=rn(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var ln="__sc-".concat(ye,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[ln]||(window[ln]=0),1===window[ln]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[ln]+=1);const sn=on.div`
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import o,{useRef as a,useDebugValue as i,createElement as l,useContext as s,useState as c,useEffect as u,useLayoutEffect as d,forwardRef as p,useCallback as f}from"react";import*as m from"react-dom";var g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)};function h(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}function v(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}"function"==typeof SuppressedError&&SuppressedError;var b=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|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)-.*))$/,y=v((function(e){return b.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function w(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var x="-ms-",S="-moz-",C="-webkit-",k="comm",O="rule",E="decl",I="@import",P="@keyframes",$="@layer",N=Math.abs,z=String.fromCharCode,R=Object.assign;function T(e){return e.trim()}function D(e,t){return(e=t.exec(e))?e[0]:e}function A(e,t,n){return e.replace(t,n)}function M(e,t,n){return e.indexOf(t,n)}function _(e,t){return 0|e.charCodeAt(t)}function L(e,t,n){return e.slice(t,n)}function F(e){return e.length}function V(e){return e.length}function j(e,t){return t.push(e),e}function B(e,t){return e.filter((function(e){return!D(e,t)}))}var H=1,W=1,G=0,q=0,Y=0,U="";function K(e,t,n,r,o,a,i,l){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:H,column:W,length:i,return:"",siblings:l}}function J(e,t){return R(K("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function X(e){for(;e.root;)e=J(e.root,{children:[e]});j(e,e.siblings)}function Q(){return Y=q<G?_(U,q++):0,W++,10===Y&&(W=1,H++),Y}function Z(){return _(U,q)}function ee(){return q}function te(e,t){return L(U,e,t)}function ne(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function re(e){return T(te(q-1,ie(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(Y=Z())&&Y<33;)Q();return ne(e)>2||ne(Y)>3?"":" "}function ae(e,t){for(;--t&&Q()&&!(Y<48||Y>102||Y>57&&Y<65||Y>70&&Y<97););return te(e,ee()+(t<6&&32==Z()&&32==Q()))}function ie(e){for(;Q();)switch(Y){case e:return q;case 34:case 39:34!==e&&39!==e&&ie(Y);break;case 40:41===e&&ie(e);break;case 92:Q()}return q}function le(e,t){for(;Q()&&e+Y!==57&&(e+Y!==84||47!==Z()););return"/*"+te(t,q-1)+"*"+z(47===e?e:Q())}function se(e){for(;!ne(Z());)Q();return te(e,q)}function ce(e){return function(e){return U="",e}(ue("",null,null,null,[""],e=function(e){return H=W=1,G=F(U=e),q=0,[]}(e),0,[0],e))}function ue(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",w=o,x=a,S=r,C=y;h;)switch(m=b,b=Q()){case 40:if(108!=m&&58==_(C,d-1)){-1!=M(C+=A(re(b),"&","&\f"),"&\f",N(c?l[c-1]:0))&&(v=-1);break}case 34:case 39:case 91:C+=re(b);break;case 9:case 10:case 13:case 32:C+=oe(m);break;case 92:C+=ae(ee()-1,7);continue;case 47:switch(Z()){case 42:case 47:j(pe(le(Q(),ee()),t,n,s),s);break;default:C+="/"}break;case 123*g:l[c++]=F(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=A(C,/\f/g,"")),f>0&&F(C)-d&&j(f>32?fe(C+";",r,n,d-1,s):fe(A(C," ","")+";",r,n,d-2,s),s);break;case 59:C+=";";default:if(j(S=de(C,t,n,c,u,o,l,y,w=[],x=[],d,a),a),123===b)if(0===u)ue(C,t,S,S,w,a,d,l,x);else switch(99===p&&110===_(C,3)?100:p){case 100:case 108:case 109:case 115:ue(e,S,S,r&&j(de(e,S,S,0,0,o,l,y,o,w=[],d,x),x),o,x,d,l,r?w:x);break;default:ue(C,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+F(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==(Y=q>0?_(U,--q):0,W--,10===Y&&(W=1,H--),Y))continue;switch(C+=z(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(F(C)-1)*v,v=1;break;case 64:45===Z()&&(C+=re(Q())),p=Z(),u=d=F(y=C+=se(ee())),b++;break;case 45:45===m&&2==F(C)&&(g=0)}}return a}function de(e,t,n,r,o,a,i,l,s,c,u,d){for(var p=o-1,f=0===o?a:[""],m=V(f),g=0,h=0,v=0;g<r;++g)for(var b=0,y=L(e,p+1,p=N(h=i[g])),w=e;b<m;++b)(w=T(h>0?f[b]+" "+y:A(y,/&\f/g,f[b])))&&(s[v++]=w);return K(e,t,n,0===o?O:l,s,c,u,d)}function pe(e,t,n,r){return K(e,t,n,k,z(Y),L(e,2,-2),0,r)}function fe(e,t,n,r,o){return K(e,t,n,E,L(e,0,r),L(e,r+1,-1),r,o)}function me(e,t,n){switch(function(e,t){return 45^_(e,0)?(((t<<2^_(e,0))<<2^_(e,1))<<2^_(e,2))<<2^_(e,3):0}(e,t)){case 5103:return C+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+e+e;case 4789:return S+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+S+e+x+e+e;case 5936:switch(_(e,t+11)){case 114:return C+e+x+A(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+x+A(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+x+A(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return C+e+x+e+e;case 6165:return C+e+x+"flex-"+e+e;case 5187:return C+e+A(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+x+"flex-$1$2")+e;case 5443:return C+e+x+"flex-item-"+A(e,/flex-|-self/g,"")+(D(e,/flex-|baseline/)?"":x+"grid-row-"+A(e,/flex-|-self/g,""))+e;case 4675:return C+e+x+"flex-line-pack"+A(e,/align-content|flex-|-self/g,"")+e;case 5548:return C+e+x+A(e,"shrink","negative")+e;case 5292:return C+e+x+A(e,"basis","preferred-size")+e;case 6060:return C+"box-"+A(e,"-grow","")+C+e+x+A(e,"grow","positive")+e;case 4554:return C+A(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return A(A(A(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return A(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return A(A(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+x+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4200:if(!D(e,/flex-|baseline/))return x+"grid-column-align"+L(e,t)+e;break;case 2592:case 3360:return x+A(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,D(e.props,/grid-\w+-end/)}))?~M(e+(n=n[t].value),"span",0)?e:x+A(e,"-start","")+e+x+"grid-row-span:"+(~M(n,"span",0)?D(n,/\d+/):+D(n,/\d+/)-+D(e,/\d+/))+";":x+A(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return D(e.props,/grid-\w+-start/)}))?e:x+A(A(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return A(e,/(.+)-inline(.+)/,C+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(F(e)-1-t>6)switch(_(e,t+1)){case 109:if(45!==_(e,t+4))break;case 102:return A(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+S+(108==_(e,t+3)?"$3":"$2-$3"))+e;case 115:return~M(e,"stretch",0)?me(A(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return A(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,l){return x+n+":"+r+l+(o?x+n+"-span:"+(a?i:+i-+r)+l:"")+e}));case 4949:if(121===_(e,t+6))return A(e,":",":"+C)+e;break;case 6444:switch(_(e,45===_(e,14)?18:11)){case 120:return A(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+C+(45===_(e,14)?"inline-":"")+"box$3$1"+C+"$2$3$1"+x+"$2box$3")+e;case 100:return A(e,":",":"+x)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return A(e,"scroll-","scroll-snap-")+e}return e}function ge(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function he(e,t,n,r){switch(e.type){case $:if(e.children.length)break;case I:case E:return e.return=e.return||e.value;case k:return"";case P:return e.return=e.value+"{"+ge(e.children,r)+"}";case O:if(!F(e.value=e.props.join(",")))return""}return F(n=ge(e.children,r))?e.return=e.value+"{"+n+"}":""}function ve(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case E:return void(e.return=me(e.value,e.length,n));case P:return ge([J(e,{value:A(e.value,"@","@"+C)})],r);case O:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(D(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":X(J(e,{props:[A(t,/:(read-\w+)/,":"+S+"$1")]})),X(J(e,{props:[t]})),R(e,{props:B(n,r)});break;case"::placeholder":X(J(e,{props:[A(t,/:(plac\w+)/,":"+C+"input-$1")]})),X(J(e,{props:[A(t,/:(plac\w+)/,":"+S+"$1")]})),X(J(e,{props:[A(t,/:(plac\w+)/,x+"input-$1")]})),X(J(e,{props:[t]})),R(e,{props:B(n,r)})}return""}))}}var be={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},ye="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",we="active",xe="data-styled-version",Se="6.1.11",Ce="/*!sc*/\n",ke="undefined"!=typeof window&&"HTMLElement"in window,Oe=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!==process.env.NODE_ENV),Ee=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n," has been created dynamically.\n")+"You may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",o=console.error;try{var i=!0;console.error=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];Ee.test(e)?(i=!1,Ie.delete(r)):o.apply(void 0,h([e],t,!1))},a(),i&&!Ie.has(r)&&(console.warn(r),Ie.add(r))}catch(e){Ee.test(e.message)&&Ie.delete(r)}finally{console.error=o}}},$e=Object.freeze([]),Ne=Object.freeze({});var ze=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Te=/(^-|-$)/g;function De(e){return e.replace(Re,"-").replace(Te,"")}var Ae=/(a)(d)/gi,Me=52,_e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Le(e){var t,n="";for(t=Math.abs(e);t>Me;t=t/Me|0)n=_e(t%Me)+n;return(_e(t%Me)+n).replace(Ae,"$1-$2")}var Fe,Ve=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},je=function(e){return Ve(5381,e)};function Be(e){return Le(je(e)>>>0)}function He(e){return"production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function We(e){return"string"==typeof e&&("production"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}var Ge="function"==typeof Symbol&&Symbol.for,qe=Ge?Symbol.for("react.memo"):60115,Ye=Ge?Symbol.for("react.forward_ref"):60112,Ue={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ke={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Je={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xe=((Fe={})[Ye]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Fe[qe]=Je,Fe);function Qe(e){return("type"in(t=e)&&t.type.$$typeof)===qe?Je:"$$typeof"in e?Xe[e.$$typeof]:Ue;var t}var Ze=Object.defineProperty,et=Object.getOwnPropertyNames,tt=Object.getOwnPropertySymbols,nt=Object.getOwnPropertyDescriptor,rt=Object.getPrototypeOf,ot=Object.prototype;function at(e,t,n){if("string"!=typeof t){if(ot){var r=rt(t);r&&r!==ot&&at(e,r,n)}var o=et(t);tt&&(o=o.concat(tt(t)));for(var a=Qe(e),i=Qe(t),l=0;l<o.length;++l){var s=o[l];if(!(s in Ke||n&&n[s]||i&&s in i||a&&s in a)){var c=nt(t,s);try{Ze(e,s,c)}catch(e){}}}}return e}function it(e){return"function"==typeof e}function lt(e){return"object"==typeof e&&"styledComponentId"in e}function st(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ct(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=e[r];return n}function ut(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function dt(e,t,n){if(void 0===n&&(n=!1),!n&&!ut(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=dt(e[r],t[r]);else if(ut(t))for(var r in t)e[r]=dt(e[r],t[r]);return e}function pt(e,t){Object.defineProperty(e,"toString",{value:t})}var ft="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function mt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,a=e.length;o<a;o+=1)r.push(e[o]);return r.forEach((function(e){n=n.replace(/%[a-z]/,e)})),n}function gt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return"production"===process.env.NODE_ENV?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(mt.apply(void 0,h([ft[e]],t,!1)).trim())}var ht=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw gt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),l=(a=0,t.length);a<l;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(Ce);return t},e}(),vt=1<<30,bt=new Map,yt=new Map,wt=1,xt=function(e){if(bt.has(e))return bt.get(e);for(;yt.has(wt);)wt++;var t=wt++;if("production"!==process.env.NODE_ENV&&((0|t)<0||t>vt))throw gt(16,"".concat(t));return bt.set(e,t),yt.set(t,e),t},St=function(e,t){wt=t+1,bt.set(e,t),yt.set(t,e)},Ct="style[".concat(ye,"][").concat(xe,'="').concat(Se,'"]'),kt=new RegExp("^".concat(ye,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ot=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},Et=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(Ce),o=[],a=0,i=r.length;a<i;a++){var l=r[a].trim();if(l){var s=l.match(kt);if(s){var c=0|parseInt(s[1],10),u=s[2];0!==c&&(St(u,c),Ot(e,u,s[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(l)}}};var It=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ye,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(ye,we),r.setAttribute(xe,Se);var i="undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null;return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},Pt=function(){function e(e){this.element=It(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw gt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),$t=function(){function e(e){this.element=It(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),Nt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),zt=ke,Rt={isServer:!ke,useCSSOMInjection:!Oe},Tt=function(){function e(e,t,n){void 0===e&&(e=Ne),void 0===t&&(t={});var r=this;this.options=g(g({},Rt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ke&&zt&&(zt=!1,function(e){for(var t=document.querySelectorAll(Ct),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ye)!==we&&(Et(e,o),o.parentNode&&o.parentNode.removeChild(o))}}(this)),pt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return yt.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||0===i.length)return"continue";var l="".concat(ye,".g").concat(n,'[id="').concat(o,'"]'),s="";void 0!==a&&a.forEach((function(e){e.length>0&&(s+="".concat(e,","))})),r+="".concat(i).concat(l,'{content:"').concat(s,'"}').concat(Ce)},a=0;a<n;a++)o(a);return r}(r)}))}return e.registerId=function(e){return xt(e)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(g(g({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new Nt(n):t?new Pt(n):new $t(n)}(this.options),new ht(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(xt(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(xt(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(xt(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Dt=/&/g,At=/^\s*\/\/.*$/gm;function Mt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Mt(e.children,t)),e}))}var _t=new Tt,Lt=function(e){var t,n,r,o=Ne,a=o.options,i=void 0===a?Ne:a,l=o.plugins,s=void 0===l?$e:l,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=s.slice();u.push((function(e){e.type===O&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Dt,n).replace(r,c))})),i.prefix&&u.push(ve),u.push(he);var d=function(e,o,a,l){void 0===o&&(o=""),void 0===a&&(a=""),void 0===l&&(l="&"),t=l,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var s=e.replace(At,""),c=ce(a||o?"".concat(a," ").concat(o," { ").concat(s," }"):s);i.namespace&&(c=Mt(c,i.namespace));var d,p=[];return ge(c,function(e){var t=V(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}(u.concat((d=function(e){return p.push(e)},function(e){e.root||(e=e.return)&&d(e)})))),p};return d.hash=s.length?s.reduce((function(e,t){return t.name||gt(15),Ve(e,t.name)}),5381).toString():"",d}(),Ft=o.createContext({shouldForwardProp:void 0,styleSheet:_t,stylis:Lt});function Vt(){return s(Ft)}Ft.Consumer,o.createContext(void 0);var jt=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Lt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,pt(this,(function(){throw gt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Lt),this.name+e.hash},e}(),Bt=function(e){return e>="A"&&e<="Z"};function Ht(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Bt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Wt=function(e){return null==e||!1===e||""===e},Gt=function(e){var t,n,r=[];for(var o in e){var a=e[o];e.hasOwnProperty(o)&&!Wt(a)&&(Array.isArray(a)&&a.isCss||it(a)?r.push("".concat(Ht(o),":"),a,";"):ut(a)?r.push.apply(r,h(h(["".concat(o," {")],Gt(a),!1),["}"],!1)):r.push("".concat(Ht(o),": ").concat((t=o,null==(n=a)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in be||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function qt(e,t,n,r){if(Wt(e))return[];if(lt(e))return[".".concat(e.styledComponentId)];if(it(e)){if(!it(a=e)||a.prototype&&a.prototype.isReactComponent||!t)return[e];var o=e(t);return"production"===process.env.NODE_ENV||"object"!=typeof o||Array.isArray(o)||o instanceof jt||ut(o)||null===o||console.error("".concat(He(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),qt(o,t,n,r)}var a;return e instanceof jt?n?(e.inject(n,r),[e.getName(r)]):[e]:ut(e)?Gt(e):Array.isArray(e)?Array.prototype.concat.apply($e,e.map((function(e){return qt(e,t,n,r)}))):[e.toString()]}var Yt=je(Se),Ut=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&function(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(it(n)&&!lt(n))return!1}return!0}(e),this.componentId=t,this.baseHash=Ve(Yt,t),this.baseStyle=n,Tt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=st(r,this.staticRulesId);else{var o=ct(qt(this.rules,e,t,n)),a=Le(Ve(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=st(r,a),this.staticRulesId=a}else{for(var l=Ve(this.baseHash,n.hash),s="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)s+=u,"production"!==process.env.NODE_ENV&&(l=Ve(l,u));else if(u){var d=ct(qt(u,e,t,n));l=Ve(l,d+c),s+=d}}if(s){var p=Le(l>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(s,".".concat(p),void 0,this.componentId)),r=st(r,p)}}return r},e}(),Kt=o.createContext(void 0);Kt.Consumer;var Jt={},Xt=new Set;function Qt(e,t,n){var r=lt(e),a=e,s=!We(e),c=t.attrs,u=void 0===c?$e:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":De(e);Jt[n]=(Jt[n]||0)+1;var r="".concat(n,"-").concat(Be(Se+n+Jt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,m=void 0===f?function(e){return We(e)?"styled.".concat(e):"Styled(".concat(He(e),")")}(e):f,h=t.displayName&&t.componentId?"".concat(De(t.displayName),"-").concat(t.componentId):t.componentId||p,v=r&&a.attrs?a.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(r&&a.shouldForwardProp){var w=a.shouldForwardProp;if(t.shouldForwardProp){var x=t.shouldForwardProp;b=function(e,t){return w(e,t)&&x(e,t)}}else b=w}var S=new Ut(n,h,r?a.componentStyle:void 0);function C(e,t){return function(e,t,n){var r=e.attrs,a=e.componentStyle,s=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=o.useContext(Kt),f=Vt(),m=e.shouldForwardProp||f.shouldForwardProp;"production"!==process.env.NODE_ENV&&i(u);var h=function(e,t,n){return void 0===n&&(n=Ne),e.theme!==n.theme&&e.theme||t||n.theme}(t,p,s)||Ne,v=function(e,t,n){for(var r,o=g(g({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var i=it(r=e[a])?r(o):r;for(var l in i)o[l]="className"===l?st(o[l],i[l]):"style"===l?g(g({},o[l]),i[l]):i[l]}return t.className&&(o.className=st(o.className,t.className)),o}(r,t,h),b=v.as||d,w={};for(var x in v)void 0===v[x]||"$"===x[0]||"as"===x||"theme"===x&&v.theme===h||("forwardedAs"===x?w.as=v.forwardedAs:m&&!m(x,b)||(w[x]=v[x],m||"development"!==process.env.NODE_ENV||y(x)||Xt.has(x)||!ze.has(b)||(Xt.add(x),console.warn('styled-components: it looks like an unknown prop "'.concat(x,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var S=function(e,t){var n=Vt(),r=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return"production"!==process.env.NODE_ENV&&i(r),r}(a,v);"production"!==process.env.NODE_ENV&&e.warnTooManyClasses&&e.warnTooManyClasses(S);var C=st(c,u);return S&&(C+=" "+S),v.className&&(C+=" "+v.className),w[We(b)&&!ze.has(b)?"class":"className"]=C,w.ref=n,l(b,w)}(k,e,t)}C.displayName=m;var k=o.forwardRef(C);return k.attrs=v,k.componentStyle=S,k.displayName=m,k.shouldForwardProp=b,k.foldedComponentIds=r?st(a.foldedComponentIds,a.styledComponentId):"",k.styledComponentId=h,k.target=r?a.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)dt(e,o[r],!0);return e}({},a.defaultProps,e):e}}),"production"!==process.env.NODE_ENV&&(Pe(m,h),k.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var a=t?' with the id of "'.concat(t,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(e).concat(a,".\n")+"Consider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={}}}}(m,h)),pt(k,(function(){return".".concat(k.styledComponentId)})),s&&at(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function Zt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var en=function(e){return Object.assign(e,{isCss:!0})};function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(it(e)||ut(e))return en(qt(Zt($e,h([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?qt(r):en(qt(Zt(r,t)))}function nn(e,t,n){if(void 0===n&&(n=Ne),!t)throw gt(1,t);var r=function(r){for(var o=[],a=1;a<arguments.length;a++)o[a-1]=arguments[a];return e(t,n,tn.apply(void 0,h([r],o,!1)))};return r.attrs=function(r){return nn(e,t,g(g({},n),{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return nn(e,t,g(g({},n),r))},r}var rn=function(e){return nn(Qt,e)},on=rn;function an(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");var r=ct(tn.apply(void 0,h([e],t,!1))),o=Be(r);return new jt(o,r)}ze.forEach((function(e){on[e]=rn(e)})),"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");var ln="__sc-".concat(ye,"__");"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window[ln]||(window[ln]=0),1===window[ln]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window[ln]+=1);const sn=on.div`
|
|
2
2
|
color: var(--color--grey-dark);
|
|
3
3
|
font-weight: var(--font-weight--bold);
|
|
4
4
|
|
|
@@ -28,7 +28,7 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
28
28
|
h6 {
|
|
29
29
|
font-size: 0.95rem;
|
|
30
30
|
}
|
|
31
|
-
`;function cn({children:t,as:n}){return n?e(sn,{children:e(n,{children:t})}):null}function un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){mn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pn(e){return pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pn(e)}function fn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||vn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hn(e){return function(e){if(Array.isArray(e))return bn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vn(e,t){if(e){if("string"==typeof e)return bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bn(e,t):void 0}}function bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yn=function(){},wn={},xn={},Sn=null,Cn={mark:yn,measure:yn};try{"undefined"!=typeof window&&(wn=window),"undefined"!=typeof document&&(xn=document),"undefined"!=typeof MutationObserver&&(Sn=MutationObserver),"undefined"!=typeof performance&&(Cn=performance)}catch(e){}var kn=(wn.navigator||{}).userAgent,On=void 0===kn?"":kn,En=wn,In=xn,Pn=Sn,Nn=Cn;En.document;var $n,zn,Rn,Tn,Dn,An=!!In.documentElement&&!!In.head&&"function"==typeof In.addEventListener&&"function"==typeof In.createElement,Mn=~On.indexOf("MSIE")||~On.indexOf("Trident/"),_n="___FONT_AWESOME___",Ln=16,Fn="fa",Vn="svg-inline--fa",jn="data-fa-i2svg",Bn="data-fa-pseudo-element",Hn="data-fa-pseudo-element-pending",Wn="data-prefix",Gn="data-icon",qn="fontawesome-i2svg",Yn="async",Un=["HTML","HEAD","STYLE","SCRIPT"],Kn=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}(),Jn="classic",Xn="sharp",Qn=[Jn,Xn];function Zn(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[Jn]}})}var er=Zn((mn($n={},Jn,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),mn($n,Xn,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),$n)),tr=Zn((mn(zn={},Jn,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),mn(zn,Xn,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),zn)),nr=Zn((mn(Rn={},Jn,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),mn(Rn,Xn,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Rn)),rr=Zn((mn(Tn={},Jn,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),mn(Tn,Xn,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Tn)),or=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,ar="fa-layers-text",ir=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,lr=Zn((mn(Dn={},Jn,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),mn(Dn,Xn,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Dn)),sr=[1,2,3,4,5,6,7,8,9,10],cr=sr.concat([11,12,13,14,15,16,17,18,19,20]),ur=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],dr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pr=new Set;Object.keys(tr[Jn]).map(pr.add.bind(pr)),Object.keys(tr[Xn]).map(pr.add.bind(pr));var fr=[].concat(Qn,hn(pr),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",dr.GROUP,dr.SWAP_OPACITY,dr.PRIMARY,dr.SECONDARY]).concat(sr.map((function(e){return"".concat(e,"x")}))).concat(cr.map((function(e){return"w-".concat(e)}))),mr=En.FontAwesomeConfig||{};if(In&&"function"==typeof In.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=gn(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=In.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(mr[r]=o)}))}var gr={styleDefault:"solid",familyDefault:"classic",cssPrefix:Fn,replacementClass:Vn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};mr.familyPrefix&&(mr.cssPrefix=mr.familyPrefix);var hr=dn(dn({},gr),mr);hr.autoReplaceSvg||(hr.observeMutations=!1);var vr={};Object.keys(gr).forEach((function(e){Object.defineProperty(vr,e,{enumerable:!0,set:function(t){hr[e]=t,br.forEach((function(e){return e(vr)}))},get:function(){return hr[e]}})})),Object.defineProperty(vr,"familyPrefix",{enumerable:!0,set:function(e){hr.cssPrefix=e,br.forEach((function(e){return e(vr)}))},get:function(){return hr.cssPrefix}}),En.FontAwesomeConfig=vr;var br=[];var yr=Ln,wr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var xr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Sr(){for(var e=12,t="";e-- >0;)t+=xr[62*Math.random()|0];return t}function Cr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function kr(e){return e.classList?Cr(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Or(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Er(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ir(e){return e.size!==wr.size||e.x!==wr.x||e.y!==wr.y||e.rotate!==wr.rotate||e.flipX||e.flipY}var Pr=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function Nr(){var e=Fn,t=Vn,n=vr.cssPrefix,r=vr.replacementClass,o=Pr;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return o}var $r=!1;function zr(){vr.autoAddCss&&!$r&&(!function(e){if(e&&An){var t=In.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=In.head.childNodes,r=null,o=n.length-1;o>-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}In.head.insertBefore(t,r)}}(Nr()),$r=!0)}var Rr={mixout:function(){return{dom:{css:Nr,insertCss:zr}}},hooks:function(){return{beforeDOMElementCreation:function(){zr()},beforeI2svg:function(){zr()}}}},Tr=En||{};Tr[_n]||(Tr[_n]={}),Tr[_n].styles||(Tr[_n].styles={}),Tr[_n].hooks||(Tr[_n].hooks={}),Tr[_n].shims||(Tr[_n].shims=[]);var Dr=Tr[_n],Ar=[],Mr=!1;function _r(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?Or(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Or(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(_r).join(""),"</").concat(t,">")}function Lr(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}An&&((Mr=(In.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(In.readyState))||In.addEventListener("DOMContentLoaded",(function e(){In.removeEventListener("DOMContentLoaded",e),Mr=1,Ar.map((function(e){return e()}))})));var Fr,Vr,jr,Br=function(e,t,n,r){var o,a,i,l=Object.keys(e),s=l.length,c=t;for(void 0===n?(o=1,i=e[l[0]]):(o=0,i=n);o<s;o++)i=c(i,e[a=l[o]],a,e);return i};function Hr(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&o)<<10)+(1023&a)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Wr(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Gr(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Wr(t);"function"!=typeof Dr.hooks.addPack||r?Dr.styles[e]=dn(dn({},Dr.styles[e]||{}),o):Dr.hooks.addPack(e,Wr(t)),"fas"===e&&Gr("fa",t)}var qr=Dr.styles,Yr=Dr.shims,Ur=(mn(Fr={},Jn,Object.values(nr[Jn])),mn(Fr,Xn,Object.values(nr[Xn])),Fr),Kr=null,Jr={},Xr={},Qr={},Zr={},eo={},to=(mn(Vr={},Jn,Object.keys(er[Jn])),mn(Vr,Xn,Object.keys(er[Xn])),Vr);function no(e,t){var n,r=t.split("-"),o=r[0],a=r.slice(1).join("-");return o!==e||""===a||(n=a,~fr.indexOf(n))?null:a}var ro,oo=function(){var e=function(e){return Br(qr,(function(t,n,r){return t[r]=Br(n,e,{}),t}),{})};Jr=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Xr=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),eo=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in qr||vr.autoFetchSvg,n=Br(Yr,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:a}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:a}),e}),{names:{},unicodes:{}});Qr=n.names,Zr=n.unicodes,Kr=uo(vr.styleDefault,{family:vr.familyDefault})};function ao(e,t){return(Jr[e]||{})[t]}function io(e,t){return(eo[e]||{})[t]}function lo(e){return Qr[e]||{prefix:null,iconName:null}}function so(){return Kr}ro=function(e){Kr=uo(e.styleDefault,{family:vr.familyDefault})},br.push(ro),oo();var co=function(){return{prefix:null,iconName:null,rest:[]}};function uo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?Jn:t,r=er[n][e],o=tr[n][e]||tr[n][r],a=e in Dr.styles?e:null;return o||a||null}var po=(mn(jr={},Jn,Object.keys(nr[Jn])),mn(jr,Xn,Object.keys(nr[Xn])),jr);function fo(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,o=(mn(t={},Jn,"".concat(vr.cssPrefix,"-").concat(Jn)),mn(t,Xn,"".concat(vr.cssPrefix,"-").concat(Xn)),t),a=null,i=Jn;(e.includes(o[Jn])||e.some((function(e){return po[Jn].includes(e)})))&&(i=Jn),(e.includes(o[Xn])||e.some((function(e){return po[Xn].includes(e)})))&&(i=Xn);var l=e.reduce((function(e,t){var n=no(vr.cssPrefix,t);if(qr[t]?(t=Ur[i].includes(t)?rr[i][t]:t,a=t,e.prefix=t):to[i].indexOf(t)>-1?(a=t,e.prefix=uo(t,{family:i})):n?e.iconName=n:t!==vr.replacementClass&&t!==o[Jn]&&t!==o[Xn]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var l="fa"===a?lo(e.iconName):{},s=io(e.prefix,e.iconName);l.prefix&&(a=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||qr.far||!qr.fas||vr.autoFetchSvg||(e.prefix="fas")}return e}),co());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==Xn||!qr.fass&&!vr.autoFetchSvg||(l.prefix="fass",l.iconName=io(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=so()||"fas"),l}var mo=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}return fn(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=dn(dn({},e.definitions[t]||{}),o[t]),Gr(t,o[t]);var n=nr[Jn][t];n&&Gr(n,o[t]),oo()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,a=r.iconName,i=r.icon,l=i[2];e[o]||(e[o]={}),l.length>0&&l.forEach((function(t){"string"==typeof t&&(e[o][t]=i)})),e[o][a]=i})),e}}]),e}(),go=[],ho={},vo={},bo=Object.keys(vo);function yo(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(ho[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function wo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(ho[e]||[]).forEach((function(e){e.apply(null,n)}))}function xo(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return vo[e]?vo[e].apply(null,t):void 0}function So(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||so();if(t)return t=io(n,t)||t,Lr(Co.definitions,n,t)||Lr(Dr.styles,n,t)}var Co=new mo,ko={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return An?(wo("beforeI2svg",e),xo("pseudoElements2svg",e),xo("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===vr.autoReplaceSvg&&(vr.autoReplaceSvg=!0),vr.observeMutations=!0,e=function(){Io({autoReplaceSvgRoot:n}),wo("watch",t)},An&&(Mr?setTimeout(e,0):Ar.push(e))}},Oo={icon:function(e){if(null===e)return null;if("object"===pn(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:io(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=uo(e[0]);return{prefix:n,iconName:io(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(vr.cssPrefix,"-"))>-1||e.match(or))){var r=fo(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||so(),iconName:io(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=so();return{prefix:o,iconName:io(o,e)||e}}}},Eo={noAuto:function(){vr.autoReplaceSvg=!1,vr.observeMutations=!1,wo("noAuto")},config:vr,dom:ko,parse:Oo,library:Co,findIconDefinition:So,toHtml:_r},Io=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?In:e;(Object.keys(Dr.styles).length>0||vr.autoFetchSvg)&&An&&vr.autoReplaceSvg&&Eo.dom.i2svg({node:t})};function Po(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return _r(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(An){var t=In.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function No(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,g=m.width,h=m.height,v="fak"===o,b=[vr.replacementClass,a?"".concat(vr.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),y={children:[],attributes:dn(dn({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};f&&(y.attributes[jn]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Sr())},children:[s]}),delete y.attributes.title);var x=dn(dn({},y),{},{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:dn(dn({},w),d.styles)}),S=r.found&&n.found?xo("generateAbstractMask",x)||{children:[],attributes:{}}:xo("generateAbstractIcon",x)||{children:[],attributes:{}},C=S.children,k=S.attributes;return x.children=C,x.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,i=!0===a?"".concat(t,"-").concat(vr.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:dn(dn({},o),{},{id:i}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(Ir(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=Er(dn(dn({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(x)}function $o(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=dn(dn(dn({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(c[jn]="");var u=dn({},i.styles);Ir(o)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?Ln:n,o=e.height,a=void 0===o?Ln:o,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&Mn?"translate(".concat(t.x/yr-r/2,"em, ").concat(t.y/yr-a/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/yr,"em), calc(-50% + ").concat(t.y/yr,"em)) "):"translate(".concat(t.x/yr,"em, ").concat(t.y/yr,"em) "),s+="scale(".concat(t.size/yr*(t.flipX?-1:1),", ").concat(t.size/yr*(t.flipY?-1:1),") "),s+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=Er(u);d.length>0&&(c.style=d);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var zo=Dr.styles;function Ro(e){var t=e[0],n=e[1],r=gn(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(vr.cssPrefix,"-").concat(dr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(vr.cssPrefix,"-").concat(dr.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(vr.cssPrefix,"-").concat(dr.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var To={found:!1,width:512,height:512};function Do(e,t){var n=t;return"fa"===t&&null!==vr.styleDefault&&(t=so()),new Promise((function(r,o){if(xo("missingIconAbstract"),"fa"===n){var a=lo(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&zo[t]&&zo[t][e])return r(Ro(zo[t][e]));!function(e,t){Kn||vr.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(dn(dn({},To),{},{icon:vr.showMissingIcons&&e&&xo("missingIconAbstract")||{}}))}))}var Ao=function(){},Mo=vr.measurePerformance&&Nn&&Nn.mark&&Nn.measure?Nn:{mark:Ao,measure:Ao},_o='FA "6.5.2"',Lo=function(e){Mo.mark("".concat(_o," ").concat(e," ends")),Mo.measure("".concat(_o," ").concat(e),"".concat(_o," ").concat(e," begins"),"".concat(_o," ").concat(e," ends"))},Fo={begin:function(e){return Mo.mark("".concat(_o," ").concat(e," begins")),function(){return Lo(e)}},end:Lo},Vo=function(){};function jo(e){return"string"==typeof(e.getAttribute?e.getAttribute(jn):null)}function Bo(e){return In.createElementNS("http://www.w3.org/2000/svg",e)}function Ho(e){return In.createElement(e)}function Wo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Bo:Ho:t;if("string"==typeof e)return In.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Wo(e,{ceFn:n}))})),r}var Go={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Wo(e),t)})),null===t.getAttribute(jn)&&vr.keepOriginalSource){var n=In.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~kr(t).indexOf(vr.replacementClass))return Go.replace(e);var r=new RegExp("".concat(vr.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===vr.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=n.map((function(e){return _r(e)})).join("\n");t.setAttribute(jn,""),t.innerHTML=a}};function qo(e){e()}function Yo(e,t){var n="function"==typeof t?t:Vo;if(0===e.length)n();else{var r=qo;vr.mutateApproach===Yn&&(r=En.requestAnimationFrame||qo),r((function(){var t=!0===vr.autoReplaceSvg?Go.replace:Go[vr.autoReplaceSvg]||Go.replace,r=Fo.begin("mutate");e.map(t),r(),n()}))}}var Uo=!1;function Ko(){Uo=!0}function Jo(){Uo=!1}var Xo=null;function Qo(e){if(Pn&&vr.observeMutations){var t=e.treeCallback,n=void 0===t?Vo:t,r=e.nodeCallback,o=void 0===r?Vo:r,a=e.pseudoElementsCallback,i=void 0===a?Vo:a,l=e.observeMutationsRoot,s=void 0===l?In:l;Xo=new Pn((function(e){if(!Uo){var t=so();Cr(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!jo(e.addedNodes[0])&&(vr.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&vr.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&jo(e.target)&&~ur.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Wn):null,n=e.getAttribute?e.getAttribute(Gn):null;return t&&n}(e.target)){var r=fo(kr(e.target)),a=r.prefix,l=r.iconName;e.target.setAttribute(Wn,a||t),l&&e.target.setAttribute(Gn,l)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(vr.replacementClass)})(e.target)&&o(e.target)}))}})),An&&Xo.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zo(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=fo(kr(e));return o.prefix||(o.prefix=so()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Xr[e]||{})[t]}(o.prefix,e.innerText)||ao(o.prefix,Hr(e.innerText))),!o.iconName&&vr.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function ea(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Zo(e),r=n.iconName,o=n.prefix,a=n.rest,i=function(e){var t=Cr(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return vr.autoA11y&&(n?t["aria-labelledby"]="".concat(vr.replacementClass,"-title-").concat(r||Sr()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=yo("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return dn({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:wr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:i}},l)}var ta=Dr.styles;function na(e){var t="nest"===vr.autoReplaceSvg?ea(e,{styleParser:!1}):ea(e);return~t.extra.classes.indexOf(ar)?xo("generateLayersText",e,t):xo("generateSvgReplacementMutation",e,t)}var ra=new Set;function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!An)return Promise.resolve();var n=In.documentElement.classList,r=function(e){return n.add("".concat(qn,"-").concat(e))},o=function(e){return n.remove("".concat(qn,"-").concat(e))},a=vr.autoFetchSvg?ra:Qn.map((function(e){return"fa-".concat(e)})).concat(Object.keys(ta));a.includes("fa")||a.push("fa");var i=[".".concat(ar,":not([").concat(jn,"])")].concat(a.map((function(e){return".".concat(e,":not([").concat(jn,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=Cr(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),o("complete");var s=Fo.begin("onTree"),c=l.reduce((function(e,t){try{var n=na(t);n&&e.push(n)}catch(e){Kn||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Yo(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function aa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;na(e).then((function(e){e&&Yo([e],t)}))}function ia(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:So(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:So(o||{})),e(r,dn(dn({},n),{},{mask:o}))}}Qn.map((function(e){ra.add("fa-".concat(e))})),Object.keys(er[Jn]).map(ra.add.bind(ra)),Object.keys(er[Xn]).map(ra.add.bind(ra)),ra=hn(ra);var la=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?wr:n,o=t.symbol,a=void 0!==o&&o,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,d=void 0===u?null:u,p=t.titleId,f=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,h=t.attributes,v=void 0===h?{}:h,b=t.styles,y=void 0===b?{}:b;if(e){var w=e.prefix,x=e.iconName,S=e.icon;return Po(dn({type:"icon"},e),(function(){return wo("beforeDOMElementCreation",{iconDefinition:e,params:t}),vr.autoA11y&&(d?v["aria-labelledby"]="".concat(vr.replacementClass,"-title-").concat(f||Sr()):(v["aria-hidden"]="true",v.focusable="false")),No({icons:{main:Ro(S),mask:l?Ro(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:dn(dn({},wr),r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:v,styles:y,classes:g}})}))}},sa={mixout:function(){return{icon:ia(la)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=oa,e.nodeCallback=aa,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?In:t,r=e.callback;return oa(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,a=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([Do(n,a),s.iconName?Do(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=gn(s,2),p=d[0],f=d[1];t([e,No({icons:{main:p,mask:f},prefix:a,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:o,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.transform,i=Er(e.styles);return i.length>0&&(r.style=i),Ir(a)&&(t=xo("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},ca={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Po({type:"layer"},(function(){wo("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(vr.cssPrefix,"-layers")].concat(hn(r)).join(" ")},children:n}]}))}}}},ua={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,a=void 0===o?[]:o,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return Po({type:"counter",content:e},(function(){return wo("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=dn(dn(dn({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Er(r.styles);a.length>0&&(o.style=a);var i=[];return i.push({tag:"span",attributes:o,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(vr.cssPrefix,"-layers-counter")].concat(hn(a))}})}))}}}},da={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?wr:n,o=t.title,a=void 0===o?null:o,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,d=void 0===u?{}:u;return Po({type:"text",content:e},(function(){return wo("beforeDOMElementCreation",{content:e,params:t}),$o({content:e,transform:dn(dn({},wr),r),title:a,extra:{attributes:c,styles:d,classes:["".concat(vr.cssPrefix,"-layers-text")].concat(hn(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,a=null,i=null;if(Mn){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/l,i=s.height/l}return vr.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,$o({content:e.innerHTML,width:a,height:i,transform:r,title:n,extra:o,watchable:!0})])}}},pa=new RegExp('"',"ug"),fa=[1105920,1112319];function ma(e,t){var n="".concat(Hn).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,i,l,s=Cr(e.children).filter((function(e){return e.getAttribute(Bn)===t}))[0],c=En.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(ir),d=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==p&&""!==p){var f=c.getPropertyValue("content"),m=~["Sharp"].indexOf(u[2])?Xn:Jn,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?tr[m][u[2].toLowerCase()]:lr[m][d],h=function(e){var t,n,r,o,a,i=e.replace(pa,""),l=(n=0,o=(t=i).length,(a=t.charCodeAt(n))>=55296&&a<=56319&&o>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(a-55296)+r-56320+65536:a),s=l>=fa[0]&&l<=fa[1],c=2===i.length&&i[0]===i[1];return{value:Hr(c?i[0]:i),isSecondary:s||c}}(f),v=h.value,b=h.isSecondary,y=u[0].startsWith("FontAwesome"),w=ao(g,v),x=w;if(y){var S=(i=Zr[a=v],l=ao("fas",a),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});S.iconName&&S.prefix&&(w=S.iconName,g=S.prefix)}if(!w||b||s&&s.getAttribute(Wn)===g&&s.getAttribute(Gn)===x)r();else{e.setAttribute(n,x),s&&e.removeChild(s);var C={iconName:null,title:null,titleId:null,prefix:null,transform:wr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=C.extra;k.attributes[Bn]=t,Do(w,g).then((function(o){var a=No(dn(dn({},C),{},{icons:{main:o,mask:co()},prefix:g,iconName:x,extra:k,watchable:!0})),i=In.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=a.map((function(e){return _r(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ga(e){return Promise.all([ma(e,"::before"),ma(e,"::after")])}function ha(e){return!(e.parentNode===document.head||~Un.indexOf(e.tagName.toUpperCase())||e.getAttribute(Bn)||e.parentNode&&"svg"===e.parentNode.tagName)}function va(e){if(An)return new Promise((function(t,n){var r=Cr(e.querySelectorAll("*")).filter(ha).map(ga),o=Fo.begin("searchPseudoElements");Ko(),Promise.all(r).then((function(){o(),Jo(),t()})).catch((function(){o(),Jo(),n()}))}))}var ba={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=va,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?In:t;vr.searchPseudoElements&&va(n)}}},ya=!1,wa=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},xa={mixout:function(){return{parse:{transform:function(e){return wa(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=wa(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),c={outer:a,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:dn({},c.outer),children:[{tag:"g",attributes:dn({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:dn(dn({},t.icon.attributes),c.path)}]}]}}}},Sa={x:0,y:0,width:"100%",height:"100%"};function Ca(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ka={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?fo(n.split(" ").map((function(e){return e.trim()}))):co();return r.prefix||(r.prefix=so()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,l=e.transform,s=o.width,c=o.icon,u=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),f={tag:"rect",attributes:dn(dn({},Sa),{},{fill:"white"})},m=c.children?{children:c.children.map(Ca)}:{},g={tag:"g",attributes:dn({},p.inner),children:[Ca(dn({tag:c.tag,attributes:dn(dn({},c.attributes),p.path)},m))]},h={tag:"g",attributes:dn({},p.outer),children:[g]},v="mask-".concat(i||Sr()),b="clip-".concat(i||Sr()),y={tag:"mask",attributes:dn(dn({},Sa),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,h]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(w,{tag:"rect",attributes:dn({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Sa)}),{children:n,attributes:r}}}},Oa={provides:function(e){var t=!1;En.matchMedia&&(t=En.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:dn(dn({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=dn(dn({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:dn(dn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:dn(dn({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:dn(dn({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:dn(dn({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:dn(dn({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:dn(dn({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:dn(dn({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Ea=[Rr,sa,ca,ua,da,ba,{mixout:function(){return{dom:{unwatch:function(){Ko(),ya=!0}}}},hooks:function(){return{bootstrap:function(){Qo(yo("mutationObserverCallbacks",{}))},noAuto:function(){Xo&&Xo.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ya?Jo():Qo(yo("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},xa,ka,Oa,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];!function(e,t){var n=t.mixoutsTo;go=e,ho={},Object.keys(vo).forEach((function(e){-1===bo.indexOf(e)&&delete vo[e]})),go.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===pn(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){ho[e]||(ho[e]=[]),ho[e].push(r[e])}))}e.provides&&e.provides(vo)}))}(Ea,{mixoutsTo:Eo});var Ia,Pa=Eo.library,Na=Eo.parse,$a=Eo.icon,za={exports:{}},Ra={exports:{}},Ta={};var Da,Aa,Ma,_a,La,Fa,Va,ja,Ba,Ha,Wa,Ga,qa,Ya,Ua={};
|
|
31
|
+
`;function cn({children:t,as:n}){return n?e(sn,{children:e(n,{children:t})}):null}function un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function dn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?un(Object(n),!0).forEach((function(t){mn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pn(e){return pn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pn(e)}function fn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function mn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,a=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw o}}return a}(e,t)||vn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function hn(e){return function(e){if(Array.isArray(e))return bn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vn(e,t){if(e){if("string"==typeof e)return bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bn(e,t):void 0}}function bn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var yn=function(){},wn={},xn={},Sn=null,Cn={mark:yn,measure:yn};try{"undefined"!=typeof window&&(wn=window),"undefined"!=typeof document&&(xn=document),"undefined"!=typeof MutationObserver&&(Sn=MutationObserver),"undefined"!=typeof performance&&(Cn=performance)}catch(e){}var kn=(wn.navigator||{}).userAgent,On=void 0===kn?"":kn,En=wn,In=xn,Pn=Sn,$n=Cn;En.document;var Nn,zn,Rn,Tn,Dn,An=!!In.documentElement&&!!In.head&&"function"==typeof In.addEventListener&&"function"==typeof In.createElement,Mn=~On.indexOf("MSIE")||~On.indexOf("Trident/"),_n="___FONT_AWESOME___",Ln=16,Fn="fa",Vn="svg-inline--fa",jn="data-fa-i2svg",Bn="data-fa-pseudo-element",Hn="data-fa-pseudo-element-pending",Wn="data-prefix",Gn="data-icon",qn="fontawesome-i2svg",Yn="async",Un=["HTML","HEAD","STYLE","SCRIPT"],Kn=function(){try{return"production"===process.env.NODE_ENV}catch(e){return!1}}(),Jn="classic",Xn="sharp",Qn=[Jn,Xn];function Zn(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e[Jn]}})}var er=Zn((mn(Nn={},Jn,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),mn(Nn,Xn,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Nn)),tr=Zn((mn(zn={},Jn,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),mn(zn,Xn,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),zn)),nr=Zn((mn(Rn={},Jn,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),mn(Rn,Xn,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Rn)),rr=Zn((mn(Tn={},Jn,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),mn(Tn,Xn,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Tn)),or=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,ar="fa-layers-text",ir=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,lr=Zn((mn(Dn={},Jn,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),mn(Dn,Xn,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),Dn)),sr=[1,2,3,4,5,6,7,8,9,10],cr=sr.concat([11,12,13,14,15,16,17,18,19,20]),ur=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],dr={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},pr=new Set;Object.keys(tr[Jn]).map(pr.add.bind(pr)),Object.keys(tr[Xn]).map(pr.add.bind(pr));var fr=[].concat(Qn,hn(pr),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",dr.GROUP,dr.SWAP_OPACITY,dr.PRIMARY,dr.SECONDARY]).concat(sr.map((function(e){return"".concat(e,"x")}))).concat(cr.map((function(e){return"w-".concat(e)}))),mr=En.FontAwesomeConfig||{};if(In&&"function"==typeof In.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=gn(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=In.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(mr[r]=o)}))}var gr={styleDefault:"solid",familyDefault:"classic",cssPrefix:Fn,replacementClass:Vn,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};mr.familyPrefix&&(mr.cssPrefix=mr.familyPrefix);var hr=dn(dn({},gr),mr);hr.autoReplaceSvg||(hr.observeMutations=!1);var vr={};Object.keys(gr).forEach((function(e){Object.defineProperty(vr,e,{enumerable:!0,set:function(t){hr[e]=t,br.forEach((function(e){return e(vr)}))},get:function(){return hr[e]}})})),Object.defineProperty(vr,"familyPrefix",{enumerable:!0,set:function(e){hr.cssPrefix=e,br.forEach((function(e){return e(vr)}))},get:function(){return hr.cssPrefix}}),En.FontAwesomeConfig=vr;var br=[];var yr=Ln,wr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};var xr="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Sr(){for(var e=12,t="";e-- >0;)t+=xr[62*Math.random()|0];return t}function Cr(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function kr(e){return e.classList?Cr(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function Or(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Er(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function Ir(e){return e.size!==wr.size||e.x!==wr.x||e.y!==wr.y||e.rotate!==wr.rotate||e.flipX||e.flipY}var Pr=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 0));\n transform: rotate(var(--fa-rotate-angle, 0));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function $r(){var e=Fn,t=Vn,n=vr.cssPrefix,r=vr.replacementClass,o=Pr;if(n!==e||r!==t){var a=new RegExp("\\.".concat(e,"\\-"),"g"),i=new RegExp("\\--".concat(e,"\\-"),"g"),l=new RegExp("\\.".concat(t),"g");o=o.replace(a,".".concat(n,"-")).replace(i,"--".concat(n,"-")).replace(l,".".concat(r))}return o}var Nr=!1;function zr(){vr.autoAddCss&&!Nr&&(!function(e){if(e&&An){var t=In.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=In.head.childNodes,r=null,o=n.length-1;o>-1;o--){var a=n[o],i=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(r=a)}In.head.insertBefore(t,r)}}($r()),Nr=!0)}var Rr={mixout:function(){return{dom:{css:$r,insertCss:zr}}},hooks:function(){return{beforeDOMElementCreation:function(){zr()},beforeI2svg:function(){zr()}}}},Tr=En||{};Tr[_n]||(Tr[_n]={}),Tr[_n].styles||(Tr[_n].styles={}),Tr[_n].hooks||(Tr[_n].hooks={}),Tr[_n].shims||(Tr[_n].shims=[]);var Dr=Tr[_n],Ar=[],Mr=!1;function _r(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,a=void 0===o?[]:o;return"string"==typeof e?Or(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Or(e[n]),'" ')}),"").trim()}(r),">").concat(a.map(_r).join(""),"</").concat(t,">")}function Lr(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}An&&((Mr=(In.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(In.readyState))||In.addEventListener("DOMContentLoaded",(function e(){In.removeEventListener("DOMContentLoaded",e),Mr=1,Ar.map((function(e){return e()}))})));var Fr,Vr,jr,Br=function(e,t,n,r){var o,a,i,l=Object.keys(e),s=l.length,c=t;for(void 0===n?(o=1,i=e[l[0]]):(o=0,i=n);o<s;o++)i=c(i,e[a=l[o]],a,e);return i};function Hr(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&o)<<10)+(1023&a)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Wr(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Gr(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==n&&n,o=Wr(t);"function"!=typeof Dr.hooks.addPack||r?Dr.styles[e]=dn(dn({},Dr.styles[e]||{}),o):Dr.hooks.addPack(e,Wr(t)),"fas"===e&&Gr("fa",t)}var qr=Dr.styles,Yr=Dr.shims,Ur=(mn(Fr={},Jn,Object.values(nr[Jn])),mn(Fr,Xn,Object.values(nr[Xn])),Fr),Kr=null,Jr={},Xr={},Qr={},Zr={},eo={},to=(mn(Vr={},Jn,Object.keys(er[Jn])),mn(Vr,Xn,Object.keys(er[Xn])),Vr);function no(e,t){var n,r=t.split("-"),o=r[0],a=r.slice(1).join("-");return o!==e||""===a||(n=a,~fr.indexOf(n))?null:a}var ro,oo=function(){var e=function(e){return Br(qr,(function(t,n,r){return t[r]=Br(n,e,{}),t}),{})};Jr=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),Xr=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),eo=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in qr||vr.autoFetchSvg,n=Br(Yr,(function(e,n){var r=n[0],o=n[1],a=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:a}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:a}),e}),{names:{},unicodes:{}});Qr=n.names,Zr=n.unicodes,Kr=uo(vr.styleDefault,{family:vr.familyDefault})};function ao(e,t){return(Jr[e]||{})[t]}function io(e,t){return(eo[e]||{})[t]}function lo(e){return Qr[e]||{prefix:null,iconName:null}}function so(){return Kr}ro=function(e){Kr=uo(e.styleDefault,{family:vr.familyDefault})},br.push(ro),oo();var co=function(){return{prefix:null,iconName:null,rest:[]}};function uo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,n=void 0===t?Jn:t,r=er[n][e],o=tr[n][e]||tr[n][r],a=e in Dr.styles?e:null;return o||a||null}var po=(mn(jr={},Jn,Object.keys(nr[Jn])),mn(jr,Xn,Object.keys(nr[Xn])),jr);function fo(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,r=void 0!==n&&n,o=(mn(t={},Jn,"".concat(vr.cssPrefix,"-").concat(Jn)),mn(t,Xn,"".concat(vr.cssPrefix,"-").concat(Xn)),t),a=null,i=Jn;(e.includes(o[Jn])||e.some((function(e){return po[Jn].includes(e)})))&&(i=Jn),(e.includes(o[Xn])||e.some((function(e){return po[Xn].includes(e)})))&&(i=Xn);var l=e.reduce((function(e,t){var n=no(vr.cssPrefix,t);if(qr[t]?(t=Ur[i].includes(t)?rr[i][t]:t,a=t,e.prefix=t):to[i].indexOf(t)>-1?(a=t,e.prefix=uo(t,{family:i})):n?e.iconName=n:t!==vr.replacementClass&&t!==o[Jn]&&t!==o[Xn]&&e.rest.push(t),!r&&e.prefix&&e.iconName){var l="fa"===a?lo(e.iconName):{},s=io(e.prefix,e.iconName);l.prefix&&(a=null),e.iconName=l.iconName||s||e.iconName,e.prefix=l.prefix||e.prefix,"far"!==e.prefix||qr.far||!qr.fas||vr.autoFetchSvg||(e.prefix="fas")}return e}),co());return(e.includes("fa-brands")||e.includes("fab"))&&(l.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(l.prefix="fad"),l.prefix||i!==Xn||!qr.fass&&!vr.autoFetchSvg||(l.prefix="fass",l.iconName=io(l.prefix,l.iconName)||l.iconName),"fa"!==l.prefix&&"fa"!==a||(l.prefix=so()||"fas"),l}var mo=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}return fn(e,[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n.reduce(this._pullDefinitions,{});Object.keys(o).forEach((function(t){e.definitions[t]=dn(dn({},e.definitions[t]||{}),o[t]),Gr(t,o[t]);var n=nr[Jn][t];n&&Gr(n,o[t]),oo()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,a=r.iconName,i=r.icon,l=i[2];e[o]||(e[o]={}),l.length>0&&l.forEach((function(t){"string"==typeof t&&(e[o][t]=i)})),e[o][a]=i})),e}}]),e}(),go=[],ho={},vo={},bo=Object.keys(vo);function yo(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return(ho[e]||[]).forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function wo(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(ho[e]||[]).forEach((function(e){e.apply(null,n)}))}function xo(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return vo[e]?vo[e].apply(null,t):void 0}function So(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||so();if(t)return t=io(n,t)||t,Lr(Co.definitions,n,t)||Lr(Dr.styles,n,t)}var Co=new mo,ko={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return An?(wo("beforeI2svg",e),xo("pseudoElements2svg",e),xo("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.autoReplaceSvgRoot;!1===vr.autoReplaceSvg&&(vr.autoReplaceSvg=!0),vr.observeMutations=!0,e=function(){Io({autoReplaceSvgRoot:n}),wo("watch",t)},An&&(Mr?setTimeout(e,0):Ar.push(e))}},Oo={icon:function(e){if(null===e)return null;if("object"===pn(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:io(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=uo(e[0]);return{prefix:n,iconName:io(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(vr.cssPrefix,"-"))>-1||e.match(or))){var r=fo(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||so(),iconName:io(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=so();return{prefix:o,iconName:io(o,e)||e}}}},Eo={noAuto:function(){vr.autoReplaceSvg=!1,vr.observeMutations=!1,wo("noAuto")},config:vr,dom:ko,parse:Oo,library:Co,findIconDefinition:So,toHtml:_r},Io=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,t=void 0===e?In:e;(Object.keys(Dr.styles).length>0||vr.autoFetchSvg)&&An&&vr.autoReplaceSvg&&Eo.dom.i2svg({node:t})};function Po(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return _r(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(An){var t=In.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function $o(e){var t=e.icons,n=t.main,r=t.mask,o=e.prefix,a=e.iconName,i=e.transform,l=e.symbol,s=e.title,c=e.maskId,u=e.titleId,d=e.extra,p=e.watchable,f=void 0!==p&&p,m=r.found?r:n,g=m.width,h=m.height,v="fak"===o,b=[vr.replacementClass,a?"".concat(vr.cssPrefix,"-").concat(a):""].filter((function(e){return-1===d.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(d.classes).join(" "),y={children:[],attributes:dn(dn({},d.attributes),{},{"data-prefix":o,"data-icon":a,class:b,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},w=v&&!~d.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};f&&(y.attributes[jn]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(u||Sr())},children:[s]}),delete y.attributes.title);var x=dn(dn({},y),{},{prefix:o,iconName:a,main:n,mask:r,maskId:c,transform:i,symbol:l,styles:dn(dn({},w),d.styles)}),S=r.found&&n.found?xo("generateAbstractMask",x)||{children:[],attributes:{}}:xo("generateAbstractIcon",x)||{children:[],attributes:{}},C=S.children,k=S.attributes;return x.children=C,x.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,o=e.attributes,a=e.symbol,i=!0===a?"".concat(t,"-").concat(vr.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:dn(dn({},o),{},{id:i}),children:r}]}]}(x):function(e){var t=e.children,n=e.main,r=e.mask,o=e.attributes,a=e.styles,i=e.transform;if(Ir(i)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};o.style=Er(dn(dn({},a),{},{"transform-origin":"".concat(l.x+i.x/16,"em ").concat(l.y+i.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}(x)}function No(e){var t=e.content,n=e.width,r=e.height,o=e.transform,a=e.title,i=e.extra,l=e.watchable,s=void 0!==l&&l,c=dn(dn(dn({},i.attributes),a?{title:a}:{}),{},{class:i.classes.join(" ")});s&&(c[jn]="");var u=dn({},i.styles);Ir(o)&&(u.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?Ln:n,o=e.height,a=void 0===o?Ln:o,i=e.startCentered,l=void 0!==i&&i,s="";return s+=l&&Mn?"translate(".concat(t.x/yr-r/2,"em, ").concat(t.y/yr-a/2,"em) "):l?"translate(calc(-50% + ".concat(t.x/yr,"em), calc(-50% + ").concat(t.y/yr,"em)) "):"translate(".concat(t.x/yr,"em, ").concat(t.y/yr,"em) "),s+="scale(".concat(t.size/yr*(t.flipX?-1:1),", ").concat(t.size/yr*(t.flipY?-1:1),") "),s+"rotate(".concat(t.rotate,"deg) ")}({transform:o,startCentered:!0,width:n,height:r}),u["-webkit-transform"]=u.transform);var d=Er(u);d.length>0&&(c.style=d);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}var zo=Dr.styles;function Ro(e){var t=e[0],n=e[1],r=gn(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(vr.cssPrefix,"-").concat(dr.GROUP)},children:[{tag:"path",attributes:{class:"".concat(vr.cssPrefix,"-").concat(dr.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(vr.cssPrefix,"-").concat(dr.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var To={found:!1,width:512,height:512};function Do(e,t){var n=t;return"fa"===t&&null!==vr.styleDefault&&(t=so()),new Promise((function(r,o){if(xo("missingIconAbstract"),"fa"===n){var a=lo(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&zo[t]&&zo[t][e])return r(Ro(zo[t][e]));!function(e,t){Kn||vr.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(dn(dn({},To),{},{icon:vr.showMissingIcons&&e&&xo("missingIconAbstract")||{}}))}))}var Ao=function(){},Mo=vr.measurePerformance&&$n&&$n.mark&&$n.measure?$n:{mark:Ao,measure:Ao},_o='FA "6.5.2"',Lo=function(e){Mo.mark("".concat(_o," ").concat(e," ends")),Mo.measure("".concat(_o," ").concat(e),"".concat(_o," ").concat(e," begins"),"".concat(_o," ").concat(e," ends"))},Fo={begin:function(e){return Mo.mark("".concat(_o," ").concat(e," begins")),function(){return Lo(e)}},end:Lo},Vo=function(){};function jo(e){return"string"==typeof(e.getAttribute?e.getAttribute(jn):null)}function Bo(e){return In.createElementNS("http://www.w3.org/2000/svg",e)}function Ho(e){return In.createElement(e)}function Wo(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,n=void 0===t?"svg"===e.tag?Bo:Ho:t;if("string"==typeof e)return In.createTextNode(e);var r=n(e.tag);return Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])})),(e.children||[]).forEach((function(e){r.appendChild(Wo(e,{ceFn:n}))})),r}var Go={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Wo(e),t)})),null===t.getAttribute(jn)&&vr.keepOriginalSource){var n=In.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~kr(t).indexOf(vr.replacementClass))return Go.replace(e);var r=new RegExp("".concat(vr.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===vr.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=n.map((function(e){return _r(e)})).join("\n");t.setAttribute(jn,""),t.innerHTML=a}};function qo(e){e()}function Yo(e,t){var n="function"==typeof t?t:Vo;if(0===e.length)n();else{var r=qo;vr.mutateApproach===Yn&&(r=En.requestAnimationFrame||qo),r((function(){var t=!0===vr.autoReplaceSvg?Go.replace:Go[vr.autoReplaceSvg]||Go.replace,r=Fo.begin("mutate");e.map(t),r(),n()}))}}var Uo=!1;function Ko(){Uo=!0}function Jo(){Uo=!1}var Xo=null;function Qo(e){if(Pn&&vr.observeMutations){var t=e.treeCallback,n=void 0===t?Vo:t,r=e.nodeCallback,o=void 0===r?Vo:r,a=e.pseudoElementsCallback,i=void 0===a?Vo:a,l=e.observeMutationsRoot,s=void 0===l?In:l;Xo=new Pn((function(e){if(!Uo){var t=so();Cr(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!jo(e.addedNodes[0])&&(vr.searchPseudoElements&&i(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&vr.searchPseudoElements&&i(e.target.parentNode),"attributes"===e.type&&jo(e.target)&&~ur.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(Wn):null,n=e.getAttribute?e.getAttribute(Gn):null;return t&&n}(e.target)){var r=fo(kr(e.target)),a=r.prefix,l=r.iconName;e.target.setAttribute(Wn,a||t),l&&e.target.setAttribute(Gn,l)}else(function(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(vr.replacementClass)})(e.target)&&o(e.target)}))}})),An&&Xo.observe(s,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Zo(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=fo(kr(e));return o.prefix||(o.prefix=so()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(Xr[e]||{})[t]}(o.prefix,e.innerText)||ao(o.prefix,Hr(e.innerText))),!o.iconName&&vr.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function ea(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Zo(e),r=n.iconName,o=n.prefix,a=n.rest,i=function(e){var t=Cr(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return vr.autoA11y&&(n?t["aria-labelledby"]="".concat(vr.replacementClass,"-title-").concat(r||Sr()):(t["aria-hidden"]="true",t.focusable="false")),t}(e),l=yo("parseNodeAttributes",{},e),s=t.styleParser?function(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}(e):[];return dn({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:o,transform:wr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:s,attributes:i}},l)}var ta=Dr.styles;function na(e){var t="nest"===vr.autoReplaceSvg?ea(e,{styleParser:!1}):ea(e);return~t.extra.classes.indexOf(ar)?xo("generateLayersText",e,t):xo("generateSvgReplacementMutation",e,t)}var ra=new Set;function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!An)return Promise.resolve();var n=In.documentElement.classList,r=function(e){return n.add("".concat(qn,"-").concat(e))},o=function(e){return n.remove("".concat(qn,"-").concat(e))},a=vr.autoFetchSvg?ra:Qn.map((function(e){return"fa-".concat(e)})).concat(Object.keys(ta));a.includes("fa")||a.push("fa");var i=[".".concat(ar,":not([").concat(jn,"])")].concat(a.map((function(e){return".".concat(e,":not([").concat(jn,"])")}))).join(", ");if(0===i.length)return Promise.resolve();var l=[];try{l=Cr(e.querySelectorAll(i))}catch(e){}if(!(l.length>0))return Promise.resolve();r("pending"),o("complete");var s=Fo.begin("onTree"),c=l.reduce((function(e,t){try{var n=na(t);n&&e.push(n)}catch(e){Kn||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Yo(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),s(),e()}))})).catch((function(e){s(),n(e)}))}))}function aa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;na(e).then((function(e){e&&Yo([e],t)}))}function ia(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:So(t||{}),o=n.mask;return o&&(o=(o||{}).icon?o:So(o||{})),e(r,dn(dn({},n),{},{mask:o}))}}Qn.map((function(e){ra.add("fa-".concat(e))})),Object.keys(er[Jn]).map(ra.add.bind(ra)),Object.keys(er[Xn]).map(ra.add.bind(ra)),ra=hn(ra);var la=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?wr:n,o=t.symbol,a=void 0!==o&&o,i=t.mask,l=void 0===i?null:i,s=t.maskId,c=void 0===s?null:s,u=t.title,d=void 0===u?null:u,p=t.titleId,f=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,h=t.attributes,v=void 0===h?{}:h,b=t.styles,y=void 0===b?{}:b;if(e){var w=e.prefix,x=e.iconName,S=e.icon;return Po(dn({type:"icon"},e),(function(){return wo("beforeDOMElementCreation",{iconDefinition:e,params:t}),vr.autoA11y&&(d?v["aria-labelledby"]="".concat(vr.replacementClass,"-title-").concat(f||Sr()):(v["aria-hidden"]="true",v.focusable="false")),$o({icons:{main:Ro(S),mask:l?Ro(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:w,iconName:x,transform:dn(dn({},wr),r),symbol:a,title:d,maskId:c,titleId:f,extra:{attributes:v,styles:y,classes:g}})}))}},sa={mixout:function(){return{icon:ia(la)}},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=oa,e.nodeCallback=aa,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?In:t,r=e.callback;return oa(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,a=t.prefix,i=t.transform,l=t.symbol,s=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,d){Promise.all([Do(n,a),s.iconName?Do(s.iconName,s.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(s){var d=gn(s,2),p=d[0],f=d[1];t([e,$o({icons:{main:p,mask:f},prefix:a,iconName:n,transform:i,symbol:l,maskId:c,title:r,titleId:o,extra:u,watchable:!0})])})).catch(d)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.transform,i=Er(e.styles);return i.length>0&&(r.style=i),Ir(a)&&(t=xo("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},ca={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return Po({type:"layer"},(function(){wo("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(vr.cssPrefix,"-layers")].concat(hn(r)).join(" ")},children:n}]}))}}}},ua={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,a=void 0===o?[]:o,i=t.attributes,l=void 0===i?{}:i,s=t.styles,c=void 0===s?{}:s;return Po({type:"counter",content:e},(function(){return wo("beforeDOMElementCreation",{content:e,params:t}),function(e){var t=e.content,n=e.title,r=e.extra,o=dn(dn(dn({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=Er(r.styles);a.length>0&&(o.style=a);var i=[];return i.push({tag:"span",attributes:o,children:[t]}),n&&i.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),i}({content:e.toString(),title:r,extra:{attributes:l,styles:c,classes:["".concat(vr.cssPrefix,"-layers-counter")].concat(hn(a))}})}))}}}},da={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?wr:n,o=t.title,a=void 0===o?null:o,i=t.classes,l=void 0===i?[]:i,s=t.attributes,c=void 0===s?{}:s,u=t.styles,d=void 0===u?{}:u;return Po({type:"text",content:e},(function(){return wo("beforeDOMElementCreation",{content:e,params:t}),No({content:e,transform:dn(dn({},wr),r),title:a,extra:{attributes:c,styles:d,classes:["".concat(vr.cssPrefix,"-layers-text")].concat(hn(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,a=null,i=null;if(Mn){var l=parseInt(getComputedStyle(e).fontSize,10),s=e.getBoundingClientRect();a=s.width/l,i=s.height/l}return vr.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,No({content:e.innerHTML,width:a,height:i,transform:r,title:n,extra:o,watchable:!0})])}}},pa=new RegExp('"',"ug"),fa=[1105920,1112319];function ma(e,t){var n="".concat(Hn).concat(t.replace(":","-"));return new Promise((function(r,o){if(null!==e.getAttribute(n))return r();var a,i,l,s=Cr(e.children).filter((function(e){return e.getAttribute(Bn)===t}))[0],c=En.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(ir),d=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(s&&!u)return e.removeChild(s),r();if(u&&"none"!==p&&""!==p){var f=c.getPropertyValue("content"),m=~["Sharp"].indexOf(u[2])?Xn:Jn,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?tr[m][u[2].toLowerCase()]:lr[m][d],h=function(e){var t,n,r,o,a,i=e.replace(pa,""),l=(n=0,o=(t=i).length,(a=t.charCodeAt(n))>=55296&&a<=56319&&o>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(a-55296)+r-56320+65536:a),s=l>=fa[0]&&l<=fa[1],c=2===i.length&&i[0]===i[1];return{value:Hr(c?i[0]:i),isSecondary:s||c}}(f),v=h.value,b=h.isSecondary,y=u[0].startsWith("FontAwesome"),w=ao(g,v),x=w;if(y){var S=(i=Zr[a=v],l=ao("fas",a),i||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});S.iconName&&S.prefix&&(w=S.iconName,g=S.prefix)}if(!w||b||s&&s.getAttribute(Wn)===g&&s.getAttribute(Gn)===x)r();else{e.setAttribute(n,x),s&&e.removeChild(s);var C={iconName:null,title:null,titleId:null,prefix:null,transform:wr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},k=C.extra;k.attributes[Bn]=t,Do(w,g).then((function(o){var a=$o(dn(dn({},C),{},{icons:{main:o,mask:co()},prefix:g,iconName:x,extra:k,watchable:!0})),i=In.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(i,e.firstChild):e.appendChild(i),i.outerHTML=a.map((function(e){return _r(e)})).join("\n"),e.removeAttribute(n),r()})).catch(o)}}else r()}))}function ga(e){return Promise.all([ma(e,"::before"),ma(e,"::after")])}function ha(e){return!(e.parentNode===document.head||~Un.indexOf(e.tagName.toUpperCase())||e.getAttribute(Bn)||e.parentNode&&"svg"===e.parentNode.tagName)}function va(e){if(An)return new Promise((function(t,n){var r=Cr(e.querySelectorAll("*")).filter(ha).map(ga),o=Fo.begin("searchPseudoElements");Ko(),Promise.all(r).then((function(){o(),Jo(),t()})).catch((function(){o(),Jo(),n()}))}))}var ba={hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=va,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?In:t;vr.searchPseudoElements&&va(n)}}},ya=!1,wa=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},xa={mixout:function(){return{parse:{transform:function(e){return wa(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=wa(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,o=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),s="rotate(".concat(n.rotate," 0 0)"),c={outer:a,inner:{transform:"".concat(i," ").concat(l," ").concat(s)},path:{transform:"translate(".concat(o/2*-1," -256)")}};return{tag:"g",attributes:dn({},c.outer),children:[{tag:"g",attributes:dn({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:dn(dn({},t.icon.attributes),c.path)}]}]}}}},Sa={x:0,y:0,width:"100%",height:"100%"};function Ca(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ka={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?fo(n.split(" ").map((function(e){return e.trim()}))):co();return r.prefix||(r.prefix=so()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,o=e.main,a=e.mask,i=e.maskId,l=e.transform,s=o.width,c=o.icon,u=a.width,d=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},a="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),l="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(a," ").concat(i," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:u,iconWidth:s}),f={tag:"rect",attributes:dn(dn({},Sa),{},{fill:"white"})},m=c.children?{children:c.children.map(Ca)}:{},g={tag:"g",attributes:dn({},p.inner),children:[Ca(dn({tag:c.tag,attributes:dn(dn({},c.attributes),p.path)},m))]},h={tag:"g",attributes:dn({},p.outer),children:[g]},v="mask-".concat(i||Sr()),b="clip-".concat(i||Sr()),y={tag:"mask",attributes:dn(dn({},Sa),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[f,h]},w={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:(t=d,"g"===t.tag?t.children:[t])},y]};return n.push(w,{tag:"rect",attributes:dn({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(v,")")},Sa)}),{children:n,attributes:r}}}},Oa={provides:function(e){var t=!1;En.matchMedia&&(t=En.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:dn(dn({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var o=dn(dn({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:dn(dn({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:dn(dn({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:dn(dn({},o),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:dn(dn({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:dn(dn({},o),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:dn(dn({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:dn(dn({},o),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}},Ea=[Rr,sa,ca,ua,da,ba,{mixout:function(){return{dom:{unwatch:function(){Ko(),ya=!0}}}},hooks:function(){return{bootstrap:function(){Qo(yo("mutationObserverCallbacks",{}))},noAuto:function(){Xo&&Xo.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ya?Jo():Qo(yo("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},xa,ka,Oa,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}];!function(e,t){var n=t.mixoutsTo;go=e,ho={},Object.keys(vo).forEach((function(e){-1===bo.indexOf(e)&&delete vo[e]})),go.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===pn(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){ho[e]||(ho[e]=[]),ho[e].push(r[e])}))}e.provides&&e.provides(vo)}))}(Ea,{mixoutsTo:Eo});var Ia,Pa=Eo.library,$a=Eo.parse,Na=Eo.icon,za={exports:{}},Ra={exports:{}},Ta={};var Da,Aa,Ma,_a,La,Fa,Va,ja,Ba,Ha,Wa,Ga,qa,Ya,Ua={};
|
|
32
32
|
/** @license React v16.13.1
|
|
33
33
|
* react-is.development.js
|
|
34
34
|
*
|
|
@@ -36,12 +36,12 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from
|
|
|
36
36
|
*
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/function Ka(){return Aa||(Aa=1,"production"===process.env.NODE_ENV?Ra.exports=function(){if(Ia)return Ta;Ia=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case m:case f:case i:return e;default:return p}}case n:return p}}}function w(e){return y(e)===c}return Ta.AsyncMode=s,Ta.ConcurrentMode=c,Ta.ContextConsumer=l,Ta.ContextProvider=i,Ta.Element=t,Ta.ForwardRef=u,Ta.Fragment=r,Ta.Lazy=m,Ta.Memo=f,Ta.Portal=n,Ta.Profiler=a,Ta.StrictMode=o,Ta.Suspense=d,Ta.isAsyncMode=function(e){return w(e)||y(e)===s},Ta.isConcurrentMode=w,Ta.isContextConsumer=function(e){return y(e)===l},Ta.isContextProvider=function(e){return y(e)===i},Ta.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ta.isForwardRef=function(e){return y(e)===u},Ta.isFragment=function(e){return y(e)===r},Ta.isLazy=function(e){return y(e)===m},Ta.isMemo=function(e){return y(e)===f},Ta.isPortal=function(e){return y(e)===n},Ta.isProfiler=function(e){return y(e)===a},Ta.isStrictMode=function(e){return y(e)===o},Ta.isSuspense=function(e){return y(e)===d},Ta.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},Ta.typeOf=y,Ta}():Ra.exports=(Da||(Da=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case s:case c:case r:case a:case o:case d:return g;default:var h=g&&g.$$typeof;switch(h){case l:case u:case m:case f:case i:return h;default:return p}}case n:return p}}}var w=s,x=c,S=l,C=i,k=t,O=u,E=r,I=m,P=f,N=
|
|
39
|
+
*/function Ka(){return Aa||(Aa=1,"production"===process.env.NODE_ENV?Ra.exports=function(){if(Ia)return Ta;Ia=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case r:case a:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case m:case f:case i:return e;default:return p}}case n:return p}}}function w(e){return y(e)===c}return Ta.AsyncMode=s,Ta.ConcurrentMode=c,Ta.ContextConsumer=l,Ta.ContextProvider=i,Ta.Element=t,Ta.ForwardRef=u,Ta.Fragment=r,Ta.Lazy=m,Ta.Memo=f,Ta.Portal=n,Ta.Profiler=a,Ta.StrictMode=o,Ta.Suspense=d,Ta.isAsyncMode=function(e){return w(e)||y(e)===s},Ta.isConcurrentMode=w,Ta.isContextConsumer=function(e){return y(e)===l},Ta.isContextProvider=function(e){return y(e)===i},Ta.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ta.isForwardRef=function(e){return y(e)===u},Ta.isFragment=function(e){return y(e)===r},Ta.isLazy=function(e){return y(e)===m},Ta.isMemo=function(e){return y(e)===f},Ta.isPortal=function(e){return y(e)===n},Ta.isProfiler=function(e){return y(e)===a},Ta.isStrictMode=function(e){return y(e)===o},Ta.isSuspense=function(e){return y(e)===d},Ta.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},Ta.typeOf=y,Ta}():Ra.exports=(Da||(Da=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,v=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case s:case c:case r:case a:case o:case d:return g;default:var h=g&&g.$$typeof;switch(h){case l:case u:case m:case f:case i:return h;default:return p}}case n:return p}}}var w=s,x=c,S=l,C=i,k=t,O=u,E=r,I=m,P=f,$=n,N=a,z=o,R=d,T=!1;function D(e){return y(e)===c}Ua.AsyncMode=w,Ua.ConcurrentMode=x,Ua.ContextConsumer=S,Ua.ContextProvider=C,Ua.Element=k,Ua.ForwardRef=O,Ua.Fragment=E,Ua.Lazy=I,Ua.Memo=P,Ua.Portal=$,Ua.Profiler=N,Ua.StrictMode=z,Ua.Suspense=R,Ua.isAsyncMode=function(e){return T||(T=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),D(e)||y(e)===s},Ua.isConcurrentMode=D,Ua.isContextConsumer=function(e){return y(e)===l},Ua.isContextProvider=function(e){return y(e)===i},Ua.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ua.isForwardRef=function(e){return y(e)===u},Ua.isFragment=function(e){return y(e)===r},Ua.isLazy=function(e){return y(e)===m},Ua.isMemo=function(e){return y(e)===f},Ua.isPortal=function(e){return y(e)===n},Ua.isProfiler=function(e){return y(e)===a},Ua.isStrictMode=function(e){return y(e)===o},Ua.isSuspense=function(e){return y(e)===d},Ua.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===a||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===f||e.$$typeof===i||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===b||e.$$typeof===g)},Ua.typeOf=y}()),Ua)),Ra.exports}
|
|
40
40
|
/*
|
|
41
41
|
object-assign
|
|
42
42
|
(c) Sindre Sorhus
|
|
43
43
|
@license MIT
|
|
44
|
-
*/function Ja(){if(_a)return Ma;_a=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ma=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in a=Object(arguments[s]))t.call(a,c)&&(l[c]=a[c]);if(e){i=e(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(l[i[u]]=a[i[u]])}}return l},Ma}function Xa(){if(Fa)return La;Fa=1;return La="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Qa(){return ja?Va:(ja=1,Va=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Za=Ka();za.exports=function(){if(Ga)return Wa;Ga=1;var e=Ka(),t=Ja(),n=Xa(),r=Qa(),o=function(){if(Ha)return Ba;Ha=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Xa(),n={},r=Qa();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((l||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](a,c,l,i,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+i+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=s?s():"";e("Failed "+i+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ba=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Wa=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",p={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:g(i),arrayOf:function(e){return g((function(t,r,o,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+y(l)+"` supplied to `"+o+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,o,a,i+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:g((function(e,t,n,r,o){var a=e[t];return l(a)?null:new m("Invalid "+r+" `"+o+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:g((function(t,n,r,o,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+y(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+o+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:g((function(e,t,n,r,o){return b(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,o,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[o],c=y(s);if("object"!==c)return new m("Invalid "+i+" `"+l+"` of type `"+c+"` supplied to `"+a+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,a,i,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return g((function(t,o,a,i,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,a,i,l,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new m("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(t,r,o,a,i){var l=t[r],s=y(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(o,a,i,c,w(u));var d=u(l,c,o,a,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return g((function(o,a,i,l,s){var c=o[a],u=y(c);if("object"!==u)return new m("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var p in d){var f=e[p];if(r(e,p)&&"function"!=typeof f)return v(i,l,s,p,w(f));if(!f)return new m("Invalid "+l+" `"+s+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=f(c,p,i,l,s+"."+p,n);if(g)return g}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,l,c,u,p,f){if(c=c||d,p=p||l,f!==n){if(s){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!t[h]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[h]=!0,r++)}}return null==i[l]?o?null===i[l]?new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,l,c,u,p)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return g((function(t,n,r,o,a,i){var l=t[n];return y(l)!==e?new m("Invalid "+o+" `"+a+"` of type `"+w(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},Wa}()(Za.isElement,!0)}else za.exports=function(){if(Ya)return qa;Ya=1;var e=Xa();function t(){}function n(){}return n.resetWarningCache=t,qa=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var ei=w(za.exports);function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(n),!0).forEach((function(t){oi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ri(e){return ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ri(e)}function oi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ii(e){return function(e){if(Array.isArray(e))return li(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return li(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return li(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function li(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function si(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var ci=["style"];var ui=!1;try{ui="production"===process.env.NODE_ENV}catch(e){}function di(e){return e&&"object"===ri(e)&&e.prefix&&e.iconName&&e.icon?e:Na.icon?Na.icon(e):null===e?null:e&&"object"===ri(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function pi(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?oi({},e,t):{}}var fi={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},mi=o.forwardRef((function(e,t){var n=ni(ni({},fi),e),r=n.icon,o=n.mask,a=n.symbol,i=n.className,l=n.title,s=n.titleId,c=n.maskId,u=di(r),d=pi("classes",[].concat(ii(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,a=e.bounce,i=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,m=e.border,g=e.listItem,h=e.flip,v=e.size,b=e.rotation,y=e.pull,w=(oi(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":a,"fa-shake":i,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":m,"fa-li":g,"fa-flip":!0===h,"fa-flip-horizontal":"horizontal"===h||"both"===h,"fa-flip-vertical":"vertical"===h||"both"===h},"fa-".concat(v),null!=v),oi(t,"fa-rotate-".concat(b),null!=b&&0!==b),oi(t,"fa-pull-".concat(y),null!=y),oi(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),ii((i||"").split(" ")))),p=pi("transform","string"==typeof n.transform?Na.transform(n.transform):n.transform),f=pi("mask",di(o)),m=$a(u,ni(ni(ni(ni({},d),p),f),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!m)return function(){var e;!ui&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var g=m.abstract,h={ref:t};return Object.keys(n).forEach((function(e){fi.hasOwnProperty(e)||(h[e]=n[e])})),gi(g[0],h)}));mi.displayName="FontAwesomeIcon",mi.propTypes={beat:ei.bool,border:ei.bool,beatFade:ei.bool,bounce:ei.bool,className:ei.string,fade:ei.bool,flash:ei.bool,mask:ei.oneOfType([ei.object,ei.array,ei.string]),maskId:ei.string,fixedWidth:ei.bool,inverse:ei.bool,flip:ei.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ei.oneOfType([ei.object,ei.array,ei.string]),listItem:ei.bool,pull:ei.oneOf(["right","left"]),pulse:ei.bool,rotation:ei.oneOf([0,90,180,270]),shake:ei.bool,size:ei.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ei.bool,spinPulse:ei.bool,spinReverse:ei.bool,symbol:ei.oneOfType([ei.bool,ei.string]),title:ei.string,titleId:ei.string,transform:ei.oneOfType([ei.string,ei.object]),swapOpacity:ei.bool};var gi=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=function(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=si(t.slice(0,r)),a=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[o]=a,e}),{})}(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[si(t)]=r}return e}),{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=ai(r,ci);return a.attrs.style=ni(ni({},a.attrs.style),l),t.apply(void 0,[n.tag,ni(ni({},a.attrs),s)].concat(ii(o)))}.bind(null,o.createElement),hi={prefix:"far",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},bi={prefix:"fas",iconName:"circle-chevron-down",icon:[512,512,["chevron-circle-down"],"f13a","M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"]},yi={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},wi=yi,xi={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Si={prefix:"fas",iconName:"circle-chevron-up",icon:[512,512,["chevron-circle-up"],"f139","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM377 271c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-87-87-87 87c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 167c9.4-9.4 24.6-9.4 33.9 0L377 271z"]},Ci={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},ki=Ci,Oi={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},Ei={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Ii={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},Pi={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},Ni={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};Pa.add({prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},{prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},{prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},{prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},{prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},{prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},xi,bi,Si,{prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Ii,Ii,{prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},{prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},{prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},{prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},{prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},{prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},{prefix:"far",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"]},{prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},Oi,Ni,Ci,yi,ki,wi,{prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},{prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},Pi,hi,{prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},Ei,{prefix:"far",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},{prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"]},{prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]});const $i={xsmall:tn`
|
|
44
|
+
*/function Ja(){if(_a)return Ma;_a=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return Ma=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(r,o){for(var a,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in a=Object(arguments[s]))t.call(a,c)&&(l[c]=a[c]);if(e){i=e(a);for(var u=0;u<i.length;u++)n.call(a,i[u])&&(l[i[u]]=a[i[u]])}}return l},Ma}function Xa(){if(Fa)return La;Fa=1;return La="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function Qa(){return ja?Va:(ja=1,Va=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Za=Ka();za.exports=function(){if(Ga)return Wa;Ga=1;var e=Ka(),t=Ja(),n=Xa(),r=Qa(),o=function(){if(Ha)return Ba;Ha=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=Xa(),n={},r=Qa();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function o(o,a,i,l,s){if("production"!==process.env.NODE_ENV)for(var c in o)if(r(o,c)){var u;try{if("function"!=typeof o[c]){var d=Error((l||"React class")+": "+i+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=o[c](a,c,l,i,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+i+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var p=s?s():"";e("Failed "+i+" type: "+u.message+(null!=p?p:""))}}}return o.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},Ba=o}(),a=function(){};function i(){return null}return"production"!==process.env.NODE_ENV&&(a=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),Wa=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",p={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:g(i),arrayOf:function(e){return g((function(t,r,o,a,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+o+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new m("Invalid "+a+" `"+i+"` of type `"+y(l)+"` supplied to `"+o+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,o,a,i+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:g((function(e,t,n,r,o){var a=e[t];return l(a)?null:new m("Invalid "+r+" `"+o+"` of type `"+y(a)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:g((function(t,n,r,o,a){var i=t[n];return e.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+y(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return g((function(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||d;return new m("Invalid "+o+" `"+a+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+i+"`.")}var l;return null}))},node:g((function(e,t,n,r,o){return b(e[t])?null:new m("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return g((function(t,o,a,i,l){if("function"!=typeof e)return new m("Property `"+l+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var s=t[o],c=y(s);if("object"!==c)return new m("Invalid "+i+" `"+l+"` of type `"+c+"` supplied to `"+a+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,a,i,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?g((function(t,n,r,o,a){for(var i=t[n],l=0;l<e.length;l++)if(f(i,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===w(t)?String(t):t}));return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&a(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),i)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&a("Invalid argument supplied to oneOfType, expected an instance of array."),i;for(var t=0;t<e.length;t++){var o=e[t];if("function"!=typeof o)return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(o)+" at index "+t+"."),i}return g((function(t,o,a,i,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,o,a,i,l,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new m("Invalid "+i+" `"+l+"` supplied to `"+a+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return g((function(t,r,o,a,i){var l=t[r],s=y(l);if("object"!==s)return new m("Invalid "+a+" `"+i+"` of type `"+s+"` supplied to `"+o+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return v(o,a,i,c,w(u));var d=u(l,c,o,a,i+"."+c,n);if(d)return d}return null}))},exact:function(e){return g((function(o,a,i,l,s){var c=o[a],u=y(c);if("object"!==u)return new m("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+i+"`, expected `object`.");var d=t({},o[a],e);for(var p in d){var f=e[p];if(r(e,p)&&"function"!=typeof f)return v(i,l,s,p,w(f));if(!f)return new m("Invalid "+l+" `"+s+"` key `"+p+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(o[a],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var g=f(c,p,i,l,s+"."+p,n);if(g)return g}return null}))}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function g(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function o(o,i,l,c,u,p,f){if(c=c||d,p=p||l,f!==n){if(s){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var h=c+":"+l;!t[h]&&r<3&&(a("You are manually calling a React.PropTypes validation function for the `"+p+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),t[h]=!0,r++)}}return null==i[l]?o?null===i[l]?new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `null`."):new m("The "+u+" `"+p+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(i,l,c,u,p)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function h(e){return g((function(t,n,r,o,a,i){var l=t[n];return y(l)!==e?new m("Invalid "+o+" `"+a+"` of type `"+w(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function v(e,t,n,r,o){return new m((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+o+"`.")}function b(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(b);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!b(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!b(o[1]))return!1}return!0;default:return!1}}function y(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function w(e){if(null==e)return""+e;var t=y(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=w(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,p.checkPropTypes=o,p.resetWarningCache=o.resetWarningCache,p.PropTypes=p,p},Wa}()(Za.isElement,!0)}else za.exports=function(){if(Ya)return qa;Ya=1;var e=Xa();function t(){}function n(){}return n.resetWarningCache=t,qa=function(){function r(t,n,r,o,a,i){if(i!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function o(){return r}r.isRequired=r;var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a}}()();var ei=w(za.exports);function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ni(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ti(Object(n),!0).forEach((function(t){oi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ri(e){return ri="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ri(e)}function oi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ai(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ii(e){return function(e){if(Array.isArray(e))return li(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return li(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return li(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function li(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function si(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var ci=["style"];var ui=!1;try{ui="production"===process.env.NODE_ENV}catch(e){}function di(e){return e&&"object"===ri(e)&&e.prefix&&e.iconName&&e.icon?e:$a.icon?$a.icon(e):null===e?null:e&&"object"===ri(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function pi(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?oi({},e,t):{}}var fi={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},mi=o.forwardRef((function(e,t){var n=ni(ni({},fi),e),r=n.icon,o=n.mask,a=n.symbol,i=n.className,l=n.title,s=n.titleId,c=n.maskId,u=di(r),d=pi("classes",[].concat(ii(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,a=e.bounce,i=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,f=e.inverse,m=e.border,g=e.listItem,h=e.flip,v=e.size,b=e.rotation,y=e.pull,w=(oi(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":a,"fa-shake":i,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":f,"fa-border":m,"fa-li":g,"fa-flip":!0===h,"fa-flip-horizontal":"horizontal"===h||"both"===h,"fa-flip-vertical":"vertical"===h||"both"===h},"fa-".concat(v),null!=v),oi(t,"fa-rotate-".concat(b),null!=b&&0!==b),oi(t,"fa-pull-".concat(y),null!=y),oi(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(w).map((function(e){return w[e]?e:null})).filter((function(e){return e}))}(n)),ii((i||"").split(" ")))),p=pi("transform","string"==typeof n.transform?$a.transform(n.transform):n.transform),f=pi("mask",di(o)),m=Na(u,ni(ni(ni(ni({},d),p),f),{},{symbol:a,title:l,titleId:s,maskId:c}));if(!m)return function(){var e;!ui&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",u),null;var g=m.abstract,h={ref:t};return Object.keys(n).forEach((function(e){fi.hasOwnProperty(e)||(h[e]=n[e])})),gi(g[0],h)}));mi.displayName="FontAwesomeIcon",mi.propTypes={beat:ei.bool,border:ei.bool,beatFade:ei.bool,bounce:ei.bool,className:ei.string,fade:ei.bool,flash:ei.bool,mask:ei.oneOfType([ei.object,ei.array,ei.string]),maskId:ei.string,fixedWidth:ei.bool,inverse:ei.bool,flip:ei.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ei.oneOfType([ei.object,ei.array,ei.string]),listItem:ei.bool,pull:ei.oneOf(["right","left"]),pulse:ei.bool,rotation:ei.oneOf([0,90,180,270]),shake:ei.bool,size:ei.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ei.bool,spinPulse:ei.bool,spinReverse:ei.bool,symbol:ei.oneOfType([ei.bool,ei.string]),title:ei.string,titleId:ei.string,transform:ei.oneOfType([ei.string,ei.object]),swapOpacity:ei.bool};var gi=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),a=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=function(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=si(t.slice(0,r)),a=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=a:e[o]=a,e}),{})}(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[si(t)]=r}return e}),{attrs:{}}),i=r.style,l=void 0===i?{}:i,s=ai(r,ci);return a.attrs.style=ni(ni({},a.attrs.style),l),t.apply(void 0,[n.tag,ni(ni({},a.attrs),s)].concat(ii(o)))}.bind(null,o.createElement),hi={prefix:"far",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm169.8-90.7c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},bi={prefix:"fas",iconName:"circle-chevron-down",icon:[512,512,["chevron-circle-down"],"f13a","M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z"]},yi={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},wi=yi,xi={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Si={prefix:"fas",iconName:"circle-chevron-up",icon:[512,512,["chevron-circle-up"],"f139","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM377 271c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-87-87-87 87c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9L239 167c9.4-9.4 24.6-9.4 33.9 0L377 271z"]},Ci={prefix:"fas",iconName:"file-arrow-down",icon:[384,512,["file-download"],"f56d","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 232V334.1l31-31c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-72 72c-9.4 9.4-24.6 9.4-33.9 0l-72-72c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l31 31V232c0-13.3 10.7-24 24-24s24 10.7 24 24z"]},ki=Ci,Oi={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},Ei={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Ii={prefix:"fas",iconName:"chevron-left",icon:[320,512,[9001],"f053","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},Pi={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},$i={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]};Pa.add({prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},{prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},{prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},{prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]},{prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},{prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},xi,bi,Si,{prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},Ii,Ii,{prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},{prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},{prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"]},{prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},{prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},{prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},{prefix:"far",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c-9.4 9.4-9.4 24.6 0 33.9l47 47-47 47c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l47-47 47 47c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-47-47 47-47c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-47 47-47-47c-9.4-9.4-24.6-9.4-33.9 0z"]},{prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},Oi,$i,Ci,yi,ki,wi,{prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},{prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},Pi,hi,{prefix:"fas",iconName:"rotate-right",icon:[512,512,["redo-alt","rotate-forward"],"f2f9","M463.5 224H472c13.3 0 24-10.7 24-24V72c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8H463.5z"]},Ei,{prefix:"far",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M170.5 51.6L151.5 80h145l-19-28.4c-1.5-2.2-4-3.6-6.7-3.6H177.1c-2.7 0-5.2 1.3-6.7 3.6zm147-26.6L354.2 80H368h48 8c13.3 0 24 10.7 24 24s-10.7 24-24 24h-8V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V128H24c-13.3 0-24-10.7-24-24S10.7 80 24 80h8H80 93.8l36.7-55.1C140.9 9.4 158.4 0 177.1 0h93.7c18.7 0 36.2 9.4 46.6 24.9zM80 128V432c0 17.7 14.3 32 32 32H336c17.7 0 32-14.3 32-32V128H80zm80 64V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16zm80 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V192c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},{prefix:"far",iconName:"user",icon:[448,512,[128100,62144],"f007","M304 128a80 80 0 1 0 -160 0 80 80 0 1 0 160 0zM96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM49.3 464H398.7c-8.9-63.3-63.3-112-129-112H178.3c-65.7 0-120.1 48.7-129 112zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"]},{prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]});const Ni={xsmall:tn`
|
|
45
45
|
width: 0.6rem;
|
|
46
46
|
height: 0.6rem;
|
|
47
47
|
`,small:tn`
|
|
@@ -74,7 +74,7 @@ object-assign
|
|
|
74
74
|
display: block;
|
|
75
75
|
transition: color 0.2s ease-in-out;
|
|
76
76
|
|
|
77
|
-
${({size:e})
|
|
77
|
+
${({size:e})=>Ni[e||"medium"]}
|
|
78
78
|
${({colour:e})=>zi[e||"default"]}
|
|
79
79
|
}
|
|
80
80
|
`;function Ti({name:t,size:n,colour:r,spin:o,className:a}){return e(Ri,{size:n,colour:r,className:a,children:e(mi,{icon:t,spin:o})})}const Di=on.div`
|
|
@@ -331,7 +331,7 @@ object-assign
|
|
|
331
331
|
@media print {
|
|
332
332
|
display: none;
|
|
333
333
|
}
|
|
334
|
-
`;function dl({children:n,maxLines:r=3}){const[o,i]=c(!1),l=a(null),[s,p]=c(!1),f=()=>{const{offsetHeight:e,scrollHeight:t}=l.current||{};p(!!(e&&t&&e<t))};return d((()=>(window.addEventListener("resize",f),()=>window.removeEventListener("resize",f))),[l]),u((()=>{f()}),[]),t(sl,{children:[e(cl,{$maxLines:o?void 0:r,ref:l,children:n}),r&&s&&e(ul,{type:"button",kind:"basic",onClick:()=>i(!o),children:o?"Read less":"Read more"})]})}const pl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function fl({time:t}){const[n,r]=o.useState((()=>new Date)),a=o.useMemo((()=>new Date(t)),[t]);o.useEffect((()=>{r(new Date)}),[t]),o.useEffect((()=>{if(Math.abs(a.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{r(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,a]);const i=o.useMemo((()=>{const e=Math.abs(a.getTime()/1e3-n.getTime()/1e3),t=a>n;if(e<60&&!t)return"just now";if(e>604800)return`${a.getDate()} ${pl[a.getMonth()]} ${a.getFullYear()}`;let r;return r=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${r}`:`${r} ago`}),[a,n]);return e("time",{dateTime:a.toISOString(),title:a.toLocaleString(),children:i})}var ml=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},gl="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,hl="top",vl="bottom",bl="right",yl="left",wl="auto",xl=[hl,vl,bl,yl],Sl="start",Cl="end",kl="clippingParents",Ol="viewport",El="popper",Il="reference",Pl=xl.reduce((function(e,t){return e.concat([t+"-"+Sl,t+"-"+Cl])}),[]),Nl=[].concat(xl,[wl]).reduce((function(e,t){return e.concat([t,t+"-"+Sl,t+"-"+Cl])}),[]),$l=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function zl(e){return e?(e.nodeName||"").toLowerCase():null}function Rl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Tl(e){return e instanceof Rl(e).Element||e instanceof Element}function Dl(e){return e instanceof Rl(e).HTMLElement||e instanceof HTMLElement}function Al(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rl(e).ShadowRoot||e instanceof ShadowRoot)}var Ml={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Dl(o)&&zl(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Dl(r)&&zl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function _l(e){return e.split("-")[0]}var Ll=Math.max,Fl=Math.min,Vl=Math.round;function jl(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Bl(){return!/^((?!chrome|android).)*safari/i.test(jl())}function Hl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Dl(e)&&(o=e.offsetWidth>0&&Vl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Vl(r.height)/e.offsetHeight||1);var i=(Tl(e)?Rl(e):window).visualViewport,l=!Bl()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Wl(e){var t=Hl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Gl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Al(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ql(e){return Rl(e).getComputedStyle(e)}function Yl(e){return["table","td","th"].indexOf(zl(e))>=0}function Ul(e){return((Tl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Kl(e){return"html"===zl(e)?e:e.assignedSlot||e.parentNode||(Al(e)?e.host:null)||Ul(e)}function Jl(e){return Dl(e)&&"fixed"!==ql(e).position?e.offsetParent:null}function Xl(e){for(var t=Rl(e),n=Jl(e);n&&Yl(n)&&"static"===ql(n).position;)n=Jl(n);return n&&("html"===zl(n)||"body"===zl(n)&&"static"===ql(n).position)?t:n||function(e){var t=/firefox/i.test(jl());if(/Trident/i.test(jl())&&Dl(e)&&"fixed"===ql(e).position)return null;var n=Kl(e);for(Al(n)&&(n=n.host);Dl(n)&&["html","body"].indexOf(zl(n))<0;){var r=ql(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ql(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zl(e,t,n){return Ll(e,Fl(t,n))}function es(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ts(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ns={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=_l(n.placement),s=Ql(l),c=[yl,bl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return es("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ts(e,xl))}(o.padding,n),d=Wl(a),p="y"===s?hl:yl,f="y"===s?vl:bl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],h=Xl(a),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,b=m/2-g/2,y=u[p],w=v-d[c]-u[f],x=v/2-d[c]/2+b,S=Zl(y,x,w),C=s;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Gl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function rs(e){return e.split("-")[1]}var os={top:"auto",right:"auto",bottom:"auto",left:"auto"};function as(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,m=i.y,g=void 0===m?0:m,h="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=h.x,g=h.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=yl,w=hl,x=window;if(c){var S=Xl(n),C="clientHeight",k="clientWidth";if(S===Rl(n)&&"static"!==ql(S=Ul(n)).position&&"absolute"===l&&(C="scrollHeight",k="scrollWidth"),o===hl||(o===yl||o===bl)&&a===Cl)w=vl,g-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-r.height,g*=s?1:-1;if(o===yl||(o===hl||o===vl)&&a===Cl)y=bl,f-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[k])-r.width,f*=s?1:-1}var O,E=Object.assign({position:l},c&&os),I=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Vl(n*o)/o||0,y:Vl(r*o)/o||0}}({x:f,y:g},Rl(n)):{x:f,y:g};return f=I.x,g=I.y,s?Object.assign({},E,((O={})[w]=b?"0":"",O[y]=v?"0":"",O.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",O)):Object.assign({},E,((t={})[w]=b?g+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var is={passive:!0};var ls={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=Rl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,is)})),l&&s.addEventListener("resize",n.update,is),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,is)})),l&&s.removeEventListener("resize",n.update,is)}},data:{}},ss={left:"right",right:"left",bottom:"top",top:"bottom"};function cs(e){return e.replace(/left|right|bottom|top/g,(function(e){return ss[e]}))}var us={start:"end",end:"start"};function ds(e){return e.replace(/start|end/g,(function(e){return us[e]}))}function ps(e){var t=Rl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fs(e){return Hl(Ul(e)).left+ps(e).scrollLeft}function ms(e){var t=ql(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function gs(e){return["html","body","#document"].indexOf(zl(e))>=0?e.ownerDocument.body:Dl(e)&&ms(e)?e:gs(Kl(e))}function hs(e,t){var n;void 0===t&&(t=[]);var r=gs(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Rl(r),i=o?[a].concat(a.visualViewport||[],ms(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(hs(Kl(i)))}function vs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bs(e,t,n){return t===Ol?vs(function(e,t){var n=Rl(e),r=Ul(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Bl();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+fs(e),y:s}}(e,n)):Tl(t)?function(e,t){var n=Hl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):vs(function(e){var t,n=Ul(e),r=ps(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Ll(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Ll(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+fs(e),s=-r.scrollTop;return"rtl"===ql(o||n).direction&&(l+=Ll(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Ul(e)))}function ys(e,t,n,r){var o="clippingParents"===t?function(e){var t=hs(Kl(e)),n=["absolute","fixed"].indexOf(ql(e).position)>=0&&Dl(e)?Xl(e):e;return Tl(n)?t.filter((function(e){return Tl(e)&&Gl(e,n)&&"body"!==zl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=bs(e,n,r);return t.top=Ll(o.top,t.top),t.right=Fl(o.right,t.right),t.bottom=Fl(o.bottom,t.bottom),t.left=Ll(o.left,t.left),t}),bs(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ws(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?_l(o):null,i=o?rs(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case hl:t={x:l,y:n.y-r.height};break;case vl:t={x:l,y:n.y+n.height};break;case bl:t={x:n.x+n.width,y:s};break;case yl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Ql(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Sl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Cl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function xs(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?kl:l,c=n.rootBoundary,u=void 0===c?Ol:c,d=n.elementContext,p=void 0===d?El:d,f=n.altBoundary,m=void 0!==f&&f,g=n.padding,h=void 0===g?0:g,v=es("number"!=typeof h?h:ts(h,xl)),b=p===El?Il:El,y=e.rects.popper,w=e.elements[m?b:p],x=ys(Tl(w)?w:w.contextElement||Ul(e.elements.popper),s,u,i),S=Hl(e.elements.reference),C=ws({reference:S,element:y,strategy:"absolute",placement:o}),k=vs(Object.assign({},y,C)),O=p===El?k:S,E={top:x.top-O.top+v.top,bottom:O.bottom-x.bottom+v.bottom,left:x.left-O.left+v.left,right:O.right-x.right+v.right},I=e.modifiersData.offset;if(p===El&&I){var P=I[o];Object.keys(E).forEach((function(e){var t=[bl,vl].indexOf(e)>=0?1:-1,n=[hl,vl].indexOf(e)>=0?"y":"x";E[e]+=P[n]*t}))}return E}function Ss(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?Nl:s,u=rs(r),d=u?l?Pl:Pl.filter((function(e){return rs(e)===u})):xl,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=xs(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[_l(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Cs={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,g=n.allowedAutoPlacements,h=t.options.placement,v=_l(h),b=s||(v===h||!m?[cs(h)]:function(e){if(_l(e)===wl)return[];var t=cs(e);return[ds(e),t,ds(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(_l(n)===wl?Ss(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,k=y[0],O=0;O<y.length;O++){var E=y[O],I=_l(E),P=rs(E)===Sl,N=[hl,vl].indexOf(I)>=0,$=N?"width":"height",z=xs(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=N?P?bl:yl:P?vl:hl;w[$]>x[$]&&(R=cs(R));var T=cs(R),D=[];if(a&&D.push(z[I]<=0),l&&D.push(z[R]<=0,z[T]<=0),D.every((function(e){return e}))){k=E,C=!1;break}S.set(E,D)}if(C)for(var A=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},M=m?3:1;M>0;M--){if("break"===A(M))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ks(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Os(e){return[hl,bl,vl,yl].some((function(t){return e[t]>=0}))}var Es={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=xs(t,{elementContext:"reference"}),l=xs(t,{altBoundary:!0}),s=ks(i,r),c=ks(l,o,a),u=Os(s),d=Os(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Is={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=Nl.reduce((function(e,n){return e[n]=function(e,t,n){var r=_l(e),o=[yl,hl].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[yl,bl].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var Ps={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ws({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Ns={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,g=void 0===m?0:m,h=xs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=_l(t.placement),b=rs(t.placement),y=!b,w=Ql(v),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,O="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(a){var N,$="y"===w?hl:yl,z="y"===w?vl:bl,R="y"===w?"height":"width",T=S[w],D=T+h[$],A=T-h[z],M=f?-k[R]/2:0,_=b===Sl?C[R]:k[R],L=b===Sl?-k[R]:-C[R],F=t.elements.arrow,V=f&&F?Wl(F):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=j[$],H=j[z],W=Zl(0,C[R],V[R]),G=y?C[R]/2-M-W-B-E.mainAxis:_-W-B-E.mainAxis,q=y?-C[R]/2+M+W+H+E.mainAxis:L+W+H+E.mainAxis,Y=t.elements.arrow&&Xl(t.elements.arrow),U=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,K=null!=(N=null==I?void 0:I[w])?N:0,J=T+q-K,X=Zl(f?Fl(D,T+G-K-U):D,T,f?Ll(A,J):A);S[w]=X,P[w]=X-T}if(l){var Q,Z="x"===w?hl:yl,ee="x"===w?vl:bl,te=S[x],ne="y"===x?"height":"width",re=te+h[Z],oe=te-h[ee],ae=-1!==[hl,yl].indexOf(v),ie=null!=(Q=null==I?void 0:I[x])?Q:0,le=ae?re:te-C[ne]-k[ne]-ie+E.altAxis,se=ae?te+C[ne]+k[ne]-ie-E.altAxis:oe,ce=f&&ae?function(e,t,n){var r=Zl(e,t,n);return r>n?n:r}(le,te,se):Zl(f?le:re,te,f?se:oe);S[x]=ce,P[x]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function $s(e,t,n){void 0===n&&(n=!1);var r=Dl(t),o=Dl(t)&&function(e){var t=e.getBoundingClientRect(),n=Vl(t.width)/e.offsetWidth||1,r=Vl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Ul(t),i=Hl(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==zl(t)||ms(a))&&(l=function(e){return e!==Rl(e)&&Dl(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:ps(e);var t}(t)),Dl(t)?((s=Hl(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=fs(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function zs(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Rs={placement:"bottom",modifiers:[],strategy:"absolute"};function Ts(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ds(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Rs:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rs,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Tl(e)?hs(e):e.contextElement?hs(e.contextElement):[],popper:hs(t)};var i,c,p=function(e){var t=zs(e);return $l.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Ts(t,n)){l.rects={reference:$s(t,Xl(n),"fixed"===l.options.strategy),popper:Wl(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!Ts(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var As=Ds({defaultModifiers:[ls,Ps,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:_l(t.placement),variation:rs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,as(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,as(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ml,Is,Cs,Ns,ns,Es]}),Ms="undefined"!=typeof Element,_s="function"==typeof Map,Ls="function"==typeof Set,Fs="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Vs(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,a;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Vs(e[r],t[r]))return!1;return!0}if(_s&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Vs(r.value[1],t.get(r.value[0])))return!1;return!0}if(Ls&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Fs&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Ms&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==o[r]&&"__v"!==o[r]&&"__o"!==o[r]||!e.$$typeof)&&!Vs(e[o[r]],t[o[r]]))return!1;return!0}return e!=e&&t!=t}var js=w((function(e,t){try{return Vs(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Bs=[],Hs=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Bs},i=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=i[0],s=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);m.flushSync((function(){s({styles:ml(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:ml(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return js(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),d=r.useRef();return gl((function(){d.current&&d.current.setOptions(u)}),[u]),gl((function(){if(null!=e&&null!=t){var r=(n.createPopper||As)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const Ws=on.div`
|
|
334
|
+
`;function dl({children:n,maxLines:r=3}){const[o,i]=c(!1),l=a(null),[s,p]=c(!1),f=()=>{const{offsetHeight:e,scrollHeight:t}=l.current||{};p(!!(e&&t&&e<t))};return d((()=>(window.addEventListener("resize",f),()=>window.removeEventListener("resize",f))),[l]),u((()=>{f()}),[]),t(sl,{children:[e(cl,{$maxLines:o?void 0:r,ref:l,children:n}),r&&s&&e(ul,{type:"button",kind:"basic",onClick:()=>i(!o),children:o?"Read less":"Read more"})]})}const pl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function fl({time:t}){const[n,r]=o.useState((()=>new Date)),a=o.useMemo((()=>new Date(t)),[t]);o.useEffect((()=>{r(new Date)}),[t]),o.useEffect((()=>{if(Math.abs(a.getTime()/1e3-n.getTime()/1e3)<86400){const e=setTimeout((()=>{r(new Date)}),1e4);return()=>{clearTimeout(e)}}return()=>{}}),[n,a]);const i=o.useMemo((()=>{const e=Math.abs(a.getTime()/1e3-n.getTime()/1e3),t=a>n;if(e<60&&!t)return"just now";if(e>604800)return`${a.getDate()} ${pl[a.getMonth()]} ${a.getFullYear()}`;let r;return r=e<120?"a minute":e<2700?`${Math.ceil(e/60).toString()} minutes`:e<5400?"an hour":e<86400?`${Math.ceil(e/3600).toString()} hours`:e<172800?"one day":`${Math.ceil(e/86400).toString()} days`,t?`in ${r}`:`${r} ago`}),[a,n]);return e("time",{dateTime:a.toISOString(),title:a.toLocaleString(),children:i})}var ml=function(e){return e.reduce((function(e,t){var n=t[0],r=t[1];return e[n]=r,e}),{})},gl="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect,hl="top",vl="bottom",bl="right",yl="left",wl="auto",xl=[hl,vl,bl,yl],Sl="start",Cl="end",kl="clippingParents",Ol="viewport",El="popper",Il="reference",Pl=xl.reduce((function(e,t){return e.concat([t+"-"+Sl,t+"-"+Cl])}),[]),$l=[].concat(xl,[wl]).reduce((function(e,t){return e.concat([t,t+"-"+Sl,t+"-"+Cl])}),[]),Nl=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function zl(e){return e?(e.nodeName||"").toLowerCase():null}function Rl(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Tl(e){return e instanceof Rl(e).Element||e instanceof Element}function Dl(e){return e instanceof Rl(e).HTMLElement||e instanceof HTMLElement}function Al(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Rl(e).ShadowRoot||e instanceof ShadowRoot)}var Ml={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Dl(o)&&zl(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Dl(r)&&zl(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function _l(e){return e.split("-")[0]}var Ll=Math.max,Fl=Math.min,Vl=Math.round;function jl(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Bl(){return!/^((?!chrome|android).)*safari/i.test(jl())}function Hl(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Dl(e)&&(o=e.offsetWidth>0&&Vl(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Vl(r.height)/e.offsetHeight||1);var i=(Tl(e)?Rl(e):window).visualViewport,l=!Bl()&&n,s=(r.left+(l&&i?i.offsetLeft:0))/o,c=(r.top+(l&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:s+u,bottom:c+d,left:s,x:s,y:c}}function Wl(e){var t=Hl(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Gl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Al(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ql(e){return Rl(e).getComputedStyle(e)}function Yl(e){return["table","td","th"].indexOf(zl(e))>=0}function Ul(e){return((Tl(e)?e.ownerDocument:e.document)||window.document).documentElement}function Kl(e){return"html"===zl(e)?e:e.assignedSlot||e.parentNode||(Al(e)?e.host:null)||Ul(e)}function Jl(e){return Dl(e)&&"fixed"!==ql(e).position?e.offsetParent:null}function Xl(e){for(var t=Rl(e),n=Jl(e);n&&Yl(n)&&"static"===ql(n).position;)n=Jl(n);return n&&("html"===zl(n)||"body"===zl(n)&&"static"===ql(n).position)?t:n||function(e){var t=/firefox/i.test(jl());if(/Trident/i.test(jl())&&Dl(e)&&"fixed"===ql(e).position)return null;var n=Kl(e);for(Al(n)&&(n=n.host);Dl(n)&&["html","body"].indexOf(zl(n))<0;){var r=ql(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Ql(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Zl(e,t,n){return Ll(e,Fl(t,n))}function es(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ts(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ns={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=_l(n.placement),s=Ql(l),c=[yl,bl].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return es("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ts(e,xl))}(o.padding,n),d=Wl(a),p="y"===s?hl:yl,f="y"===s?vl:bl,m=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],h=Xl(a),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,b=m/2-g/2,y=u[p],w=v-d[c]-u[f],x=v/2-d[c]/2+b,S=Zl(y,x,w),C=s;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Gl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function rs(e){return e.split("-")[1]}var os={top:"auto",right:"auto",bottom:"auto",left:"auto"};function as(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,m=i.y,g=void 0===m?0:m,h="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=h.x,g=h.y;var v=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),y=yl,w=hl,x=window;if(c){var S=Xl(n),C="clientHeight",k="clientWidth";if(S===Rl(n)&&"static"!==ql(S=Ul(n)).position&&"absolute"===l&&(C="scrollHeight",k="scrollWidth"),o===hl||(o===yl||o===bl)&&a===Cl)w=vl,g-=(d&&S===x&&x.visualViewport?x.visualViewport.height:S[C])-r.height,g*=s?1:-1;if(o===yl||(o===hl||o===vl)&&a===Cl)y=bl,f-=(d&&S===x&&x.visualViewport?x.visualViewport.width:S[k])-r.width,f*=s?1:-1}var O,E=Object.assign({position:l},c&&os),I=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:Vl(n*o)/o||0,y:Vl(r*o)/o||0}}({x:f,y:g},Rl(n)):{x:f,y:g};return f=I.x,g=I.y,s?Object.assign({},E,((O={})[w]=b?"0":"",O[y]=v?"0":"",O.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",O)):Object.assign({},E,((t={})[w]=b?g+"px":"",t[y]=v?f+"px":"",t.transform="",t))}var is={passive:!0};var ls={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=Rl(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,is)})),l&&s.addEventListener("resize",n.update,is),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,is)})),l&&s.removeEventListener("resize",n.update,is)}},data:{}},ss={left:"right",right:"left",bottom:"top",top:"bottom"};function cs(e){return e.replace(/left|right|bottom|top/g,(function(e){return ss[e]}))}var us={start:"end",end:"start"};function ds(e){return e.replace(/start|end/g,(function(e){return us[e]}))}function ps(e){var t=Rl(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function fs(e){return Hl(Ul(e)).left+ps(e).scrollLeft}function ms(e){var t=ql(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function gs(e){return["html","body","#document"].indexOf(zl(e))>=0?e.ownerDocument.body:Dl(e)&&ms(e)?e:gs(Kl(e))}function hs(e,t){var n;void 0===t&&(t=[]);var r=gs(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Rl(r),i=o?[a].concat(a.visualViewport||[],ms(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(hs(Kl(i)))}function vs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bs(e,t,n){return t===Ol?vs(function(e,t){var n=Rl(e),r=Ul(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=Bl();(c||!c&&"fixed"===t)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l+fs(e),y:s}}(e,n)):Tl(t)?function(e,t){var n=Hl(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):vs(function(e){var t,n=Ul(e),r=ps(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=Ll(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Ll(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+fs(e),s=-r.scrollTop;return"rtl"===ql(o||n).direction&&(l+=Ll(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Ul(e)))}function ys(e,t,n,r){var o="clippingParents"===t?function(e){var t=hs(Kl(e)),n=["absolute","fixed"].indexOf(ql(e).position)>=0&&Dl(e)?Xl(e):e;return Tl(n)?t.filter((function(e){return Tl(e)&&Gl(e,n)&&"body"!==zl(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],l=a.reduce((function(t,n){var o=bs(e,n,r);return t.top=Ll(o.top,t.top),t.right=Fl(o.right,t.right),t.bottom=Fl(o.bottom,t.bottom),t.left=Ll(o.left,t.left),t}),bs(e,i,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function ws(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?_l(o):null,i=o?rs(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case hl:t={x:l,y:n.y-r.height};break;case vl:t={x:l,y:n.y+n.height};break;case bl:t={x:n.x+n.width,y:s};break;case yl:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var c=a?Ql(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Sl:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Cl:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function xs(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,l=n.boundary,s=void 0===l?kl:l,c=n.rootBoundary,u=void 0===c?Ol:c,d=n.elementContext,p=void 0===d?El:d,f=n.altBoundary,m=void 0!==f&&f,g=n.padding,h=void 0===g?0:g,v=es("number"!=typeof h?h:ts(h,xl)),b=p===El?Il:El,y=e.rects.popper,w=e.elements[m?b:p],x=ys(Tl(w)?w:w.contextElement||Ul(e.elements.popper),s,u,i),S=Hl(e.elements.reference),C=ws({reference:S,element:y,strategy:"absolute",placement:o}),k=vs(Object.assign({},y,C)),O=p===El?k:S,E={top:x.top-O.top+v.top,bottom:O.bottom-x.bottom+v.bottom,left:x.left-O.left+v.left,right:O.right-x.right+v.right},I=e.modifiersData.offset;if(p===El&&I){var P=I[o];Object.keys(E).forEach((function(e){var t=[bl,vl].indexOf(e)>=0?1:-1,n=[hl,vl].indexOf(e)>=0?"y":"x";E[e]+=P[n]*t}))}return E}function Ss(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?$l:s,u=rs(r),d=u?l?Pl:Pl.filter((function(e){return rs(e)===u})):xl,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=xs(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[_l(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var Cs={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,g=n.allowedAutoPlacements,h=t.options.placement,v=_l(h),b=s||(v===h||!m?[cs(h)]:function(e){if(_l(e)===wl)return[];var t=cs(e);return[ds(e),t,ds(t)]}(h)),y=[h].concat(b).reduce((function(e,n){return e.concat(_l(n)===wl?Ss(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,S=new Map,C=!0,k=y[0],O=0;O<y.length;O++){var E=y[O],I=_l(E),P=rs(E)===Sl,$=[hl,vl].indexOf(I)>=0,N=$?"width":"height",z=xs(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),R=$?P?bl:yl:P?vl:hl;w[N]>x[N]&&(R=cs(R));var T=cs(R),D=[];if(a&&D.push(z[I]<=0),l&&D.push(z[R]<=0,z[T]<=0),D.every((function(e){return e}))){k=E,C=!1;break}S.set(E,D)}if(C)for(var A=function(e){var t=y.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},M=m?3:1;M>0;M--){if("break"===A(M))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ks(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Os(e){return[hl,bl,vl,yl].some((function(t){return e[t]>=0}))}var Es={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=xs(t,{elementContext:"reference"}),l=xs(t,{altBoundary:!0}),s=ks(i,r),c=ks(l,o,a),u=Os(s),d=Os(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};var Is={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=$l.reduce((function(e,n){return e[n]=function(e,t,n){var r=_l(e),o=[yl,hl].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[yl,bl].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};var Ps={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ws({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var $s={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,g=void 0===m?0:m,h=xs(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),v=_l(t.placement),b=rs(t.placement),y=!b,w=Ql(v),x="x"===w?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,O="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(S){if(a){var $,N="y"===w?hl:yl,z="y"===w?vl:bl,R="y"===w?"height":"width",T=S[w],D=T+h[N],A=T-h[z],M=f?-k[R]/2:0,_=b===Sl?C[R]:k[R],L=b===Sl?-k[R]:-C[R],F=t.elements.arrow,V=f&&F?Wl(F):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=j[N],H=j[z],W=Zl(0,C[R],V[R]),G=y?C[R]/2-M-W-B-E.mainAxis:_-W-B-E.mainAxis,q=y?-C[R]/2+M+W+H+E.mainAxis:L+W+H+E.mainAxis,Y=t.elements.arrow&&Xl(t.elements.arrow),U=Y?"y"===w?Y.clientTop||0:Y.clientLeft||0:0,K=null!=($=null==I?void 0:I[w])?$:0,J=T+q-K,X=Zl(f?Fl(D,T+G-K-U):D,T,f?Ll(A,J):A);S[w]=X,P[w]=X-T}if(l){var Q,Z="x"===w?hl:yl,ee="x"===w?vl:bl,te=S[x],ne="y"===x?"height":"width",re=te+h[Z],oe=te-h[ee],ae=-1!==[hl,yl].indexOf(v),ie=null!=(Q=null==I?void 0:I[x])?Q:0,le=ae?re:te-C[ne]-k[ne]-ie+E.altAxis,se=ae?te+C[ne]+k[ne]-ie-E.altAxis:oe,ce=f&&ae?function(e,t,n){var r=Zl(e,t,n);return r>n?n:r}(le,te,se):Zl(f?le:re,te,f?se:oe);S[x]=ce,P[x]=ce-te}t.modifiersData[r]=P}},requiresIfExists:["offset"]};function Ns(e,t,n){void 0===n&&(n=!1);var r=Dl(t),o=Dl(t)&&function(e){var t=e.getBoundingClientRect(),n=Vl(t.width)/e.offsetWidth||1,r=Vl(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Ul(t),i=Hl(e,o,n),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&(("body"!==zl(t)||ms(a))&&(l=function(e){return e!==Rl(e)&&Dl(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:ps(e);var t}(t)),Dl(t)?((s=Hl(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=fs(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function zs(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Rs={placement:"bottom",modifiers:[],strategy:"absolute"};function Ts(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ds(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Rs:o;return function(e,t,n){void 0===n&&(n=a);var o,i,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Rs,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},s=[],c=!1,u={state:l,setOptions:function(n){var o="function"==typeof n?n(l.options):n;d(),l.options=Object.assign({},a,l.options,o),l.scrollParents={reference:Tl(e)?hs(e):e.contextElement?hs(e.contextElement):[],popper:hs(t)};var i,c,p=function(e){var t=zs(e);return Nl.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,l.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return l.orderedModifiers=p.filter((function(e){return e.enabled})),l.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:l,name:t,instance:u,options:r}),i=function(){};s.push(a||i)}})),u.update()},forceUpdate:function(){if(!c){var e=l.elements,t=e.reference,n=e.popper;if(Ts(t,n)){l.rects={reference:Ns(t,Xl(n),"fixed"===l.options.strategy),popper:Wl(n)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(e){return l.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<l.orderedModifiers.length;r++)if(!0!==l.reset){var o=l.orderedModifiers[r],a=o.fn,i=o.options,s=void 0===i?{}:i,d=o.name;"function"==typeof a&&(l=a({state:l,options:s,name:d,instance:u})||l)}else l.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(l)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!Ts(e,t))return u;function d(){s.forEach((function(e){return e()})),s=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var As=Ds({defaultModifiers:[ls,Ps,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:_l(t.placement),variation:rs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,as(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,as(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ml,Is,Cs,$s,ns,Es]}),Ms="undefined"!=typeof Element,_s="function"==typeof Map,Ls="function"==typeof Set,Fs="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function Vs(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,a;if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!Vs(e[r],t[r]))return!1;return!0}if(_s&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!Vs(r.value[1],t.get(r.value[0])))return!1;return!0}if(Ls&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(Fs&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof t.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof t.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Ms&&e instanceof Element)return!1;for(r=n;0!=r--;)if(("_owner"!==o[r]&&"__v"!==o[r]&&"__o"!==o[r]||!e.$$typeof)&&!Vs(e[o[r]],t[o[r]]))return!1;return!0}return e!=e&&t!=t}var js=w((function(e,t){try{return Vs(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}})),Bs=[],Hs=function(e,t,n){void 0===n&&(n={});var o=r.useRef(null),a={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Bs},i=r.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=i[0],s=i[1],c=r.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(e){var t=e.state,n=Object.keys(t.elements);m.flushSync((function(){s({styles:ml(n.map((function(e){return[e,t.styles[e]||{}]}))),attributes:ml(n.map((function(e){return[e,t.attributes[e]]})))})}))},requires:["computeStyles"]}}),[]),u=r.useMemo((function(){var e={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return js(o.current,e)?o.current||e:(o.current=e,e)}),[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),d=r.useRef();return gl((function(){d.current&&d.current.setOptions(u)}),[u]),gl((function(){if(null!=e&&null!=t){var r=(n.createPopper||As)(e,t,u);return d.current=r,function(){r.destroy(),d.current=null}}}),[e,t,n.createPopper]),{state:d.current?d.current.state:null,styles:l.styles,attributes:l.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const Ws=on.div`
|
|
335
335
|
display: inline-flex;
|
|
336
336
|
position: relative;
|
|
337
337
|
|
|
@@ -429,7 +429,7 @@ object-assign
|
|
|
429
429
|
* LICENSE.md file in the root directory of this source tree.
|
|
430
430
|
*
|
|
431
431
|
* @license MIT
|
|
432
|
-
*/function tc(e,t){return"function"==typeof e?e(t):e}function nc(e,t){return n=>{t.setState((t=>({...t,[e]:tc(n,t[e])})))}}function rc(e){return e instanceof Function}function oc(e,t,n){let r,o=[];return a=>{let i;n.key&&n.debug&&(i=Date.now());const l=e(a);if(!(l.length!==o.length||l.some(((e,t)=>o[t]!==e))))return r;let s;if(o=l,n.key&&n.debug&&(s=Date.now()),r=t(...l),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function ac(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:r}}const ic="debugHeaders";function lc(e,t,n){var r;let o={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(o,e)})),o}const sc={createTable:e=>{e.getHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{var a,i;const l=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],s=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],c=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id))));return cc(t,[...l,...c,...s],e)}),ac(e.options,ic,"getHeaderGroups")),e.getCenterHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>(n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),cc(t,n,e,"center"))),ac(e.options,ic,"getCenterHeaderGroups")),e.getLeftHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return cc(t,a,e,"left")}),ac(e.options,ic,"getLeftHeaderGroups")),e.getRightHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return cc(t,a,e,"right")}),ac(e.options,ic,"getRightHeaderGroups")),e.getFooterGroups=oc((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getFooterGroups")),e.getLeftFooterGroups=oc((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getLeftFooterGroups")),e.getCenterFooterGroups=oc((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getCenterFooterGroups")),e.getRightFooterGroups=oc((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getRightFooterGroups")),e.getFlatHeaders=oc((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getFlatHeaders")),e.getLeftFlatHeaders=oc((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getLeftFlatHeaders")),e.getCenterFlatHeaders=oc((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getCenterFlatHeaders")),e.getRightFlatHeaders=oc((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getRightFlatHeaders")),e.getCenterLeafHeaders=oc((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ac(e.options,ic,"getCenterLeafHeaders")),e.getLeftLeafHeaders=oc((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ac(e.options,ic,"getLeftLeafHeaders")),e.getRightLeafHeaders=oc((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ac(e.options,ic,"getRightLeafHeaders")),e.getLeafHeaders=oc((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,o,a,i,l,s;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(a=null==(i=t[0])?void 0:i.headers)?a:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),ac(e.options,ic,"getLeafHeaders"))}};function cc(e,t,n,r){var o,a;let i=0;const l=function(e,t){void 0===t&&(t=1),i=Math.max(i,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let s=[];const c=(e,t)=>{const o={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,s=!1;if(e.column.depth===o.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),i&&(null==i?void 0:i.column)===l)i.subHeaders.push(e);else{const o=lc(n,l,{id:[r,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${a.filter((e=>e.column===l)).length}`:void 0,depth:t,index:a.length});o.subHeaders.push(e),a.push(o)}o.headers.push(e),e.headerGroup=o})),s.push(o),t>0&&c(a,t-1)},u=t.map(((e,t)=>lc(n,e,{depth:i,index:t})));c(u,i-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(o=null==(a=s[0])?void 0:a.headers)?o:[]),s}const uc=(e,t,n,r,o,a,i)=>{let l={id:t,index:r,original:n,depth:o,parentId:i,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(l._valuesCache[t]=n.accessorFn(l.original,r),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=n.columnDef.getUniqueValues(l.original,r),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=l.getValue(t))?n:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>function(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(e),n}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:oc((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:oc((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),ac(e.options,"debugCells","cell.getContext"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)}),{}),o}(e,l,t,t.id)))),ac(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:oc((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),ac(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(l,e)}return l},dc={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},pc=(e,t,n)=>{var r;const o=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))};pc.autoRemove=e=>Sc(e);const fc=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};fc.autoRemove=e=>Sc(e);const mc=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};mc.autoRemove=e=>Sc(e);const gc=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};gc.autoRemove=e=>Sc(e)||!(null!=e&&e.length);const hc=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));hc.autoRemove=e=>Sc(e)||!(null!=e&&e.length);const vc=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));vc.autoRemove=e=>Sc(e)||!(null!=e&&e.length);const bc=(e,t,n)=>e.getValue(t)===n;bc.autoRemove=e=>Sc(e);const yc=(e,t,n)=>e.getValue(t)==n;yc.autoRemove=e=>Sc(e);const wc=(e,t,n)=>{let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};wc.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,a=null===t||Number.isNaN(r)?-1/0:r,i=null===n||Number.isNaN(o)?1/0:o;if(a>i){const e=a;a=i,i=e}return[a,i]},wc.autoRemove=e=>Sc(e)||Sc(e[0])&&Sc(e[1]);const xc={includesString:pc,includesStringSensitive:fc,equalsString:mc,arrIncludes:gc,arrIncludesAll:hc,arrIncludesSome:vc,equals:bc,weakEquals:yc,inNumberRange:wc};function Sc(e){return null==e||""===e}const Cc={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:nc("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?xc.includesString:"number"==typeof r?xc.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?xc.equals:Array.isArray(r)?xc.arrIncludes:xc.weakEquals},e.getFilterFn=()=>{var n,r;return rc(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:xc[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=tc(n,o?o.value:void 0);var i;if(kc(r,a,e))return null!=(i=null==t?void 0:t.filter((t=>t.id!==e.id)))?i:[];const l={id:e.id,value:a};var s;return o?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?s:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var r;return null==(r=tc(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(kc(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function kc(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const Oc={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o<n&&(o=n)))})),[r,o]},mean:(e,t)=>{let n=0,r=0;if(t.forEach((t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++n,r+=o)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(!function(e){return Array.isArray(e)&&e.every((e=>"number"==typeof e))}(n))return;if(1===n.length)return n[0];const r=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[r]:(o[r-1]+o[r])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},Ec={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:nc("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?Oc.sum:"[object Date]"===Object.prototype.toString.call(r)?Oc.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return rc(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:Oc[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const Ic={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:nc("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=oc((e=>[Dc(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),ac(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=Dc(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=Dc(t,n);return(null==(r=o[o.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=oc((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let o=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));if("remove"===n)return r;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]}(o,t,n)}),ac(e.options,"debugTable","_getOrderColumnsFn"))}},Pc={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:nc("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,o,a,i,l,s;return"right"===n?{left:(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,o;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"left":!!i&&"right"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=oc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),ac(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=oc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})));return n}),ac(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=oc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})));return n}),ac(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(a=r.right)?void 0:a.length))},e.getLeftLeafColumns=oc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ac(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=oc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ac(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=oc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),ac(e.options,"debugColumns","getCenterLeafColumns"))}},Nc={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},$c={getDefaultColumnDef:()=>Nc,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:nc("columnSizing",e),onColumnSizingInfoChange:nc("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const a=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Nc.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:Nc.size),null!=(o=e.columnDef.maxSize)?o:Nc.maxSize)},e.getStart=oc((e=>[e,Dc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),ac(t.options,"debugColumns","getStart")),e.getAfter=oc((e=>[e,Dc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),ac(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return a=>{if(!r||!o)return;if(null==a.persist||a.persist(),Rc(a)&&a.touches&&a.touches.length>1)return;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],s=Rc(a)?Math.round(a.touches[0].clientX):a.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o;const a="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*a,l=Math.max(i/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset:i,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),p=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},f=n||"undefined"!=typeof document?document:null,m={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",m.moveHandler),null==f||f.removeEventListener("mouseup",m.upHandler),p(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",g.moveHandler),null==f||f.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(null==(t=e.touches[0])?void 0:t.clientX)}},h=!!function(){if("boolean"==typeof zc)return zc;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return zc=e,zc}()&&{passive:!1};Rc(a)?(null==f||f.addEventListener("touchmove",g.moveHandler,h),null==f||f.addEventListener("touchend",g.upHandler,h)):(null==f||f.addEventListener("mousemove",m.moveHandler,h),null==f||f.addEventListener("mouseup",m.upHandler,h)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:r.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let zc=null;function Rc(e){return"touchstart"===e.type}const Tc={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:nc("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r;const o=e.columns;return null==(n=o.length?o.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=oc((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),ac(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=oc((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),ac(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>oc((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),ac(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function Dc(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ac={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:nc("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,a;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(a=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>xc.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return rc(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:xc[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Mc={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:nc("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((r=>{var o;const a=!0===r||!(null==r||!r[e.id]);let i={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{i[e]=!0})):i=r,n=null!=(o=n)?o:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:t,...n}=i;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},_c={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:nc("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>tc(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let r=tc(t,n.pageIndex);const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,tc(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let o=tc(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=oc((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),ac(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Lc={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:nc("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const a=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],i=o?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,r,o,a,i,s;return"bottom"===n?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(a=null==e?void 0:e.bottom)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=l&&l.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:o)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const a=null==(n=t._getPinnedRows(o))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==a?void 0:a.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(a=r.bottom)?void 0:a.length))},e._getPinnedRows=oc((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:r})))}),ac(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=oc((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),ac(e.options,"debugRows","getCenterRows"))}},Fc={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:nc("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach((t=>{Vc(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=oc((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?jc(e,n):{rows:[],flatRows:[],rowsById:{}}),ac(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=oc((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?jc(e,n):{rows:[],flatRows:[],rowsById:{}}),ac(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=oc((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?jc(e,n):{rows:[],flatRows:[],rowsById:{}}),ac(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection((a=>{var i;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return a;const l={...a};return Vc(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Bc(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Hc(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Hc(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},Vc=(e,t,n,r,o)=>{var a;const i=o.getRow(t,!0);n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>Vc(e,t.id,n,r,o)))};function jc(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){return e.map((e=>{var t;const i=Bc(e,n);if(i&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:o}}function Bc(e,t){var n;return null!=(n=t[e.id])&&n}function Hc(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let o=!0,a=!1;return e.subRows.forEach((e=>{if((!a||o)&&(e.getCanSelect()&&(Bc(e,t)?a=!0:o=!1),e.subRows&&e.subRows.length)){const n=Hc(e,t);"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}const Wc=/([0-9]+)/gm;function Gc(e,t){return e===t?0:e>t?1:-1}function qc(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Yc(e,t){const n=e.split(Wc).filter(Boolean),r=t.split(Wc).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),o=parseInt(e,10),a=parseInt(t,10),i=[o,a].sort();if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(i[1]))return isNaN(o)?-1:1;if(o>a)return 1;if(a>o)return-1}}return n.length-r.length}const Uc={alphanumeric:(e,t,n)=>Yc(qc(e.getValue(n)).toLowerCase(),qc(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Yc(qc(e.getValue(n)),qc(t.getValue(n))),text:(e,t,n)=>Gc(qc(e.getValue(n)).toLowerCase(),qc(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Gc(qc(e.getValue(n)),qc(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},basic:(e,t,n)=>Gc(e.getValue(n),t.getValue(n))},Kc={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:nc("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Uc.datetime;if("string"==typeof n&&(r=!0,n.split(Wc).length>1))return Uc.alphanumeric}return r?Uc.text:Uc.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return rc(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Uc[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),a=null!=n;t.setSorting((i=>{const l=null==i?void 0:i.find((t=>t.id===e.id)),s=null==i?void 0:i.findIndex((t=>t.id===e.id));let c,u=[],d=a?n:"desc"===o;var p;(c=null!=i&&i.length&&e.getCanMultiSort()&&r?l?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":l?"toggle":"replace","toggle"===c&&(a||o||(c="remove")),"add"===c)?(u=[...i,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(p=t.options.maxMultiSortColCount)?p:Number.MAX_SAFE_INTEGER))):u="toggle"===c?i.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?i.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?!!(i===a||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===i?"asc":"desc"):a},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Jc=[sc,Tc,Ic,Pc,dc,Cc,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Ac,Kc,Ec,Mc,_c,Lc,Fc,$c];function Xc(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...Jc,...null!=(t=e._features)?t:[]];let o={_features:r};const a=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{});let i={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}));const l=[];let s=!1;const c={_features:r,options:{...a,...e},initialState:i,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=tc(e,o.options);o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(a,e):{...a,...e})(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&(n=o.getCoreRowModel().rowsById[e],!n)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return n},_getDefaultColumnDef:oc((()=>[o.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),ac(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:oc((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={...e._getDefaultColumnDef(),...t},l=i.accessorKey;let s,c=null!=(o=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?o:"string"==typeof i.header?i.header:void 0;if(i.accessorFn?s=i.accessorFn:l&&(s=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var n;t=null==(n=t)?void 0:n[e],"production"!==process.env.NODE_ENV&&void 0===t&&console.warn(`"${e}" in deeply nested key "${l}" returned undefined.`)}return t}:e=>e[i.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(i.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header");throw new Error}let u={id:`${String(c)}`,accessorFn:s,parent:r,depth:n,columnDef:i,columns:[],getFlatColumns:oc((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),ac(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:oc((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),ac(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(o,e,r,n),i=e;return a.columns=i.columns?t(i.columns,a,r+1):[],a}))};return t(e)}),ac(e,"debugColumns","getAllColumns")),getAllFlatColumns:oc((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),ac(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:oc((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),ac(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:oc((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),ac(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=o._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(o,c);for(let e=0;e<o._features.length;e++){const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}
|
|
432
|
+
*/function tc(e,t){return"function"==typeof e?e(t):e}function nc(e,t){return n=>{t.setState((t=>({...t,[e]:tc(n,t[e])})))}}function rc(e){return e instanceof Function}function oc(e,t,n){let r,o=[];return a=>{let i;n.key&&n.debug&&(i=Date.now());const l=e(a);if(!(l.length!==o.length||l.some(((e,t)=>o[t]!==e))))return r;let s;if(o=l,n.key&&n.debug&&(s=Date.now()),r=t(...l),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-i))/100,t=Math.round(100*(Date.now()-s))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*r,120))}deg 100% 31%);`,null==n?void 0:n.key)}return r}}function ac(e,t,n,r){return{debug:()=>{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:"development"===process.env.NODE_ENV&&n,onChange:r}}const ic="debugHeaders";function lc(e,t,n){var r;let o={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(o,e)})),o}const sc={createTable:e=>{e.getHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{var a,i;const l=null!=(a=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[],s=null!=(i=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],c=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id))));return cc(t,[...l,...c,...s],e)}),ac(e.options,ic,"getHeaderGroups")),e.getCenterHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>(n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),cc(t,n,e,"center"))),ac(e.options,ic,"getCenterHeaderGroups")),e.getLeftHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return cc(t,a,e,"left")}),ac(e.options,ic,"getLeftHeaderGroups")),e.getRightHeaderGroups=oc((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var o;const a=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[];return cc(t,a,e,"right")}),ac(e.options,ic,"getRightHeaderGroups")),e.getFooterGroups=oc((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getFooterGroups")),e.getLeftFooterGroups=oc((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getLeftFooterGroups")),e.getCenterFooterGroups=oc((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getCenterFooterGroups")),e.getRightFooterGroups=oc((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),ac(e.options,ic,"getRightFooterGroups")),e.getFlatHeaders=oc((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getFlatHeaders")),e.getLeftFlatHeaders=oc((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getLeftFlatHeaders")),e.getCenterFlatHeaders=oc((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getCenterFlatHeaders")),e.getRightFlatHeaders=oc((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),ac(e.options,ic,"getRightFlatHeaders")),e.getCenterLeafHeaders=oc((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ac(e.options,ic,"getCenterLeafHeaders")),e.getLeftLeafHeaders=oc((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ac(e.options,ic,"getLeftLeafHeaders")),e.getRightLeafHeaders=oc((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),ac(e.options,ic,"getRightLeafHeaders")),e.getLeafHeaders=oc((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,o,a,i,l,s;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(a=null==(i=t[0])?void 0:i.headers)?a:[],...null!=(l=null==(s=n[0])?void 0:s.headers)?l:[]].map((e=>e.getLeafHeaders())).flat()}),ac(e.options,ic,"getLeafHeaders"))}};function cc(e,t,n,r){var o,a;let i=0;const l=function(e,t){void 0===t&&(t=1),i=Math.max(i,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&l(e.columns,t+1)}),0)};l(e);let s=[];const c=(e,t)=>{const o={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},a=[];e.forEach((e=>{const i=[...a].reverse()[0];let l,s=!1;if(e.column.depth===o.depth&&e.column.parent?l=e.column.parent:(l=e.column,s=!0),i&&(null==i?void 0:i.column)===l)i.subHeaders.push(e);else{const o=lc(n,l,{id:[r,t,l.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:s,placeholderId:s?`${a.filter((e=>e.column===l)).length}`:void 0,depth:t,index:a.length});o.subHeaders.push(e),a.push(o)}o.headers.push(e),e.headerGroup=o})),s.push(o),t>0&&c(a,t-1)},u=t.map(((e,t)=>lc(n,e,{depth:i,index:t})));c(u,i-1),s.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(o=null==(a=s[0])?void 0:a.headers)?o:[]),s}const uc=(e,t,n,r,o,a,i)=>{let l={id:t,index:r,original:n,depth:o,parentId:i,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(l._valuesCache.hasOwnProperty(t))return l._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(l._valuesCache[t]=n.accessorFn(l.original,r),l._valuesCache[t]):void 0},getUniqueValues:t=>{if(l._uniqueValuesCache.hasOwnProperty(t))return l._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(l._uniqueValuesCache[t]=n.columnDef.getUniqueValues(l.original,r),l._uniqueValuesCache[t]):(l._uniqueValuesCache[t]=[l.getValue(t)],l._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=l.getValue(t))?n:e.options.renderFallbackValue},subRows:[],getLeafRows:()=>function(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(e),n}(l.subRows,(e=>e.subRows)),getParentRow:()=>l.parentId?e.getRow(l.parentId,!0):void 0,getParentRows:()=>{let e=[],t=l;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:oc((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:oc((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),ac(e.options,"debugCells","cell.getContext"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)}),{}),o}(e,l,t,t.id)))),ac(e.options,"debugRows","getAllCells")),_getAllCellsByColumnId:oc((()=>[l.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),ac(e.options,"debugRows","getAllCellsByColumnId"))};for(let t=0;t<e._features.length;t++){const n=e._features[t];null==n||null==n.createRow||n.createRow(l,e)}return l},dc={createColumn:(e,t)=>{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},pc=(e,t,n)=>{var r;const o=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))};pc.autoRemove=e=>Sc(e);const fc=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};fc.autoRemove=e=>Sc(e);const mc=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};mc.autoRemove=e=>Sc(e);const gc=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};gc.autoRemove=e=>Sc(e)||!(null!=e&&e.length);const hc=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));hc.autoRemove=e=>Sc(e)||!(null!=e&&e.length);const vc=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));vc.autoRemove=e=>Sc(e)||!(null!=e&&e.length);const bc=(e,t,n)=>e.getValue(t)===n;bc.autoRemove=e=>Sc(e);const yc=(e,t,n)=>e.getValue(t)==n;yc.autoRemove=e=>Sc(e);const wc=(e,t,n)=>{let[r,o]=n;const a=e.getValue(t);return a>=r&&a<=o};wc.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,a=null===t||Number.isNaN(r)?-1/0:r,i=null===n||Number.isNaN(o)?1/0:o;if(a>i){const e=a;a=i,i=e}return[a,i]},wc.autoRemove=e=>Sc(e)||Sc(e[0])&&Sc(e[1]);const xc={includesString:pc,includesStringSensitive:fc,equalsString:mc,arrIncludes:gc,arrIncludesAll:hc,arrIncludesSome:vc,equals:bc,weakEquals:yc,inNumberRange:wc};function Sc(e){return null==e||""===e}const Cc={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:nc("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?xc.includesString:"number"==typeof r?xc.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?xc.equals:Array.isArray(r)?xc.arrIncludes:xc.weakEquals},e.getFilterFn=()=>{var n,r;return rc(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:xc[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),a=tc(n,o?o.value:void 0);var i;if(kc(r,a,e))return null!=(i=null==t?void 0:t.filter((t=>t.id!==e.id)))?i:[];const l={id:e.id,value:a};var s;return o?null!=(s=null==t?void 0:t.map((t=>t.id===e.id?l:t)))?s:[]:null!=t&&t.length?[...t,l]:[l]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var r;return null==(r=tc(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(kc(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function kc(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const Oc={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r<n||void 0===r&&n>=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o<n&&(o=n)))})),[r,o]},mean:(e,t)=>{let n=0,r=0;if(t.forEach((t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++n,r+=o)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(!function(e){return Array.isArray(e)&&e.every((e=>"number"==typeof e))}(n))return;if(1===n.length)return n[0];const r=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[r]:(o[r-1]+o[r])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},Ec={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:nc("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?Oc.sum:"[object Date]"===Object.prototype.toString.call(r)?Oc.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return rc(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:Oc[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const Ic={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:nc("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=oc((e=>[Dc(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),ac(t.options,"debugColumns","getIndex")),e.getIsFirstColumn=n=>{var r;return(null==(r=Dc(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=Dc(t,n);return(null==(r=o[o.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=oc((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let o=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));if("remove"===n)return r;const o=t.map((t=>e.find((e=>e.id===t)))).filter(Boolean);return[...o,...r]}(o,t,n)}),ac(e.options,"debugTable","_getOrderColumnsFn"))}},Pc={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:nc("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,o,a,i,l,s;return"right"===n?{left:(null!=(a=null==e?void 0:e.left)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(l=null==e?void 0:e.left)?l:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(s=null==e?void 0:e.right)?s:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,o;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"left":!!i&&"right"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=oc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),ac(t.options,"debugRows","getCenterVisibleCells")),e.getLeftVisibleCells=oc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})));return n}),ac(t.options,"debugRows","getLeftVisibleCells")),e.getRightVisibleCells=oc((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>{const n=(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})));return n}),ac(t.options,"debugRows","getRightVisibleCells"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(a=r.right)?void 0:a.length))},e.getLeftLeafColumns=oc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ac(e.options,"debugColumns","getLeftLeafColumns")),e.getRightLeafColumns=oc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),ac(e.options,"debugColumns","getRightLeafColumns")),e.getCenterLeafColumns=oc((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),ac(e.options,"debugColumns","getCenterLeafColumns"))}},$c={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Nc={getDefaultColumnDef:()=>$c,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:nc("columnSizing",e),onColumnSizingInfoChange:nc("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const a=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:$c.minSize,null!=(r=null!=a?a:e.columnDef.size)?r:$c.size),null!=(o=e.columnDef.maxSize)?o:$c.maxSize)},e.getStart=oc((e=>[e,Dc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),ac(t.options,"debugColumns","getStart")),e.getAfter=oc((e=>[e,Dc(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),ac(t.options,"debugColumns","getAfter")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return a=>{if(!r||!o)return;if(null==a.persist||a.persist(),Rc(a)&&a.touches&&a.touches.length>1)return;const i=e.getSize(),l=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],s=Rc(a)?Math.round(a.touches[0].clientX):a.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o;const a="rtl"===t.options.columnResizeDirection?-1:1,i=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*a,l=Math.max(i/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*l,0))/100})),{...e,deltaOffset:i,deltaPercentage:l}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),p=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},f=n||"undefined"!=typeof document?document:null,m={moveHandler:e=>d(e.clientX),upHandler:e=>{null==f||f.removeEventListener("mousemove",m.moveHandler),null==f||f.removeEventListener("mouseup",m.upHandler),p(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==f||f.removeEventListener("touchmove",g.moveHandler),null==f||f.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),p(null==(t=e.touches[0])?void 0:t.clientX)}},h=!!function(){if("boolean"==typeof zc)return zc;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return zc=e,zc}()&&{passive:!1};Rc(a)?(null==f||f.addEventListener("touchmove",g.moveHandler,h),null==f||f.addEventListener("touchend",g.upHandler,h)):(null==f||f.addEventListener("mousemove",m.moveHandler,h),null==f||f.addEventListener("mouseup",m.upHandler,h)),t.setColumnSizingInfo((e=>({...e,startOffset:s,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:l,isResizingColumn:r.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let zc=null;function Rc(e){return"touchstart"===e.type}const Tc={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:nc("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r;const o=e.columns;return null==(n=o.length?o.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=oc((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),ac(t.options,"debugRows","_getAllVisibleCells")),e.getVisibleCells=oc((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),ac(t.options,"debugRows","getVisibleCells"))},createTable:e=>{const t=(t,n)=>oc((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),ac(e.options,"debugColumns",t));e.getVisibleFlatColumns=t("getVisibleFlatColumns",(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t("getVisibleLeafColumns",(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t("getLeftVisibleLeafColumns",(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t("getRightVisibleLeafColumns",(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t("getCenterVisibleLeafColumns",(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function Dc(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ac={getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:nc("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,a;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(a=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||a)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>xc.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return rc(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:xc[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},Mc={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:nc("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((r=>{var o;const a=!0===r||!(null==r||!r[e.id]);let i={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{i[e]=!0})):i=r,n=null!=(o=n)?o:!a,!a&&n)return{...i,[e.id]:!0};if(a&&!n){const{[e.id]:t,...n}=i;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},_c={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:nc("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>tc(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let r=tc(t,n.pageIndex);const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,tc(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let o=tc(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=oc((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),ac(e.options,"debugTable","getPageOptions")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&t<n-1},e.previousPage=()=>e.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Lc={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:nc("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const a=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],i=o?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],l=new Set([...i,e.id,...a]);t.setRowPinning((e=>{var t,r,o,a,i,s;return"bottom"===n?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:[...(null!=(a=null==e?void 0:e.bottom)?a:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)]}:"top"===n?{top:[...(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=l&&l.has(e)))),...Array.from(l)],bottom:(null!=(s=null==e?void 0:e.bottom)?s:[]).filter((e=>!(null!=l&&l.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=l&&l.has(e)))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=l&&l.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:o)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,a=n.some((e=>null==r?void 0:r.includes(e))),i=n.some((e=>null==o?void 0:o.includes(e)));return a?"top":!!i&&"bottom"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const a=null==(n=t._getPinnedRows(o))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==a?void 0:a.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,a;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(a=r.bottom)?void 0:a.length))},e._getPinnedRows=oc((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:r})))}),ac(e.options,"debugRows","_getPinnedRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=oc((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),ac(e.options,"debugRows","getCenterRows"))}},Fc={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:nc("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach((t=>{Vc(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=oc((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?jc(e,n):{rows:[],flatRows:[],rowsById:{}}),ac(e.options,"debugTable","getSelectedRowModel")),e.getFilteredSelectedRowModel=oc((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?jc(e,n):{rows:[],flatRows:[],rowsById:{}}),ac(e.options,"debugTable","getFilteredSelectedRowModel")),e.getGroupedSelectedRowModel=oc((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?jc(e,n):{rows:[],flatRows:[],rowsById:{}}),ac(e.options,"debugTable","getGroupedSelectedRowModel")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},e.getIsSomePageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection((a=>{var i;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return a;const l={...a};return Vc(l,e.id,n,null==(i=null==r?void 0:r.selectChildren)||i,t),l}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Bc(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Hc(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Hc(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},Vc=(e,t,n,r,o)=>{var a;const i=o.getRow(t,!0);n?(i.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),i.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(a=i.subRows)&&a.length&&i.getCanSelectSubRows()&&i.subRows.forEach((t=>Vc(e,t.id,n,r,o)))};function jc(e,t){const n=e.getState().rowSelection,r=[],o={},a=function(e,t){return e.map((e=>{var t;const i=Bc(e,n);if(i&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:a(e.subRows)}),i)return e})).filter(Boolean)};return{rows:a(t.rows),flatRows:r,rowsById:o}}function Bc(e,t){var n;return null!=(n=t[e.id])&&n}function Hc(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let o=!0,a=!1;return e.subRows.forEach((e=>{if((!a||o)&&(e.getCanSelect()&&(Bc(e,t)?a=!0:o=!1),e.subRows&&e.subRows.length)){const n=Hc(e,t);"all"===n?a=!0:"some"===n?(a=!0,o=!1):o=!1}})),o?"all":!!a&&"some"}const Wc=/([0-9]+)/gm;function Gc(e,t){return e===t?0:e>t?1:-1}function qc(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Yc(e,t){const n=e.split(Wc).filter(Boolean),r=t.split(Wc).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),o=parseInt(e,10),a=parseInt(t,10),i=[o,a].sort();if(isNaN(i[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(i[1]))return isNaN(o)?-1:1;if(o>a)return 1;if(a>o)return-1}}return n.length-r.length}const Uc={alphanumeric:(e,t,n)=>Yc(qc(e.getValue(n)).toLowerCase(),qc(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Yc(qc(e.getValue(n)),qc(t.getValue(n))),text:(e,t,n)=>Gc(qc(e.getValue(n)).toLowerCase(),qc(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Gc(qc(e.getValue(n)),qc(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},basic:(e,t,n)=>Gc(e.getValue(n),t.getValue(n))},Kc={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:nc("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Uc.datetime;if("string"==typeof n&&(r=!0,n.split(Wc).length>1))return Uc.alphanumeric}return r?Uc.text:Uc.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return rc(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Uc[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),a=null!=n;t.setSorting((i=>{const l=null==i?void 0:i.find((t=>t.id===e.id)),s=null==i?void 0:i.findIndex((t=>t.id===e.id));let c,u=[],d=a?n:"desc"===o;var p;(c=null!=i&&i.length&&e.getCanMultiSort()&&r?l?"toggle":"add":null!=i&&i.length&&s!==i.length-1?"replace":l?"toggle":"replace","toggle"===c&&(a||o||(c="remove")),"add"===c)?(u=[...i,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(p=t.options.maxMultiSortColCount)?p:Number.MAX_SAFE_INTEGER))):u="toggle"===c?i.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?i.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const a=e.getFirstSortDir(),i=e.getIsSorted();return i?!!(i===a||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===i?"asc":"desc"):a},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},Jc=[sc,Tc,Ic,Pc,dc,Cc,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},Ac,Kc,Ec,Mc,_c,Lc,Fc,Nc];function Xc(e){var t,n;"production"!==process.env.NODE_ENV&&(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");const r=[...Jc,...null!=(t=e._features)?t:[]];let o={_features:r};const a=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{});let i={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t;i=null!=(t=null==e.getInitialState?void 0:e.getInitialState(i))?t:i}));const l=[];let s=!1;const c={_features:r,options:{...a,...e},initialState:i,_queue:e=>{l.push(e),s||(s=!0,Promise.resolve().then((()=>{for(;l.length;)l.shift()();s=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=tc(e,o.options);o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(a,e):{...a,...e})(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&(n=o.getCoreRowModel().rowsById[e],!n)){if("production"!==process.env.NODE_ENV)throw new Error(`getRow could not find row with ID: ${e}`);throw new Error}return n},_getDefaultColumnDef:oc((()=>[o.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),ac(e,"debugColumns","_getDefaultColumnDef")),_getColumnDefs:()=>o.options.columns,getAllColumns:oc((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const a=function(e,t,n,r){var o,a;const i={...e._getDefaultColumnDef(),...t},l=i.accessorKey;let s,c=null!=(o=null!=(a=i.id)?a:l?l.replace(".","_"):void 0)?o:"string"==typeof i.header?i.header:void 0;if(i.accessorFn?s=i.accessorFn:l&&(s=l.includes(".")?e=>{let t=e;for(const e of l.split(".")){var n;t=null==(n=t)?void 0:n[e],"production"!==process.env.NODE_ENV&&void 0===t&&console.warn(`"${e}" in deeply nested key "${l}" returned undefined.`)}return t}:e=>e[i.accessorKey]),!c){if("production"!==process.env.NODE_ENV)throw new Error(i.accessorFn?"Columns require an id when using an accessorFn":"Columns require an id when using a non-string header");throw new Error}let u={id:`${String(c)}`,accessorFn:s,parent:r,depth:n,columnDef:i,columns:[],getFlatColumns:oc((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),ac(e.options,"debugColumns","column.getFlatColumns")),getLeafColumns:oc((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),ac(e.options,"debugColumns","column.getLeafColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(o,e,r,n),i=e;return a.columns=i.columns?t(i.columns,a,r+1):[],a}))};return t(e)}),ac(e,"debugColumns","getAllColumns")),getAllFlatColumns:oc((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),ac(e,"debugColumns","getAllFlatColumns")),_getAllFlatColumnsById:oc((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),ac(e,"debugColumns","getAllFlatColumnsById")),getAllLeafColumns:oc((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>{let n=e.flatMap((e=>e.getLeafColumns()));return t(n)}),ac(e,"debugColumns","getAllLeafColumns")),getColumn:e=>{const t=o._getAllFlatColumnsById()[e];return"production"===process.env.NODE_ENV||t||console.error(`[Table] Column with id '${e}' does not exist.`),t}};Object.assign(o,c);for(let e=0;e<o._features.length;e++){const t=o._features[e];null==t||null==t.createTable||t.createTable(o)}return o}
|
|
433
433
|
/**
|
|
434
434
|
* react-table
|
|
435
435
|
*
|
|
@@ -443,10 +443,15 @@ object-assign
|
|
|
443
443
|
function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?r.createElement(e,t):e:null;var n}function Zc(e,t){const[n,r]=c((()=>{if("undefined"==typeof window)return t;try{const n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return console.log(e),t}}));return[n,t=>{try{const o=t instanceof Function?t(n):t;r(o),"undefined"!=typeof window&&window.localStorage.setItem(e,JSON.stringify(o))}catch(e){console.log(e)}}]}const eu=on.div`
|
|
444
444
|
overflow-x: auto;
|
|
445
445
|
width: 100%;
|
|
446
|
+
max-height: 90vh;
|
|
446
447
|
`,tu=on.table`
|
|
447
448
|
border-collapse: collapse;
|
|
448
449
|
position: relative;
|
|
449
450
|
|
|
451
|
+
thead {
|
|
452
|
+
background-color: white;
|
|
453
|
+
}
|
|
454
|
+
|
|
450
455
|
thead,
|
|
451
456
|
tbody {
|
|
452
457
|
display: table;
|
|
@@ -519,7 +524,8 @@ function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
519
524
|
padding: var(--spacing--small);
|
|
520
525
|
display: table-cell;
|
|
521
526
|
vertical-align: middle;
|
|
522
|
-
|
|
527
|
+
overflow: hidden;
|
|
528
|
+
text-overflow: ellipsis;
|
|
523
529
|
|
|
524
530
|
&.name {
|
|
525
531
|
font-weight: 500;
|
|
@@ -849,7 +855,7 @@ function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
849
855
|
background-color: rgb(255, 255, 255, 0.1);
|
|
850
856
|
opacity: 1;
|
|
851
857
|
}
|
|
852
|
-
|
|
858
|
+
`,$u=on.summary`
|
|
853
859
|
list-style: none;
|
|
854
860
|
background-color: rgb(255, 255, 255, 0);
|
|
855
861
|
border-radius: var(--border-radius--medium);
|
|
@@ -881,7 +887,7 @@ function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
881
887
|
margin-right: 5px;
|
|
882
888
|
flex-shrink: 0;
|
|
883
889
|
}
|
|
884
|
-
|
|
890
|
+
`,Nu=on.div`
|
|
885
891
|
position: absolute;
|
|
886
892
|
top: calc(100% + 5px);
|
|
887
893
|
left: 0;
|
|
@@ -950,7 +956,7 @@ function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
950
956
|
}
|
|
951
957
|
}
|
|
952
958
|
}
|
|
953
|
-
`;function zu({children:n,toggle:r,rightAlign:a}){const[i,l]=o.useState(!1),s=o.useRef(null),c=o.useRef(null);o.useEffect((()=>{i&&setTimeout((()=>s.current?.focus()),1)}),[i]);const u=e=>{c.current&&e.target instanceof Node&&!c.current.contains(e.target)&&l(!1)};return o.useEffect((()=>(document.addEventListener("click",u,!0),()=>{document.removeEventListener("click",u,!0)})),[]),e("div",{ref:c,children:t(Pu,{open:i,children:[e(
|
|
959
|
+
`;function zu({children:n,toggle:r,rightAlign:a}){const[i,l]=o.useState(!1),s=o.useRef(null),c=o.useRef(null);o.useEffect((()=>{i&&setTimeout((()=>s.current?.focus()),1)}),[i]);const u=e=>{c.current&&e.target instanceof Node&&!c.current.contains(e.target)&&l(!1)};return o.useEffect((()=>(document.addEventListener("click",u,!0),()=>{document.removeEventListener("click",u,!0)})),[]),e("div",{ref:c,children:t(Pu,{open:i,children:[e($u,{"aria-haspopup":"menu",role:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),l(!i)},"aria-expanded":i,children:r}),e(Nu,{className:a?"right":"",ref:s,role:"menu",children:n})]})})}const Ru=on.header`
|
|
954
960
|
display: flex;
|
|
955
961
|
flex-flow: row;
|
|
956
962
|
align-items: center;
|
|
@@ -975,7 +981,7 @@ function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
975
981
|
`,Au=on.div``,Mu=on.div`
|
|
976
982
|
display: flex;
|
|
977
983
|
align-items: center;
|
|
978
|
-
`;function _u({currentApp:r,apps:o}){const a=e("svg",{viewBox:"0 0 32 32",children:t("g",{children:[e("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),e("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),e("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return e(zu,{toggle:t(n,{children:[a,r&&e(Mu,{children:r})]}),children:o})}function Lu({apps:n,currentApp:r,leftSide:o,rightSide:a}){return t(Ru,{children:[e(Tu,{href:"/",children:e(Iu,{})}),e(_u,{apps:n,currentApp:r}),e(Au,{children:o}),e(Du,{children:a})]})}function Fu(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Fu('/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\nbody {\n line-height: 1;\n}\nol,\nul {\n list-style: none;\n}\nblockquote,\nq {\n quotes: none;\n}\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n');var Vu="$$joy";function ju(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Bu(){return Bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bu.apply(null,arguments)}var Hu=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Wu="-ms-",Gu="-moz-",qu="-webkit-",Yu="comm",Uu="rule",Ku="decl",Ju="@keyframes",Xu=Math.abs,Qu=String.fromCharCode,Zu=Object.assign;function ed(e){return e.trim()}function td(e,t,n){return e.replace(t,n)}function nd(e,t){return e.indexOf(t)}function rd(e,t){return 0|e.charCodeAt(t)}function od(e,t,n){return e.slice(t,n)}function ad(e){return e.length}function id(e){return e.length}function ld(e,t){return t.push(e),e}var sd=1,cd=1,ud=0,dd=0,pd=0,fd="";function md(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:sd,column:cd,length:i,return:""}}function gd(e,t){return Zu(md("",null,null,"",null,null,0),e,{length:-e.length},t)}function hd(){return pd=dd>0?rd(fd,--dd):0,cd--,10===pd&&(cd=1,sd--),pd}function vd(){return pd=dd<ud?rd(fd,dd++):0,cd++,10===pd&&(cd=1,sd++),pd}function bd(){return rd(fd,dd)}function yd(){return dd}function wd(e,t){return od(fd,e,t)}function xd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Sd(e){return sd=cd=1,ud=ad(fd=e),dd=0,[]}function Cd(e){return fd="",e}function kd(e){return ed(wd(dd-1,Id(91===e?e+2:40===e?e+1:e)))}function Od(e){for(;(pd=bd())&&pd<33;)vd();return xd(e)>2||xd(pd)>3?"":" "}function Ed(e,t){for(;--t&&vd()&&!(pd<48||pd>102||pd>57&&pd<65||pd>70&&pd<97););return wd(e,yd()+(t<6&&32==bd()&&32==vd()))}function Id(e){for(;vd();)switch(pd){case e:return dd;case 34:case 39:34!==e&&39!==e&&Id(pd);break;case 40:41===e&&Id(e);break;case 92:vd()}return dd}function Pd(e,t){for(;vd()&&e+pd!==57&&(e+pd!==84||47!==bd()););return"/*"+wd(t,dd-1)+"*"+Qu(47===e?e:vd())}function Nd(e){for(;!xd(bd());)vd();return wd(e,dd)}function $d(e){return Cd(zd("",null,null,null,[""],e=Sd(e),0,[0],e))}function zd(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",w=o,x=a,S=r,C=y;h;)switch(m=b,b=vd()){case 40:if(108!=m&&58==rd(C,d-1)){-1!=nd(C+=td(kd(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=kd(b);break;case 9:case 10:case 13:case 32:C+=Od(m);break;case 92:C+=Ed(yd()-1,7);continue;case 47:switch(bd()){case 42:case 47:ld(Td(Pd(vd(),yd()),t,n),s);break;default:C+="/"}break;case 123*g:l[c++]=ad(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=td(C,/\f/g,"")),f>0&&ad(C)-d&&ld(f>32?Dd(C+";",r,n,d-1):Dd(td(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(ld(S=Rd(C,t,n,c,u,o,l,y,w=[],x=[],d),a),123===b)if(0===u)zd(C,t,S,S,w,a,d,l,x);else switch(99===p&&110===rd(C,3)?100:p){case 100:case 108:case 109:case 115:zd(e,S,S,r&&ld(Rd(e,S,S,0,0,o,l,y,o,w=[],d),x),o,x,d,l,r?w:x);break;default:zd(C,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+ad(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==hd())continue;switch(C+=Qu(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(ad(C)-1)*v,v=1;break;case 64:45===bd()&&(C+=kd(vd())),p=bd(),u=d=ad(y=C+=Nd(yd())),b++;break;case 45:45===m&&2==ad(C)&&(g=0)}}return a}function Rd(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=id(p),m=0,g=0,h=0;m<r;++m)for(var v=0,b=od(e,d+1,d=Xu(g=i[m])),y=e;v<f;++v)(y=ed(g>0?p[v]+" "+b:td(b,/&\f/g,p[v])))&&(s[h++]=y);return md(e,t,n,0===o?Uu:l,s,c,u)}function Td(e,t,n){return md(e,t,n,Yu,Qu(pd),od(e,2,-2),0)}function Dd(e,t,n,r){return md(e,t,n,Ku,od(e,0,r),od(e,r+1,-1),r)}function Ad(e,t){for(var n="",r=id(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Md(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ku:return e.return=e.return||e.value;case Yu:return"";case Ju:return e.return=e.value+"{"+Ad(e.children,r)+"}";case Uu:e.value=e.props.join(",")}return ad(n=Ad(e.children,r))?e.return=e.value+"{"+n+"}":""}function _d(e){var t=id(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var Ld=function(e,t,n){for(var r=0,o=0;r=o,o=bd(),38===r&&12===o&&(t[n]=1),!xd(o);)vd();return wd(e,dd)},Fd=function(e,t){return Cd(function(e,t){var n=-1,r=44;do{switch(xd(r)){case 0:38===r&&12===bd()&&(t[n]=1),e[n]+=Ld(dd-1,t,n);break;case 2:e[n]+=kd(r);break;case 4:if(44===r){e[++n]=58===bd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Qu(r)}}while(r=vd());return e}(Sd(e),t))},Vd=new WeakMap,jd=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Vd.get(n))&&!r){Vd.set(e,!0);for(var o=[],a=Fd(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},Bd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Hd=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Wd=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Gd=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},qd=function(e,t,n){Wd(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Gd(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Wd(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Gd(e)))};function Yd(e,t){switch(function(e,t){return 45^rd(e,0)?(((t<<2^rd(e,0))<<2^rd(e,1))<<2^rd(e,2))<<2^rd(e,3):0}(e,t)){case 5103:return qu+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qu+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qu+e+Gu+e+Wu+e+e;case 6828:case 4268:return qu+e+Wu+e+e;case 6165:return qu+e+Wu+"flex-"+e+e;case 5187:return qu+e+td(e,/(\w+).+(:[^]+)/,qu+"box-$1$2"+Wu+"flex-$1$2")+e;case 5443:return qu+e+Wu+"flex-item-"+td(e,/flex-|-self/,"")+e;case 4675:return qu+e+Wu+"flex-line-pack"+td(e,/align-content|flex-|-self/,"")+e;case 5548:return qu+e+Wu+td(e,"shrink","negative")+e;case 5292:return qu+e+Wu+td(e,"basis","preferred-size")+e;case 6060:return qu+"box-"+td(e,"-grow","")+qu+e+Wu+td(e,"grow","positive")+e;case 4554:return qu+td(e,/([^-])(transform)/g,"$1"+qu+"$2")+e;case 6187:return td(td(td(e,/(zoom-|grab)/,qu+"$1"),/(image-set)/,qu+"$1"),e,"")+e;case 5495:case 3959:return td(e,/(image-set\([^]*)/,qu+"$1$`$1");case 4968:return td(td(e,/(.+:)(flex-)?(.*)/,qu+"box-pack:$3"+Wu+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qu+e+e;case 4095:case 3583:case 4068:case 2532:return td(e,/(.+)-inline(.+)/,qu+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ad(e)-1-t>6)switch(rd(e,t+1)){case 109:if(45!==rd(e,t+4))break;case 102:return td(e,/(.+:)(.+)-([^]+)/,"$1"+qu+"$2-$3$1"+Gu+(108==rd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~nd(e,"stretch")?Yd(td(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==rd(e,t+1))break;case 6444:switch(rd(e,ad(e)-3-(~nd(e,"!important")&&10))){case 107:return td(e,":",":"+qu)+e;case 101:return td(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qu+(45===rd(e,14)?"inline-":"")+"box$3$1"+qu+"$2$3$1"+Wu+"$2box$3")+e}break;case 5936:switch(rd(e,t+11)){case 114:return qu+e+Wu+td(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qu+e+Wu+td(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qu+e+Wu+td(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qu+e+Wu+e+e}return e}var Ud,Kd,Jd="undefined"!=typeof document,Xd=Jd?void 0:(Ud=function(){return v((function(){var e={};return function(t){return e[t]}}))},Kd=new WeakMap,function(e){if(Kd.has(e))return Kd.get(e);var t=Ud(e);return Kd.set(e,t),t}),Qd=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ku:e.return=Yd(e.value,e.length);break;case Ju:return Ad([gd(e,{value:td(e.value,"@","@"+qu)})],r);case Uu:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ad([gd(e,{props:[td(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ad([gd(e,{props:[td(t,/:(plac\w+)/,":"+qu+"input-$1")]}),gd(e,{props:[td(t,/:(plac\w+)/,":-moz-$1")]}),gd(e,{props:[td(t,/:(plac\w+)/,Wu+"input-$1")]})],r)}return""}))}}],Zd=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(Jd&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Qd;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},l=[];Jd&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,c=[jd,Bd];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=t.parent?t.parent.children:r,i=a.length-1;i>=0;i--){var l=a[i];if(l.line<t.line)break;if(l.column<t.column){if(Hd(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),qd),Jd){var u,d=[Md,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==Yu&&u.insert(e.value+"{}"))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=_d(c.concat(r,d));a=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),function(e){Ad($d(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[Md],m=_d(c.concat(r,f)),g=Xd(r)(t),h=function(e,t){var n=t.name;return void 0===g[n]&&(g[n]=function(e){return Ad($d(e),m)}(e?e+"{"+t.styles+"}":t.styles)),g[n]};a=function(e,t,n,r){var o=t.name,a=h(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new Hu({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return v.sheet.hydrate(l),v},ep=Ka(),tp={};tp[ep.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tp[ep.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var np="undefined"!=typeof document;function rp(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var op=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===np&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ap=function(e,t,n){op(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);np||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!np&&0!==o.length)return o}};var ip="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",lp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",sp=/[A-Z]|^ms/g,cp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,up=function(e){return 45===e.charCodeAt(1)},dp=function(e){return null!=e&&"boolean"!=typeof e},pp=v((function(e){return up(e)?e:e.replace(sp,"-$&").toLowerCase()})),fp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(cp,(function(e,t,n){return Cp={name:t,styles:n,next:Cp},t}))}return 1===be[e]||up(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var mp=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,gp=["normal","none","initial","inherit","unset"],hp=fp,vp=/^-ms-/,bp=/-(.)/g,yp={};fp=function(e,t){if("content"===e&&("string"!=typeof t||-1===gp.indexOf(t)&&!mp.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=hp(e,t);return""===n||up(e)||-1===e.indexOf("-")||void 0!==yp[e]||(yp[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(vp,"ms-").replace(bp,(function(e,t){return t.toUpperCase()}))+"?")),n}}var wp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function xp(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(wp);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Cp={name:n.name,styles:n.styles,next:Cp},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Cp={name:r.name,styles:r.styles,next:Cp},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=xp(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":dp(i)&&(r+=pp(a)+":"+fp(a,i)+";");else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(wp);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=xp(e,t,i);switch(a){case"animation":case"animationName":r+=pp(a)+":"+l+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(lp),r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)dp(i[s])&&(r+=pp(a)+":"+fp(a,i[s])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=Cp,i=n(e);return Cp=a,xp(e,t,i)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var l=[],s=n.replace(cp,(function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+s+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+s+"`")}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var Sp,Cp,kp=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Sp=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Op=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Cp=void 0;var a,i=e[0];null==i||void 0===i.raw?(r=!1,o+=xp(n,t,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(ip),o+=i[0]);for(var l=1;l<e.length;l++)o+=xp(n,t,e[l]),r&&("production"!==process.env.NODE_ENV&&void 0===i[l]&&console.error(ip),o+=i[l]);"production"!==process.env.NODE_ENV&&(o=o.replace(Sp,(function(e){return a=e,""}))),kp.lastIndex=0;for(var s,c="";null!==(s=kp.exec(o));)c+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:a,next:Cp,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:Cp}},Ep="undefined"!=typeof document,Ip=function(e){return e()},Pp=!!r.useInsertionEffect&&r.useInsertionEffect,Np=Ep&&Pp||Ip,$p=Pp||r.useLayoutEffect,zp="undefined"!=typeof document,Rp={}.hasOwnProperty,Tp=r.createContext("undefined"!=typeof HTMLElement?Zd({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Tp.displayName="EmotionCacheContext"),Tp.Provider;var Dp=function(e){return p((function(t,n){var r=s(Tp);return e(t,r,n)}))};zp||(Dp=function(e){return function(t){var n=s(Tp);return null===n?(n=Zd({key:"css"}),r.createElement(Tp.Provider,{value:n},e(t,n))):e(t,n)}});var Ap=r.createContext({});"production"!==process.env.NODE_ENV&&(Ap.displayName="EmotionThemeContext");var Mp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_p="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Lp=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;op(t,n,o);var a=Np((function(){return ap(t,n,o)}));if(!zp&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},Fp=Dp((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[Mp],i=[o],l="";"string"==typeof e.className?l=rp(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=Op(i,void 0,r.useContext(Ap));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var c=e[_p];c&&(s=Op([s,"label:"+c+";"]))}l+=t.key+"-"+s.name;var u={};for(var d in e)!Rp.call(e,d)||"css"===d||d===Mp||"production"!==process.env.NODE_ENV&&d===_p||(u[d]=e[d]);return u.ref=n,u.className=l,r.createElement(r.Fragment,null,r.createElement(Lp,{cache:t,serialized:s,isStringTag:"string"==typeof a}),r.createElement(a,u))}));"production"!==process.env.NODE_ENV&&(Fp.displayName="EmotionCssPropInternal");var Vp=!1,jp=Dp((function(e,t){"production"===process.env.NODE_ENV||Vp||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Vp=!0);var n=e.styles,o=Op([n],void 0,r.useContext(Ap));if(!zp){for(var a,i=o.name,l=o.styles,s=o.next;void 0!==s;)i+=" "+s.name,l+=s.styles,s=s.next;var c=!0===t.compat,u=t.insert("",{name:i,styles:l},t.sheet,c);return c?null:r.createElement("style",((a={})["data-emotion"]=t.key+"-global "+i,a.dangerouslySetInnerHTML={__html:u},a.nonce=t.sheet.nonce,a))}var d=r.useRef();return $p((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,r],function(){n.flush()}}),[t]),$p((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&ap(t,o.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",o,n,!1)}}),[t,o.name]),null}));function Bp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Op(t)}"production"!==process.env.NODE_ENV&&(jp.displayName="EmotionGlobal");var Hp=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var Wp=function(e){var t,n=e.cache,o=e.serializedArr,a=Np((function(){for(var e="",t=0;t<o.length;t++){var r=ap(n,o[t],!1);zp||void 0===r||(e+=r)}if(!zp)return e}));return zp||0===a.length?null:r.createElement("style",((t={})["data-emotion"]=n.key+" "+o.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:a},t.nonce=n.sheet.nonce,t))},Gp=Dp((function(e,t){var n=!1,o=[],a=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];var i=Op(r,t.registered);return o.push(i),op(t,i,!1),t.key+"-"+i.name},i={css:a,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(e,t,n){var r=[],o=rp(e,r,n);return r.length<2?n:o+t(r)}(t.registered,a,Hp(r))},theme:r.useContext(Ap)},l=e.children(i);return n=!0,r.createElement(r.Fragment,null,r.createElement(Wp,{cache:t,serializedArr:o}),l)}));if("production"!==process.env.NODE_ENV&&(Gp.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var qp="undefined"!=typeof document,Yp="undefined"!=typeof jest||"undefined"!=typeof vi;if(qp&&!Yp){var Up="undefined"!=typeof globalThis?globalThis:qp?window:global,Kp="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";Up[Kp]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Up[Kp]=!0}}var Jp=y,Xp=function(e){return"theme"!==e},Qp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Jp:Xp},Zp=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ef="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",tf="undefined"!=typeof document,nf=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;op(t,n,o);var a=Np((function(){return ap(t,n,o)}));if(!tf&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},rf=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var o,a,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var s=Zp(t,n,i),c=s||Qp(l),u=!c("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(ef),p.push(d[0][0]);for(var f=d.length,m=1;m<f;m++)"production"!==process.env.NODE_ENV&&void 0===d[0][m]&&console.error(ef),p.push(d[m],d[0][m])}var g=Dp((function(e,t,n){var o=u&&e.as||l,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=r.useContext(Ap)}"string"==typeof e.className?i=rp(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var g=Op(p.concat(d),t.registered,f);i+=t.key+"-"+g.name,void 0!==a&&(i+=" "+a);var h=u&&void 0===s?Qp(o):c,v={};for(var b in e)u&&"as"===b||h(b)&&(v[b]=e[b]);return v.className=i,v.ref=n,r.createElement(r.Fragment,null,r.createElement(nf,{cache:t,serialized:g,isStringTag:"string"==typeof o}),r.createElement(o,v))}));return g.displayName=void 0!==o?o:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return void 0===a&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+a}}),g.withComponent=function(t,r){return e(t,Bu({},n,r,{shouldForwardProp:Zp(g,r,!0)})).apply(void 0,p)},g}}.bind();function of(t){const{styles:n,defaultTheme:r={}}=t;return e(jp,{styles:"function"==typeof n?e=>{return n(null==(t=e)||0===Object.keys(t).length?r:e);var t}:n})}
|
|
984
|
+
`;function _u({currentApp:r,apps:o}){const a=e("svg",{viewBox:"0 0 32 32",children:t("g",{children:[e("path",{d:"M10.246,4.228c0-0.547-0.443-0.991-0.99-0.991H3.914c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M19.453,4.228c0-0.547-0.443-0.991-0.991-0.991h-5.343c-0.546,0-0.99,0.443-0.99,0.991V9.57 c0,0.546,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.444,0.991-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M28.868,4.228c0-0.547-0.443-0.991-0.99-0.991h-5.342c-0.548,0-0.991,0.443-0.991,0.991V9.57 c0,0.546,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.444,0.99-0.99V4.228z",fill:"currentColor"}),e("path",{d:"M10.246,13.224c0-0.547-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M19.453,13.224c0-0.547-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.443-0.99,0.99v5.342 c0,0.549,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.441,0.991-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M28.868,13.224c0-0.547-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.443-0.991,0.99v5.342 c0,0.549,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.441,0.99-0.99V13.224z",fill:"currentColor"}),e("path",{d:"M10.246,22.43c0-0.545-0.443-0.99-0.99-0.99H3.914c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"}),e("path",{d:"M19.453,22.43c0-0.545-0.443-0.99-0.991-0.99h-5.343c-0.546,0-0.99,0.445-0.99,0.99v5.344 c0,0.547,0.444,0.99,0.99,0.99h5.343c0.548,0,0.991-0.443,0.991-0.99V22.43z",fill:"currentColor"}),e("path",{d:"M28.868,22.43c0-0.545-0.443-0.99-0.99-0.99h-5.342c-0.548,0-0.991,0.445-0.991,0.99v5.344 c0,0.547,0.443,0.99,0.991,0.99h5.342c0.547,0,0.99-0.443,0.99-0.99V22.43z",fill:"currentColor"})]})});return e(zu,{toggle:t(n,{children:[a,r&&e(Mu,{children:r})]}),children:o})}function Lu({apps:n,currentApp:r,leftSide:o,rightSide:a}){return t(Ru,{children:[e(Tu,{href:"/",children:e(Iu,{})}),e(_u,{apps:n,currentApp:r}),e(Au,{children:o}),e(Du,{children:a})]})}function Fu(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Fu('/* http://meyerweb.com/eric/tools/css/reset/\n v2.0 | 20110126\n License: none (public domain)\n*/\n\nhtml,\nbody,\ndiv,\nspan,\napplet,\nobject,\niframe,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\np,\nblockquote,\npre,\na,\nabbr,\nacronym,\naddress,\nbig,\ncite,\ncode,\ndel,\ndfn,\nem,\nimg,\nins,\nkbd,\nq,\ns,\nsamp,\nsmall,\nstrike,\nstrong,\nsub,\nsup,\ntt,\nvar,\nb,\nu,\ni,\ncenter,\ndl,\ndt,\ndd,\nol,\nul,\nli,\nfieldset,\nform,\nlabel,\nlegend,\ntable,\ncaption,\ntbody,\ntfoot,\nthead,\ntr,\nth,\ntd,\narticle,\naside,\ncanvas,\ndetails,\nembed,\nfigure,\nfigcaption,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\noutput,\nruby,\nsection,\nsummary,\ntime,\nmark,\naudio,\nvideo {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n font: inherit;\n vertical-align: baseline;\n}\n/* HTML5 display-role reset for older browsers */\narticle,\naside,\ndetails,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmenu,\nnav,\nsection {\n display: block;\n}\nbody {\n line-height: 1;\n}\nol,\nul {\n list-style: none;\n}\nblockquote,\nq {\n quotes: none;\n}\nblockquote:before,\nblockquote:after,\nq:before,\nq:after {\n content: "";\n content: none;\n}\ntable {\n border-collapse: collapse;\n border-spacing: 0;\n}\n');var Vu="$$joy";function ju(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function Bu(){return Bu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bu.apply(null,arguments)}var Hu=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?"production"===process.env.NODE_ENV:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if("production"!==process.env.NODE_ENV){var n=64===e.charCodeAt(0)&&105===e.charCodeAt(1);n&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!n}if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(t){"production"===process.env.NODE_ENV||/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0,"production"!==process.env.NODE_ENV&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Wu="-ms-",Gu="-moz-",qu="-webkit-",Yu="comm",Uu="rule",Ku="decl",Ju="@keyframes",Xu=Math.abs,Qu=String.fromCharCode,Zu=Object.assign;function ed(e){return e.trim()}function td(e,t,n){return e.replace(t,n)}function nd(e,t){return e.indexOf(t)}function rd(e,t){return 0|e.charCodeAt(t)}function od(e,t,n){return e.slice(t,n)}function ad(e){return e.length}function id(e){return e.length}function ld(e,t){return t.push(e),e}var sd=1,cd=1,ud=0,dd=0,pd=0,fd="";function md(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:sd,column:cd,length:i,return:""}}function gd(e,t){return Zu(md("",null,null,"",null,null,0),e,{length:-e.length},t)}function hd(){return pd=dd>0?rd(fd,--dd):0,cd--,10===pd&&(cd=1,sd--),pd}function vd(){return pd=dd<ud?rd(fd,dd++):0,cd++,10===pd&&(cd=1,sd++),pd}function bd(){return rd(fd,dd)}function yd(){return dd}function wd(e,t){return od(fd,e,t)}function xd(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Sd(e){return sd=cd=1,ud=ad(fd=e),dd=0,[]}function Cd(e){return fd="",e}function kd(e){return ed(wd(dd-1,Id(91===e?e+2:40===e?e+1:e)))}function Od(e){for(;(pd=bd())&&pd<33;)vd();return xd(e)>2||xd(pd)>3?"":" "}function Ed(e,t){for(;--t&&vd()&&!(pd<48||pd>102||pd>57&&pd<65||pd>70&&pd<97););return wd(e,yd()+(t<6&&32==bd()&&32==vd()))}function Id(e){for(;vd();)switch(pd){case e:return dd;case 34:case 39:34!==e&&39!==e&&Id(pd);break;case 40:41===e&&Id(e);break;case 92:vd()}return dd}function Pd(e,t){for(;vd()&&e+pd!==57&&(e+pd!==84||47!==bd()););return"/*"+wd(t,dd-1)+"*"+Qu(47===e?e:vd())}function $d(e){for(;!xd(bd());)vd();return wd(e,dd)}function Nd(e){return Cd(zd("",null,null,null,[""],e=Sd(e),0,[0],e))}function zd(e,t,n,r,o,a,i,l,s){for(var c=0,u=0,d=i,p=0,f=0,m=0,g=1,h=1,v=1,b=0,y="",w=o,x=a,S=r,C=y;h;)switch(m=b,b=vd()){case 40:if(108!=m&&58==rd(C,d-1)){-1!=nd(C+=td(kd(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:C+=kd(b);break;case 9:case 10:case 13:case 32:C+=Od(m);break;case 92:C+=Ed(yd()-1,7);continue;case 47:switch(bd()){case 42:case 47:ld(Td(Pd(vd(),yd()),t,n),s);break;default:C+="/"}break;case 123*g:l[c++]=ad(C)*v;case 125*g:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+u:-1==v&&(C=td(C,/\f/g,"")),f>0&&ad(C)-d&&ld(f>32?Dd(C+";",r,n,d-1):Dd(td(C," ","")+";",r,n,d-2),s);break;case 59:C+=";";default:if(ld(S=Rd(C,t,n,c,u,o,l,y,w=[],x=[],d),a),123===b)if(0===u)zd(C,t,S,S,w,a,d,l,x);else switch(99===p&&110===rd(C,3)?100:p){case 100:case 108:case 109:case 115:zd(e,S,S,r&&ld(Rd(e,S,S,0,0,o,l,y,o,w=[],d),x),o,x,d,l,r?w:x);break;default:zd(C,S,S,S,[""],x,0,l,x)}}c=u=f=0,g=v=1,y=C="",d=i;break;case 58:d=1+ad(C),f=m;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==hd())continue;switch(C+=Qu(b),b*g){case 38:v=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(ad(C)-1)*v,v=1;break;case 64:45===bd()&&(C+=kd(vd())),p=bd(),u=d=ad(y=C+=$d(yd())),b++;break;case 45:45===m&&2==ad(C)&&(g=0)}}return a}function Rd(e,t,n,r,o,a,i,l,s,c,u){for(var d=o-1,p=0===o?a:[""],f=id(p),m=0,g=0,h=0;m<r;++m)for(var v=0,b=od(e,d+1,d=Xu(g=i[m])),y=e;v<f;++v)(y=ed(g>0?p[v]+" "+b:td(b,/&\f/g,p[v])))&&(s[h++]=y);return md(e,t,n,0===o?Uu:l,s,c,u)}function Td(e,t,n){return md(e,t,n,Yu,Qu(pd),od(e,2,-2),0)}function Dd(e,t,n,r){return md(e,t,n,Ku,od(e,0,r),od(e,r+1,-1),r)}function Ad(e,t){for(var n="",r=id(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Md(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Ku:return e.return=e.return||e.value;case Yu:return"";case Ju:return e.return=e.value+"{"+Ad(e.children,r)+"}";case Uu:e.value=e.props.join(",")}return ad(n=Ad(e.children,r))?e.return=e.value+"{"+n+"}":""}function _d(e){var t=id(e);return function(n,r,o,a){for(var i="",l=0;l<t;l++)i+=e[l](n,r,o,a)||"";return i}}var Ld=function(e,t,n){for(var r=0,o=0;r=o,o=bd(),38===r&&12===o&&(t[n]=1),!xd(o);)vd();return wd(e,dd)},Fd=function(e,t){return Cd(function(e,t){var n=-1,r=44;do{switch(xd(r)){case 0:38===r&&12===bd()&&(t[n]=1),e[n]+=Ld(dd-1,t,n);break;case 2:e[n]+=kd(r);break;case 4:if(44===r){e[++n]=58===bd()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Qu(r)}}while(r=vd());return e}(Sd(e),t))},Vd=new WeakMap,jd=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Vd.get(n))&&!r){Vd.set(e,!0);for(var o=[],a=Fd(t,o),i=n.props,l=0,s=0;l<a.length;l++)for(var c=0;c<i.length;c++,s++)e.props[s]=o[l]?a[l].replace(/&\f/g,i[c]):i[c]+" "+a[l]}}},Bd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},Hd=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},Wd=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Gd=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},qd=function(e,t,n){Wd(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Gd(e)):function(e,t){for(var n=e-1;n>=0;n--)if(!Wd(t[n]))return!0;return!1}(t,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Gd(e)))};function Yd(e,t){switch(function(e,t){return 45^rd(e,0)?(((t<<2^rd(e,0))<<2^rd(e,1))<<2^rd(e,2))<<2^rd(e,3):0}(e,t)){case 5103:return qu+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qu+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return qu+e+Gu+e+Wu+e+e;case 6828:case 4268:return qu+e+Wu+e+e;case 6165:return qu+e+Wu+"flex-"+e+e;case 5187:return qu+e+td(e,/(\w+).+(:[^]+)/,qu+"box-$1$2"+Wu+"flex-$1$2")+e;case 5443:return qu+e+Wu+"flex-item-"+td(e,/flex-|-self/,"")+e;case 4675:return qu+e+Wu+"flex-line-pack"+td(e,/align-content|flex-|-self/,"")+e;case 5548:return qu+e+Wu+td(e,"shrink","negative")+e;case 5292:return qu+e+Wu+td(e,"basis","preferred-size")+e;case 6060:return qu+"box-"+td(e,"-grow","")+qu+e+Wu+td(e,"grow","positive")+e;case 4554:return qu+td(e,/([^-])(transform)/g,"$1"+qu+"$2")+e;case 6187:return td(td(td(e,/(zoom-|grab)/,qu+"$1"),/(image-set)/,qu+"$1"),e,"")+e;case 5495:case 3959:return td(e,/(image-set\([^]*)/,qu+"$1$`$1");case 4968:return td(td(e,/(.+:)(flex-)?(.*)/,qu+"box-pack:$3"+Wu+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+qu+e+e;case 4095:case 3583:case 4068:case 2532:return td(e,/(.+)-inline(.+)/,qu+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ad(e)-1-t>6)switch(rd(e,t+1)){case 109:if(45!==rd(e,t+4))break;case 102:return td(e,/(.+:)(.+)-([^]+)/,"$1"+qu+"$2-$3$1"+Gu+(108==rd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~nd(e,"stretch")?Yd(td(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==rd(e,t+1))break;case 6444:switch(rd(e,ad(e)-3-(~nd(e,"!important")&&10))){case 107:return td(e,":",":"+qu)+e;case 101:return td(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qu+(45===rd(e,14)?"inline-":"")+"box$3$1"+qu+"$2$3$1"+Wu+"$2box$3")+e}break;case 5936:switch(rd(e,t+11)){case 114:return qu+e+Wu+td(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return qu+e+Wu+td(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return qu+e+Wu+td(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return qu+e+Wu+e+e}return e}var Ud,Kd,Jd="undefined"!=typeof document,Xd=Jd?void 0:(Ud=function(){return v((function(){var e={};return function(t){return e[t]}}))},Kd=new WeakMap,function(e){if(Kd.has(e))return Kd.get(e);var t=Ud(e);return Kd.set(e,t),t}),Qd=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Ku:e.return=Yd(e.value,e.length);break;case Ju:return Ad([gd(e,{value:td(e.value,"@","@"+qu)})],r);case Uu:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ad([gd(e,{props:[td(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ad([gd(e,{props:[td(t,/:(plac\w+)/,":"+qu+"input-$1")]}),gd(e,{props:[td(t,/:(plac\w+)/,":-moz-$1")]}),gd(e,{props:[td(t,/:(plac\w+)/,Wu+"input-$1")]})],r)}return""}))}}],Zd=function(e){var t=e.key;if("production"!==process.env.NODE_ENV&&!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if(Jd&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||Qd;if("production"!==process.env.NODE_ENV&&/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,a,i={},l=[];Jd&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)})));var s,c=[jd,Bd];if("production"!==process.env.NODE_ENV&&c.push(function(e){return function(t,n,r){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=t.parent?t.parent.children:r,i=a.length-1;i>=0;i--){var l=a[i];if(l.line<t.line)break;if(l.column<t.column){if(Hd(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return v.compat}}),qd),Jd){var u,d=[Md,"production"!==process.env.NODE_ENV?function(e){e.root||(e.return?u.insert(e.return):e.value&&e.type!==Yu&&u.insert(e.value+"{}"))}:(s=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=_d(c.concat(r,d));a=function(e,t,n,r){u=n,"production"!==process.env.NODE_ENV&&void 0!==t.map&&(u={insert:function(e){n.insert(e+t.map)}}),function(e){Ad(Nd(e),p)}(e?e+"{"+t.styles+"}":t.styles),r&&(v.inserted[t.name]=!0)}}else{var f=[Md],m=_d(c.concat(r,f)),g=Xd(r)(t),h=function(e,t){var n=t.name;return void 0===g[n]&&(g[n]=function(e){return Ad(Nd(e),m)}(e?e+"{"+t.styles+"}":t.styles)),g[n]};a=function(e,t,n,r){var o=t.name,a=h(e,t);return void 0===v.compat?(r&&(v.inserted[o]=!0),"development"===process.env.NODE_ENV&&void 0!==t.map?a+t.map:a):r?void(v.inserted[o]=a):a}}var v={key:t,sheet:new Hu({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return v.sheet.hydrate(l),v},ep=Ka(),tp={};tp[ep.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tp[ep.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var np="undefined"!=typeof document;function rp(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var op=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===np&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ap=function(e,t,n){op(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",a=t;do{var i=e.insert(t===a?"."+r:"",a,e.sheet,!0);np||void 0===i||(o+=i),a=a.next}while(void 0!==a);if(!np&&0!==o.length)return o}};var ip="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",lp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",sp=/[A-Z]|^ms/g,cp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,up=function(e){return 45===e.charCodeAt(1)},dp=function(e){return null!=e&&"boolean"!=typeof e},pp=v((function(e){return up(e)?e:e.replace(sp,"-$&").toLowerCase()})),fp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(cp,(function(e,t,n){return Cp={name:t,styles:n,next:Cp},t}))}return 1===be[e]||up(e)||"number"!=typeof t||0===t?t:t+"px"};if("production"!==process.env.NODE_ENV){var mp=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,gp=["normal","none","initial","inherit","unset"],hp=fp,vp=/^-ms-/,bp=/-(.)/g,yp={};fp=function(e,t){if("content"===e&&("string"!=typeof t||-1===gp.indexOf(t)&&!mp.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var n=hp(e,t);return""===n||up(e)||-1===e.indexOf("-")||void 0!==yp[e]||(yp[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(vp,"ms-").replace(bp,(function(e,t){return t.toUpperCase()}))+"?")),n}}var wp="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function xp(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles){if("production"!==process.env.NODE_ENV&&"NO_COMPONENT_SELECTOR"===n.toString())throw new Error(wp);return n}switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Cp={name:n.name,styles:n.styles,next:Cp},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Cp={name:r.name,styles:r.styles,next:Cp},r=r.next;var o=n.styles+";";return"production"!==process.env.NODE_ENV&&void 0!==n.map&&(o+=n.map),o}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=xp(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":dp(i)&&(r+=pp(a)+":"+fp(a,i)+";");else{if("NO_COMPONENT_SELECTOR"===a&&"production"!==process.env.NODE_ENV)throw new Error(wp);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=xp(e,t,i);switch(a){case"animation":case"animationName":r+=pp(a)+":"+l+";";break;default:"production"!==process.env.NODE_ENV&&"undefined"===a&&console.error(lp),r+=a+"{"+l+"}"}}else for(var s=0;s<i.length;s++)dp(i[s])&&(r+=pp(a)+":"+fp(a,i[s])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var a=Cp,i=n(e);return Cp=a,xp(e,t,i)}"production"!==process.env.NODE_ENV&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":if("production"!==process.env.NODE_ENV){var l=[],s=n.replace(cp,(function(e,t,n){var r="animation"+l.length;return l.push("const "+r+" = keyframes`"+n.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+r+"}"}));l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+s+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+s+"`")}}if(null==t)return n;var c=t[n];return void 0!==c?c:n}var Sp,Cp,kp=/label:\s*([^\s;\n{]+)\s*(;|$)/g;"production"!==process.env.NODE_ENV&&(Sp=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Op=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Cp=void 0;var a,i=e[0];null==i||void 0===i.raw?(r=!1,o+=xp(n,t,i)):("production"!==process.env.NODE_ENV&&void 0===i[0]&&console.error(ip),o+=i[0]);for(var l=1;l<e.length;l++)o+=xp(n,t,e[l]),r&&("production"!==process.env.NODE_ENV&&void 0===i[l]&&console.error(ip),o+=i[l]);"production"!==process.env.NODE_ENV&&(o=o.replace(Sp,(function(e){return a=e,""}))),kp.lastIndex=0;for(var s,c="";null!==(s=kp.exec(o));)c+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return"production"!==process.env.NODE_ENV?{name:u,styles:o,map:a,next:Cp,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:u,styles:o,next:Cp}},Ep="undefined"!=typeof document,Ip=function(e){return e()},Pp=!!r.useInsertionEffect&&r.useInsertionEffect,$p=Ep&&Pp||Ip,Np=Pp||r.useLayoutEffect,zp="undefined"!=typeof document,Rp={}.hasOwnProperty,Tp=r.createContext("undefined"!=typeof HTMLElement?Zd({key:"css"}):null);"production"!==process.env.NODE_ENV&&(Tp.displayName="EmotionCacheContext"),Tp.Provider;var Dp=function(e){return p((function(t,n){var r=s(Tp);return e(t,r,n)}))};zp||(Dp=function(e){return function(t){var n=s(Tp);return null===n?(n=Zd({key:"css"}),r.createElement(Tp.Provider,{value:n},e(t,n))):e(t,n)}});var Ap=r.createContext({});"production"!==process.env.NODE_ENV&&(Ap.displayName="EmotionThemeContext");var Mp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",_p="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Lp=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;op(t,n,o);var a=$p((function(){return ap(t,n,o)}));if(!zp&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},Fp=Dp((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[Mp],i=[o],l="";"string"==typeof e.className?l=rp(t.registered,i,e.className):null!=e.className&&(l=e.className+" ");var s=Op(i,void 0,r.useContext(Ap));if("production"!==process.env.NODE_ENV&&-1===s.name.indexOf("-")){var c=e[_p];c&&(s=Op([s,"label:"+c+";"]))}l+=t.key+"-"+s.name;var u={};for(var d in e)!Rp.call(e,d)||"css"===d||d===Mp||"production"!==process.env.NODE_ENV&&d===_p||(u[d]=e[d]);return u.ref=n,u.className=l,r.createElement(r.Fragment,null,r.createElement(Lp,{cache:t,serialized:s,isStringTag:"string"==typeof a}),r.createElement(a,u))}));"production"!==process.env.NODE_ENV&&(Fp.displayName="EmotionCssPropInternal");var Vp=!1,jp=Dp((function(e,t){"production"===process.env.NODE_ENV||Vp||!e.className&&!e.css||(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Vp=!0);var n=e.styles,o=Op([n],void 0,r.useContext(Ap));if(!zp){for(var a,i=o.name,l=o.styles,s=o.next;void 0!==s;)i+=" "+s.name,l+=s.styles,s=s.next;var c=!0===t.compat,u=t.insert("",{name:i,styles:l},t.sheet,c);return c?null:r.createElement("style",((a={})["data-emotion"]=t.key+"-global "+i,a.dangerouslySetInnerHTML={__html:u},a.nonce=t.sheet.nonce,a))}var d=r.useRef();return Np((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,a=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(r=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),d.current=[n,r],function(){n.flush()}}),[t]),Np((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&ap(t,o.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",o,n,!1)}}),[t,o.name]),null}));function Bp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Op(t)}"production"!==process.env.NODE_ENV&&(jp.displayName="EmotionGlobal");var Hp=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var l in"production"!==process.env.NODE_ENV&&void 0!==a.styles&&void 0!==a.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),i="",a)a[l]&&l&&(i&&(i+=" "),i+=l);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o};var Wp=function(e){var t,n=e.cache,o=e.serializedArr,a=$p((function(){for(var e="",t=0;t<o.length;t++){var r=ap(n,o[t],!1);zp||void 0===r||(e+=r)}if(!zp)return e}));return zp||0===a.length?null:r.createElement("style",((t={})["data-emotion"]=n.key+" "+o.map((function(e){return e.name})).join(" "),t.dangerouslySetInnerHTML={__html:a},t.nonce=n.sheet.nonce,t))},Gp=Dp((function(e,t){var n=!1,o=[],a=function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("css can only be used during render");for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];var i=Op(r,t.registered);return o.push(i),op(t,i,!1),t.key+"-"+i.name},i={css:a,cx:function(){if(n&&"production"!==process.env.NODE_ENV)throw new Error("cx can only be used during render");for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return function(e,t,n){var r=[],o=rp(e,r,n);return r.length<2?n:o+t(r)}(t.registered,a,Hp(r))},theme:r.useContext(Ap)},l=e.children(i);return n=!0,r.createElement(r.Fragment,null,r.createElement(Wp,{cache:t,serializedArr:o}),l)}));if("production"!==process.env.NODE_ENV&&(Gp.displayName="EmotionClassNames"),"production"!==process.env.NODE_ENV){var qp="undefined"!=typeof document,Yp="undefined"!=typeof jest||"undefined"!=typeof vi;if(qp&&!Yp){var Up="undefined"!=typeof globalThis?globalThis:qp?window:global,Kp="__EMOTION_REACT_"+"11.11.4".split(".")[0]+"__";Up[Kp]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Up[Kp]=!0}}var Jp=y,Xp=function(e){return"theme"!==e},Qp=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Jp:Xp},Zp=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ef="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",tf="undefined"!=typeof document,nf=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;op(t,n,o);var a=$p((function(){return ap(t,n,o)}));if(!tf&&void 0!==a){for(var i,l=n.name,s=n.next;void 0!==s;)l+=" "+s.name,s=s.next;return r.createElement("style",((i={})["data-emotion"]=t.key+" "+l,i.dangerouslySetInnerHTML={__html:a},i.nonce=t.sheet.nonce,i))}return null},rf=function e(t,n){if("production"!==process.env.NODE_ENV&&void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var o,a,i=t.__emotion_real===t,l=i&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var s=Zp(t,n,i),c=s||Qp(l),u=!c("as");return function(){var d=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&p.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{"production"!==process.env.NODE_ENV&&void 0===d[0][0]&&console.error(ef),p.push(d[0][0]);for(var f=d.length,m=1;m<f;m++)"production"!==process.env.NODE_ENV&&void 0===d[0][m]&&console.error(ef),p.push(d[m],d[0][m])}var g=Dp((function(e,t,n){var o=u&&e.as||l,i="",d=[],f=e;if(null==e.theme){for(var m in f={},e)f[m]=e[m];f.theme=r.useContext(Ap)}"string"==typeof e.className?i=rp(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var g=Op(p.concat(d),t.registered,f);i+=t.key+"-"+g.name,void 0!==a&&(i+=" "+a);var h=u&&void 0===s?Qp(o):c,v={};for(var b in e)u&&"as"===b||h(b)&&(v[b]=e[b]);return v.className=i,v.ref=n,r.createElement(r.Fragment,null,r.createElement(nf,{cache:t,serialized:g,isStringTag:"string"==typeof o}),r.createElement(o,v))}));return g.displayName=void 0!==o?o:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_styles=p,g.__emotion_forwardProp=s,Object.defineProperty(g,"toString",{value:function(){return void 0===a&&"production"!==process.env.NODE_ENV?"NO_COMPONENT_SELECTOR":"."+a}}),g.withComponent=function(t,r){return e(t,Bu({},n,r,{shouldForwardProp:Zp(g,r,!0)})).apply(void 0,p)},g}}.bind();function of(t){const{styles:n,defaultTheme:r={}}=t;return e(jp,{styles:"function"==typeof n?e=>{return n(null==(t=e)||0===Object.keys(t).length?r:e);var t}:n})}
|
|
979
985
|
/**
|
|
980
986
|
* @mui/styled-engine v5.15.14
|
|
981
987
|
*
|
|
@@ -983,7 +989,7 @@ function Qc(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=
|
|
|
983
989
|
* This source code is licensed under the MIT license found in the
|
|
984
990
|
* LICENSE file in the root directory of this source tree.
|
|
985
991
|
*/
|
|
986
|
-
function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){rf[e]=rf(e)})),"production"!==process.env.NODE_ENV&&(of.propTypes={defaultTheme:ei.object,styles:ei.oneOfType([ei.array,ei.string,ei.object,ei.func])});function lf(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function sf(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function cf(e){if(!sf(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=cf(e[n])})),t}function uf(e,t,n={clone:!0}){const r=n.clone?Bu({},e):e;return sf(e)&&sf(t)&&Object.keys(t).forEach((o=>{sf(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&sf(e[o])?r[o]=uf(e[o],t[o],n):n.clone?r[o]=sf(t[o])?cf(t[o]):t[o]:r[o]=t[o]})),r}const df=["values","unit","step"],pf=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Bu({},e,{[t.key]:t.val})),{})};function ff(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=lf(e,df),a=pf(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return Bu({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const mf={borderRadius:4},gf="production"!==process.env.NODE_ENV?ei.oneOfType([ei.number,ei.string,ei.object,ei.array]):{};function hf(e,t){return t?uf(e,t,{clone:!1}):e}const vf={xs:0,sm:600,md:900,lg:1200,xl:1536},bf={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${vf[e]}px)`};function yf(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||bf;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||bf;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||vf).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function wf(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":ju(7));return e.charAt(0).toUpperCase()+e.slice(1)}function xf(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Sf(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:xf(e,n)||r,t&&(o=t(o,r,e)),o}function Cf(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=xf(e.theme,r)||{};return yf(e,a,(e=>{let r=Sf(i,o,e);return e===r&&"string"==typeof e&&(r=Sf(i,o,`${t}${"default"===e?"":wf(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:gf}:{},a.filterProps=[t],a}const kf={m:"margin",p:"padding"},Of={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ef={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},If=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Ef[e])return[e];e=Ef[e]}const[t,n]=e.split(""),r=kf[t],o=Of[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Pf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Nf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],$f=[...Pf,...Nf];function zf(e,t,n,r){var o;const a=null!=(o=xf(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Rf(e){return zf(e,"spacing",8,"spacing")}function Tf(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Df(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Tf(t,n),e)),{})}(If(n),r);return yf(e,e[n],o)}function Af(e,t){const n=Rf(e.theme);return Object.keys(e).map((r=>Df(e,t,r,n))).reduce(hf,{})}function Mf(e){return Af(e,Pf)}function _f(e){return Af(e,Nf)}function Lf(e=8){if(e.mui)return e;const t=Rf({spacing:e}),n=(...e)=>{"production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`));return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}function Ff(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?hf(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Vf(e){return"number"!=typeof e?e:`${e}px solid`}function jf(e,t){return Cf({prop:e,themeKey:"borders",transform:t})}Mf.propTypes="production"!==process.env.NODE_ENV?Pf.reduce(((e,t)=>(e[t]=gf,e)),{}):{},Mf.filterProps=Pf,_f.propTypes="production"!==process.env.NODE_ENV?Nf.reduce(((e,t)=>(e[t]=gf,e)),{}):{},_f.filterProps=Nf,"production"===process.env.NODE_ENV||$f.reduce(((e,t)=>(e[t]=gf,e)),{});const Bf=jf("border",Vf),Hf=jf("borderTop",Vf),Wf=jf("borderRight",Vf),Gf=jf("borderBottom",Vf),qf=jf("borderLeft",Vf),Yf=jf("borderColor"),Uf=jf("borderTopColor"),Kf=jf("borderRightColor"),Jf=jf("borderBottomColor"),Xf=jf("borderLeftColor"),Qf=jf("outline",Vf),Zf=jf("outlineColor"),em=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=zf(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Tf(t,e)});return yf(e,e.borderRadius,n)}return null};em.propTypes="production"!==process.env.NODE_ENV?{borderRadius:gf}:{},em.filterProps=["borderRadius"],Ff(Bf,Hf,Wf,Gf,qf,Yf,Uf,Kf,Jf,Xf,em,Qf,Zf);const tm=e=>{if(void 0!==e.gap&&null!==e.gap){const t=zf(e.theme,"spacing",8,"gap"),n=e=>({gap:Tf(t,e)});return yf(e,e.gap,n)}return null};tm.propTypes="production"!==process.env.NODE_ENV?{gap:gf}:{},tm.filterProps=["gap"];const nm=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=zf(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Tf(t,e)});return yf(e,e.columnGap,n)}return null};nm.propTypes="production"!==process.env.NODE_ENV?{columnGap:gf}:{},nm.filterProps=["columnGap"];const rm=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=zf(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Tf(t,e)});return yf(e,e.rowGap,n)}return null};rm.propTypes="production"!==process.env.NODE_ENV?{rowGap:gf}:{},rm.filterProps=["rowGap"];function om(e,t){return"grey"===t?t:e}Ff(tm,nm,rm,Cf({prop:"gridColumn"}),Cf({prop:"gridRow"}),Cf({prop:"gridAutoFlow"}),Cf({prop:"gridAutoColumns"}),Cf({prop:"gridAutoRows"}),Cf({prop:"gridTemplateColumns"}),Cf({prop:"gridTemplateRows"}),Cf({prop:"gridTemplateAreas"}),Cf({prop:"gridArea"}));function am(e){return e<=1&&0!==e?100*e+"%":e}Ff(Cf({prop:"color",themeKey:"palette",transform:om}),Cf({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:om}),Cf({prop:"backgroundColor",themeKey:"palette",transform:om}));const im=Cf({prop:"width",transform:am}),lm=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||vf[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:am(t)}};return yf(e,e.maxWidth,t)}return null};lm.filterProps=["maxWidth"];const sm=Cf({prop:"minWidth",transform:am}),cm=Cf({prop:"height",transform:am}),um=Cf({prop:"maxHeight",transform:am}),dm=Cf({prop:"minHeight",transform:am});Cf({prop:"size",cssProperty:"width",transform:am}),Cf({prop:"size",cssProperty:"height",transform:am});Ff(im,lm,sm,cm,um,dm,Cf({prop:"boxSizing"}));const pm={border:{themeKey:"borders",transform:Vf},borderTop:{themeKey:"borders",transform:Vf},borderRight:{themeKey:"borders",transform:Vf},borderBottom:{themeKey:"borders",transform:Vf},borderLeft:{themeKey:"borders",transform:Vf},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Vf},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:em},color:{themeKey:"palette",transform:om},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:om},backgroundColor:{themeKey:"palette",transform:om},p:{style:_f},pt:{style:_f},pr:{style:_f},pb:{style:_f},pl:{style:_f},px:{style:_f},py:{style:_f},padding:{style:_f},paddingTop:{style:_f},paddingRight:{style:_f},paddingBottom:{style:_f},paddingLeft:{style:_f},paddingX:{style:_f},paddingY:{style:_f},paddingInline:{style:_f},paddingInlineStart:{style:_f},paddingInlineEnd:{style:_f},paddingBlock:{style:_f},paddingBlockStart:{style:_f},paddingBlockEnd:{style:_f},m:{style:Mf},mt:{style:Mf},mr:{style:Mf},mb:{style:Mf},ml:{style:Mf},mx:{style:Mf},my:{style:Mf},margin:{style:Mf},marginTop:{style:Mf},marginRight:{style:Mf},marginBottom:{style:Mf},marginLeft:{style:Mf},marginX:{style:Mf},marginY:{style:Mf},marginInline:{style:Mf},marginInlineStart:{style:Mf},marginInlineEnd:{style:Mf},marginBlock:{style:Mf},marginBlockStart:{style:Mf},marginBlockEnd:{style:Mf},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:tm},rowGap:{style:rm},columnGap:{style:nm},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:am},maxWidth:{style:lm},minWidth:{transform:am},height:{transform:am},maxHeight:{transform:am},minHeight:{transform:am},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const fm=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const u=xf(n,l)||{};if(c)return c(o);return yf(o,t,(t=>{let n=Sf(u,s,t);return t===n&&"string"==typeof t&&(n=Sf(u,s,`${e}${"default"===t?"":wf(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:pm;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=hf(s,e(n,o,a,i));else{const e=yf({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=hf(s,e):s[n]=t({sx:o,theme:a})}else s=hf(s,e(n,o,a,i))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}();function mm(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}fm.filterProps=["sx"];const gm=["breakpoints","palette","spacing","shape"];function hm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=lf(e,gm),l=ff(n),s=Lf(o);let c=uf({breakpoints:l,direction:"ltr",components:{},palette:Bu({mode:"light"},r),spacing:s,shape:Bu({},mf,a)},i);return c.applyStyles=mm,c=t.reduce(((e,t)=>uf(e,t)),c),c.unstable_sxConfig=Bu({},pm,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return fm({sx:e,theme:this})},c}function vm(e=null){const t=r.useContext(Ap);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const bm=hm();function ym(e=bm){return vm(e)}const wm=["sx"],xm=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:pm;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};const Sm=e=>e,Cm=(()=>{let e=Sm;return{configure(t){e=t},generate:t=>e(t),reset(){e=Sm}}})();function km(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=km(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Om(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=km(e))&&(r&&(r+=" "),r+=t);return r}const Em=["className","component"];const Im={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Pm(e,t,n="Mui"){const r=Im[t];return r?`${n}-${r}`:`${Cm.generate(e)}-${t}`}function Nm(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Pm(e,t,n)})),r}var $m,zm={exports:{}},Rm={};var Tm,Dm={};
|
|
992
|
+
function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t)=>{const r="string"==typeof e?`"${e}"`:"component";return 0===t.length?console.error([`MUI: Seems like you called \`styled(${r})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join("\n")):t.some((e=>void 0===e))&&console.error(`MUI: the styled(${r})(...args) API requires all its args to be defined.`),n(...t)}:n}["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){rf[e]=rf(e)})),"production"!==process.env.NODE_ENV&&(of.propTypes={defaultTheme:ei.object,styles:ei.oneOfType([ei.array,ei.string,ei.object,ei.func])});function lf(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function sf(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function cf(e){if(!sf(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=cf(e[n])})),t}function uf(e,t,n={clone:!0}){const r=n.clone?Bu({},e):e;return sf(e)&&sf(t)&&Object.keys(t).forEach((o=>{sf(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&sf(e[o])?r[o]=uf(e[o],t[o],n):n.clone?r[o]=sf(t[o])?cf(t[o]):t[o]:r[o]=t[o]})),r}const df=["values","unit","step"],pf=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>Bu({},e,{[t.key]:t.val})),{})};function ff(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=lf(e,df),a=pf(t),i=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return Bu({keys:i,values:a,up:l,down:s,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):l(e)},not:function(e){const t=i.indexOf(e);return 0===t?l(i[1]):t===i.length-1?s(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const mf={borderRadius:4},gf="production"!==process.env.NODE_ENV?ei.oneOfType([ei.number,ei.string,ei.object,ei.array]):{};function hf(e,t){return t?uf(e,t,{clone:!1}):e}const vf={xs:0,sm:600,md:900,lg:1200,xl:1536},bf={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${vf[e]}px)`};function yf(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||bf;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||bf;return Object.keys(t).reduce(((r,o)=>{if(-1!==Object.keys(e.values||vf).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r}),{})}return n(t)}function wf(e){if("string"!=typeof e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `capitalize(string)` expects a string argument.":ju(7));return e.charAt(0).toUpperCase()+e.slice(1)}function xf(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function Sf(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:xf(e,n)||r,t&&(o=t(o,r,e)),o}function Cf(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=xf(e.theme,r)||{};return yf(e,a,(e=>{let r=Sf(i,o,e);return e===r&&"string"==typeof e&&(r=Sf(i,o,`${t}${"default"===e?"":wf(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes="production"!==process.env.NODE_ENV?{[t]:gf}:{},a.filterProps=[t],a}const kf={m:"margin",p:"padding"},Of={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ef={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},If=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!Ef[e])return[e];e=Ef[e]}const[t,n]=e.split(""),r=kf[t],o=Of[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),Pf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Nf=[...Pf,...$f];function zf(e,t,n,r){var o;const a=null!=(o=xf(e,t,!1))?o:n;return"number"==typeof a?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&"number"!=typeof e&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${e}.`),a*e):Array.isArray(a)?e=>"string"==typeof e?e:("production"!==process.env.NODE_ENV&&(Number.isInteger(e)?e>a.length-1&&console.error([`MUI: The value provided (${e}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${e} > ${a.length-1}, you need to add the missing values.`].join("\n")):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join("\n"))),a[e]):"function"==typeof a?a:("production"!==process.env.NODE_ENV&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join("\n")),()=>{})}function Rf(e){return zf(e,"spacing",8,"spacing")}function Tf(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function Df(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=Tf(t,n),e)),{})}(If(n),r);return yf(e,e[n],o)}function Af(e,t){const n=Rf(e.theme);return Object.keys(e).map((r=>Df(e,t,r,n))).reduce(hf,{})}function Mf(e){return Af(e,Pf)}function _f(e){return Af(e,$f)}function Lf(e=8){if(e.mui)return e;const t=Rf({spacing:e}),n=(...e)=>{"production"!==process.env.NODE_ENV&&(e.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${e.length}`));return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}function Ff(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?hf(n,t[r](e)):n),{});return n.propTypes="production"!==process.env.NODE_ENV?e.reduce(((e,t)=>Object.assign(e,t.propTypes)),{}):{},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Vf(e){return"number"!=typeof e?e:`${e}px solid`}function jf(e,t){return Cf({prop:e,themeKey:"borders",transform:t})}Mf.propTypes="production"!==process.env.NODE_ENV?Pf.reduce(((e,t)=>(e[t]=gf,e)),{}):{},Mf.filterProps=Pf,_f.propTypes="production"!==process.env.NODE_ENV?$f.reduce(((e,t)=>(e[t]=gf,e)),{}):{},_f.filterProps=$f,"production"===process.env.NODE_ENV||Nf.reduce(((e,t)=>(e[t]=gf,e)),{});const Bf=jf("border",Vf),Hf=jf("borderTop",Vf),Wf=jf("borderRight",Vf),Gf=jf("borderBottom",Vf),qf=jf("borderLeft",Vf),Yf=jf("borderColor"),Uf=jf("borderTopColor"),Kf=jf("borderRightColor"),Jf=jf("borderBottomColor"),Xf=jf("borderLeftColor"),Qf=jf("outline",Vf),Zf=jf("outlineColor"),em=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=zf(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:Tf(t,e)});return yf(e,e.borderRadius,n)}return null};em.propTypes="production"!==process.env.NODE_ENV?{borderRadius:gf}:{},em.filterProps=["borderRadius"],Ff(Bf,Hf,Wf,Gf,qf,Yf,Uf,Kf,Jf,Xf,em,Qf,Zf);const tm=e=>{if(void 0!==e.gap&&null!==e.gap){const t=zf(e.theme,"spacing",8,"gap"),n=e=>({gap:Tf(t,e)});return yf(e,e.gap,n)}return null};tm.propTypes="production"!==process.env.NODE_ENV?{gap:gf}:{},tm.filterProps=["gap"];const nm=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=zf(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:Tf(t,e)});return yf(e,e.columnGap,n)}return null};nm.propTypes="production"!==process.env.NODE_ENV?{columnGap:gf}:{},nm.filterProps=["columnGap"];const rm=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=zf(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:Tf(t,e)});return yf(e,e.rowGap,n)}return null};rm.propTypes="production"!==process.env.NODE_ENV?{rowGap:gf}:{},rm.filterProps=["rowGap"];function om(e,t){return"grey"===t?t:e}Ff(tm,nm,rm,Cf({prop:"gridColumn"}),Cf({prop:"gridRow"}),Cf({prop:"gridAutoFlow"}),Cf({prop:"gridAutoColumns"}),Cf({prop:"gridAutoRows"}),Cf({prop:"gridTemplateColumns"}),Cf({prop:"gridTemplateRows"}),Cf({prop:"gridTemplateAreas"}),Cf({prop:"gridArea"}));function am(e){return e<=1&&0!==e?100*e+"%":e}Ff(Cf({prop:"color",themeKey:"palette",transform:om}),Cf({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:om}),Cf({prop:"backgroundColor",themeKey:"palette",transform:om}));const im=Cf({prop:"width",transform:am}),lm=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||vf[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:am(t)}};return yf(e,e.maxWidth,t)}return null};lm.filterProps=["maxWidth"];const sm=Cf({prop:"minWidth",transform:am}),cm=Cf({prop:"height",transform:am}),um=Cf({prop:"maxHeight",transform:am}),dm=Cf({prop:"minHeight",transform:am});Cf({prop:"size",cssProperty:"width",transform:am}),Cf({prop:"size",cssProperty:"height",transform:am});Ff(im,lm,sm,cm,um,dm,Cf({prop:"boxSizing"}));const pm={border:{themeKey:"borders",transform:Vf},borderTop:{themeKey:"borders",transform:Vf},borderRight:{themeKey:"borders",transform:Vf},borderBottom:{themeKey:"borders",transform:Vf},borderLeft:{themeKey:"borders",transform:Vf},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Vf},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:em},color:{themeKey:"palette",transform:om},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:om},backgroundColor:{themeKey:"palette",transform:om},p:{style:_f},pt:{style:_f},pr:{style:_f},pb:{style:_f},pl:{style:_f},px:{style:_f},py:{style:_f},padding:{style:_f},paddingTop:{style:_f},paddingRight:{style:_f},paddingBottom:{style:_f},paddingLeft:{style:_f},paddingX:{style:_f},paddingY:{style:_f},paddingInline:{style:_f},paddingInlineStart:{style:_f},paddingInlineEnd:{style:_f},paddingBlock:{style:_f},paddingBlockStart:{style:_f},paddingBlockEnd:{style:_f},m:{style:Mf},mt:{style:Mf},mr:{style:Mf},mb:{style:Mf},ml:{style:Mf},mx:{style:Mf},my:{style:Mf},margin:{style:Mf},marginTop:{style:Mf},marginRight:{style:Mf},marginBottom:{style:Mf},marginLeft:{style:Mf},marginX:{style:Mf},marginY:{style:Mf},marginInline:{style:Mf},marginInlineStart:{style:Mf},marginInlineEnd:{style:Mf},marginBlock:{style:Mf},marginBlockStart:{style:Mf},marginBlockEnd:{style:Mf},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:tm},rowGap:{style:rm},columnGap:{style:nm},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:am},maxWidth:{style:lm},minWidth:{transform:am},height:{transform:am},maxHeight:{transform:am},minHeight:{transform:am},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const fm=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:l,transform:s,style:c}=a;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const u=xf(n,l)||{};if(c)return c(o);return yf(o,t,(t=>{let n=Sf(u,s,t);return t===n&&"string"==typeof t&&(n=Sf(u,s,`${e}${"default"===t?"":wf(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){var r;const{sx:o,theme:a={}}=n||{};if(!o)return null;const i=null!=(r=a.unstable_sxConfig)?r:pm;function l(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(a.breakpoints),l=Object.keys(o);let s=o;return Object.keys(r).forEach((n=>{const o=(l=r[n],c=a,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(i[n])s=hf(s,e(n,o,a,i));else{const e=yf({theme:a},o,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,o)?s=hf(s,e):s[n]=t({sx:o,theme:a})}else s=hf(s,e(n,o,a,i))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}();function mm(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}fm.filterProps=["sx"];const gm=["breakpoints","palette","spacing","shape"];function hm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={}}=e,i=lf(e,gm),l=ff(n),s=Lf(o);let c=uf({breakpoints:l,direction:"ltr",components:{},palette:Bu({mode:"light"},r),spacing:s,shape:Bu({},mf,a)},i);return c.applyStyles=mm,c=t.reduce(((e,t)=>uf(e,t)),c),c.unstable_sxConfig=Bu({},pm,null==i?void 0:i.unstable_sxConfig),c.unstable_sx=function(e){return fm({sx:e,theme:this})},c}function vm(e=null){const t=r.useContext(Ap);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const bm=hm();function ym(e=bm){return vm(e)}const wm=["sx"],xm=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:pm;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function Sm(e){const{sx:t}=e,n=lf(e,wm),{systemProps:r,otherProps:o}=xm(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return sf(n)?Bu({},r,n):r}:Bu({},r,t),Bu({},o,{sx:a})}const Cm=e=>e,km=(()=>{let e=Cm;return{configure(t){e=t},generate:t=>e(t),reset(){e=Cm}}})();function Om(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Om(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Em(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Om(e))&&(r&&(r+=" "),r+=t);return r}const Im=["className","component"];const Pm={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function $m(e,t,n="Mui"){const r=Pm[t];return r?`${n}-${r}`:`${km.generate(e)}-${t}`}function Nm(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=$m(e,t,n)})),r}var zm,Rm={exports:{}},Tm={};var Dm,Am={};
|
|
987
993
|
/**
|
|
988
994
|
* @license React
|
|
989
995
|
* react-is.development.js
|
|
@@ -992,17 +998,17 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
992
998
|
*
|
|
993
999
|
* This source code is licensed under the MIT license found in the
|
|
994
1000
|
* LICENSE file in the root directory of this source tree.
|
|
995
|
-
*/"production"===process.env.NODE_ENV?zm.exports=function(){if($m)return Rm;$m=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case c:case f:case p:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),Rm.ContextConsumer=l,Rm.ContextProvider=i,Rm.Element=t,Rm.ForwardRef=c,Rm.Fragment=r,Rm.Lazy=f,Rm.Memo=p,Rm.Portal=n,Rm.Profiler=a,Rm.StrictMode=o,Rm.Suspense=u,Rm.SuspenseList=d,Rm.isAsyncMode=function(){return!1},Rm.isConcurrentMode=function(){return!1},Rm.isContextConsumer=function(e){return g(e)===l},Rm.isContextProvider=function(e){return g(e)===i},Rm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Rm.isForwardRef=function(e){return g(e)===c},Rm.isFragment=function(e){return g(e)===r},Rm.isLazy=function(e){return g(e)===f},Rm.isMemo=function(e){return g(e)===p},Rm.isPortal=function(e){return g(e)===n},Rm.isProfiler=function(e){return g(e)===a},Rm.isStrictMode=function(e){return g(e)===o},Rm.isSuspense=function(e){return g(e)===u},Rm.isSuspenseList=function(e){return g(e)===d},Rm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Rm.typeOf=g,Rm}():zm.exports=(Tm||(Tm=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case r:case a:case o:case u:case d:return g;default:var h=g&&g.$$typeof;switch(h){case s:case l:case c:case f:case p:case i:return h;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var h=l,v=i,b=t,y=c,w=r,x=f,S=p,C=n,k=a,O=o,E=u,I=d,P=!1,N=!1;Dm.ContextConsumer=h,Dm.ContextProvider=v,Dm.Element=b,Dm.ForwardRef=y,Dm.Fragment=w,Dm.Lazy=x,Dm.Memo=S,Dm.Portal=C,Dm.Profiler=k,Dm.StrictMode=O,Dm.Suspense=E,Dm.SuspenseList=I,Dm.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Dm.isConcurrentMode=function(e){return N||(N=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Dm.isContextConsumer=function(e){return g(e)===l},Dm.isContextProvider=function(e){return g(e)===i},Dm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Dm.isForwardRef=function(e){return g(e)===c},Dm.isFragment=function(e){return g(e)===r},Dm.isLazy=function(e){return g(e)===f},Dm.isMemo=function(e){return g(e)===p},Dm.isPortal=function(e){return g(e)===n},Dm.isProfiler=function(e){return g(e)===a},Dm.isStrictMode=function(e){return g(e)===o},Dm.isSuspense=function(e){return g(e)===u},Dm.isSuspenseList=function(e){return g(e)===d},Dm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Dm.typeOf=g}()),Dm);var Am=zm.exports;const Mm=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function _m(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(Mm);return t&&t[1]||""}(e)||t}function Lm(e,t,n){const r=_m(t);return e.displayName||(""!==r?`${n}(${r})`:n)}const Fm=["ownerState"],Vm=["variants"],jm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Bm(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Hm=hm(),Wm=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Gm({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function qm(e){return e?(t,n)=>n[e]:null}function Ym(e,t){let{ownerState:n}=t,r=lf(t,Fm);const o="function"==typeof e?e(Bu({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>Ym(e,Bu({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=lf(o,Vm);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(Bu({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(Bu({ownerState:n},r,n)):e.style))})),t}return o}function Um(e,t){const n=Bu({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Bu({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=Bu({},a),Object.keys(o).forEach((e=>{n[r][e]=Um(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function Km(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Um(t.components[n].defaultProps,r):r}const Jm="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function Xm(e){if(e.type)return e;if("#"===e.charAt(0))return Xm(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ju(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ju(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const Qm=e=>{const t=Xm(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function Zm(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function eg(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;const s=a.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const tg=Zm(ei.element,eg);tg.isRequired=Zm(ei.element.isRequired,eg);const ng="exact-prop: ";function rg(e){return"production"===process.env.NODE_ENV?e:Bu({},e,{[ng]:t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function og(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=o||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const ag=ei.oneOfType([ei.func,ei.object]);function ig(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function lg(e){return e&&e.ownerDocument||document}function sg(e){return lg(e).defaultView||window}function cg(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let ug=0;const dg=r["useId".toString()];function pg(e){if(void 0!==dg){const t=dg();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),o=e||t;return r.useEffect((()=>{null==t&&(ug+=1,n(`mui-${ug}`))}),[t]),o}(e)}function fg({controlled:e,default:t,name:n,state:o="value"}){const{current:a}=r.useRef(void 0!==e),[i,l]=r.useState(t),s=a?e:i;if("production"!==process.env.NODE_ENV){r.useEffect((()=>{a!==(void 0!==e)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${o} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,n,e]);const{current:i}=r.useRef(t);r.useEffect((()=>{a||Object.is(i,t)||console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(t)])}return[s,r.useCallback((e=>{a||l(e)}),[])]}function mg(e){const t=r.useRef(e);return Jm((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}function gg(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{cg(e,t)}))}),e)}class hg{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new hg}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let vg=!0,bg=!1;const yg=new hg,wg={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 xg(e){e.metaKey||e.altKey||e.ctrlKey||(vg=!0)}function Sg(){vg=!1}function Cg(){"hidden"===this.visibilityState&&bg&&(vg=!0)}function kg(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return vg||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!wg[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Og(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",xg,!0),t.addEventListener("mousedown",Sg,!0),t.addEventListener("pointerdown",Sg,!0),t.addEventListener("touchstart",Sg,!0),t.addEventListener("visibilitychange",Cg,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!kg(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(bg=!0,yg.start(100,(()=>{bg=!1})),t.current=!1,!0)},ref:e}}const Eg=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Ig(e,t,n,r){const o=e[t];if(null==o||!Eg(o)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Pg(e,t,...n){return void 0===e[t]?null:Ig(e,t,...n)}function Ng(){return null}Pg.isRequired=Ig,Ng.isRequired=Ng;var $g="production"===process.env.NODE_ENV?Ng:Pg;function zg(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const Rg=r.createContext(null);function Tg(){const e=r.useContext(Rg);return"production"!==process.env.NODE_ENV&&r.useDebugValue(e),e}"production"!==process.env.NODE_ENV&&(Rg.displayName="ThemeContext");var Dg="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Ag(t){const{children:n,theme:o}=t,a=Tg();"production"!==process.env.NODE_ENV&&null===a&&"function"==typeof o&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const i=r.useMemo((()=>{const e=null===a?o:function(e,t){if("function"==typeof t){const n=t(e);return"production"!==process.env.NODE_ENV&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),n}return Bu({},e,t)}(a,o);return null!=e&&(e[Dg]=null!==a),e}),[o,a]);return e(Rg.Provider,{value:i,children:n})}"production"!==process.env.NODE_ENV&&(Ag.propTypes={children:ei.node,theme:ei.oneOfType([ei.object,ei.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Ag.propTypes=rg(Ag.propTypes));const Mg=["value"],_g=r.createContext();function Lg(t){let{value:n}=t,r=lf(t,Mg);return e(_g.Provider,Bu({value:null==n||n},r))}"production"!==process.env.NODE_ENV&&(Lg.propTypes={children:ei.node,value:ei.bool});const Fg=r.createContext(void 0);function Vg({value:t,children:n}){return e(Fg.Provider,{value:t,children:n})}"production"!==process.env.NODE_ENV&&(Vg.propTypes={children:ei.node,value:ei.object});const jg={};function Bg(e,t,n,o=!1){return r.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const a=n(r),i=e?Bu({},t,{[e]:a}):a;return o?()=>i:i}return Bu({},t,e?{[e]:n}:n)}),[e,t,n,o])}function Hg(t){const{children:n,theme:r,themeId:o}=t,a=vm(jg),i=Tg()||jg;"production"!==process.env.NODE_ENV&&(null===a&&"function"==typeof r||o&&a&&!a[o]&&"function"==typeof r)&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const l=Bg(o,a,r),s=Bg(o,i,r,!0),c="rtl"===l.direction;return e(Ag,{theme:s,children:e(Ap.Provider,{value:l,children:e(Lg,{value:c,children:e(Vg,{value:null==l?void 0:l.components,children:n})})})})}"production"!==process.env.NODE_ENV&&(Hg.propTypes={children:ei.node,theme:ei.oneOfType([ei.func,ei.object]).isRequired,themeId:ei.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Hg.propTypes=rg(Hg.propTypes));const Wg="mode",Gg="color-scheme",qg="data-color-scheme";function Yg(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function Ug(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function Kg(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}function Jg(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:o,supportedColorSchemes:a=[],modeStorageKey:i=Wg,colorSchemeStorageKey:l=Gg,storageWindow:s=("undefined"==typeof window?void 0:window)}=e,c=a.join(","),[u,d]=r.useState((()=>{const e=Kg(i,t),r=Kg(`${l}-light`,n),a=Kg(`${l}-dark`,o);return{mode:e,systemMode:Yg(e),lightColorScheme:r,darkColorScheme:a}})),p=function(e){return Ug(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=r.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=null!=e?e:t;try{localStorage.setItem(i,r)}catch(e){}return Bu({},n,{mode:r,systemMode:Yg(r)})}))}),[i,t]),m=r.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=Bu({},t);return Ug(t,(t=>{try{localStorage.setItem(`${l}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const r=Bu({},t),a=null===e.light?n:e.light,i=null===e.dark?o:e.dark;if(a)if(c.includes(a)){r.lightColorScheme=a;try{localStorage.setItem(`${l}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(i)if(c.includes(i)){r.darkColorScheme=i;try{localStorage.setItem(`${l}-dark`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);return r})):d((e=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,o)}catch(e){}return Bu({},e,{lightColorScheme:n,darkColorScheme:o})}))}),[c,l,n,o]),g=r.useCallback((e=>{"system"===u.mode&&d((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:Bu({},t,{systemMode:n})}))}),[u.mode]),h=r.useRef(g);return h.current=g,r.useEffect((()=>{const e=(...e)=>h.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),r.useEffect((()=>{if(s){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(l)||n&&!c.match(n)||(e.key.endsWith("light")&&m({light:n}),e.key.endsWith("dark")&&m({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||f(n||t)};return s.addEventListener("storage",e),()=>{s.removeEventListener("storage",e)}}}),[m,f,i,l,c,t,s]),Bu({},u,{colorScheme:p,setMode:f,setColorScheme:m})}const Xg=["colorSchemes","components","generateCssVars","cssVarPrefix"];function Qg(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const Zg=(e,t,n,r=[])=>{let o=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},eh=(e,t,n)=>{!function e(r,o=[],a=[]){Object.entries(r).forEach((([r,i])=>{(!n||n&&!n([...o,r]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...o,r],Array.isArray(i)?[...a,r]:a):t([...o,r],i,a))}))}(e)},th=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function nh(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return eh(e,((e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:th(e,t)}),Zg(a,e,`var(${r})`,l),Zg(i,e,`var(${r}, ${t})`,l)}}),(e=>"vars"===e[0])),{css:o,vars:a,varsWithDefaults:i}}function rh(e){return rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rh(e)}function oh(e){var t=function(e,t){if("object"!=rh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=rh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==rh(t)?t:t+""}const ah=["colorSchemes","components","defaultColorScheme"];const ih=Bu({},pm,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}}),lh={grey:{50:"#FBFCFE",100:"#F0F4F8",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#171A1C",900:"#0B0D0E"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};function sh(e){var t;return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}const ch=(e,t)=>Pm(e,t,"Mui"),uh=(e,t)=>Nm(e,t,"Mui"),dh=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},ph=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach((([t,o])=>{if(t.match(new RegExp(`${e}(color|bg|border)`,"i"))&&o){const e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),dh(r,t,e)}})),r},fh=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach((t=>{const[a,i]=t;(e=>e&&"object"==typeof e&&Object.keys(e).some((e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)})))(i)&&"object"==typeof i&&(n=Bu({},n,{[a]:ph(e,i,(e=>`var(--variant-${e}, ${r(`palette-${a}-${e}`,o[a][e])})`))}))}))}return n.context=ph(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},mh=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],gh=["colorSchemes"];function hh(e){var t,n,r,o,a,i,l,s,c,u;const d=e||{},{cssVarPrefix:p="joy",breakpoints:f,spacing:m,components:g,variants:h,shouldSkipGeneratingVar:v=sh}=d,b=lf(d,mh),y=((e="joy")=>Qg(e))(p),w={primary:lh.blue,neutral:lh.grey,danger:lh.red,success:lh.green,warning:lh.yellow,common:{white:"#FFF",black:"#000"}},x=e=>{var t;const n=e.split("-"),r=n[1],o=n[2];return y(e,null==(t=w[r])?void 0:t[o])},S=e=>({plainColor:x(`palette-${e}-500`),plainHoverBg:x(`palette-${e}-100`),plainActiveBg:x(`palette-${e}-200`),plainDisabledColor:x("palette-neutral-400"),outlinedColor:x(`palette-${e}-500`),outlinedBorder:x(`palette-${e}-300`),outlinedHoverBg:x(`palette-${e}-100`),outlinedActiveBg:x(`palette-${e}-200`),outlinedDisabledColor:x("palette-neutral-400"),outlinedDisabledBorder:x("palette-neutral-200"),softColor:x(`palette-${e}-700`),softBg:x(`palette-${e}-100`),softHoverBg:x(`palette-${e}-200`),softActiveColor:x(`palette-${e}-800`),softActiveBg:x(`palette-${e}-300`),softDisabledColor:x("palette-neutral-400"),softDisabledBg:x("palette-neutral-50"),solidColor:x("palette-common-white"),solidBg:x(`palette-${e}-500`),solidHoverBg:x(`palette-${e}-600`),solidActiveBg:x(`palette-${e}-700`),solidDisabledColor:x("palette-neutral-400"),solidDisabledBg:x("palette-neutral-100")}),C=e=>({plainColor:x(`palette-${e}-300`),plainHoverBg:x(`palette-${e}-800`),plainActiveBg:x(`palette-${e}-700`),plainDisabledColor:x("palette-neutral-500"),outlinedColor:x(`palette-${e}-200`),outlinedBorder:x(`palette-${e}-700`),outlinedHoverBg:x(`palette-${e}-800`),outlinedActiveBg:x(`palette-${e}-700`),outlinedDisabledColor:x("palette-neutral-500"),outlinedDisabledBorder:x("palette-neutral-800"),softColor:x(`palette-${e}-200`),softBg:x(`palette-${e}-800`),softHoverBg:x(`palette-${e}-700`),softActiveColor:x(`palette-${e}-100`),softActiveBg:x(`palette-${e}-600`),softDisabledColor:x("palette-neutral-500"),softDisabledBg:x("palette-neutral-800"),solidColor:x("palette-common-white"),solidBg:x(`palette-${e}-500`),solidHoverBg:x(`palette-${e}-600`),solidActiveBg:x(`palette-${e}-700`),solidDisabledColor:x("palette-neutral-500"),solidDisabledBg:x("palette-neutral-800")}),k={palette:{mode:"light",primary:Bu({},w.primary,S("primary")),neutral:Bu({},w.neutral,S("neutral"),{plainColor:x("palette-neutral-700"),plainHoverColor:x("palette-neutral-900"),outlinedColor:x("palette-neutral-700")}),danger:Bu({},w.danger,S("danger")),success:Bu({},w.success,S("success")),warning:Bu({},w.warning,S("warning")),common:{white:"#FFF",black:"#000"},text:{primary:x("palette-neutral-800"),secondary:x("palette-neutral-700"),tertiary:x("palette-neutral-600"),icon:x("palette-neutral-500")},background:{body:x("palette-common-white"),surface:x("palette-neutral-50"),popup:x("palette-common-white"),level1:x("palette-neutral-100"),level2:x("palette-neutral-200"),level3:x("palette-neutral-300"),tooltip:x("palette-neutral-500"),backdrop:`rgba(${y("palette-neutral-darkChannel",Qm(w.neutral[900]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",Qm(w.neutral[500]))} / 0.2)`,focusVisible:x("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},O={palette:{mode:"dark",primary:Bu({},w.primary,C("primary")),neutral:Bu({},w.neutral,C("neutral"),{plainColor:x("palette-neutral-300"),plainHoverColor:x("palette-neutral-300")}),danger:Bu({},w.danger,C("danger")),success:Bu({},w.success,C("success")),warning:Bu({},w.warning,C("warning")),common:{white:"#FFF",black:"#000"},text:{primary:x("palette-neutral-100"),secondary:x("palette-neutral-300"),tertiary:x("palette-neutral-400"),icon:x("palette-neutral-400")},background:{body:x("palette-common-black"),surface:x("palette-neutral-900"),popup:x("palette-common-black"),level1:x("palette-neutral-800"),level2:x("palette-neutral-700"),level3:x("palette-neutral-600"),tooltip:x("palette-neutral-600"),backdrop:`rgba(${y("palette-neutral-darkChannel",Qm(w.neutral[50]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",Qm(w.neutral[500]))} / 0.16)`,focusVisible:x("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},E='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',I=Bu({body:`"Inter", ${y(`fontFamily-fallback, ${E}`)}`,display:`"Inter", ${y(`fontFamily-fallback, ${E}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:E},b.fontFamily),P=Bu({sm:300,md:500,lg:600,xl:700},b.fontWeight),N=Bu({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},b.fontSize),$=Bu({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},b.lineHeight),z=null!=(t=null==(n=b.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?t:k.shadowRing,R=null!=(r=null==(o=b.colorSchemes)||null==(o=o.light)?void 0:o.shadowChannel)?r:k.shadowChannel,T=null!=(a=null==(i=b.colorSchemes)||null==(i=i.light)?void 0:i.shadowOpacity)?a:k.shadowOpacity,D={colorSchemes:{light:k,dark:O},fontSize:N,fontFamily:I,fontWeight:P,focus:{thickness:"2px",selector:`&.${ch("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${y("focus-thickness",null!=(l=null==(s=b.focus)?void 0:s.thickness)?l:"2px")})`,outline:`${y("focus-thickness",null!=(c=null==(u=b.focus)?void 0:u.thickness)?c:"2px")} solid ${y("palette-focusVisible",w.primary[500])}`}},lineHeight:$,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,sm:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 2px 4px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,md:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 6px 12px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,lg:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 12px 16px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,xl:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 20px 24px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl4, ${N.xl4}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h2:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl3, ${N.xl3}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h3:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl2, ${N.xl2}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h4:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl, ${N.xl}`),lineHeight:y(`lineHeight-md, ${$.md}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-lg":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-lg, ${N.lg}`),lineHeight:y(`lineHeight-xs, ${$.xs}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-md":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-md, ${N.md}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-sm":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-sm, ${N.sm}`),lineHeight:y(`lineHeight-sm, ${$.sm}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"body-lg":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-lg, ${N.lg}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-md":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-md, ${N.md}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-sm":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-sm, ${N.sm}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)},"body-xs":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-xs, ${N.xs}`),lineHeight:y(`lineHeight-md, ${$.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)}}},A=b?uf(D,b):D,{colorSchemes:M}=A,_=lf(A,gh),L=Bu({colorSchemes:M},_,{breakpoints:ff(null!=f?f:{}),components:uf({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;const r=e.instanceFontSize;return Bu({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&Bu({color:`var(--Icon-color, ${L.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`}),r&&"inherit"!==r&&{"--Icon-fontSize":t.vars.fontSize[r]})}}}},g),cssVarPrefix:p,getCssVar:y,spacing:Lf(m)});Object.entries(L.colorSchemes).forEach((([e,t])=>{!function(e,t){Object.keys(t).forEach((n=>{const r={main:"500",light:"200",dark:"700"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=Qm(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=Qm(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=Qm(t[n][r.dark]))}))}(e,t.palette)}));const F={prefix:p,shouldSkipGeneratingVar:v},{vars:V,generateCssVars:j}=function(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=lf(e,ah),{vars:a,css:i,varsWithDefaults:l}=nh(o,t);let s=l;const c={},{[r]:u}=n,d=lf(n,[r].map(oh));if(Object.entries(d||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=nh(n,t);s=uf(s,a),c[e]={css:o,vars:r}})),u){const{css:e,vars:n,varsWithDefaults:o}=nh(u,t);s=uf(s,o),c[r]={css:e,vars:n}}return{vars:s,generateCssVars:e=>{var n;if(!e){var r;const n=Bu({},i);return{css:n,vars:a,selector:(null==t||null==(r=t.getSelector)?void 0:r.call(t,e,n))||":root"}}const o=Bu({},c[e].css);return{css:o,vars:c[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,o))||":root"}}}}(Bu({colorSchemes:M},_),F);L.vars=V,L.generateCssVars=j,L.unstable_sxConfig=Bu({},ih,null==e?void 0:e.unstable_sxConfig),L.unstable_sx=function(e){return fm({sx:e,theme:this})},L.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;const B={getCssVar:y,palette:L.colorSchemes.light.palette};return L.variants=uf({plain:fh("plain",B),plainHover:fh("plainHover",B),plainActive:fh("plainActive",B),plainDisabled:fh("plainDisabled",B),outlined:fh("outlined",B),outlinedHover:fh("outlinedHover",B),outlinedActive:fh("outlinedActive",B),outlinedDisabled:fh("outlinedDisabled",B),soft:fh("soft",B),softHover:fh("softHover",B),softActive:fh("softActive",B),softDisabled:fh("softDisabled",B),solid:fh("solid",B),solidHover:fh("solidHover",B),solidActive:fh("solidActive",B),solidDisabled:fh("solidDisabled",B)},h),L.palette=Bu({},L.colorSchemes.light.palette,{colorScheme:"light"}),L.shouldSkipGeneratingVar=v,L.applyStyles=mm,L}const vh=hh(),bh="data-joy-color-scheme",yh="joy-color-scheme",wh="light",xh="dark",Sh="joy-mode",{CssVarsProvider:Ch,useColorScheme:kh,getInitColorSchemeScript:Oh}=function(n){const{themeId:o,theme:a={},attribute:i=qg,modeStorageKey:l=Wg,colorSchemeStorageKey:s=Gg,defaultMode:c="light",defaultColorScheme:u,disableTransitionOnChange:d=!1,resolveTheme:p,excludeVariablesFromRoot:f}=n;(!a.colorSchemes||"string"==typeof u&&!a.colorSchemes[u]||"object"==typeof u&&!a.colorSchemes[null==u?void 0:u.light]||"object"==typeof u&&!a.colorSchemes[null==u?void 0:u.dark])&&console.error(`MUI: \`${u}\` does not exist in \`theme.colorSchemes\`.`);const m=r.createContext(void 0);function g(n){const{children:g,theme:h=a,modeStorageKey:v=l,colorSchemeStorageKey:b=s,attribute:y=i,defaultMode:w=c,defaultColorScheme:x=u,disableTransitionOnChange:S=d,storageWindow:C=("undefined"==typeof window?void 0:window),documentNode:k=("undefined"==typeof document?void 0:document),colorSchemeNode:O=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:E=":root",disableNestedContext:I=!1,disableStyleSheetGeneration:P=!1}=n,N=r.useRef(!1),$=Tg(),z=r.useContext(m),R=!!z&&!I,T=h[o],D=T||h,{colorSchemes:A={},components:M={},generateCssVars:_=(()=>({vars:{},css:{}})),cssVarPrefix:L}=D,F=lf(D,Xg),V=Object.keys(A),j="string"==typeof x?x:x.light,B="string"==typeof x?x:x.dark,{mode:H,setMode:W,systemMode:G,lightColorScheme:q,darkColorScheme:Y,colorScheme:U,setColorScheme:K}=Jg({supportedColorSchemes:V,defaultLightColorScheme:j,defaultDarkColorScheme:B,modeStorageKey:v,colorSchemeStorageKey:b,defaultMode:w,storageWindow:C});let J=H,X=U;R&&(J=z.mode,X=z.colorScheme);const Q=X||("dark"===(J||("system"===w?c:w))?B:j),{css:Z,vars:ee}=_(),te=Bu({},F,{components:M,colorSchemes:A,cssVarPrefix:L,vars:ee,getColorSchemeSelector:e=>`[${y}="${e}"] &`}),ne={},re={};Object.entries(A).forEach((([e,t])=>{const{css:n,vars:r}=_(e);te.vars=uf(te.vars,r),e===Q&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?te[e]=Bu({},te[e],t[e]):te[e]=t[e]})),te.palette&&(te.palette.colorScheme=e));if(e===("string"==typeof x?x:"dark"===w?x.dark:x.light)){if(f){const t={};f(L).forEach((e=>{t[e]=n[e],delete n[e]})),ne[`[${y}="${e}"]`]=t}ne[`${E}, [${y}="${e}"]`]=n}else re[`${":root"===E?"":E}[${y}="${e}"]`]=n})),te.vars=uf(te.vars,ee),r.useEffect((()=>{X&&O&&O.setAttribute(y,X)}),[X,y,O]),r.useEffect((()=>{let e;if(S&&N.current&&k){const t=k.createElement("style");t.appendChild(k.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),k.head.appendChild(t),window.getComputedStyle(k.body),e=setTimeout((()=>{k.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[X,S,k]),r.useEffect((()=>(N.current=!0,()=>{N.current=!1})),[]);const oe=r.useMemo((()=>({allColorSchemes:V,colorScheme:X,darkColorScheme:Y,lightColorScheme:q,mode:J,setColorScheme:K,setMode:W,systemMode:G})),[V,X,Y,q,J,K,W,G]);let ae=!0;(P||R&&(null==$?void 0:$.cssVarPrefix)===L)&&(ae=!1);const ie=t(r.Fragment,{children:[ae&&t(r.Fragment,{children:[e(of,{styles:{[E]:Z}}),e(of,{styles:ne}),e(of,{styles:re})]}),e(Hg,{themeId:T?o:void 0,theme:p?p(te):te,children:g})]});return R?ie:e(m.Provider,{value:oe,children:ie})}"production"!==process.env.NODE_ENV&&(m.displayName="ColorSchemeContext"),"production"!==process.env.NODE_ENV&&(g.propTypes={attribute:ei.string,children:ei.node,colorSchemeNode:ei.any,colorSchemeSelector:ei.string,colorSchemeStorageKey:ei.string,defaultColorScheme:ei.oneOfType([ei.string,ei.object]),defaultMode:ei.string,disableNestedContext:ei.bool,disableStyleSheetGeneration:ei.bool,disableTransitionOnChange:ei.bool,documentNode:ei.any,modeStorageKey:ei.string,storageWindow:ei.any,theme:ei.object});const h="string"==typeof u?u:u.light,v="string"==typeof u?u:u.dark;return{CssVarsProvider:g,useColorScheme:()=>{const e=r.useContext(m);if(!e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `useColorScheme` must be called under <CssVarsProvider />":ju(19));return e},getInitColorSchemeScript:t=>function(t){const{defaultMode:n="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:o="dark",modeStorageKey:a=Wg,colorSchemeStorageKey:i=Gg,attribute:l=qg,colorSchemeNode:s="document.documentElement",nonce:c}=t||{};return e("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${a}') || '${n}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n } else {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${l}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}(Bu({attribute:i,colorSchemeStorageKey:s,defaultMode:c,defaultLightColorScheme:h,defaultDarkColorScheme:v,modeStorageKey:l},t))}}({themeId:Vu,theme:vh,attribute:bh,modeStorageKey:Sh,colorSchemeStorageKey:yh,defaultColorScheme:{light:wh,dark:xh}}),Eh=function(e={}){const{themeId:t,defaultTheme:n=Hm,rootShouldForwardProp:r=Bm,slotShouldForwardProp:o=Bm}=e,a=e=>fm(Bu({},e,{theme:Gm(Bu({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=qm(Wm(s))}=i,p=lf(i,jm),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,m=u||!1;let g;"production"!==process.env.NODE_ENV&&l&&(g=`${l}-${Wm(s||"Root")}`);let h=Bm;"Root"===s||"root"===s?h=r:s?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const v=af(e,Bu({shouldForwardProp:h,label:g},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||sf(e)?r=>Ym(e,Bu({},r,{theme:Gm({theme:r.theme,defaultTheme:n,themeId:t})})):e,y=(r,...o)=>{let i=b(r);const c=o?o.map(b):[];l&&d&&c.push((e=>{const r=Gm(Bu({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=Ym(n,Bu({},e,{theme:r}))})),d(e,a)})),l&&!f&&c.push((e=>{var r;const o=Gm(Bu({},e,{defaultTheme:n,themeId:t}));return Ym({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},Bu({},e,{theme:o}))})),m||c.push(a);const u=c.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const p=v(i,...c);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${wf(s||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return _m(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Am.ForwardRef:return Lm(e,e.render,"ForwardRef");case Am.Memo:return Lm(e,e.type,"memo");default:return}}}(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return v.withConfig&&(y.withConfig=v.withConfig),y}}({defaultTheme:vh,themeId:Vu});function Ih({props:e,name:t}){return function({props:e,name:t,defaultTheme:n,themeId:r}){let o=ym(n);return r&&(o=o[r]||o),Km({theme:o,name:t,props:e})}({props:e,name:t,defaultTheme:Bu({},vh,{components:{}}),themeId:Vu})}const Ph=hh({colorSchemes:{light:{palette:{primary:{50:"#dbd9f8",100:"#b7b2f1",200:"#a69fee",300:"#8279e7",400:"#7065e4",500:"#4c3fdd",600:"#3d32b1",700:"#2e2685",800:"#1e1958",900:"#0f0d2c"},neutral:{50:"#fafbfd",100:"#f4f7fb",200:"#dbdde1",300:"#aaacaf",400:"#929496",500:"#7a7b7d",600:"#616264",700:"#494a4b",800:"#313132",900:"#181919"}}}},components:{}});Fu(':root {\n --color--black: #000000;\n --color--grey-dark: #262626;\n --color--grey: #5c5c5c;\n --color--grey-light: #a8aab7;\n --color--grey-lighter: #f5f5f5;\n --color--grey-lightest: #f3f6fa;\n --color--grey-borders: #d7d7d7;\n --color--grey-line: #e0e0e0;\n --color--grey-hover: #f9f9f9;\n --color--white: #fff;\n\n --color--teal: #007d7e;\n --color--teal-light: #00b0b1;\n --color--teal-tint: #f2fcfc;\n\n --color--red: #d9303e;\n --color--red-dark: #c02330;\n --color--red-light: #f7dbdd;\n --color--red-tint: #ffdddf;\n\n --color--amber: #e9b04d;\n --color--amber-tint: #faecd5;\n --color--orange: #f5a623;\n --color--orange-dark: #eb6f00;\n --color--orange-light: #f2c06f;\n\n --color--green: #29c889;\n --color--green-dark: #1c874c;\n --color--green-light: #afe7d0;\n --color--indigo: #2e1f5e;\n --color--lemon: #ffe60b;\n --color--focus-outline: #fcc726;\n\n --color--dark-blue: #192a3c;\n\n --color--primary: #4c3fdd;\n --color--primary-light: #4c3fdddb;\n --color--primary-verylight: #a8a0f7;\n --color--body: var(--color--dark-blue);\n\n --color--danger: var(--color--red);\n --color--danger-light: var(--color--red-light);\n --color--warning: var(--color--orange);\n --color--warning-light: var(--color--orange-light);\n --color--success: var(--color--green);\n\n --color--dark-blue: #192a3c;\n\n --color--debug: #663399;\n --color--debug-light: #663399db;\n --color--debug-very-light: #6633991a;\n\n /* Fonts */\n --font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;\n\n --font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,\n "Courier New", monospace;\n\n /* Spacing */\n --spacing--xxxsmall: 0.1rem;\n --spacing--xxsmall: 0.2rem;\n --spacing--xsmall: 0.3rem;\n --spacing--small: 0.5rem;\n --spacing--medium: 1rem;\n --spacing--large: 2rem;\n --spacing--xlarge: 4rem;\n\n /* Font sizes */\n --font-size--xxsmall: 0.6rem;\n --font-size--xsmall: 0.75rem;\n --font-size--small: 0.875rem;\n --font-size--medium: 1rem;\n --font-size--large: 1.25rem;\n --font-size--xlarge: 1.5rem;\n --font-size--xxlarge: 2rem;\n --font-size--xxxlarge: 3rem;\n\n /* Line heights */\n --line-height--small: 1.2rem;\n --line-height--medium: 1.4rem;\n --line-height--large: 1.4rem;\n\n /* Font weights */\n --font-weight--thin: 200;\n --font-weight--light: 300;\n --font-weight--regular: 400;\n --font-weight--medium: 500;\n --font-weight--bold: 700;\n\n /* Border radius */\n --border-radius--small: 0.25rem;\n --border-radius--medium: 0.5rem;\n --border-radius--large: 1rem;\n --border-radius--xlarge: 2rem;\n\n /* Box shadows */\n --box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);\n\n /* Breakpoints */\n --breakpoint--small: 480px;\n --breakpoint--medium: 768px;\n --breakpoint--large: 1024px;\n --breakpoint--xlarge: 1200px;\n --breakpoint--xxlarge: 1440px;\n --breakpoint--xxxlarge: 1920px;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n* {\n margin: 0;\n}\n\na {\n color: var(--color--primary);\n text-decoration: none;\n\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n}\n\nbody,\nbutton {\n font-family: var(--font-family--sans-serif);\n font-weight: var(--font-weight--regular);\n font-style: normal;\n}\n\nbody {\n background-color: var(--color--grey-lightest);\n line-height: 1.5;\n -webkit-font-smoothing: antialiased;\n color: var(--color--grey-dark);\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n}\n\nb {\n font-weight: var(--font-weight--bold);\n}\n\n*:focus-visible {\n outline: 3px solid var(--color--focus-outline);\n}\n\ninput,\nbutton,\ntextarea,\nselect {\n font: inherit;\n}\n\ntextarea {\n border: 1px solid var(--color--grey-borders);\n border-radius: var(--border-radius--small);\n background-color: var(--color--grey-lighter);\n padding: var(--spacing--medium);\n}\n\np,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n overflow-wrap: break-word;\n}\n\np {\n font-size: var(--font-size--medium);\n}\n\n#root,\n#__next {\n isolation: isolate;\n}\n\nsmall {\n font-size: 80%;\n color: var(--color--grey);\n}\n');const Nh=on.div`
|
|
1001
|
+
*/"production"===process.env.NODE_ENV?Rm.exports=function(){if(zm)return Tm;zm=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case r:case a:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case c:case f:case p:case i:return e;default:return m}}case n:return m}}}return e=Symbol.for("react.module.reference"),Tm.ContextConsumer=l,Tm.ContextProvider=i,Tm.Element=t,Tm.ForwardRef=c,Tm.Fragment=r,Tm.Lazy=f,Tm.Memo=p,Tm.Portal=n,Tm.Profiler=a,Tm.StrictMode=o,Tm.Suspense=u,Tm.SuspenseList=d,Tm.isAsyncMode=function(){return!1},Tm.isConcurrentMode=function(){return!1},Tm.isContextConsumer=function(e){return g(e)===l},Tm.isContextProvider=function(e){return g(e)===i},Tm.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Tm.isForwardRef=function(e){return g(e)===c},Tm.isFragment=function(e){return g(e)===r},Tm.isLazy=function(e){return g(e)===f},Tm.isMemo=function(e){return g(e)===p},Tm.isPortal=function(e){return g(e)===n},Tm.isProfiler=function(e){return g(e)===a},Tm.isStrictMode=function(e){return g(e)===o},Tm.isSuspense=function(e){return g(e)===u},Tm.isSuspenseList=function(e){return g(e)===d},Tm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Tm.typeOf=g,Tm}():Rm.exports=(Dm||(Dm=1,"production"!==process.env.NODE_ENV&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function g(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case r:case a:case o:case u:case d:return g;default:var h=g&&g.$$typeof;switch(h){case s:case l:case c:case f:case p:case i:return h;default:return m}}case n:return m}}}e=Symbol.for("react.module.reference");var h=l,v=i,b=t,y=c,w=r,x=f,S=p,C=n,k=a,O=o,E=u,I=d,P=!1,$=!1;Am.ContextConsumer=h,Am.ContextProvider=v,Am.Element=b,Am.ForwardRef=y,Am.Fragment=w,Am.Lazy=x,Am.Memo=S,Am.Portal=C,Am.Profiler=k,Am.StrictMode=O,Am.Suspense=E,Am.SuspenseList=I,Am.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},Am.isConcurrentMode=function(e){return $||($=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},Am.isContextConsumer=function(e){return g(e)===l},Am.isContextProvider=function(e){return g(e)===i},Am.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Am.isForwardRef=function(e){return g(e)===c},Am.isFragment=function(e){return g(e)===r},Am.isLazy=function(e){return g(e)===f},Am.isMemo=function(e){return g(e)===p},Am.isPortal=function(e){return g(e)===n},Am.isProfiler=function(e){return g(e)===a},Am.isStrictMode=function(e){return g(e)===o},Am.isSuspense=function(e){return g(e)===u},Am.isSuspenseList=function(e){return g(e)===d},Am.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===a||t===o||t===u||t===d||t===m||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===i||t.$$typeof===l||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},Am.typeOf=g}()),Am);var Mm=Rm.exports;const _m=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Lm(e,t=""){return e.displayName||e.name||function(e){const t=`${e}`.match(_m);return t&&t[1]||""}(e)||t}function Fm(e,t,n){const r=Lm(t);return e.displayName||(""!==r?`${n}(${r})`:n)}const Vm=["ownerState"],jm=["variants"],Bm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Hm(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Wm=hm(),Gm=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function qm({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function Ym(e){return e?(t,n)=>n[e]:null}function Um(e,t){let{ownerState:n}=t,r=lf(t,Vm);const o="function"==typeof e?e(Bu({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>Um(e,Bu({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=lf(o,jm);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props(Bu({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(Bu({ownerState:n},r,n)):e.style))})),t}return o}function Km(e={}){const{themeId:t,defaultTheme:n=Wm,rootShouldForwardProp:r=Hm,slotShouldForwardProp:o=Hm}=e,a=e=>fm(Bu({},e,{theme:qm(Bu({},e,{defaultTheme:n,themeId:t}))}));return a.__mui_systemSx=!0,(e,i={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:u,overridesResolver:d=Ym(Gm(s))}=i,p=lf(i,Bm),f=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,m=u||!1;let g;"production"!==process.env.NODE_ENV&&l&&(g=`${l}-${Gm(s||"Root")}`);let h=Hm;"Root"===s||"root"===s?h=r:s?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const v=af(e,Bu({shouldForwardProp:h,label:g},p)),b=e=>"function"==typeof e&&e.__emotion_real!==e||sf(e)?r=>Um(e,Bu({},r,{theme:qm({theme:r.theme,defaultTheme:n,themeId:t})})):e,y=(r,...o)=>{let i=b(r);const c=o?o.map(b):[];l&&d&&c.push((e=>{const r=qm(Bu({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[l]||!r.components[l].styleOverrides)return null;const o=r.components[l].styleOverrides,a={};return Object.entries(o).forEach((([t,n])=>{a[t]=Um(n,Bu({},e,{theme:r}))})),d(e,a)})),l&&!f&&c.push((e=>{var r;const o=qm(Bu({},e,{defaultTheme:n,themeId:t}));return Um({variants:null==o||null==(r=o.components)||null==(r=r[l])?void 0:r.variants},Bu({},e,{theme:o}))})),m||c.push(a);const u=c.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");i=[...r,...e],i.raw=[...r.raw,...e]}const p=v(i,...c);if("production"!==process.env.NODE_ENV){let t;l&&(t=`${l}${wf(s||"")}`),void 0===t&&(t=`Styled(${function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return Lm(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Mm.ForwardRef:return Fm(e,e.render,"ForwardRef");case Mm.Memo:return Fm(e,e.type,"memo");default:return}}}(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return v.withConfig&&(y.withConfig=v.withConfig),y}}const Jm=Km();function Xm(e,t){const n=Bu({},t);return Object.keys(e).forEach((r=>{if(r.toString().match(/^(components|slots)$/))n[r]=Bu({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},a=t[r];n[r]={},a&&Object.keys(a)?o&&Object.keys(o)?(n[r]=Bu({},a),Object.keys(o).forEach((e=>{n[r][e]=Xm(o[e],a[e])}))):n[r]=a:n[r]=o}else void 0===n[r]&&(n[r]=e[r])})),n}function Qm(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?Xm(t.components[n].defaultProps,r):r}function Zm({props:e,name:t,defaultTheme:n,themeId:r}){let o=ym(n);r&&(o=o[r]||o);return Qm({theme:o,name:t,props:e})}const eg="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function tg(e){if(e.type)return e;if("#"===e.charAt(0))return tg(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ju(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${r}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ju(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const ng=e=>{const t=tg(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function rg(e,t){return"production"===process.env.NODE_ENV?()=>null:function(...n){return e(...n)||t(...n)}}function og(e,t,n,r,o){const a=e[t],i=o||t;if(null==a||"undefined"==typeof window)return null;let l;const s=a.type;return"function"!=typeof s||function(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}(s)||(l="Did you accidentally use a plain function component for an element instead?"),void 0!==l?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const ag=rg(ei.element,og);ag.isRequired=rg(ei.element.isRequired,og);const ig="exact-prop: ";function lg(e){return"production"===process.env.NODE_ENV?e:Bu({},e,{[ig]:t=>{const n=Object.keys(t).filter((t=>!e.hasOwnProperty(t)));return n.length>0?new Error(`The following props are not supported: ${n.map((e=>`\`${e}\``)).join(", ")}. Please remove them.`):null}})}function sg(e,t,n,r,o){if("production"===process.env.NODE_ENV)return null;const a=e[t],i=o||t;return null==a?null:a&&1!==a.nodeType?new Error(`Invalid ${r} \`${i}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const cg=ei.oneOfType([ei.func,ei.object]);function ug(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function dg(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}function pg(e){return e&&e.ownerDocument||document}function fg(e){return pg(e).defaultView||window}function mg(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let gg=0;const hg=r["useId".toString()];function vg(e){if(void 0!==hg){const t=hg();return null!=e?e:t}return function(e){const[t,n]=r.useState(e),o=e||t;return r.useEffect((()=>{null==t&&(gg+=1,n(`mui-${gg}`))}),[t]),o}(e)}function bg({controlled:e,default:t,name:n,state:o="value"}){const{current:a}=r.useRef(void 0!==e),[i,l]=r.useState(t),s=a?e:i;if("production"!==process.env.NODE_ENV){r.useEffect((()=>{a!==(void 0!==e)&&console.error([`MUI: A component is changing the ${a?"":"un"}controlled ${o} state of ${n} to be ${a?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join("\n"))}),[o,n,e]);const{current:i}=r.useRef(t);r.useEffect((()=>{a||Object.is(i,t)||console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join("\n"))}),[JSON.stringify(t)])}return[s,r.useCallback((e=>{a||l(e)}),[])]}function yg(e){const t=r.useRef(e);return eg((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}function wg(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{mg(e,t)}))}),e)}class xg{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new xg}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Sg=!0,Cg=!1;const kg=new xg,Og={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 Eg(e){e.metaKey||e.altKey||e.ctrlKey||(Sg=!0)}function Ig(){Sg=!1}function Pg(){"hidden"===this.visibilityState&&Cg&&(Sg=!0)}function $g(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Sg||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Og[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Ng(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Eg,!0),t.addEventListener("mousedown",Ig,!0),t.addEventListener("pointerdown",Ig,!0),t.addEventListener("touchstart",Ig,!0),t.addEventListener("visibilitychange",Pg,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!$g(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Cg=!0,kg.start(100,(()=>{Cg=!1})),t.current=!1,!0)},ref:e}}const zg=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Rg(e,t,n,r){const o=e[t];if(null==o||!zg(o)){const e=function(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return null===e?"null":e.constructor.name;default:return t}}(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${e}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Tg(e,t,...n){return void 0===e[t]?null:Rg(e,t,...n)}function Dg(){return null}Tg.isRequired=Rg,Dg.isRequired=Dg;var Ag="production"===process.env.NODE_ENV?Dg:Tg;function Mg(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const _g=r.createContext(null);function Lg(){const e=r.useContext(_g);return"production"!==process.env.NODE_ENV&&r.useDebugValue(e),e}"production"!==process.env.NODE_ENV&&(_g.displayName="ThemeContext");var Fg="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Vg(t){const{children:n,theme:o}=t,a=Lg();"production"!==process.env.NODE_ENV&&null===a&&"function"==typeof o&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const i=r.useMemo((()=>{const e=null===a?o:function(e,t){if("function"==typeof t){const n=t(e);return"production"!==process.env.NODE_ENV&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join("\n"))),n}return Bu({},e,t)}(a,o);return null!=e&&(e[Fg]=null!==a),e}),[o,a]);return e(_g.Provider,{value:i,children:n})}"production"!==process.env.NODE_ENV&&(Vg.propTypes={children:ei.node,theme:ei.oneOfType([ei.object,ei.func]).isRequired}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Vg.propTypes=lg(Vg.propTypes));const jg=["value"],Bg=r.createContext();function Hg(t){let{value:n}=t,r=lf(t,jg);return e(Bg.Provider,Bu({value:null==n||n},r))}"production"!==process.env.NODE_ENV&&(Hg.propTypes={children:ei.node,value:ei.bool});const Wg=r.createContext(void 0);function Gg({value:t,children:n}){return e(Wg.Provider,{value:t,children:n})}"production"!==process.env.NODE_ENV&&(Gg.propTypes={children:ei.node,value:ei.object});const qg={};function Yg(e,t,n,o=!1){return r.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const a=n(r),i=e?Bu({},t,{[e]:a}):a;return o?()=>i:i}return Bu({},t,e?{[e]:n}:n)}),[e,t,n,o])}function Ug(t){const{children:n,theme:r,themeId:o}=t,a=vm(qg),i=Lg()||qg;"production"!==process.env.NODE_ENV&&(null===a&&"function"==typeof r||o&&a&&!a[o]&&"function"==typeof r)&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join("\n"));const l=Yg(o,a,r),s=Yg(o,i,r,!0),c="rtl"===l.direction;return e(Vg,{theme:s,children:e(Ap.Provider,{value:l,children:e(Hg,{value:c,children:e(Gg,{value:null==l?void 0:l.components,children:n})})})})}"production"!==process.env.NODE_ENV&&(Ug.propTypes={children:ei.node,theme:ei.oneOfType([ei.func,ei.object]).isRequired,themeId:ei.string}),"production"!==process.env.NODE_ENV&&"production"!==process.env.NODE_ENV&&(Ug.propTypes=lg(Ug.propTypes));const Kg="mode",Jg="color-scheme",Xg="data-color-scheme";function Qg(e){if("undefined"!=typeof window&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function Zg(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function eh(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}function th(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:o,supportedColorSchemes:a=[],modeStorageKey:i=Kg,colorSchemeStorageKey:l=Jg,storageWindow:s=("undefined"==typeof window?void 0:window)}=e,c=a.join(","),[u,d]=r.useState((()=>{const e=eh(i,t),r=eh(`${l}-light`,n),a=eh(`${l}-dark`,o);return{mode:e,systemMode:Qg(e),lightColorScheme:r,darkColorScheme:a}})),p=function(e){return Zg(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(u),f=r.useCallback((e=>{d((n=>{if(e===n.mode)return n;const r=null!=e?e:t;try{localStorage.setItem(i,r)}catch(e){}return Bu({},n,{mode:r,systemMode:Qg(r)})}))}),[i,t]),m=r.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):d((t=>{const n=Bu({},t);return Zg(t,(t=>{try{localStorage.setItem(`${l}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):d((t=>{const r=Bu({},t),a=null===e.light?n:e.light,i=null===e.dark?o:e.dark;if(a)if(c.includes(a)){r.lightColorScheme=a;try{localStorage.setItem(`${l}-light`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);if(i)if(c.includes(i)){r.darkColorScheme=i;try{localStorage.setItem(`${l}-dark`,i)}catch(e){}}else console.error(`\`${i}\` does not exist in \`theme.colorSchemes\`.`);return r})):d((e=>{try{localStorage.setItem(`${l}-light`,n),localStorage.setItem(`${l}-dark`,o)}catch(e){}return Bu({},e,{lightColorScheme:n,darkColorScheme:o})}))}),[c,l,n,o]),g=r.useCallback((e=>{"system"===u.mode&&d((t=>{const n=null!=e&&e.matches?"dark":"light";return t.systemMode===n?t:Bu({},t,{systemMode:n})}))}),[u.mode]),h=r.useRef(g);return h.current=g,r.useEffect((()=>{const e=(...e)=>h.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[]),r.useEffect((()=>{if(s){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(l)||n&&!c.match(n)||(e.key.endsWith("light")&&m({light:n}),e.key.endsWith("dark")&&m({dark:n})),e.key!==i||n&&!["light","dark","system"].includes(n)||f(n||t)};return s.addEventListener("storage",e),()=>{s.removeEventListener("storage",e)}}}),[m,f,i,l,c,t,s]),Bu({},u,{colorScheme:p,setMode:f,setColorScheme:m})}const nh=["colorSchemes","components","generateCssVars","cssVarPrefix"];function rh(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const oh=(e,t,n,r=[])=>{let o=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))},ah=(e,t,n)=>{!function e(r,o=[],a=[]){Object.entries(r).forEach((([r,i])=>{(!n||n&&!n([...o,r]))&&null!=i&&("object"==typeof i&&Object.keys(i).length>0?e(i,[...o,r],Array.isArray(i)?[...a,r]:a):t([...o,r],i,a))}))}(e)},ih=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function lh(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return ah(e,((e,t,l)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`;Object.assign(o,{[r]:ih(e,t)}),oh(a,e,`var(${r})`,l),oh(i,e,`var(${r}, ${t})`,l)}}),(e=>"vars"===e[0])),{css:o,vars:a,varsWithDefaults:i}}function sh(e){return sh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sh(e)}function ch(e){var t=function(e,t){if("object"!=sh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=sh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==sh(t)?t:t+""}const uh=["colorSchemes","components","defaultColorScheme"];const dh=(e,t,n)=>{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){(Object.keys(t).length>e.keys.length?e.keys:(o=e.keys,a=Object.keys(t),o.filter((e=>a.includes(e))))).forEach((o=>{if(-1!==e.keys.indexOf(o)){const a=t[o];void 0!==a&&n(((t,n)=>{r===o?Object.assign(t,n):t[e.up(o)]=n}),a)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var o,a};function ph(e){return e?`Level${e}`:""}function fh(e){return e.unstable_level>0&&e.container}function mh(e){return function(t){return`var(--Grid-${t}Spacing${ph(e.unstable_level)})`}}function gh(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${ph(e.unstable_level-1)})`}}function hh(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${ph(e.unstable_level-1)})`}const vh=({theme:e,ownerState:t})=>{const n=mh(t),r={};return dh(e.breakpoints,t.gridSize,((e,o)=>{let a={};!0===o&&(a={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===o&&(a={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof o&&(a={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${hh(t)}${fh(t)?` + ${n("column")}`:""})`}),e(r,a)})),r},bh=({theme:e,ownerState:t})=>{const n={};return dh(e.breakpoints,t.gridOffset,((e,r)=>{let o={};"auto"===r&&(o={marginLeft:"auto"}),"number"==typeof r&&(o={marginLeft:0===r?"0px":`calc(100% * ${r} / ${hh(t)})`}),e(n,o)})),n},yh=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=fh(t)?{[`--Grid-columns${ph(t.unstable_level)}`]:hh(t)}:{"--Grid-columns":12};return dh(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${ph(t.unstable_level)}`]:r})})),n},wh=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=gh(t),r=fh(t)?{[`--Grid-rowSpacing${ph(t.unstable_level)}`]:n("row")}:{};return dh(e.breakpoints,t.rowSpacing,((n,o)=>{var a;n(r,{[`--Grid-rowSpacing${ph(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})})),r},xh=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=gh(t),r=fh(t)?{[`--Grid-columnSpacing${ph(t.unstable_level)}`]:n("column")}:{};return dh(e.breakpoints,t.columnSpacing,((n,o)=>{var a;n(r,{[`--Grid-columnSpacing${ph(t.unstable_level)}`]:"string"==typeof o?o:null==(a=e.spacing)?void 0:a.call(e,o)})})),r},Sh=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return dh(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Ch=({ownerState:e})=>{const t=mh(e),n=gh(e);return Bu({minWidth:0,boxSizing:"border-box"},e.container&&Bu({display:"flex",flexWrap:"wrap"},e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||fh(e))&&Bu({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},kh=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},Oh=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},Eh=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],Ih=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],Ph=hm(),$h=Jm("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Nh(e){return Zm({props:e,name:"MuiGrid",defaultTheme:Ph})}const zh=Bu({},pm,{borderRadius:{themeKey:"radius"},boxShadow:{themeKey:"shadow"},fontFamily:{themeKey:"fontFamily"},fontSize:{themeKey:"fontSize"},fontWeight:{themeKey:"fontWeight"},letterSpacing:{themeKey:"letterSpacing"},lineHeight:{themeKey:"lineHeight"}}),Rh={grey:{50:"#FBFCFE",100:"#F0F4F8",200:"#DDE7EE",300:"#CDD7E1",400:"#9FA6AD",500:"#636B74",600:"#555E68",700:"#32383E",800:"#171A1C",900:"#0B0D0E"},blue:{50:"#EDF5FD",100:"#E3EFFB",200:"#C7DFF7",300:"#97C3F0",400:"#4393E4",500:"#0B6BCB",600:"#185EA5",700:"#12467B",800:"#0A2744",900:"#051423"},yellow:{50:"#FEFAF6",100:"#FDF0E1",200:"#FCE1C2",300:"#F3C896",400:"#EA9A3E",500:"#9A5B13",600:"#72430D",700:"#492B08",800:"#2E1B05",900:"#1D1002"},red:{50:"#FEF6F6",100:"#FCE4E4",200:"#F7C5C5",300:"#F09898",400:"#E47474",500:"#C41C1C",600:"#A51818",700:"#7D1212",800:"#430A0A",900:"#240505"},green:{50:"#F6FEF6",100:"#E3FBE3",200:"#C7F7C7",300:"#A1E8A1",400:"#51BC51",500:"#1F7A1F",600:"#136C13",700:"#0A470A",800:"#042F04",900:"#021D02"}};function Th(e){var t;return!!e[0].match(/^(typography|variants|breakpoints)$/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!(null==(t=e[1])||!t.match(/^(mode)$/))||"focus"===e[0]&&"thickness"!==e[1]}const Dh=(e,t)=>$m(e,t,"Mui"),Ah=(e,t)=>Nm(e,t,"Mui"),Mh=(e,t,n)=>{t.includes("Color")&&(e.color=n),t.includes("Bg")&&(e.backgroundColor=n),t.includes("Border")&&(e.borderColor=n)},_h=(e,t,n)=>{const r={};return Object.entries(t||{}).forEach((([t,o])=>{if(t.match(new RegExp(`${e}(color|bg|border)`,"i"))&&o){const e=n?n(t):o;t.includes("Disabled")&&(r.pointerEvents="none",r.cursor="default",r["--Icon-color"]="currentColor"),t.match(/(Hover|Active|Disabled)/)||(r["--variant-borderWidth"]||(r["--variant-borderWidth"]="0px"),t.includes("Border")&&(r["--variant-borderWidth"]="1px",r.border="var(--variant-borderWidth) solid")),Mh(r,t,e)}})),r},Lh=(e,t)=>{let n={};if(t){const{getCssVar:r,palette:o}=t;Object.entries(o).forEach((t=>{const[a,i]=t;(e=>e&&"object"==typeof e&&Object.keys(e).some((e=>{var t;return null==(t=e.match)?void 0:t.call(e,/^(plain(Hover|Active|Disabled)?(Color|Bg)|outlined(Hover|Active|Disabled)?(Color|Border|Bg)|soft(Hover|Active|Disabled)?(Color|Bg)|solid(Hover|Active|Disabled)?(Color|Bg))$/)})))(i)&&"object"==typeof i&&(n=Bu({},n,{[a]:_h(e,i,(e=>`var(--variant-${e}, ${r(`palette-${a}-${e}`,o[a][e])})`))}))}))}return n.context=_h(e,{plainColor:"var(--variant-plainColor)",plainHoverColor:"var(--variant-plainHoverColor)",plainHoverBg:"var(--variant-plainHoverBg)",plainActiveBg:"var(--variant-plainActiveBg)",plainDisabledColor:"var(--variant-plainDisabledColor)",outlinedColor:"var(--variant-outlinedColor)",outlinedBorder:"var(--variant-outlinedBorder)",outlinedHoverColor:"var(--variant-outlinedHoverColor)",outlinedHoverBorder:"var(--variant-outlinedHoverBorder)",outlinedHoverBg:"var(--variant-outlinedHoverBg)",outlinedActiveBg:"var(--variant-outlinedActiveBg)",outlinedDisabledColor:"var(--variant-outlinedDisabledColor)",outlinedDisabledBorder:"var(--variant-outlinedDisabledBorder)",softColor:"var(--variant-softColor)",softBg:"var(--variant-softBg)",softHoverColor:"var(--variant-softHoverColor)",softHoverBg:"var(--variant-softHoverBg)",softActiveBg:"var(--variant-softActiveBg)",softDisabledColor:"var(--variant-softDisabledColor)",softDisabledBg:"var(--variant-softDisabledBg)",solidColor:"var(--variant-solidColor)",solidBg:"var(--variant-solidBg)",solidHoverBg:"var(--variant-solidHoverBg)",solidActiveBg:"var(--variant-solidActiveBg)",solidDisabledColor:"var(--variant-solidDisabledColor)",solidDisabledBg:"var(--variant-solidDisabledBg)"}),n},Fh=["cssVarPrefix","breakpoints","spacing","components","variants","shouldSkipGeneratingVar"],Vh=["colorSchemes"];function jh(e){var t,n,r,o,a,i,l,s,c,u;const d=e||{},{cssVarPrefix:p="joy",breakpoints:f,spacing:m,components:g,variants:h,shouldSkipGeneratingVar:v=Th}=d,b=lf(d,Fh),y=((e="joy")=>rh(e))(p),w={primary:Rh.blue,neutral:Rh.grey,danger:Rh.red,success:Rh.green,warning:Rh.yellow,common:{white:"#FFF",black:"#000"}},x=e=>{var t;const n=e.split("-"),r=n[1],o=n[2];return y(e,null==(t=w[r])?void 0:t[o])},S=e=>({plainColor:x(`palette-${e}-500`),plainHoverBg:x(`palette-${e}-100`),plainActiveBg:x(`palette-${e}-200`),plainDisabledColor:x("palette-neutral-400"),outlinedColor:x(`palette-${e}-500`),outlinedBorder:x(`palette-${e}-300`),outlinedHoverBg:x(`palette-${e}-100`),outlinedActiveBg:x(`palette-${e}-200`),outlinedDisabledColor:x("palette-neutral-400"),outlinedDisabledBorder:x("palette-neutral-200"),softColor:x(`palette-${e}-700`),softBg:x(`palette-${e}-100`),softHoverBg:x(`palette-${e}-200`),softActiveColor:x(`palette-${e}-800`),softActiveBg:x(`palette-${e}-300`),softDisabledColor:x("palette-neutral-400"),softDisabledBg:x("palette-neutral-50"),solidColor:x("palette-common-white"),solidBg:x(`palette-${e}-500`),solidHoverBg:x(`palette-${e}-600`),solidActiveBg:x(`palette-${e}-700`),solidDisabledColor:x("palette-neutral-400"),solidDisabledBg:x("palette-neutral-100")}),C=e=>({plainColor:x(`palette-${e}-300`),plainHoverBg:x(`palette-${e}-800`),plainActiveBg:x(`palette-${e}-700`),plainDisabledColor:x("palette-neutral-500"),outlinedColor:x(`palette-${e}-200`),outlinedBorder:x(`palette-${e}-700`),outlinedHoverBg:x(`palette-${e}-800`),outlinedActiveBg:x(`palette-${e}-700`),outlinedDisabledColor:x("palette-neutral-500"),outlinedDisabledBorder:x("palette-neutral-800"),softColor:x(`palette-${e}-200`),softBg:x(`palette-${e}-800`),softHoverBg:x(`palette-${e}-700`),softActiveColor:x(`palette-${e}-100`),softActiveBg:x(`palette-${e}-600`),softDisabledColor:x("palette-neutral-500"),softDisabledBg:x("palette-neutral-800"),solidColor:x("palette-common-white"),solidBg:x(`palette-${e}-500`),solidHoverBg:x(`palette-${e}-600`),solidActiveBg:x(`palette-${e}-700`),solidDisabledColor:x("palette-neutral-500"),solidDisabledBg:x("palette-neutral-800")}),k={palette:{mode:"light",primary:Bu({},w.primary,S("primary")),neutral:Bu({},w.neutral,S("neutral"),{plainColor:x("palette-neutral-700"),plainHoverColor:x("palette-neutral-900"),outlinedColor:x("palette-neutral-700")}),danger:Bu({},w.danger,S("danger")),success:Bu({},w.success,S("success")),warning:Bu({},w.warning,S("warning")),common:{white:"#FFF",black:"#000"},text:{primary:x("palette-neutral-800"),secondary:x("palette-neutral-700"),tertiary:x("palette-neutral-600"),icon:x("palette-neutral-500")},background:{body:x("palette-common-white"),surface:x("palette-neutral-50"),popup:x("palette-common-white"),level1:x("palette-neutral-100"),level2:x("palette-neutral-200"),level3:x("palette-neutral-300"),tooltip:x("palette-neutral-500"),backdrop:`rgba(${y("palette-neutral-darkChannel",ng(w.neutral[900]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",ng(w.neutral[500]))} / 0.2)`,focusVisible:x("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"21 21 21",shadowOpacity:"0.08"},O={palette:{mode:"dark",primary:Bu({},w.primary,C("primary")),neutral:Bu({},w.neutral,C("neutral"),{plainColor:x("palette-neutral-300"),plainHoverColor:x("palette-neutral-300")}),danger:Bu({},w.danger,C("danger")),success:Bu({},w.success,C("success")),warning:Bu({},w.warning,C("warning")),common:{white:"#FFF",black:"#000"},text:{primary:x("palette-neutral-100"),secondary:x("palette-neutral-300"),tertiary:x("palette-neutral-400"),icon:x("palette-neutral-400")},background:{body:x("palette-common-black"),surface:x("palette-neutral-900"),popup:x("palette-common-black"),level1:x("palette-neutral-800"),level2:x("palette-neutral-700"),level3:x("palette-neutral-600"),tooltip:x("palette-neutral-600"),backdrop:`rgba(${y("palette-neutral-darkChannel",ng(w.neutral[50]))} / 0.25)`},divider:`rgba(${y("palette-neutral-mainChannel",ng(w.neutral[500]))} / 0.16)`,focusVisible:x("palette-primary-500")},shadowRing:"0 0 #000",shadowChannel:"0 0 0",shadowOpacity:"0.6"},E='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',I=Bu({body:`"Inter", ${y(`fontFamily-fallback, ${E}`)}`,display:`"Inter", ${y(`fontFamily-fallback, ${E}`)}`,code:"Source Code Pro,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",fallback:E},b.fontFamily),P=Bu({sm:300,md:500,lg:600,xl:700},b.fontWeight),$=Bu({xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem",xl2:"1.5rem",xl3:"1.875rem",xl4:"2.25rem"},b.fontSize),N=Bu({xs:"1.33334",sm:"1.42858",md:"1.5",lg:"1.55556",xl:"1.66667"},b.lineHeight),z=null!=(t=null==(n=b.colorSchemes)||null==(n=n.light)?void 0:n.shadowRing)?t:k.shadowRing,R=null!=(r=null==(o=b.colorSchemes)||null==(o=o.light)?void 0:o.shadowChannel)?r:k.shadowChannel,T=null!=(a=null==(i=b.colorSchemes)||null==(i=i.light)?void 0:i.shadowOpacity)?a:k.shadowOpacity,D={colorSchemes:{light:k,dark:O},fontSize:$,fontFamily:I,fontWeight:P,focus:{thickness:"2px",selector:`&.${Dh("","focusVisible")}, &:focus-visible`,default:{outlineOffset:`var(--focus-outline-offset, ${y("focus-thickness",null!=(l=null==(s=b.focus)?void 0:s.thickness)?l:"2px")})`,outline:`${y("focus-thickness",null!=(c=null==(u=b.focus)?void 0:u.thickness)?c:"2px")} solid ${y("palette-focusVisible",w.primary[500])}`}},lineHeight:N,radius:{xs:"2px",sm:"6px",md:"8px",lg:"12px",xl:"16px"},shadow:{xs:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,sm:`${y("shadowRing",z)}, 0px 1px 2px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 2px 4px 0px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,md:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 6px 12px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,lg:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 12px 16px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`,xl:`${y("shadowRing",z)}, 0px 2px 8px -2px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)}), 0px 20px 24px -4px rgba(${y("shadowChannel",R)} / ${y("shadowOpacity",T)})`},zIndex:{badge:1,table:10,popup:1e3,modal:1300,snackbar:1400,tooltip:1500},typography:{h1:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl4, ${$.xl4}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h2:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-xl, ${P.xl}`),fontSize:y(`fontSize-xl3, ${$.xl3}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h3:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl2, ${$.xl2}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},h4:{fontFamily:y(`fontFamily-display, ${I.display}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-xl, ${$.xl}`),lineHeight:y(`lineHeight-md, ${N.md}`),letterSpacing:"-0.025em",color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-lg":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-lg, ${P.lg}`),fontSize:y(`fontSize-lg, ${$.lg}`),lineHeight:y(`lineHeight-xs, ${N.xs}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-md":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-md, ${$.md}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"title-sm":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-sm, ${$.sm}`),lineHeight:y(`lineHeight-sm, ${N.sm}`),color:y(`palette-text-primary, ${k.palette.text.primary}`)},"body-lg":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-lg, ${$.lg}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-md":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-md, ${$.md}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-secondary, ${k.palette.text.secondary}`)},"body-sm":{fontFamily:y(`fontFamily-body, ${I.body}`),fontSize:y(`fontSize-sm, ${$.sm}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)},"body-xs":{fontFamily:y(`fontFamily-body, ${I.body}`),fontWeight:y(`fontWeight-md, ${P.md}`),fontSize:y(`fontSize-xs, ${$.xs}`),lineHeight:y(`lineHeight-md, ${N.md}`),color:y(`palette-text-tertiary, ${k.palette.text.tertiary}`)}}},A=b?uf(D,b):D,{colorSchemes:M}=A,_=lf(A,Vh),L=Bu({colorSchemes:M},_,{breakpoints:ff(null!=f?f:{}),components:uf({MuiSvgIcon:{defaultProps:{fontSize:"xl2"},styleOverrides:{root:({ownerState:e,theme:t})=>{var n;const r=e.instanceFontSize;return Bu({margin:"var(--Icon-margin)"},e.fontSize&&"inherit"!==e.fontSize&&{fontSize:`var(--Icon-fontSize, ${t.vars.fontSize[e.fontSize]})`},!e.htmlColor&&Bu({color:`var(--Icon-color, ${L.vars.palette.text.icon})`},e.color&&"inherit"!==e.color&&t.vars.palette[e.color]&&{color:`rgba(${null==(n=t.vars.palette[e.color])?void 0:n.mainChannel} / 1)`}),r&&"inherit"!==r&&{"--Icon-fontSize":t.vars.fontSize[r]})}}}},g),cssVarPrefix:p,getCssVar:y,spacing:Lf(m)});Object.entries(L.colorSchemes).forEach((([e,t])=>{!function(e,t){Object.keys(t).forEach((n=>{const r={main:"500",light:"200",dark:"700"};"dark"===e&&(r.main=400),!t[n].mainChannel&&t[n][r.main]&&(t[n].mainChannel=ng(t[n][r.main])),!t[n].lightChannel&&t[n][r.light]&&(t[n].lightChannel=ng(t[n][r.light])),!t[n].darkChannel&&t[n][r.dark]&&(t[n].darkChannel=ng(t[n][r.dark]))}))}(e,t.palette)}));const F={prefix:p,shouldSkipGeneratingVar:v},{vars:V,generateCssVars:j}=function(e,t){const{colorSchemes:n={},defaultColorScheme:r="light"}=e,o=lf(e,uh),{vars:a,css:i,varsWithDefaults:l}=lh(o,t);let s=l;const c={},{[r]:u}=n,d=lf(n,[r].map(ch));if(Object.entries(d||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=lh(n,t);s=uf(s,a),c[e]={css:o,vars:r}})),u){const{css:e,vars:n,varsWithDefaults:o}=lh(u,t);s=uf(s,o),c[r]={css:e,vars:n}}return{vars:s,generateCssVars:e=>{var n;if(!e){var r;const n=Bu({},i);return{css:n,vars:a,selector:(null==t||null==(r=t.getSelector)?void 0:r.call(t,e,n))||":root"}}const o=Bu({},c[e].css);return{css:o,vars:c[e].vars,selector:(null==t||null==(n=t.getSelector)?void 0:n.call(t,e,o))||":root"}}}}(Bu({colorSchemes:M},_),F);L.vars=V,L.generateCssVars=j,L.unstable_sxConfig=Bu({},zh,null==e?void 0:e.unstable_sxConfig),L.unstable_sx=function(e){return fm({sx:e,theme:this})},L.getColorSchemeSelector=e=>"light"===e?"&":`&[data-joy-color-scheme="${e}"], [data-joy-color-scheme="${e}"] &`;const B={getCssVar:y,palette:L.colorSchemes.light.palette};return L.variants=uf({plain:Lh("plain",B),plainHover:Lh("plainHover",B),plainActive:Lh("plainActive",B),plainDisabled:Lh("plainDisabled",B),outlined:Lh("outlined",B),outlinedHover:Lh("outlinedHover",B),outlinedActive:Lh("outlinedActive",B),outlinedDisabled:Lh("outlinedDisabled",B),soft:Lh("soft",B),softHover:Lh("softHover",B),softActive:Lh("softActive",B),softDisabled:Lh("softDisabled",B),solid:Lh("solid",B),solidHover:Lh("solidHover",B),solidActive:Lh("solidActive",B),solidDisabled:Lh("solidDisabled",B)},h),L.palette=Bu({},L.colorSchemes.light.palette,{colorScheme:"light"}),L.shouldSkipGeneratingVar=v,L.applyStyles=mm,L}const Bh=jh(),Hh="data-joy-color-scheme",Wh="joy-color-scheme",Gh="light",qh="dark",Yh="joy-mode",{CssVarsProvider:Uh,useColorScheme:Kh,getInitColorSchemeScript:Jh}=function(n){const{themeId:o,theme:a={},attribute:i=Xg,modeStorageKey:l=Kg,colorSchemeStorageKey:s=Jg,defaultMode:c="light",defaultColorScheme:u,disableTransitionOnChange:d=!1,resolveTheme:p,excludeVariablesFromRoot:f}=n;(!a.colorSchemes||"string"==typeof u&&!a.colorSchemes[u]||"object"==typeof u&&!a.colorSchemes[null==u?void 0:u.light]||"object"==typeof u&&!a.colorSchemes[null==u?void 0:u.dark])&&console.error(`MUI: \`${u}\` does not exist in \`theme.colorSchemes\`.`);const m=r.createContext(void 0);function g(n){const{children:g,theme:h=a,modeStorageKey:v=l,colorSchemeStorageKey:b=s,attribute:y=i,defaultMode:w=c,defaultColorScheme:x=u,disableTransitionOnChange:S=d,storageWindow:C=("undefined"==typeof window?void 0:window),documentNode:k=("undefined"==typeof document?void 0:document),colorSchemeNode:O=("undefined"==typeof document?void 0:document.documentElement),colorSchemeSelector:E=":root",disableNestedContext:I=!1,disableStyleSheetGeneration:P=!1}=n,$=r.useRef(!1),N=Lg(),z=r.useContext(m),R=!!z&&!I,T=h[o],D=T||h,{colorSchemes:A={},components:M={},generateCssVars:_=(()=>({vars:{},css:{}})),cssVarPrefix:L}=D,F=lf(D,nh),V=Object.keys(A),j="string"==typeof x?x:x.light,B="string"==typeof x?x:x.dark,{mode:H,setMode:W,systemMode:G,lightColorScheme:q,darkColorScheme:Y,colorScheme:U,setColorScheme:K}=th({supportedColorSchemes:V,defaultLightColorScheme:j,defaultDarkColorScheme:B,modeStorageKey:v,colorSchemeStorageKey:b,defaultMode:w,storageWindow:C});let J=H,X=U;R&&(J=z.mode,X=z.colorScheme);const Q=X||("dark"===(J||("system"===w?c:w))?B:j),{css:Z,vars:ee}=_(),te=Bu({},F,{components:M,colorSchemes:A,cssVarPrefix:L,vars:ee,getColorSchemeSelector:e=>`[${y}="${e}"] &`}),ne={},re={};Object.entries(A).forEach((([e,t])=>{const{css:n,vars:r}=_(e);te.vars=uf(te.vars,r),e===Q&&(Object.keys(t).forEach((e=>{t[e]&&"object"==typeof t[e]?te[e]=Bu({},te[e],t[e]):te[e]=t[e]})),te.palette&&(te.palette.colorScheme=e));if(e===("string"==typeof x?x:"dark"===w?x.dark:x.light)){if(f){const t={};f(L).forEach((e=>{t[e]=n[e],delete n[e]})),ne[`[${y}="${e}"]`]=t}ne[`${E}, [${y}="${e}"]`]=n}else re[`${":root"===E?"":E}[${y}="${e}"]`]=n})),te.vars=uf(te.vars,ee),r.useEffect((()=>{X&&O&&O.setAttribute(y,X)}),[X,y,O]),r.useEffect((()=>{let e;if(S&&$.current&&k){const t=k.createElement("style");t.appendChild(k.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),k.head.appendChild(t),window.getComputedStyle(k.body),e=setTimeout((()=>{k.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[X,S,k]),r.useEffect((()=>($.current=!0,()=>{$.current=!1})),[]);const oe=r.useMemo((()=>({allColorSchemes:V,colorScheme:X,darkColorScheme:Y,lightColorScheme:q,mode:J,setColorScheme:K,setMode:W,systemMode:G})),[V,X,Y,q,J,K,W,G]);let ae=!0;(P||R&&(null==N?void 0:N.cssVarPrefix)===L)&&(ae=!1);const ie=t(r.Fragment,{children:[ae&&t(r.Fragment,{children:[e(of,{styles:{[E]:Z}}),e(of,{styles:ne}),e(of,{styles:re})]}),e(Ug,{themeId:T?o:void 0,theme:p?p(te):te,children:g})]});return R?ie:e(m.Provider,{value:oe,children:ie})}"production"!==process.env.NODE_ENV&&(m.displayName="ColorSchemeContext"),"production"!==process.env.NODE_ENV&&(g.propTypes={attribute:ei.string,children:ei.node,colorSchemeNode:ei.any,colorSchemeSelector:ei.string,colorSchemeStorageKey:ei.string,defaultColorScheme:ei.oneOfType([ei.string,ei.object]),defaultMode:ei.string,disableNestedContext:ei.bool,disableStyleSheetGeneration:ei.bool,disableTransitionOnChange:ei.bool,documentNode:ei.any,modeStorageKey:ei.string,storageWindow:ei.any,theme:ei.object});const h="string"==typeof u?u:u.light,v="string"==typeof u?u:u.dark;return{CssVarsProvider:g,useColorScheme:()=>{const e=r.useContext(m);if(!e)throw new Error("production"!==process.env.NODE_ENV?"MUI: `useColorScheme` must be called under <CssVarsProvider />":ju(19));return e},getInitColorSchemeScript:t=>function(t){const{defaultMode:n="light",defaultLightColorScheme:r="light",defaultDarkColorScheme:o="dark",modeStorageKey:a=Kg,colorSchemeStorageKey:i=Jg,attribute:l=Xg,colorSchemeNode:s="document.documentElement",nonce:c}=t||{};return e("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?c:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n var mode = localStorage.getItem('${a}') || '${n}';\n var colorScheme = '';\n if (mode === 'system') {\n // handle system mode\n var mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n } else {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n }\n if (mode === 'light') {\n colorScheme = localStorage.getItem('${i}-light') || '${r}';\n }\n if (mode === 'dark') {\n colorScheme = localStorage.getItem('${i}-dark') || '${o}';\n }\n if (colorScheme) {\n ${s}.setAttribute('${l}', colorScheme);\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}(Bu({attribute:i,colorSchemeStorageKey:s,defaultMode:c,defaultLightColorScheme:h,defaultDarkColorScheme:v,modeStorageKey:l},t))}}({themeId:Vu,theme:Bh,attribute:Hh,modeStorageKey:Yh,colorSchemeStorageKey:Wh,defaultColorScheme:{light:Gh,dark:qh}}),Xh=Km({defaultTheme:Bh,themeId:Vu});function Qh({props:e,name:t}){return Zm({props:e,name:t,defaultTheme:Bu({},Bh,{components:{}}),themeId:Vu})}const Zh=jh({colorSchemes:{light:{palette:{primary:{50:"#dbd9f8",100:"#b7b2f1",200:"#a69fee",300:"#8279e7",400:"#7065e4",500:"#4c3fdd",600:"#3d32b1",700:"#2e2685",800:"#1e1958",900:"#0f0d2c"},neutral:{50:"#fafbfd",100:"#f4f7fb",200:"#dbdde1",300:"#aaacaf",400:"#929496",500:"#7a7b7d",600:"#616264",700:"#494a4b",800:"#313132",900:"#181919"}}}},components:{}});Fu(':root {\n --color--black: #000000;\n --color--grey-dark: #262626;\n --color--grey: #5c5c5c;\n --color--grey-light: #a8aab7;\n --color--grey-lighter: #f5f5f5;\n --color--grey-lightest: #f3f6fa;\n --color--grey-borders: #d7d7d7;\n --color--grey-line: #e0e0e0;\n --color--grey-hover: #f9f9f9;\n --color--white: #fff;\n\n --color--teal: #007d7e;\n --color--teal-light: #00b0b1;\n --color--teal-tint: #f2fcfc;\n\n --color--red: #d9303e;\n --color--red-dark: #c02330;\n --color--red-light: #f7dbdd;\n --color--red-tint: #ffdddf;\n\n --color--amber: #e9b04d;\n --color--amber-tint: #faecd5;\n --color--orange: #f5a623;\n --color--orange-dark: #eb6f00;\n --color--orange-light: #f2c06f;\n\n --color--green: #29c889;\n --color--green-dark: #1c874c;\n --color--green-light: #afe7d0;\n --color--indigo: #2e1f5e;\n --color--lemon: #ffe60b;\n --color--focus-outline: #fcc726;\n\n --color--dark-blue: #192a3c;\n\n --color--primary: #4c3fdd;\n --color--primary-light: #4c3fdddb;\n --color--primary-verylight: #a8a0f7;\n --color--body: var(--color--dark-blue);\n\n --color--danger: var(--color--red);\n --color--danger-light: var(--color--red-light);\n --color--warning: var(--color--orange);\n --color--warning-light: var(--color--orange-light);\n --color--success: var(--color--green);\n\n --color--dark-blue: #192a3c;\n\n --color--debug: #663399;\n --color--debug-light: #663399db;\n --color--debug-very-light: #6633991a;\n\n /* Fonts */\n --font-family--sans-serif: system-ui, -apple-system, BlinkMacSystemFont,\n "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Oxygen, Cantarell, sans-serif;\n\n --font-family--monospace: source-code-pro, Menlo, Monaco, Consolas,\n "Courier New", monospace;\n\n /* Spacing */\n --spacing--xxxsmall: 0.1rem;\n --spacing--xxsmall: 0.2rem;\n --spacing--xsmall: 0.3rem;\n --spacing--small: 0.5rem;\n --spacing--medium: 1rem;\n --spacing--large: 2rem;\n --spacing--xlarge: 4rem;\n\n /* Font sizes */\n --font-size--xxsmall: 0.6rem;\n --font-size--xsmall: 0.75rem;\n --font-size--small: 0.875rem;\n --font-size--medium: 1rem;\n --font-size--large: 1.25rem;\n --font-size--xlarge: 1.5rem;\n --font-size--xxlarge: 2rem;\n --font-size--xxxlarge: 3rem;\n\n /* Line heights */\n --line-height--small: 1.2rem;\n --line-height--medium: 1.4rem;\n --line-height--large: 1.4rem;\n\n /* Font weights */\n --font-weight--thin: 200;\n --font-weight--light: 300;\n --font-weight--regular: 400;\n --font-weight--medium: 500;\n --font-weight--bold: 700;\n\n /* Border radius */\n --border-radius--small: 0.25rem;\n --border-radius--medium: 0.5rem;\n --border-radius--large: 1rem;\n --border-radius--xlarge: 2rem;\n\n /* Box shadows */\n --box-shadow--medium: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);\n\n /* Breakpoints */\n --breakpoint--small: 480px;\n --breakpoint--medium: 768px;\n --breakpoint--large: 1024px;\n --breakpoint--xlarge: 1200px;\n --breakpoint--xxlarge: 1440px;\n --breakpoint--xxxlarge: 1920px;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n* {\n margin: 0;\n}\n\na {\n color: var(--color--primary);\n text-decoration: none;\n\n &:hover,\n &:focus {\n text-decoration: underline;\n }\n}\n\nbody,\nbutton {\n font-family: var(--font-family--sans-serif);\n font-weight: var(--font-weight--regular);\n font-style: normal;\n}\n\nbody {\n background-color: var(--color--grey-lightest);\n line-height: 1.5;\n -webkit-font-smoothing: antialiased;\n color: var(--color--grey-dark);\n -webkit-print-color-adjust: exact !important;\n print-color-adjust: exact !important;\n}\n\nb {\n font-weight: var(--font-weight--bold);\n}\n\n*:focus-visible {\n outline: 3px solid var(--color--focus-outline);\n}\n\ninput,\nbutton,\ntextarea,\nselect {\n font: inherit;\n}\n\ntextarea {\n border: 1px solid var(--color--grey-borders);\n border-radius: var(--border-radius--small);\n background-color: var(--color--grey-lighter);\n padding: var(--spacing--medium);\n}\n\np,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n overflow-wrap: break-word;\n}\n\np {\n font-size: var(--font-size--medium);\n margin-bottom: var(--spacing--medium);\n}\n\nol,\nul {\n margin-bottom: 1rem;\n margin-left: 2rem;\n}\n\nul {\n list-style-type: disc;\n}\n\nol {\n list-style-type: decimal;\n}\n\n#root,\n#__next {\n isolation: isolate;\n}\n\nsmall {\n font-size: 80%;\n color: var(--color--grey);\n}\n');const ev=on.div`
|
|
996
1002
|
height: 100%;
|
|
997
1003
|
position: absolute;
|
|
998
1004
|
width: 100%;
|
|
999
1005
|
top: 0;
|
|
1000
1006
|
left: 0;
|
|
1001
|
-
|
|
1007
|
+
`,tv=on.main`
|
|
1002
1008
|
width: 100%;
|
|
1003
1009
|
height: calc(100% - 136px); // TODO: calculate the height of the header
|
|
1004
1010
|
position: relative;
|
|
1005
|
-
`;function
|
|
1011
|
+
`;function nv({children:n,header:r,footer:o}){return e(Uh,{theme:Zh,children:t(ev,{children:[r,e(tv,{children:n}),o]})})}const rv=on.div`
|
|
1006
1012
|
display: flex;
|
|
1007
1013
|
flex-flow: wrap;
|
|
1008
1014
|
justify-content: space-between;
|
|
@@ -1011,12 +1017,12 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1011
1017
|
@media print {
|
|
1012
1018
|
display: none;
|
|
1013
1019
|
}
|
|
1014
|
-
`,
|
|
1020
|
+
`,ov=on.ul`
|
|
1015
1021
|
display: flex;
|
|
1016
1022
|
flex-flow: row;
|
|
1017
1023
|
width: 100%;
|
|
1018
1024
|
flex-wrap: wrap;
|
|
1019
|
-
`,
|
|
1025
|
+
`,av=on.li`
|
|
1020
1026
|
display: inline-block;
|
|
1021
1027
|
color: var(--color--grey);
|
|
1022
1028
|
overflow: hidden;
|
|
@@ -1035,10 +1041,10 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1035
1041
|
font-weight: 600;
|
|
1036
1042
|
}
|
|
1037
1043
|
}
|
|
1038
|
-
`;function Ah({children:t}){return e(Rh,{children:e(Th,{children:t})})}function Mh(e,t,n){return void 0===e||"string"==typeof e?t:Bu({},t,{ownerState:Bu({},t.ownerState,n)})}Ah.Item=Dh;const _h={disableDefaultClasses:!1},Lh=r.createContext(_h);function Fh(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function Vh(e,t,n){return"function"==typeof e?e(t,n):e}function jh(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function Bh(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Om(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=Bu({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Bu({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=Fh(Bu({},o,r)),l=jh(r),s=jh(o),c=t(i),u=Om(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=Bu({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=Bu({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}"production"!==process.env.NODE_ENV&&(Lh.displayName="ClassNameConfiguratorContext");const Hh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const Wh="base";function Gh(e,t){const n=Im[t];return n?`${Wh}--${n}`:function(e,t){return`${Wh}-${e}-${t}`}(e,t)}function qh(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:o,rootRef:a,tabIndex:i,to:l,type:s,rootElementName:c}=e,u=r.useRef(),[d,p]=r.useState(!1),{isFocusVisibleRef:f,onFocus:m,onBlur:g,ref:h}=Og(),[v,b]=r.useState(!1);t&&!n&&v&&b(!1),r.useEffect((()=>{f.current=v}),[v,f]);const[y,w]=function(e){const{rootElementName:t="",componentName:n}=e,[o,a]=r.useState(t.toUpperCase());"production"!==process.env.NODE_ENV&&r.useEffect((()=>{t&&o!==t.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${n?`the ${n} component`:"a component"} expected the '${t}' element, but a '${o.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")}),[t,o,n]);const i=r.useCallback((e=>{var t;a(null!=(t=null==e?void 0:e.tagName)?t:"")}),[]);return[o,i]}({rootElementName:null!=c?c:o||l?"a":void 0,componentName:"Button"}),x=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(u.current||(u.current=t.currentTarget),m(t),!0===f.current)&&(b(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},C=()=>{const e=u.current;return"BUTTON"===y||"INPUT"===y&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===y&&(null==e?void 0:e.href)},k=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},O=e=>n=>{var r;t||(p(!0),document.addEventListener("mouseup",(()=>{p(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},E=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||C()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||p(!0),n.target!==n.currentTarget||C()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},I=e=>n=>{var r,o;(n.target===n.currentTarget&&p(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||C()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},P=gg(w,a,h,u),N={};void 0!==i&&(N.tabIndex=i),"BUTTON"===y?(N.type=null!=s?s:"button",n?N["aria-disabled"]=t:N.disabled=t):"INPUT"===y?s&&["button","submit","reset"].includes(s)&&(n?N["aria-disabled"]=t:N.disabled=t):""!==y&&(o||l||(N.role="button",N.tabIndex=null!=i?i:0),t&&(N["aria-disabled"]=t,N.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=Bu({},Fh(e),Fh(t)),r=Bu({type:s},n,N,t,{onBlur:(o=n,e=>{var t;g(e),!1===f.current&&b(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:k(n),onFocus:S(n),onKeyDown:E(n),onKeyUp:I(n),onMouseDown:O(n),onMouseLeave:x(n),ref:P});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:b,active:d,rootRef:P}}const Yh=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Uh(e){const t=[],n=[];return Array.from(e.querySelectorAll(Yh)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Kh(){return!0}function Jh(n){const{children:o,disableAutoFocus:a=!1,disableEnforceFocus:i=!1,disableRestoreFocus:l=!1,getTabbable:s=Uh,isEnabled:c=Kh,open:u}=n,d=r.useRef(!1),p=r.useRef(null),f=r.useRef(null),m=r.useRef(null),g=r.useRef(null),h=r.useRef(!1),v=r.useRef(null),b=gg(o.ref,v),y=r.useRef(null);r.useEffect((()=>{u&&v.current&&(h.current=!a)}),[a,u]),r.useEffect((()=>{if(!u||!v.current)return;const e=lg(v.current);return v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||("production"!==process.env.NODE_ENV&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join("\n")),v.current.setAttribute("tabIndex","-1")),h.current&&v.current.focus()),()=>{l||(m.current&&m.current.focus&&(d.current=!0,m.current.focus()),m.current=null)}}),[u]),r.useEffect((()=>{if(!u||!v.current)return;const e=lg(v.current),t=t=>{y.current=t,!i&&c()&&"Tab"===t.key&&e.activeElement===v.current&&t.shiftKey&&(d.current=!0,f.current&&f.current.focus())},n=()=>{const t=v.current;if(null===t)return;if(!e.hasFocus()||!c()||d.current)return void(d.current=!1);if(t.contains(e.activeElement))return;if(i&&e.activeElement!==p.current&&e.activeElement!==f.current)return;if(e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!h.current)return;let n=[];if(e.activeElement!==p.current&&e.activeElement!==f.current||(n=s(v.current)),n.length>0){var r,o;const e=Boolean((null==(r=y.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=y.current)?void 0:o.key)),t=n[0],a=n[n.length-1];"string"!=typeof t&&"string"!=typeof a&&(e?a.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[a,i,l,c,u,s]);const w=e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0};return t(r.Fragment,{children:[e("div",{tabIndex:u?0:-1,onFocus:w,ref:p,"data-testid":"sentinelStart"}),r.cloneElement(o,{ref:b,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0,g.current=e.target;const t=o.props.onFocus;t&&t(e)}}),e("div",{tabIndex:u?0:-1,onFocus:w,ref:f,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(Jh.propTypes={children:tg,disableAutoFocus:ei.bool,disableEnforceFocus:ei.bool,disableRestoreFocus:ei.bool,getTabbable:ei.func,isEnabled:ei.func,open:ei.bool.isRequired}),"production"!==process.env.NODE_ENV&&(Jh.propTypes=rg(Jh.propTypes));const Xh=r.createContext(void 0);function Qh(e={}){const{defaultValue:t,disabled:n=!1,error:o=!1,onBlur:a,onChange:i,onFocus:l,required:s=!1,value:c,inputRef:u}=e,d=r.useContext(Xh);let p,f,m,g,h;var v,b,y;if(d){if(p=void 0,f=null!=(v=d.disabled)&&v,m=null!=(b=d.error)&&b,g=null!=(y=d.required)&&y,h=d.value,"production"!==process.env.NODE_ENV){const t=["defaultValue","disabled","error","required","value"].filter((t=>void 0!==e[t]));t.length>0&&console.warn(["MUI: You have set props on an input that is inside a FormControl.","Set these props on a FormControl instead. Otherwise they will be ignored.",`Ignored props: ${t.join(", ")}`].join("\n"))}}else p=t,f=n,m=o,g=s,h=c;const{current:w}=r.useRef(null!=h),x=r.useCallback((e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&!e.focus&&console.error(["MUI: You have provided a `slots.input` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join("\n"))}),[]),S=r.useRef(null),C=gg(S,u,x),[k,O]=r.useState(!1);r.useEffect((()=>{!d&&f&&k&&(O(!1),null==a||a())}),[d,f,k,a]);const E=e=>t=>{var n,r;null!=d&&d.disabled?t.stopPropagation():(null==(n=e.onFocus)||n.call(e,t),d&&d.onFocus?null==d||null==(r=d.onFocus)||r.call(d):O(!0))},I=e=>(t,...n)=>{var r,o;if(!w){if(null==(t.target||S.current))throw new Error("production"!==process.env.NODE_ENV?"MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":ju(17))}null==d||null==(r=d.onChange)||r.call(d,t),null==(o=e.onChange)||o.call(e,t,...n)};return{disabled:f,error:m,focused:k,formControlContext:d,getInputProps:(e={})=>{const t=Bu({},{onBlur:a,onChange:i,onFocus:l},Fh(e)),n=Bu({},t,{onBlur:(r=t,e=>{var t;null==(t=r.onBlur)||t.call(r,e),d&&d.onBlur?d.onBlur():O(!1)}),onChange:I(t),onFocus:E(t)});var r;return Bu({},n,{"aria-invalid":m||void 0,defaultValue:p,value:h,required:g,disabled:f},e,{ref:C},n)},getRootProps:(t={})=>{const n=Bu({},Fh(e,["onBlur","onChange","onFocus"]),Fh(t));return Bu({},t,n,{onClick:(r=n,e=>{var t;S.current&&e.currentTarget===e.target&&S.current.focus(),null==(t=r.onClick)||t.call(r,e)})});var r},inputRef:C,required:g,value:h}}"production"!==process.env.NODE_ENV&&(Xh.displayName="FormControlContext");const Zh=r.forwardRef((function(t,n){const{children:o,container:a,disablePortal:i=!1}=t,[l,s]=r.useState(null),c=gg(r.isValidElement(o)?o.ref:null,n);if(Jm((()=>{i||s(function(e){return"function"==typeof e?e():e}(a)||document.body)}),[a,i]),Jm((()=>{if(l&&!i)return cg(n,l),()=>{cg(n,null)}}),[n,l,i]),i){if(r.isValidElement(o)){const e={ref:c};return r.cloneElement(o,e)}return e(r.Fragment,{children:o})}return e(r.Fragment,{children:l?m.createPortal(o,l):l})}));function ev(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function tv(e){return parseInt(sg(e).getComputedStyle(e).paddingRight,10)||0}function nv(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&ev(e,o)}))}function rv(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function ov(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=lg(e);return t.body===e?sg(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(lg(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${tv(r)+e}px`;const t=lg(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${tv(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=lg(r).body;else{const t=r.parentElement,n=sg(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}"production"!==process.env.NODE_ENV&&(Zh.propTypes={children:ei.node,container:ei.oneOfType([og,ei.func]),disablePortal:ei.bool}),"production"!==process.env.NODE_ENV&&(Zh.propTypes=rg(Zh.propTypes));const av=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&ev(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);nv(t,e.mount,e.modalRef,r,!0);const o=rv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=rv(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=ov(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=rv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&ev(e.modalRef,t),nv(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&ev(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function iv(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=av,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:p}=e,f=r.useRef({}),m=r.useRef(null),g=r.useRef(null),h=gg(g,p),[v,b]=r.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const x=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),S=()=>{a.mount(x(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},C=mg((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||lg(m.current).body;a.add(x(),e),g.current&&S()})),k=r.useCallback((()=>a.isTopModal(x())),[a]),O=mg((e=>{m.current=e,e&&(d&&k()?S():g.current&&ev(g.current,w))})),E=r.useCallback((()=>{a.remove(x(),w)}),[w,a]);r.useEffect((()=>()=>{E()}),[E]),r.useEffect((()=>{d?C():y&&i||E()}),[d,E,y,i,C]);const I=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},P=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Fh(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=Bu({},n,t);return Bu({role:"presentation"},r,{onKeyDown:I(r),ref:h})},getBackdropProps:(e={})=>Bu({"aria-hidden":!0},e,{onClick:P(e),open:d}),getTransitionProps:()=>({onEnter:ig((()=>{b(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:ig((()=>{b(!0),s&&s(),i&&E()}),null==c?void 0:c.props.onExited)}),rootRef:h,portalRef:O,isTopModal:k,exited:v,hasTransition:y}}const lv="Popper";function sv(e){return Gh(lv,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=Gh(e,t)}))}(lv,["root"]);const cv=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],uv=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function dv(e){return"function"==typeof e?e():e}function pv(e){return void 0!==e.nodeType}const fv=()=>zg({root:["root"]},function(e){const{disableDefaultClasses:t}=r.useContext(Lh);return n=>t?"":e(n)}(sv)),mv={},gv=r.forwardRef((function(t,n){var o;const{anchorEl:a,children:i,direction:l,disablePortal:s,modifiers:c,open:u,placement:d,popperOptions:p,popperRef:f,slotProps:m={},slots:g={},TransitionProps:h}=t,v=lf(t,cv),b=r.useRef(null),y=gg(b,n),w=r.useRef(null),x=gg(w,f),S=r.useRef(x);Jm((()=>{S.current=x}),[x]),r.useImperativeHandle(f,(()=>w.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){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 e}}(d,l),[k,O]=r.useState(C),[E,I]=r.useState(dv(a));r.useEffect((()=>{w.current&&w.current.forceUpdate()})),r.useEffect((()=>{a&&I(dv(a))}),[a]),Jm((()=>{if(!E||!u)return;if("production"!==process.env.NODE_ENV&&E&&pv(E)&&1===E.nodeType){const e=E.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=As(E,b.current,Bu({placement:C},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[E,s,c,u,p,C]);const P={placement:k};null!==h&&(P.TransitionProps=h);const N=fv(),$=null!=(o=g.root)?o:"div",z=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=lf(e,Hh),l=a?{}:Vh(r,o),{props:s,internalRef:c}=Bh(Bu({},i,{externalSlotProps:l}));return Mh(n,Bu({},s,{ref:gg(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}({elementType:$,externalSlotProps:m.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:N.root});return e($,Bu({},z,{children:"function"==typeof i?i(P):i}))})),hv=r.forwardRef((function(t,n){const{anchorEl:o,children:a,container:i,direction:l="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:f=mv,popperRef:m,style:g,transition:h=!1,slotProps:v={},slots:b={}}=t,y=lf(t,uv),[w,x]=r.useState(!0);if(!c&&!d&&(!h||w))return null;let S;if(i)S=i;else if(o){const e=dv(o);S=e&&pv(e)?lg(e).body:lg(null).body}const C=h?{in:d,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return e(Zh,{disablePortal:s,container:S,children:e(gv,Bu({anchorEl:o,direction:l,disablePortal:s,modifiers:u,ref:n,open:h?!w:d,placement:p,popperOptions:f,popperRef:m,slotProps:v,slots:b},y,{style:Bu({position:"fixed",top:0,left:0,display:d||!c||h&&!w?void 0:"none"},g),TransitionProps:C,children:a}))})}));function vv(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function bv(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(hv.propTypes={anchorEl:Zm(ei.oneOfType([og,ei.object,ei.func]),(e=>{if(e.open){const t=dv(e.anchorEl);if(t&&pv(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!pv(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:ei.oneOfType([ei.node,ei.func]),container:ei.oneOfType([og,ei.func]),direction:ei.oneOf(["ltr","rtl"]),disablePortal:ei.bool,keepMounted:ei.bool,modifiers:ei.arrayOf(ei.shape({data:ei.object,effect:ei.func,enabled:ei.bool,fn:ei.func,name:ei.any,options:ei.object,phase:ei.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:ei.arrayOf(ei.string),requiresIfExists:ei.arrayOf(ei.string)})),open:ei.bool.isRequired,placement:ei.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:ei.shape({modifiers:ei.array,onFirstUpdate:ei.func,placement:ei.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:ei.oneOf(["absolute","fixed"])}),popperRef:ag,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),transition:ei.bool});const yv=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let c=i?l.trim():l;n&&(c=c.toLowerCase()),t&&(c=vv(c));const u=c?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=vv(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),wv=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function xv(e){const{unstable_isActiveElementInListbox:t=wv,unstable_classNamePrefix:n="Mui",autoComplete:o=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:l=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:p=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:g=!1,disableListWrap:h=!1,filterOptions:v=yv,filterSelectedOptions:b=!1,freeSolo:y=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:S=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:C,handleHomeEndKeys:k=!e.freeSolo,id:O,includeInputInList:E=!1,inputValue:I,isOptionEqualToValue:P=((e,t)=>e===t),multiple:N=!1,onChange:$,onClose:z,onHighlightChange:R,onInputChange:T,onOpen:D,open:A,openOnFocus:M=!1,options:_,readOnly:L=!1,selectOnFocus:F=!e.freeSolo,value:V}=e,j=pg(O);let B=S;B=e=>{const t=S(e);if("string"!=typeof t){if("production"!==process.env.NODE_ENV){const n=void 0===t?"undefined":`${typeof t} (${t})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${n} instead of a string for ${JSON.stringify(e)}.`)}return String(t)}return t};const H=r.useRef(!1),W=r.useRef(!0),G=r.useRef(null),q=r.useRef(null),[Y,U]=r.useState(null),[K,J]=r.useState(-1),X=a?0:-1,Q=r.useRef(X),[Z,ee]=fg({controlled:V,default:d,name:u}),[te,ne]=fg({controlled:I,default:"",name:u,state:"inputValue"}),[re,oe]=r.useState(!1),ae=r.useCallback(((e,t)=>{if(!(N?Z.length<t.length:null!==t)&&!s)return;let n;if(N)n="";else if(null==t)n="";else{const e=B(t);n="string"==typeof e?e:""}te!==n&&(ne(n),T&&T(e,n,"reset"))}),[B,te,N,T,ne,s,Z]),[ie,le]=fg({controlled:A,default:!1,name:u,state:"open"}),[se,ce]=r.useState(!0),ue=!N&&null!=Z&&te===B(Z),de=ie&&!L,pe=de?v(_.filter((e=>!b||!(N?Z:[Z]).some((t=>null!==t&&P(e,t))))),{inputValue:ue&&se?"":te,getOptionLabel:B}):[],fe=(e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current})({filteredOptions:pe,value:Z,inputValue:te});r.useEffect((()=>{const e=Z!==fe.value;re&&!e||y&&!e||ae(null,Z)}),[Z,ae,re,fe.value,y]);const me=ie&&pe.length>0&&!L;if("production"!==process.env.NODE_ENV&&null!==Z&&!y&&_.length>0){const e=(N?Z:[Z]).filter((e=>!_.some((t=>P(t,e)))));e.length>0&&console.warn([`MUI: The value provided to ${u} is invalid.`,`None of the options match with \`${e.length>1?JSON.stringify(e):JSON.stringify(e[0])}\`.`,"You can use the `isOptionEqualToValue` prop to customize the equality test."].join("\n"))}const ge=mg((e=>{-1===e?G.current.focus():Y.querySelector(`[data-tag-index="${e}"]`).focus()}));r.useEffect((()=>{N&&K>Z.length-1&&(J(-1),ge(-1))}),[Z,N,K,ge]);const he=mg((({event:e,index:t,reason:r="auto"})=>{if(Q.current=t,-1===t?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${j}-option-${t}`),R&&R(e,-1===t?null:pe[t],r),!q.current)return;const o=q.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=q.current;if("listbox"!==q.current.getAttribute("role")&&(a=q.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(C?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(C?1.3:0))}})),ve=mg((({event:e,diff:t,direction:n="next",reason:r="auto"})=>{if(!de)return;const a=function(e,t){if(!q.current||e<0||e>=pe.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),o=!g&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%pe.length:(n-1+pe.length)%pe.length,n===e)return-1}}((()=>{const e=pe.length-1;if("reset"===t)return X;if("start"===t)return 0;if("end"===t)return e;const n=Q.current+t;return n<0?-1===n&&E?-1:h&&-1!==Q.current||Math.abs(t)>1?0:e:n>e?n===e+1&&E?-1:h||Math.abs(t)>1?e:0:n})(),n);if(he({index:a,reason:r,event:e}),o&&"reset"!==t)if(-1===a)G.current.value=te;else{const e=B(pe[a]);G.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&G.current.setSelectionRange(te.length,e.length)}})),be=r.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==Q.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===te&&(N?Z.length===fe.value.length&&fe.value.every(((e,t)=>B(Z[t])===B(e))):(e=fe.value,t=Z,(e?B(e):"")===(t?B(t):"")))){const e=fe.filteredOptions[Q.current];if(e)return bv(pe,(t=>B(t)===B(e)))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=N?Z[0]:Z;if(0!==pe.length&&null!=t){if(q.current)if(null==t)Q.current>=pe.length-1?he({index:pe.length-1}):he({index:Q.current});else{const e=pe[Q.current];if(N&&e&&-1!==bv(Z,(t=>P(e,t))))return;const n=bv(pe,(e=>P(e,t)));-1===n?ve({diff:"reset"}):he({index:n})}}else ve({diff:"reset"})}),[pe.length,!N&&Z,b,ve,he,de,te,N]),ye=mg((e=>{cg(q,e),e&&be()}));"production"!==process.env.NODE_ENV&&r.useEffect((()=>{G.current&&"INPUT"===G.current.nodeName||(G.current&&"TEXTAREA"===G.current.nodeName?console.warn([`A textarea element was provided to ${u} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join("\n")):console.error([`MUI: Unable to find the input element. It was resolved to ${G.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"","useAutocomplete"===u?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join("\n")))}),[u]),r.useEffect((()=>{be()}),[be]);const we=e=>{ie||(le(!0),ce(!0),D&&D(e))},xe=(e,t)=>{ie&&(le(!1),z&&z(e,t))},Se=(e,t,n,r)=>{if(N){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;$&&$(e,t,n,r),ee(t)},Ce=r.useRef(!1),ke=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if(N){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>P(t,e)));e.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${e.length} matches.`].join("\n"))}const e=bv(a,(e=>P(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}ae(e,a),Se(e,a,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||xe(e,o),(!0===l||"touch"===l&&Ce.current||"mouse"===l&&!Ce.current)&&G.current.blur()};const Oe=(e,t)=>{if(!N)return;""===te&&xe(e,"toggleInput");let n=K;-1===K?""===te&&"previous"===t&&(n=Z.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Z.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Z.length||"previous"===t&&-1===n)return-1;const e=Y.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),J(n),ge(n)},Ee=e=>{H.current=!0,ne(""),T&&T(e,"","clear"),Se(e,N?[]:null,"clear")},Ie=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==K&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(J(-1),ge(-1)),229!==t.which))switch(t.key){case"Home":de&&k&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&k&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"ArrowLeft":Oe(t,"previous");break;case"ArrowRight":Oe(t,"next");break;case"Enter":if(-1!==Q.current&&de){const e=pe[Q.current],n=!!w&&w(e);if(t.preventDefault(),n)return;ke(t,e,"selectOption"),o&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else y&&""!==te&&!1===ue&&(N&&t.preventDefault(),ke(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):c&&(""!==te||N&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Ee(t));break;case"Backspace":if(N&&!L&&""===te&&Z.length>0){const e=-1===K?Z.length-1:K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}break;case"Delete":if(N&&!L&&""===te&&Z.length>0&&-1!==K){const e=K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}}},Pe=e=>{oe(!0),M&&!H.current&&we(e)},Ne=e=>{t(q)?G.current.focus():(oe(!1),W.current=!0,H.current=!1,i&&-1!==Q.current&&de?ke(e,pe[Q.current],"blur"):i&&y&&""!==te?ke(e,te,"blur","freeSolo"):s&&ae(e,Z),xe(e,"blur"))},$e=e=>{const t=e.target.value;te!==t&&(ne(t),ce(!1),T&&T(e,t,"input")),""===t?p||N||Se(e,null,"clear"):we(e)},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&he({event:e,index:t,reason:"mouse"})},Re=e=>{he({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},Te=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ke(e,pe[t],"selectOption"),Ce.current=!1},De=e=>t=>{const n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})},Ae=e=>{ie?xe(e,"toggleInput"):we(e)},Me=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==j&&e.preventDefault()},_e=e=>{e.currentTarget.contains(e.target)&&(G.current.focus(),F&&W.current&&G.current.selectionEnd-G.current.selectionStart==0&&G.current.select(),W.current=!1)},Le=e=>{m||""!==te&&ie||Ae(e)};let Fe=y&&te.length>0;Fe=Fe||(N?Z.length>0:null!==Z);let Ve=pe;if(C){const e=new Map;let t=!1;Ve=pe.reduce(((n,r,o)=>{const a=C(r);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(r):("production"!==process.env.NODE_ENV&&(e.get(a)&&!t&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),t=!0),e.set(a,!0)),n.push({key:o,index:o,group:a,options:[r]})),n}),[])}return m&&re&&Ne(),{getRootProps:(e={})=>Bu({"aria-owns":me?`${j}-listbox`:null},e,{onKeyDown:Ie(e),onMouseDown:Me,onClick:_e}),getInputLabelProps:()=>({id:`${j}-label`,htmlFor:j}),getInputProps:()=>({id:j,value:te,onBlur:Ne,onFocus:Pe,onChange:$e,onMouseDown:Le,"aria-activedescendant":de?"":null,"aria-autocomplete":o?"both":"list","aria-controls":me?`${j}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:G,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ee}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ae}),getTagProps:({index:e})=>Bu({key:e,"data-tag-index":e,tabIndex:-1},!L&&{onDelete:De(e)}),getListboxProps:()=>({role:"listbox",id:`${j}-listbox`,"aria-labelledby":`${j}-label`,ref:ye,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=(N?Z:[Z]).some((e=>null!=e&&P(t,e))),o=!!w&&w(t);return{key:null!=(n=null==x?void 0:x(t))?n:B(t),tabIndex:-1,role:"option",id:`${j}-option-${e}`,onMouseMove:ze,onClick:Te,onTouchStart:Re,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:j,inputValue:te,value:Z,dirty:Fe,expanded:de&&Y,popupOpen:de,focused:re||-1!==K,anchorEl:Y,setAnchorEl:U,focusedTag:K,groupedOptions:Ve}}const Sv=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Cv=["component","slots","slotProps"],kv=["component"];function Ov(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:l}=t,s=lf(t,Sv),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=a,p=lf(a,Cv),f=u[e]||r,m=Vh(d[e],o),g=Bh(Bu({className:n},s,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:m})),{props:{component:h},internalRef:v}=g,b=lf(g.props,kv),y=gg(v,null==m?void 0:m.ref,t.ref),w=i?i(b):{},x=Bu({},o,w),S="root"===e?h||c:h,C=Mh(f,Bu({},"root"===e&&!c&&!u[e]&&l,"root"!==e&&!u[e]&&l,b,S&&{as:S},{ref:y}),x);return Object.keys(w).forEach((e=>{delete C[e]})),[f,C]}function Ev(e){return ch("MuiListItem",e)}const Iv=uh("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),Pv=r.createContext(!1);"production"!==process.env.NODE_ENV&&(Pv.displayName="NestedListContext");const Nv=r.createContext(!1);"production"!==process.env.NODE_ENV&&(Nv.displayName="RowListContext");const $v=r.createContext(!1);"production"!==process.env.NODE_ENV&&($v.displayName="WrapListContext");const zv=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(zv.displayName="ComponentListContext");const Rv=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Rv.displayName="ListSubheaderContext");const Tv=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Tv.displayName="GroupListContext");const Dv=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],Av=Eh("li")((({theme:e,ownerState:t})=>{var n;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",gap:"var(--ListItem-gap)",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},Bu({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"var(--_ListItem-display)","&:not([hidden])":{"--_ListItem-display":"var(--_List-markerDisplay, flex)"},flex:"none",listStyleType:"var(--_List-markerType, disc)",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&Bu({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:`var(--ListItem-stickyBackground, ${e.vars.palette.background.body})`},{[`.${Iv.nested} > &`]:{"--_ListItem-display":"flex"}}),null==(n=e.variants[t.variant])?void 0:n[t.color]]})),Mv=Eh(Av,{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_v=Eh("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1}))),Lv=Eh("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"}))),Fv=r.forwardRef((function(n,o){const a=Ih({props:n,name:"JoyListItem"}),i=r.useContext(Tv),l=r.useContext(zv),s=r.useContext(Nv),c=r.useContext($v),u=r.useContext(Pv),{component:d,className:p,children:f,nested:m=!1,sticky:g=!1,variant:h="plain",color:v="neutral",startAction:b,endAction:y,role:w,slots:x={},slotProps:S={}}=a,C=lf(a,Dv),[k,O]=r.useState(""),[E,I]=(null==l?void 0:l.split(":"))||["",""],P=d||(E&&!E.match(/^(ul|ol|menu)$/)?"div":void 0);let N="menu"===i?"none":void 0;l&&(N={menu:"none",menubar:"none",group:"presentation"}[I]),w&&(N=w);const $=Bu({},a,{sticky:g,startAction:b,endAction:y,row:s,wrap:c,variant:h,color:v,nesting:u,nested:m,component:P,role:N}),z=(e=>{const{sticky:t,nested:n,nesting:r,variant:o,color:a}=e;return zg({root:["root",n&&"nested",r&&"nesting",t&&"sticky",a&&`color${wf(a)}`,o&&`variant${wf(o)}`],startAction:["startAction"],endAction:["endAction"]},Ev,{})})($),R=Bu({},C,{component:P,slots:x,slotProps:S}),[T,D]=Ov("root",{additionalProps:{role:N},ref:o,className:Om(z.root,p),elementType:Mv,externalForwardedProps:R,ownerState:$}),[A,M]=Ov("startAction",{className:z.startAction,elementType:_v,externalForwardedProps:R,ownerState:$}),[_,L]=Ov("endAction",{className:z.endAction,elementType:Lv,externalForwardedProps:R,ownerState:$});return e(Rv.Provider,{value:O,children:e(Pv.Provider,{value:!!m&&(k||!0),children:t(T,Bu({},D,{children:[b&&e(A,Bu({},M,{children:b})),r.Children.map(f,((e,t)=>{return r.isValidElement(e)?r.cloneElement(e,Bu({},0===t&&{"data-first-child":""},(n=e,o=["ListItem"],r.isValidElement(n)&&-1!==o.indexOf(null!=(a=n.type.muiName)?a:null==(i=n.type)||null==(i=i._payload)||null==(i=i.value)?void 0:i.muiName)&&{component:e.props.component||"div"}))):e;var n,o,a,i})),y&&e(_,Bu({},L,{children:y}))]}))})})}));"production"!==process.env.NODE_ENV&&(Fv.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,endAction:ei.node,nested:ei.bool,role:ei.string,slotProps:ei.shape({endAction:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),startAction:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({endAction:ei.elementType,root:ei.elementType,startAction:ei.elementType}),startAction:ei.node,sticky:ei.bool,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),Fv.muiName="ListItem";const Vv={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};function jv(t){const{children:n,nested:o,row:a=!1,wrap:i=!1}=t,l=e(Nv.Provider,{value:a,children:e($v.Provider,{value:i,children:r.Children.map(n,((e,t)=>r.isValidElement(e)?r.cloneElement(e,Bu({},0===t&&{"data-first-child":""},t===r.Children.count(n)-1&&{"data-last-child":""})):e))})});return void 0===o?l:e(Pv.Provider,{value:o,children:l})}const Bv=({theme:e,ownerState:t},n)=>{let r={};return t.sx&&(!function t(n){"function"==typeof n?t(n(e)):Array.isArray(n)?n.forEach((e=>{"boolean"!=typeof e&&t(e)})):"object"==typeof n&&(r=Bu({},r,n))}(t.sx),n.forEach((t=>{const n=r[t];var o;"string"==typeof n||"number"==typeof n?"borderRadius"===t?r[t]="number"==typeof n?`${n}px`:(null==(o=e.vars)?void 0:o.radius[n])||n:-1!==["p","padding","m","margin"].indexOf(t)&&"number"==typeof n?r[t]=e.spacing(n):r[t]=n:r[t]="function"==typeof n?n(e):void 0}))),r};function Hv(e){return ch("MuiList",e)}const Wv=uh("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]),Gv=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Gv.displayName="RadioGroupContext");const qv=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],Yv=Eh("ul")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:a}=Bv({theme:e,ownerState:t},["p","padding","borderRadius"]);function i(n){return"sm"===n?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"3px","--ListItem-paddingX":t.marker?"3px":"0.5rem","--ListItem-gap":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===n?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.25rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":t.marker?"0.25rem":"0.75rem","--ListItem-gap":"0.625rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===n?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"2.75rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":t.marker?"0.5rem":"1rem","--ListItem-gap":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&Bu({},i(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0},t.marker&&{paddingInlineStart:"calc(3ch - var(--_List-markerDeduct, 0px))"},{marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&Bu({},i(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)"},t.marker&&{"--_List-markerDeduct":"1ch"},{"--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?Bu({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"},t.marker&&{paddingInlineStart:"3ch"}),Bu({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},t.marker&&{"--_List-markerDisplay":"list-item","--_List-markerType":t.marker,lineHeight:"calc(var(--ListItem-minHeight) - 2 * var(--ListItem-paddingY))"},{flexGrow:1,position:"relative"},null==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==a&&{"--List-radius":a},void 0!==r&&{"--List-padding":r},void 0!==o&&{"--List-padding":o})]})),Uv=Eh(Yv,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Kv=r.forwardRef((function(t,n){var o;const a=r.useContext(Pv),i=r.useContext(Tv),l=r.useContext(Gv),s=Ih({props:t,name:"JoyList"}),{component:c,className:u,children:d,size:p,orientation:f="vertical",wrap:m=!1,variant:g="plain",color:h="neutral",role:v,slots:b={},slotProps:y={}}=s,w=lf(s,qv),x=p||(null!=(o=t.size)?o:"md");let S;i&&(S="group"),l&&(S="presentation"),v&&(S=v);const C=Bu({},s,{instanceSize:t.size,size:x,nesting:a,orientation:f,wrap:m,variant:g,color:h,role:S}),k=(e=>{const{variant:t,color:n,size:r,nesting:o,orientation:a,instanceSize:i}=e;return zg({root:["root",a,t&&`variant${wf(t)}`,n&&`color${wf(n)}`,!i&&!o&&r&&`size${wf(r)}`,i&&`size${wf(i)}`,o&&"nesting"]},Hv,{})})(C),O=Bu({},w,{component:c,slots:b,slotProps:y}),[E,I]=Ov("root",{ref:n,className:Om(k.root,u),elementType:Uv,externalForwardedProps:O,ownerState:C,additionalProps:{as:c,role:S,"aria-labelledby":"string"==typeof a?a:void 0}});return e(E,Bu({},I,{children:e(zv.Provider,{value:`${"string"==typeof c?c:""}:${S||""}`,children:e(jv,{row:"horizontal"===f,wrap:m,children:d})})}))}));function Jv(e){return ch("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(Kv.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,marker:ei.string,orientation:ei.oneOf(["horizontal","vertical"]),role:ei.string,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string]),wrap:ei.bool});const Xv=uh("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]),Qv=r.createContext("horizontal");"production"!==process.env.NODE_ENV&&(Qv.displayName="ListItemButtonOrientationContext");const Zv=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],eb=Eh("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;return Bu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch",gap:"var(--ListItem-gap)"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:Bu({},e.focus.default,{zIndex:1})},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:active":null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],[`.${Iv.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${Xv.selected}`]:Bu({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${Xv.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},[`&.${Xv.disabled}`]:Bu({},null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color])})})),tb=Eh(eb,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>Bu({},!e.row&&{[`&.${Xv.selected}`]:{fontWeight:t.vars.fontWeight.md}}))),nb=r.forwardRef((function(t,n){const o=Ih({props:t,name:"JoyListItemButton"}),a=r.useContext(Nv),{children:i,className:l,action:s,component:c="div",orientation:u="horizontal",role:d,selected:p=!1,color:f="neutral",variant:m="plain",slots:g={},slotProps:h={}}=o,v=lf(o,Zv),b=r.useRef(null),y=gg(b,n),{focusVisible:w,setFocusVisible:x,getRootProps:S}=qh(Bu({},o,{rootRef:y}));r.useImperativeHandle(s,(()=>({focusVisible:()=>{var e;x(!0),null==(e=b.current)||e.focus()}})),[x]);const C=Bu({},o,{component:c,color:f,focusVisible:w,orientation:u,row:a,selected:p,variant:m}),k=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,selected:a,variant:i}=e,l=zg({root:["root",n&&"disabled",r&&"focusVisible",t&&`color${wf(t)}`,a&&"selected",i&&`variant${wf(i)}`]},Jv,{});return r&&o&&(l.root+=` ${o}`),l})(C),O=Bu({},v,{component:c,slots:g,slotProps:h}),[E,I]=Ov("root",{ref:n,className:Om(k.root,l),elementType:tb,externalForwardedProps:O,ownerState:C,getSlotProps:S});return e(Qv.Provider,{value:u,children:e(E,Bu({},I,{role:null!=d?d:I.role,children:i}))})}));function rb(e){return ch("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(nb.propTypes={action:ei.oneOfType([ei.func,ei.shape({current:ei.shape({focusVisible:ei.func.isRequired})})]),autoFocus:ei.bool,children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,focusVisibleClassName:ei.string,orientation:ei.oneOf(["horizontal","vertical"]),role:ei.string,selected:ei.bool,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),tabIndex:ei.number,variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),uh("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);const ob=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],ab={sm:"xl",md:"xl2",lg:"xl3"},ib=Eh("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n;return Bu({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[ab[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[ab[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&Bu({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`}))})),lb=r.forwardRef((function(n,o){const a=Ih({props:n,name:"JoySvgIcon"}),{children:i,className:l,color:s,component:c="svg",fontSize:u,htmlColor:d,inheritViewBox:p=!1,titleAccess:f,viewBox:m="0 0 24 24",size:g="md",slots:h={},slotProps:v={}}=a,b=lf(a,ob),y=r.isValidElement(i)&&"svg"===i.type,w=Bu({},a,{color:s,component:c,size:g,instanceSize:n.size,fontSize:u,instanceFontSize:n.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:y}),x=(e=>{const{color:t,size:n,fontSize:r}=e;return zg({root:["root",t&&"inherit"!==t&&`color${wf(t)}`,n&&`size${wf(n)}`,r&&`fontSize${wf(r)}`]},rb,{})})(w),S=Bu({},b,{component:c,slots:h,slotProps:v}),[C,k]=Ov("root",{ref:o,className:Om(x.root,l),elementType:ib,externalForwardedProps:S,ownerState:w,additionalProps:Bu({color:d,focusable:!1},f&&{role:"img"},!f&&{"aria-hidden":!0},!p&&{viewBox:m},y&&i.props)});return t(C,Bu({},k,{children:[y?i.props.children:i,f?e("title",{children:f}):null]}))}));function sb(t,n){function o(r,o){return e(lb,Bu({"data-testid":`${n}Icon`,ref:o},r,{children:t}))}return"production"!==process.env.NODE_ENV&&(o.displayName=`${n}Icon`),o.muiName=lb.muiName,r.memo(r.forwardRef(o))}"production"!==process.env.NODE_ENV&&(lb.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","inherit","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,fontSize:ei.oneOfType([ei.oneOf(["inherit","lg","md","sm","xl","xl2","xl3","xl4","xs"]),ei.string]),htmlColor:ei.string,inheritViewBox:ei.bool,shapeRendering:ei.string,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),titleAccess:ei.string,viewBox:ei.string});const cb=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,ub="data-skip-inverted-colors",db=`& :not([${ub}], [${ub}] *)`,pb=e=>{var t,n,r,o,a,i,l,s,c,u,d,p,f,m,g,h,v,b,y,w,x,S;const C=cb(e.cssVarPrefix);return{"--variant-plainColor":"var(--variant-plainColor) !important","--variant-plainHoverColor":"var(--variant-plainHoverColor) !important","--variant-plainHoverBg":"var(--variant-plainHoverBg) !important","--variant-plainActiveBg":"var(--variant-plainActiveBg) !important","--variant-plainDisabledColor":"var(--variant-plainDisabledColor) !important","--variant-outlinedColor":"var(--variant-outlinedColor) !important","--variant-outlinedBorder":"var(--variant-outlinedBorder) !important","--variant-outlinedHoverColor":"var(--variant-outlinedHoverColor) !important","--variant-outlinedHoverBorder":"var(--variant-outlinedHoverBorder) !important","--variant-outlinedHoverBg":"var(--variant-outlinedHoverBg) !important","--variant-outlinedActiveBg":"var(--variant-outlinedActiveBg) !important","--variant-outlinedDisabledColor":"var(--variant-outlinedDisabledColor) !important","--variant-outlinedDisabledBorder":"var(--variant-outlinedDisabledBorder) !important","--variant-softColor":"var(--variant-softColor) !important","--variant-softHoverColor":"var(--variant-softHoverColor) !important","--variant-softBg":"var(--variant-softBg) !important","--variant-softHoverBg":"var(--variant-softHoverBg) !important","--variant-softActiveBg":"var(--variant-softActiveBg) !important","--variant-softActiveColor":"var(--variant-softActiveColor) !important","--variant-softDisabledColor":"var(--variant-softDisabledColor) !important","--variant-softDisabledBg":"var(--variant-softDisabledBg) !important","--variant-solidColor":"var(--variant-solidColor) !important","--variant-solidBg":"var(--variant-solidBg) !important","--variant-solidHoverBg":"var(--variant-solidHoverBg) !important","--variant-solidActiveBg":"var(--variant-solidActiveBg) !important","--variant-solidDisabledColor":"var(--variant-solidDisabledColor) !important","--variant-solidDisabledBg":"var(--variant-solidDisabledBg) !important","--Badge-ringColor":"var(--Badge-ringColor) !important",colorScheme:"unset",[e.getColorSchemeSelector("light")]:{[C("--palette-focusVisible")]:`${null==(t=e.colorSchemes.light)?void 0:t.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(n=e.colorSchemes.light)?void 0:n.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(r=e.colorSchemes.light)?void 0:r.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(o=e.colorSchemes.light)?void 0:o.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(a=e.colorSchemes.light)?void 0:a.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(i=e.colorSchemes.light)?void 0:i.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(l=e.colorSchemes.light)?void 0:l.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(s=e.colorSchemes.light)?void 0:s.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(c=e.colorSchemes.light)?void 0:c.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(u=e.colorSchemes.light)?void 0:u.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(d=e.colorSchemes.light)?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[C("--palette-focusVisible")]:`${null==(p=e.colorSchemes.dark)?void 0:p.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(f=e.colorSchemes.dark)?void 0:f.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(m=e.colorSchemes.dark)?void 0:m.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(g=e.colorSchemes.dark)?void 0:g.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(h=e.colorSchemes.dark)?void 0:h.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(v=e.colorSchemes.dark)?void 0:v.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(b=e.colorSchemes.dark)?void 0:b.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(y=e.colorSchemes.dark)?void 0:y.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(w=e.colorSchemes.dark)?void 0:w.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(x=e.colorSchemes.dark)?void 0:x.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(S=e.colorSchemes.dark)?void 0:S.palette.divider} !important`}}};var fb=sb(e("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),mb=sb(e("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const gb=r.createContext(void 0);function hb(e,t){let n=t,r=e;return"outlined"===e&&(n="neutral",r="plain"),"plain"===e&&(n="neutral"),{variant:r,color:n}}function vb(e,t,n=!1){const o=r.useContext(gb),[a,i]="string"==typeof o?o.split(":"):[],l=hb(a||void 0,i||void 0);return l.variant=e||l.variant,l.color=t||(n?i:l.color),l}function bb({children:t,color:n,variant:r}){return e(gb.Provider,{value:`${r||""}:${n||""}`,children:t})}function yb(e){return ch("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(gb.displayName="VariantColorContext"),uh("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","loading","loadingIndicator"]);const wb=r.createContext({});"production"!==process.env.NODE_ENV&&(wb.displayName="ButtonGroupContext");const xb=r.createContext(void 0);function Sb(e){return ch("MuiCircularProgress",e)}"production"!==process.env.NODE_ENV&&(xb.displayName="ToggleButtonGroupContext"),uh("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);let Cb,kb=e=>e;const Ob=["color","backgroundColor"],Eb=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],Ib=function(){var e=Bp.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}});function Pb(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}const Nb=Eh("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{var n,r,o,a;const i=(null==(n=t.variants[e.variant])?void 0:n[e.color])||{},{color:l,backgroundColor:s}=i,c=lf(i,Ob);return Bu({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":s,"--CircularProgress-progressColor":l,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":Pb("track","3px"),"--_progress-thickness":Pb("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":Pb("track","6px"),"--_progress-thickness":Pb("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":Pb("track","8px"),"--_progress-thickness":Pb("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:l},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},c,"outlined"===e.variant&&{"&::before":Bu({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},c)},"soft"===e.variant&&{"--CircularProgress-trackColor":t.variants.soft.neutral.backgroundColor,"--CircularProgress-progressColor":null==(r=t.variants.solid)?void 0:r[e.color].backgroundColor},"solid"===e.variant&&{"--CircularProgress-trackColor":null==(o=t.variants.softHover)?void 0:o[e.color].backgroundColor,"--CircularProgress-progressColor":null==(a=t.variants.solid)?void 0:a[e.color].backgroundColor})})),$b=Eh("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),zb=Eh("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),Rb=Eh("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},(({ownerState:e})=>!e.determinate&&Bp(Cb||(Cb=kb`
|
|
1044
|
+
`;function iv({children:t}){return e(rv,{children:e(ov,{children:t})})}function lv(e,t,n){return void 0===e||"string"==typeof e?t:Bu({},t,{ownerState:Bu({},t.ownerState,n)})}iv.Item=av;const sv={disableDefaultClasses:!1},cv=r.createContext(sv);function uv(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function dv(e,t,n){return"function"==typeof e?e(t,n):e}function pv(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function fv(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=Em(null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),t=Bu({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),i=Bu({},n,o,r);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=uv(Bu({},o,r)),l=pv(r),s=pv(o),c=t(i),u=Em(null==c?void 0:c.className,null==n?void 0:n.className,a,null==o?void 0:o.className,null==r?void 0:r.className),d=Bu({},null==c?void 0:c.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),p=Bu({},c,n,s,l);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}"production"!==process.env.NODE_ENV&&(cv.displayName="ClassNameConfiguratorContext");const mv=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const gv="base";function hv(e,t){const n=Pm[t];return n?`${gv}--${n}`:function(e,t){return`${gv}-${e}-${t}`}(e,t)}function vv(e={}){const{disabled:t=!1,focusableWhenDisabled:n,href:o,rootRef:a,tabIndex:i,to:l,type:s,rootElementName:c}=e,u=r.useRef(),[d,p]=r.useState(!1),{isFocusVisibleRef:f,onFocus:m,onBlur:g,ref:h}=Ng(),[v,b]=r.useState(!1);t&&!n&&v&&b(!1),r.useEffect((()=>{f.current=v}),[v,f]);const[y,w]=function(e){const{rootElementName:t="",componentName:n}=e,[o,a]=r.useState(t.toUpperCase());"production"!==process.env.NODE_ENV&&r.useEffect((()=>{t&&o!==t.toUpperCase()&&console.error(`useRootElementName: the \`rootElementName\` prop of ${n?`the ${n} component`:"a component"} expected the '${t}' element, but a '${o.toLowerCase()}' was rendered instead`,"This may cause hydration issues in an SSR context, for example in a Next.js app")}),[t,o,n]);const i=r.useCallback((e=>{var t;a(null!=(t=null==e?void 0:e.tagName)?t:"")}),[]);return[o,i]}({rootElementName:null!=c?c:o||l?"a":void 0,componentName:"Button"}),x=e=>t=>{var n;v&&t.preventDefault(),null==(n=e.onMouseLeave)||n.call(e,t)},S=e=>t=>{var n,r;(u.current||(u.current=t.currentTarget),m(t),!0===f.current)&&(b(!0),null==(r=e.onFocusVisible)||r.call(e,t));null==(n=e.onFocus)||n.call(e,t)},C=()=>{const e=u.current;return"BUTTON"===y||"INPUT"===y&&["button","submit","reset"].includes(null==e?void 0:e.type)||"A"===y&&(null==e?void 0:e.href)},k=e=>n=>{var r;t||(null==(r=e.onClick)||r.call(e,n))},O=e=>n=>{var r;t||(p(!0),document.addEventListener("mouseup",(()=>{p(!1)}),{once:!0})),null==(r=e.onMouseDown)||r.call(e,n)},E=e=>n=>{var r,o;(null==(r=e.onKeyDown)||r.call(e,n),n.defaultMuiPrevented)||(n.target!==n.currentTarget||C()||" "!==n.key||n.preventDefault(),n.target!==n.currentTarget||" "!==n.key||t||p(!0),n.target!==n.currentTarget||C()||"Enter"!==n.key||t||(null==(o=e.onClick)||o.call(e,n),n.preventDefault()))},I=e=>n=>{var r,o;(n.target===n.currentTarget&&p(!1),null==(r=e.onKeyUp)||r.call(e,n),n.target!==n.currentTarget||C()||t||" "!==n.key||n.defaultMuiPrevented)||(null==(o=e.onClick)||o.call(e,n))},P=wg(w,a,h,u),$={};void 0!==i&&($.tabIndex=i),"BUTTON"===y?($.type=null!=s?s:"button",n?$["aria-disabled"]=t:$.disabled=t):"INPUT"===y?s&&["button","submit","reset"].includes(s)&&(n?$["aria-disabled"]=t:$.disabled=t):""!==y&&(o||l||($.role="button",$.tabIndex=null!=i?i:0),t&&($["aria-disabled"]=t,$.tabIndex=n?null!=i?i:0:-1));return{getRootProps:(t={})=>{const n=Bu({},uv(e),uv(t)),r=Bu({type:s},n,$,t,{onBlur:(o=n,e=>{var t;g(e),!1===f.current&&b(!1),null==(t=o.onBlur)||t.call(o,e)}),onClick:k(n),onFocus:S(n),onKeyDown:E(n),onKeyUp:I(n),onMouseDown:O(n),onMouseLeave:x(n),ref:P});var o;return delete r.onFocusVisible,r},focusVisible:v,setFocusVisible:b,active:d,rootRef:P}}const bv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function yv(e){const t=[],n=[];return Array.from(e.querySelectorAll(bv)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function wv(){return!0}function xv(n){const{children:o,disableAutoFocus:a=!1,disableEnforceFocus:i=!1,disableRestoreFocus:l=!1,getTabbable:s=yv,isEnabled:c=wv,open:u}=n,d=r.useRef(!1),p=r.useRef(null),f=r.useRef(null),m=r.useRef(null),g=r.useRef(null),h=r.useRef(!1),v=r.useRef(null),b=wg(o.ref,v),y=r.useRef(null);r.useEffect((()=>{u&&v.current&&(h.current=!a)}),[a,u]),r.useEffect((()=>{if(!u||!v.current)return;const e=pg(v.current);return v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||("production"!==process.env.NODE_ENV&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join("\n")),v.current.setAttribute("tabIndex","-1")),h.current&&v.current.focus()),()=>{l||(m.current&&m.current.focus&&(d.current=!0,m.current.focus()),m.current=null)}}),[u]),r.useEffect((()=>{if(!u||!v.current)return;const e=pg(v.current),t=t=>{y.current=t,!i&&c()&&"Tab"===t.key&&e.activeElement===v.current&&t.shiftKey&&(d.current=!0,f.current&&f.current.focus())},n=()=>{const t=v.current;if(null===t)return;if(!e.hasFocus()||!c()||d.current)return void(d.current=!1);if(t.contains(e.activeElement))return;if(i&&e.activeElement!==p.current&&e.activeElement!==f.current)return;if(e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!h.current)return;let n=[];if(e.activeElement!==p.current&&e.activeElement!==f.current||(n=s(v.current)),n.length>0){var r,o;const e=Boolean((null==(r=y.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=y.current)?void 0:o.key)),t=n[0],a=n[n.length-1];"string"!=typeof t&&"string"!=typeof a&&(e?a.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[a,i,l,c,u,s]);const w=e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0};return t(r.Fragment,{children:[e("div",{tabIndex:u?0:-1,onFocus:w,ref:p,"data-testid":"sentinelStart"}),r.cloneElement(o,{ref:b,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),h.current=!0,g.current=e.target;const t=o.props.onFocus;t&&t(e)}}),e("div",{tabIndex:u?0:-1,onFocus:w,ref:f,"data-testid":"sentinelEnd"})]})}"production"!==process.env.NODE_ENV&&(xv.propTypes={children:ag,disableAutoFocus:ei.bool,disableEnforceFocus:ei.bool,disableRestoreFocus:ei.bool,getTabbable:ei.func,isEnabled:ei.func,open:ei.bool.isRequired}),"production"!==process.env.NODE_ENV&&(xv.propTypes=lg(xv.propTypes));const Sv=r.createContext(void 0);function Cv(e={}){const{defaultValue:t,disabled:n=!1,error:o=!1,onBlur:a,onChange:i,onFocus:l,required:s=!1,value:c,inputRef:u}=e,d=r.useContext(Sv);let p,f,m,g,h;var v,b,y;if(d){if(p=void 0,f=null!=(v=d.disabled)&&v,m=null!=(b=d.error)&&b,g=null!=(y=d.required)&&y,h=d.value,"production"!==process.env.NODE_ENV){const t=["defaultValue","disabled","error","required","value"].filter((t=>void 0!==e[t]));t.length>0&&console.warn(["MUI: You have set props on an input that is inside a FormControl.","Set these props on a FormControl instead. Otherwise they will be ignored.",`Ignored props: ${t.join(", ")}`].join("\n"))}}else p=t,f=n,m=o,g=s,h=c;const{current:w}=r.useRef(null!=h),x=r.useCallback((e=>{"production"!==process.env.NODE_ENV&&e&&"INPUT"!==e.nodeName&&!e.focus&&console.error(["MUI: You have provided a `slots.input` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join("\n"))}),[]),S=r.useRef(null),C=wg(S,u,x),[k,O]=r.useState(!1);r.useEffect((()=>{!d&&f&&k&&(O(!1),null==a||a())}),[d,f,k,a]);const E=e=>t=>{var n,r;null!=d&&d.disabled?t.stopPropagation():(null==(n=e.onFocus)||n.call(e,t),d&&d.onFocus?null==d||null==(r=d.onFocus)||r.call(d):O(!0))},I=e=>(t,...n)=>{var r,o;if(!w){if(null==(t.target||S.current))throw new Error("production"!==process.env.NODE_ENV?"MUI: Expected valid input target. Did you use a custom `slots.input` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":ju(17))}null==d||null==(r=d.onChange)||r.call(d,t),null==(o=e.onChange)||o.call(e,t,...n)};return{disabled:f,error:m,focused:k,formControlContext:d,getInputProps:(e={})=>{const t=Bu({},{onBlur:a,onChange:i,onFocus:l},uv(e)),n=Bu({},t,{onBlur:(r=t,e=>{var t;null==(t=r.onBlur)||t.call(r,e),d&&d.onBlur?d.onBlur():O(!1)}),onChange:I(t),onFocus:E(t)});var r;return Bu({},n,{"aria-invalid":m||void 0,defaultValue:p,value:h,required:g,disabled:f},e,{ref:C},n)},getRootProps:(t={})=>{const n=Bu({},uv(e,["onBlur","onChange","onFocus"]),uv(t));return Bu({},t,n,{onClick:(r=n,e=>{var t;S.current&&e.currentTarget===e.target&&S.current.focus(),null==(t=r.onClick)||t.call(r,e)})});var r},inputRef:C,required:g,value:h}}"production"!==process.env.NODE_ENV&&(Sv.displayName="FormControlContext");const kv=r.forwardRef((function(t,n){const{children:o,container:a,disablePortal:i=!1}=t,[l,s]=r.useState(null),c=wg(r.isValidElement(o)?o.ref:null,n);if(eg((()=>{i||s(function(e){return"function"==typeof e?e():e}(a)||document.body)}),[a,i]),eg((()=>{if(l&&!i)return mg(n,l),()=>{mg(n,null)}}),[n,l,i]),i){if(r.isValidElement(o)){const e={ref:c};return r.cloneElement(o,e)}return e(r.Fragment,{children:o})}return e(r.Fragment,{children:l?m.createPortal(o,l):l})}));function Ov(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ev(e){return parseInt(fg(e).getComputedStyle(e).paddingRight,10)||0}function Iv(e,t,n,r,o){const a=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Ov(e,o)}))}function Pv(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function $v(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=pg(e);return t.body===e?fg(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(pg(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ev(r)+e}px`;const t=pg(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Ev(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=pg(r).body;else{const t=r.parentElement,n=fg(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}"production"!==process.env.NODE_ENV&&(kv.propTypes={children:ei.node,container:ei.oneOfType([sg,ei.func]),disablePortal:ei.bool}),"production"!==process.env.NODE_ENV&&(kv.propTypes=lg(kv.propTypes));const Nv=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Ov(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Iv(t,e.mount,e.modalRef,r,!0);const o=Pv(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Pv(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=$v(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Pv(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Ov(e.modalRef,t),Iv(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Ov(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function zv(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:a=Nv,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:s,children:c,onClose:u,open:d,rootRef:p}=e,f=r.useRef({}),m=r.useRef(null),g=r.useRef(null),h=wg(g,p),[v,b]=r.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let w=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(w=!1);const x=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),S=()=>{a.mount(x(),{disableScrollLock:o}),g.current&&(g.current.scrollTop=0)},C=yg((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||pg(m.current).body;a.add(x(),e),g.current&&S()})),k=r.useCallback((()=>a.isTopModal(x())),[a]),O=yg((e=>{m.current=e,e&&(d&&k()?S():g.current&&Ov(g.current,w))})),E=r.useCallback((()=>{a.remove(x(),w)}),[w,a]);r.useEffect((()=>()=>{E()}),[E]),r.useEffect((()=>{d?C():y&&i||E()}),[d,E,y,i,C]);const I=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},P=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=uv(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=Bu({},n,t);return Bu({role:"presentation"},r,{onKeyDown:I(r),ref:h})},getBackdropProps:(e={})=>Bu({"aria-hidden":!0},e,{onClick:P(e),open:d}),getTransitionProps:()=>({onEnter:ug((()=>{b(!1),l&&l()}),null==c?void 0:c.props.onEnter),onExited:ug((()=>{b(!0),s&&s(),i&&E()}),null==c?void 0:c.props.onExited)}),rootRef:h,portalRef:O,isTopModal:k,exited:v,hasTransition:y}}const Rv="Popper";function Tv(e){return hv(Rv,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=hv(e,t)}))}(Rv,["root"]);const Dv=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Av=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Mv(e){return"function"==typeof e?e():e}function _v(e){return void 0!==e.nodeType}const Lv=()=>Mg({root:["root"]},function(e){const{disableDefaultClasses:t}=r.useContext(cv);return n=>t?"":e(n)}(Tv)),Fv={},Vv=r.forwardRef((function(t,n){var o;const{anchorEl:a,children:i,direction:l,disablePortal:s,modifiers:c,open:u,placement:d,popperOptions:p,popperRef:f,slotProps:m={},slots:g={},TransitionProps:h}=t,v=lf(t,Dv),b=r.useRef(null),y=wg(b,n),w=r.useRef(null),x=wg(w,f),S=r.useRef(x);eg((()=>{S.current=x}),[x]),r.useImperativeHandle(f,(()=>w.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){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 e}}(d,l),[k,O]=r.useState(C),[E,I]=r.useState(Mv(a));r.useEffect((()=>{w.current&&w.current.forceUpdate()})),r.useEffect((()=>{a&&I(Mv(a))}),[a]),eg((()=>{if(!E||!u)return;if("production"!==process.env.NODE_ENV&&E&&_v(E)&&1===E.nodeType){const e=E.getBoundingClientRect();"test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{O(e.placement)}}];null!=c&&(e=e.concat(c)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=As(E,b.current,Bu({placement:C},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[E,s,c,u,p,C]);const P={placement:k};null!==h&&(P.TransitionProps=h);const $=Lv(),N=null!=(o=g.root)?o:"div",z=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,i=lf(e,mv),l=a?{}:dv(r,o),{props:s,internalRef:c}=fv(Bu({},i,{externalSlotProps:l}));return lv(n,Bu({},s,{ref:wg(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o)}({elementType:N,externalSlotProps:m.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:$.root});return e(N,Bu({},z,{children:"function"==typeof i?i(P):i}))})),jv=r.forwardRef((function(t,n){const{anchorEl:o,children:a,container:i,direction:l="ltr",disablePortal:s=!1,keepMounted:c=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:f=Fv,popperRef:m,style:g,transition:h=!1,slotProps:v={},slots:b={}}=t,y=lf(t,Av),[w,x]=r.useState(!0);if(!c&&!d&&(!h||w))return null;let S;if(i)S=i;else if(o){const e=Mv(o);S=e&&_v(e)?pg(e).body:pg(null).body}const C=h?{in:d,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return e(kv,{disablePortal:s,container:S,children:e(Vv,Bu({anchorEl:o,direction:l,disablePortal:s,modifiers:u,ref:n,open:h?!w:d,placement:p,popperOptions:f,popperRef:m,slotProps:v,slots:b},y,{style:Bu({position:"fixed",top:0,left:0,display:d||!c||h&&!w?void 0:"none"},g),TransitionProps:C,children:a}))})}));function Bv(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function Hv(e,t){for(let n=0;n<e.length;n+=1)if(t(e[n]))return n;return-1}"production"!==process.env.NODE_ENV&&(jv.propTypes={anchorEl:rg(ei.oneOfType([sg,ei.object,ei.func]),(e=>{if(e.open){const t=Mv(e.anchorEl);if(t&&_v(t)&&1===t.nodeType){const e=t.getBoundingClientRect();if("test"!==process.env.NODE_ENV&&0===e.top&&0===e.left&&0===e.right&&0===e.bottom)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join("\n"))}else if(!t||"function"!=typeof t.getBoundingClientRect||!_v(t)&&null!=t.contextElement&&1!==t.contextElement.nodeType)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join("\n"))}return null})),children:ei.oneOfType([ei.node,ei.func]),container:ei.oneOfType([sg,ei.func]),direction:ei.oneOf(["ltr","rtl"]),disablePortal:ei.bool,keepMounted:ei.bool,modifiers:ei.arrayOf(ei.shape({data:ei.object,effect:ei.func,enabled:ei.bool,fn:ei.func,name:ei.any,options:ei.object,phase:ei.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:ei.arrayOf(ei.string),requiresIfExists:ei.arrayOf(ei.string)})),open:ei.bool.isRequired,placement:ei.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:ei.shape({modifiers:ei.array,onFirstUpdate:ei.func,placement:ei.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:ei.oneOf(["absolute","fixed"])}),popperRef:cg,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),transition:ei.bool});const Wv=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:o="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let c=i?l.trim():l;n&&(c=c.toLowerCase()),t&&(c=Bv(c));const u=c?e.filter((e=>{let r=(a||s)(e);return n&&(r=r.toLowerCase()),t&&(r=Bv(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),Gv=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function qv(e){const{unstable_isActiveElementInListbox:t=Gv,unstable_classNamePrefix:n="Mui",autoComplete:o=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:l=!1,clearOnBlur:s=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?[]:null),disableClearable:p=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:g=!1,disableListWrap:h=!1,filterOptions:v=Wv,filterSelectedOptions:b=!1,freeSolo:y=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:S=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:C,handleHomeEndKeys:k=!e.freeSolo,id:O,includeInputInList:E=!1,inputValue:I,isOptionEqualToValue:P=((e,t)=>e===t),multiple:$=!1,onChange:N,onClose:z,onHighlightChange:R,onInputChange:T,onOpen:D,open:A,openOnFocus:M=!1,options:_,readOnly:L=!1,selectOnFocus:F=!e.freeSolo,value:V}=e,j=vg(O);let B=S;B=e=>{const t=S(e);if("string"!=typeof t){if("production"!==process.env.NODE_ENV){const n=void 0===t?"undefined":`${typeof t} (${t})`;console.error(`MUI: The \`getOptionLabel\` method of ${u} returned ${n} instead of a string for ${JSON.stringify(e)}.`)}return String(t)}return t};const H=r.useRef(!1),W=r.useRef(!0),G=r.useRef(null),q=r.useRef(null),[Y,U]=r.useState(null),[K,J]=r.useState(-1),X=a?0:-1,Q=r.useRef(X),[Z,ee]=bg({controlled:V,default:d,name:u}),[te,ne]=bg({controlled:I,default:"",name:u,state:"inputValue"}),[re,oe]=r.useState(!1),ae=r.useCallback(((e,t)=>{if(!($?Z.length<t.length:null!==t)&&!s)return;let n;if($)n="";else if(null==t)n="";else{const e=B(t);n="string"==typeof e?e:""}te!==n&&(ne(n),T&&T(e,n,"reset"))}),[B,te,$,T,ne,s,Z]),[ie,le]=bg({controlled:A,default:!1,name:u,state:"open"}),[se,ce]=r.useState(!0),ue=!$&&null!=Z&&te===B(Z),de=ie&&!L,pe=de?v(_.filter((e=>!b||!($?Z:[Z]).some((t=>null!==t&&P(e,t))))),{inputValue:ue&&se?"":te,getOptionLabel:B}):[],fe=(e=>{const t=r.useRef({});return r.useEffect((()=>{t.current=e})),t.current})({filteredOptions:pe,value:Z,inputValue:te});r.useEffect((()=>{const e=Z!==fe.value;re&&!e||y&&!e||ae(null,Z)}),[Z,ae,re,fe.value,y]);const me=ie&&pe.length>0&&!L;if("production"!==process.env.NODE_ENV&&null!==Z&&!y&&_.length>0){const e=($?Z:[Z]).filter((e=>!_.some((t=>P(t,e)))));e.length>0&&console.warn([`MUI: The value provided to ${u} is invalid.`,`None of the options match with \`${e.length>1?JSON.stringify(e):JSON.stringify(e[0])}\`.`,"You can use the `isOptionEqualToValue` prop to customize the equality test."].join("\n"))}const ge=yg((e=>{-1===e?G.current.focus():Y.querySelector(`[data-tag-index="${e}"]`).focus()}));r.useEffect((()=>{$&&K>Z.length-1&&(J(-1),ge(-1))}),[Z,$,K,ge]);const he=yg((({event:e,index:t,reason:r="auto"})=>{if(Q.current=t,-1===t?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${j}-option-${t}`),R&&R(e,-1===t?null:pe[t],r),!q.current)return;const o=q.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let a=q.current;if("listbox"!==q.current.getAttribute("role")&&(a=q.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t)return void(a.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=a.clientHeight+a.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?a.scrollTop=n-a.clientHeight:e.offsetTop-e.offsetHeight*(C?1.3:0)<a.scrollTop&&(a.scrollTop=e.offsetTop-e.offsetHeight*(C?1.3:0))}})),ve=yg((({event:e,diff:t,direction:n="next",reason:r="auto"})=>{if(!de)return;const a=function(e,t){if(!q.current||e<0||e>=pe.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),o=!g&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%pe.length:(n-1+pe.length)%pe.length,n===e)return-1}}((()=>{const e=pe.length-1;if("reset"===t)return X;if("start"===t)return 0;if("end"===t)return e;const n=Q.current+t;return n<0?-1===n&&E?-1:h&&-1!==Q.current||Math.abs(t)>1?0:e:n>e?n===e+1&&E?-1:h||Math.abs(t)>1?e:0:n})(),n);if(he({index:a,reason:r,event:e}),o&&"reset"!==t)if(-1===a)G.current.value=te;else{const e=B(pe[a]);G.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&G.current.setSelectionRange(te.length,e.length)}})),be=r.useCallback((()=>{if(!de)return;const e=(()=>{if(-1!==Q.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===te&&($?Z.length===fe.value.length&&fe.value.every(((e,t)=>B(Z[t])===B(e))):(e=fe.value,t=Z,(e?B(e):"")===(t?B(t):"")))){const e=fe.filteredOptions[Q.current];if(e)return Hv(pe,(t=>B(t)===B(e)))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=$?Z[0]:Z;if(0!==pe.length&&null!=t){if(q.current)if(null==t)Q.current>=pe.length-1?he({index:pe.length-1}):he({index:Q.current});else{const e=pe[Q.current];if($&&e&&-1!==Hv(Z,(t=>P(e,t))))return;const n=Hv(pe,(e=>P(e,t)));-1===n?ve({diff:"reset"}):he({index:n})}}else ve({diff:"reset"})}),[pe.length,!$&&Z,b,ve,he,de,te,$]),ye=yg((e=>{mg(q,e),e&&be()}));"production"!==process.env.NODE_ENV&&r.useEffect((()=>{G.current&&"INPUT"===G.current.nodeName||(G.current&&"TEXTAREA"===G.current.nodeName?console.warn([`A textarea element was provided to ${u} where input was expected.`,"This is not a supported scenario but it may work under certain conditions.","A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).","Make sure to test keyboard navigation and add custom event handlers if necessary."].join("\n")):console.error([`MUI: Unable to find the input element. It was resolved to ${G.current} while an HTMLInputElement was expected.`,`Instead, ${u} expects an input element.`,"","useAutocomplete"===u?"Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.":"Make sure you have customized the input component correctly."].join("\n")))}),[u]),r.useEffect((()=>{be()}),[be]);const we=e=>{ie||(le(!0),ce(!0),D&&D(e))},xe=(e,t)=>{ie&&(le(!1),z&&z(e,t))},Se=(e,t,n,r)=>{if($){if(Z.length===t.length&&Z.every(((e,n)=>e===t[n])))return}else if(Z===t)return;N&&N(e,t,n,r),ee(t)},Ce=r.useRef(!1),ke=(e,t,n="selectOption",r="options")=>{let o=n,a=t;if($){if(a=Array.isArray(Z)?Z.slice():[],"production"!==process.env.NODE_ENV){const e=a.filter((e=>P(t,e)));e.length>1&&console.error([`MUI: The \`isOptionEqualToValue\` method of ${u} does not handle the arguments correctly.`,`The component expects a single value to match a given option but found ${e.length} matches.`].join("\n"))}const e=Hv(a,(e=>P(t,e)));-1===e?a.push(t):"freeSolo"!==r&&(a.splice(e,1),o="removeOption")}ae(e,a),Se(e,a,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||xe(e,o),(!0===l||"touch"===l&&Ce.current||"mouse"===l&&!Ce.current)&&G.current.blur()};const Oe=(e,t)=>{if(!$)return;""===te&&xe(e,"toggleInput");let n=K;-1===K?""===te&&"previous"===t&&(n=Z.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Z.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Z.length||"previous"===t&&-1===n)return-1;const e=Y.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),J(n),ge(n)},Ee=e=>{H.current=!0,ne(""),T&&T(e,"","clear"),Se(e,$?[]:null,"clear")},Ie=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==K&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(J(-1),ge(-1)),229!==t.which))switch(t.key){case"Home":de&&k&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":de&&k&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"ArrowLeft":Oe(t,"previous");break;case"ArrowRight":Oe(t,"next");break;case"Enter":if(-1!==Q.current&&de){const e=pe[Q.current],n=!!w&&w(e);if(t.preventDefault(),n)return;ke(t,e,"selectOption"),o&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else y&&""!==te&&!1===ue&&($&&t.preventDefault(),ke(t,te,"createOption","freeSolo"));break;case"Escape":de?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):c&&(""!==te||$&&Z.length>0)&&(t.preventDefault(),t.stopPropagation(),Ee(t));break;case"Backspace":if($&&!L&&""===te&&Z.length>0){const e=-1===K?Z.length-1:K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}break;case"Delete":if($&&!L&&""===te&&Z.length>0&&-1!==K){const e=K,n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})}}},Pe=e=>{oe(!0),M&&!H.current&&we(e)},$e=e=>{t(q)?G.current.focus():(oe(!1),W.current=!0,H.current=!1,i&&-1!==Q.current&&de?ke(e,pe[Q.current],"blur"):i&&y&&""!==te?ke(e,te,"blur","freeSolo"):s&&ae(e,Z),xe(e,"blur"))},Ne=e=>{const t=e.target.value;te!==t&&(ne(t),ce(!1),T&&T(e,t,"input")),""===t?p||$||Se(e,null,"clear"):we(e)},ze=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&he({event:e,index:t,reason:"mouse"})},Re=e=>{he({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},Te=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));ke(e,pe[t],"selectOption"),Ce.current=!1},De=e=>t=>{const n=Z.slice();n.splice(e,1),Se(t,n,"removeOption",{option:Z[e]})},Ae=e=>{ie?xe(e,"toggleInput"):we(e)},Me=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==j&&e.preventDefault()},_e=e=>{e.currentTarget.contains(e.target)&&(G.current.focus(),F&&W.current&&G.current.selectionEnd-G.current.selectionStart==0&&G.current.select(),W.current=!1)},Le=e=>{m||""!==te&&ie||Ae(e)};let Fe=y&&te.length>0;Fe=Fe||($?Z.length>0:null!==Z);let Ve=pe;if(C){const e=new Map;let t=!1;Ve=pe.reduce(((n,r,o)=>{const a=C(r);return n.length>0&&n[n.length-1].group===a?n[n.length-1].options.push(r):("production"!==process.env.NODE_ENV&&(e.get(a)&&!t&&(console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${u} returns duplicated headers.`,"You can solve the issue by sorting the options with the output of `groupBy`."),t=!0),e.set(a,!0)),n.push({key:o,index:o,group:a,options:[r]})),n}),[])}return m&&re&&$e(),{getRootProps:(e={})=>Bu({"aria-owns":me?`${j}-listbox`:null},e,{onKeyDown:Ie(e),onMouseDown:Me,onClick:_e}),getInputLabelProps:()=>({id:`${j}-label`,htmlFor:j}),getInputProps:()=>({id:j,value:te,onBlur:$e,onFocus:Pe,onChange:Ne,onMouseDown:Le,"aria-activedescendant":de?"":null,"aria-autocomplete":o?"both":"list","aria-controls":me?`${j}-listbox`:void 0,"aria-expanded":me,autoComplete:"off",ref:G,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ee}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ae}),getTagProps:({index:e})=>Bu({key:e,"data-tag-index":e,tabIndex:-1},!L&&{onDelete:De(e)}),getListboxProps:()=>({role:"listbox",id:`${j}-listbox`,"aria-labelledby":`${j}-label`,ref:ye,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=($?Z:[Z]).some((e=>null!=e&&P(t,e))),o=!!w&&w(t);return{key:null!=(n=null==x?void 0:x(t))?n:B(t),tabIndex:-1,role:"option",id:`${j}-option-${e}`,onMouseMove:ze,onClick:Te,onTouchStart:Re,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:j,inputValue:te,value:Z,dirty:Fe,expanded:de&&Y,popupOpen:de,focused:re||-1!==K,anchorEl:Y,setAnchorEl:U,focusedTag:K,groupedOptions:Ve}}const Yv=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Uv=["component","slots","slotProps"],Kv=["component"];function Jv(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,getSlotOwnerState:i,internalForwardedProps:l}=t,s=lf(t,Yv),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=a,p=lf(a,Uv),f=u[e]||r,m=dv(d[e],o),g=fv(Bu({className:n},s,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:m})),{props:{component:h},internalRef:v}=g,b=lf(g.props,Kv),y=wg(v,null==m?void 0:m.ref,t.ref),w=i?i(b):{},x=Bu({},o,w),S="root"===e?h||c:h,C=lv(f,Bu({},"root"===e&&!c&&!u[e]&&l,"root"!==e&&!u[e]&&l,b,S&&{as:S},{ref:y}),x);return Object.keys(w).forEach((e=>{delete C[e]})),[f,C]}function Xv(e){return Dh("MuiListItem",e)}const Qv=Ah("MuiListItem",["root","startAction","endAction","nested","nesting","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]),Zv=r.createContext(!1);"production"!==process.env.NODE_ENV&&(Zv.displayName="NestedListContext");const eb=r.createContext(!1);"production"!==process.env.NODE_ENV&&(eb.displayName="RowListContext");const tb=r.createContext(!1);"production"!==process.env.NODE_ENV&&(tb.displayName="WrapListContext");const nb=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(nb.displayName="ComponentListContext");const rb=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(rb.displayName="ListSubheaderContext");const ob=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(ob.displayName="GroupListContext");const ab=["component","className","children","nested","sticky","variant","color","startAction","endAction","role","slots","slotProps"],ib=Xh("li")((({theme:e,ownerState:t})=>{var n;return[!t.nested&&{"--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItemButton-marginBlock":"calc(-1 * var(--ListItem-paddingY))",alignItems:"center",gap:"var(--ListItem-gap)",marginInline:"var(--ListItem-marginInline)"},t.nested&&{"--NestedList-marginRight":"calc(-1 * var(--ListItem-paddingRight))","--NestedList-marginLeft":"calc(-1 * var(--ListItem-paddingLeft))","--NestedListItem-paddingLeft":"calc(var(--ListItem-paddingLeft) + var(--List-nestedInsetStart))","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))","--ListItem-marginInline":"calc(-1 * var(--ListItem-paddingLeft)) calc(-1 * var(--ListItem-paddingRight))",flexDirection:"column"},Bu({"--unstable_actionRadius":"calc(var(--ListItem-radius) - var(--variant-borderWidth, 0px))"},t.startAction&&{"--unstable_startActionWidth":"2rem"},t.endAction&&{"--unstable_endActionWidth":"2.5rem"},{boxSizing:"border-box",borderRadius:"var(--ListItem-radius)",display:"var(--_ListItem-display)","&:not([hidden])":{"--_ListItem-display":"var(--_List-markerDisplay, flex)"},flex:"none",listStyleType:"var(--_List-markerType, disc)",position:"relative",paddingBlockStart:t.nested?0:"var(--ListItem-paddingY)",paddingBlockEnd:t.nested?0:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)"},void 0===t["data-first-child"]&&Bu({},t.row?{marginInlineStart:"var(--List-gap)"}:{marginBlockStart:"var(--List-gap)"}),t.row&&t.wrap&&{marginInlineStart:"var(--List-gap)",marginBlockStart:"var(--List-gap)"},{minBlockSize:"var(--ListItem-minHeight)"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:`var(--ListItem-stickyBackground, ${e.vars.palette.background.body})`},{[`.${Qv.nested} > &`]:{"--_ListItem-display":"flex"}}),null==(n=e.variants[t.variant])?void 0:n[t.color]]})),lb=Xh(ib,{name:"JoyListItem",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sb=Xh("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",left:0,transform:"translate(var(--ListItem-startActionTranslateX), -50%)",zIndex:1}))),cb=Xh("div",{name:"JoyListItem",slot:"StartAction",overridesResolver:(e,t)=>t.startAction})((({ownerState:e})=>({display:"inherit",position:"absolute",top:e.nested?"calc(var(--ListItem-minHeight) / 2)":"50%",right:0,transform:"translate(var(--ListItem-endActionTranslateX), -50%)"}))),ub=r.forwardRef((function(n,o){const a=Qh({props:n,name:"JoyListItem"}),i=r.useContext(ob),l=r.useContext(nb),s=r.useContext(eb),c=r.useContext(tb),u=r.useContext(Zv),{component:d,className:p,children:f,nested:m=!1,sticky:g=!1,variant:h="plain",color:v="neutral",startAction:b,endAction:y,role:w,slots:x={},slotProps:S={}}=a,C=lf(a,ab),[k,O]=r.useState(""),[E,I]=(null==l?void 0:l.split(":"))||["",""],P=d||(E&&!E.match(/^(ul|ol|menu)$/)?"div":void 0);let $="menu"===i?"none":void 0;l&&($={menu:"none",menubar:"none",group:"presentation"}[I]),w&&($=w);const N=Bu({},a,{sticky:g,startAction:b,endAction:y,row:s,wrap:c,variant:h,color:v,nesting:u,nested:m,component:P,role:$}),z=(e=>{const{sticky:t,nested:n,nesting:r,variant:o,color:a}=e;return Mg({root:["root",n&&"nested",r&&"nesting",t&&"sticky",a&&`color${wf(a)}`,o&&`variant${wf(o)}`],startAction:["startAction"],endAction:["endAction"]},Xv,{})})(N),R=Bu({},C,{component:P,slots:x,slotProps:S}),[T,D]=Jv("root",{additionalProps:{role:$},ref:o,className:Em(z.root,p),elementType:lb,externalForwardedProps:R,ownerState:N}),[A,M]=Jv("startAction",{className:z.startAction,elementType:sb,externalForwardedProps:R,ownerState:N}),[_,L]=Jv("endAction",{className:z.endAction,elementType:cb,externalForwardedProps:R,ownerState:N});return e(rb.Provider,{value:O,children:e(Zv.Provider,{value:!!m&&(k||!0),children:t(T,Bu({},D,{children:[b&&e(A,Bu({},M,{children:b})),r.Children.map(f,((e,t)=>r.isValidElement(e)?r.cloneElement(e,Bu({},0===t&&{"data-first-child":""},dg(e,["ListItem"])&&{component:e.props.component||"div"})):e)),y&&e(_,Bu({},L,{children:y}))]}))})})}));"production"!==process.env.NODE_ENV&&(ub.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,endAction:ei.node,nested:ei.bool,role:ei.string,slotProps:ei.shape({endAction:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),startAction:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({endAction:ei.elementType,root:ei.elementType,startAction:ei.elementType}),startAction:ei.node,sticky:ei.bool,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),ub.muiName="ListItem";const db={"--NestedList-marginRight":"0px","--NestedList-marginLeft":"0px","--NestedListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px"};function pb(t){const{children:n,nested:o,row:a=!1,wrap:i=!1}=t,l=e(eb.Provider,{value:a,children:e(tb.Provider,{value:i,children:r.Children.map(n,((e,t)=>r.isValidElement(e)?r.cloneElement(e,Bu({},0===t&&{"data-first-child":""},t===r.Children.count(n)-1&&{"data-last-child":""})):e))})});return void 0===o?l:e(Zv.Provider,{value:o,children:l})}const fb=({theme:e,ownerState:t},n)=>{let r={};return t.sx&&(!function t(n){"function"==typeof n?t(n(e)):Array.isArray(n)?n.forEach((e=>{"boolean"!=typeof e&&t(e)})):"object"==typeof n&&(r=Bu({},r,n))}(t.sx),n.forEach((t=>{const n=r[t];var o;"string"==typeof n||"number"==typeof n?"borderRadius"===t?r[t]="number"==typeof n?`${n}px`:(null==(o=e.vars)?void 0:o.radius[n])||n:-1!==["p","padding","m","margin"].indexOf(t)&&"number"==typeof n?r[t]=e.spacing(n):r[t]=n:r[t]="function"==typeof n?n(e):void 0}))),r};function mb(e){return Dh("MuiList",e)}const gb=Ah("MuiList",["root","nesting","scoped","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","horizontal","vertical"]),hb=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(hb.displayName="RadioGroupContext");const vb=["component","className","children","size","orientation","wrap","variant","color","role","slots","slotProps"],bb=Xh("ul")((({theme:e,ownerState:t})=>{var n;const{p:r,padding:o,borderRadius:a}=fb({theme:e,ownerState:t},["p","padding","borderRadius"]);function i(n){return"sm"===n?{"--ListDivider-gap":"0.25rem","--ListItem-minHeight":"2rem","--ListItem-paddingY":"3px","--ListItem-paddingX":t.marker?"3px":"0.5rem","--ListItem-gap":"0.5rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.5rem":"2rem","--Icon-fontSize":e.vars.fontSize.lg}:"md"===n?{"--ListDivider-gap":"0.375rem","--ListItem-minHeight":"2.25rem","--ListItem-paddingY":"0.25rem","--ListItem-paddingX":t.marker?"0.25rem":"0.75rem","--ListItem-gap":"0.625rem","--ListItemDecorator-size":"horizontal"===t.orientation?"1.75rem":"2.5rem","--Icon-fontSize":e.vars.fontSize.xl}:"lg"===n?{"--ListDivider-gap":"0.5rem","--ListItem-minHeight":"2.75rem","--ListItem-paddingY":"0.375rem","--ListItem-paddingX":t.marker?"0.5rem":"1rem","--ListItem-gap":"0.75rem","--ListItemDecorator-size":"horizontal"===t.orientation?"2.25rem":"3rem","--Icon-fontSize":e.vars.fontSize.xl2}:{}}return[t.nesting&&Bu({},i(t.instanceSize),{"--ListItem-paddingRight":"var(--ListItem-paddingX)","--ListItem-paddingLeft":"var(--NestedListItem-paddingLeft)","--ListItemButton-marginBlock":"0px","--ListItemButton-marginInline":"0px","--ListItem-marginBlock":"0px","--ListItem-marginInline":"0px",padding:0},t.marker&&{paddingInlineStart:"calc(3ch - var(--_List-markerDeduct, 0px))"},{marginInlineStart:"var(--NestedList-marginLeft)",marginInlineEnd:"var(--NestedList-marginRight)",marginBlockStart:"var(--List-gap)",marginBlockEnd:"initial"}),!t.nesting&&Bu({},i(t.size),{"--List-gap":"0px","--List-nestedInsetStart":"0px","--ListItem-paddingLeft":"var(--ListItem-paddingX)","--ListItem-paddingRight":"var(--ListItem-paddingX)"},t.marker&&{"--_List-markerDeduct":"1ch"},{"--unstable_List-childRadius":"calc(max(var(--List-radius) - var(--List-padding), min(var(--List-padding) / 2, var(--List-radius) / 2)) - var(--variant-borderWidth, 0px))","--ListItem-radius":"var(--unstable_List-childRadius)","--ListItem-startActionTranslateX":"calc(0.5 * var(--ListItem-paddingLeft))","--ListItem-endActionTranslateX":"calc(-0.5 * var(--ListItem-paddingRight))",margin:"initial"},e.typography[`body-${t.size}`],"horizontal"===t.orientation?Bu({},t.wrap?{padding:"var(--List-padding)",marginInlineStart:"calc(-1 * var(--List-gap))",marginBlockStart:"calc(-1 * var(--List-gap))"}:{paddingInline:"var(--List-padding, var(--ListDivider-gap))",paddingBlock:"var(--List-padding)"}):{paddingBlock:"var(--List-padding, var(--ListDivider-gap))",paddingInline:"var(--List-padding)"},t.marker&&{paddingInlineStart:"3ch"}),Bu({boxSizing:"border-box",borderRadius:"var(--List-radius)",listStyle:"none",display:"flex",flexDirection:"horizontal"===t.orientation?"row":"column"},t.wrap&&{flexWrap:"wrap"},t.marker&&{"--_List-markerDisplay":"list-item","--_List-markerType":t.marker,lineHeight:"calc(var(--ListItem-minHeight) - 2 * var(--ListItem-paddingY))"},{flexGrow:1,position:"relative"},null==(n=e.variants[t.variant])?void 0:n[t.color],{"--unstable_List-borderWidth":"var(--variant-borderWidth, 0px)"},void 0!==a&&{"--List-radius":a},void 0!==r&&{"--List-padding":r},void 0!==o&&{"--List-padding":o})]})),yb=Xh(bb,{name:"JoyList",slot:"Root",overridesResolver:(e,t)=>t.root})({}),wb=r.forwardRef((function(t,n){var o;const a=r.useContext(Zv),i=r.useContext(ob),l=r.useContext(hb),s=Qh({props:t,name:"JoyList"}),{component:c,className:u,children:d,size:p,orientation:f="vertical",wrap:m=!1,variant:g="plain",color:h="neutral",role:v,slots:b={},slotProps:y={}}=s,w=lf(s,vb),x=p||(null!=(o=t.size)?o:"md");let S;i&&(S="group"),l&&(S="presentation"),v&&(S=v);const C=Bu({},s,{instanceSize:t.size,size:x,nesting:a,orientation:f,wrap:m,variant:g,color:h,role:S}),k=(e=>{const{variant:t,color:n,size:r,nesting:o,orientation:a,instanceSize:i}=e;return Mg({root:["root",a,t&&`variant${wf(t)}`,n&&`color${wf(n)}`,!i&&!o&&r&&`size${wf(r)}`,i&&`size${wf(i)}`,o&&"nesting"]},mb,{})})(C),O=Bu({},w,{component:c,slots:b,slotProps:y}),[E,I]=Jv("root",{ref:n,className:Em(k.root,u),elementType:yb,externalForwardedProps:O,ownerState:C,additionalProps:{as:c,role:S,"aria-labelledby":"string"==typeof a?a:void 0}});return e(E,Bu({},I,{children:e(nb.Provider,{value:`${"string"==typeof c?c:""}:${S||""}`,children:e(pb,{row:"horizontal"===f,wrap:m,children:d})})}))}));function xb(e){return Dh("MuiListItemButton",e)}"production"!==process.env.NODE_ENV&&(wb.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,marker:ei.string,orientation:ei.oneOf(["horizontal","vertical"]),role:ei.string,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string]),wrap:ei.bool});const Sb=Ah("MuiListItemButton",["root","horizontal","vertical","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","focusVisible","disabled","selected","variantPlain","variantSoft","variantOutlined","variantSolid"]),Cb=r.createContext("horizontal");"production"!==process.env.NODE_ENV&&(Cb.displayName="ListItemButtonOrientationContext");const kb=["children","className","action","component","orientation","role","selected","color","variant","slots","slotProps"],Ob=Xh("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;return Bu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,WebkitTapHighlightColor:"transparent",boxSizing:"border-box",position:"relative",font:"inherit",display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"stretch",gap:"var(--ListItem-gap)"},"vertical"===t.orientation&&{flexDirection:"column",justifyContent:"center"},{textAlign:"initial",textDecoration:"initial",backgroundColor:"initial",cursor:"pointer",marginInline:"var(--ListItemButton-marginInline)",marginBlock:"var(--ListItemButton-marginBlock)"},void 0===t["data-first-child"]&&{marginInlineStart:t.row?"var(--List-gap)":void 0,marginBlockStart:t.row?void 0:"var(--List-gap)"},{paddingBlock:"calc(var(--ListItem-paddingY) - var(--variant-borderWidth, 0px))",paddingInlineStart:"calc(var(--ListItem-paddingLeft) + var(--ListItem-startActionWidth, var(--unstable_startActionWidth, 0px)))",paddingInlineEnd:"calc(var(--ListItem-paddingRight) + var(--ListItem-endActionWidth, var(--unstable_endActionWidth, 0px)))",minBlockSize:"var(--ListItem-minHeight)",border:"1px solid transparent",borderRadius:"var(--ListItem-radius)",flex:"var(--unstable_ListItem-flex, none)",fontSize:"inherit",lineHeight:"inherit",minInlineSize:0,[e.focus.selector]:Bu({},e.focus.default,{zIndex:1})},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:active":null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],[`.${Qv.root} > &`]:{"--unstable_ListItem-flex":"1 0 0%"},[`&.${Sb.selected}`]:Bu({},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color],{"--Icon-color":"currentColor"}),[`&:not(.${Sb.selected}, [aria-selected="true"])`]:{"&:hover":null==(a=e.variants[`${t.variant}Hover`])?void 0:a[t.color],"&:active":null==(i=e.variants[`${t.variant}Active`])?void 0:i[t.color]},[`&.${Sb.disabled}`]:Bu({},null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color])})})),Eb=Xh(Ob,{name:"JoyListItemButton",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>Bu({},!e.row&&{[`&.${Sb.selected}`]:{fontWeight:t.vars.fontWeight.md}}))),Ib=r.forwardRef((function(t,n){const o=Qh({props:t,name:"JoyListItemButton"}),a=r.useContext(eb),{children:i,className:l,action:s,component:c="div",orientation:u="horizontal",role:d,selected:p=!1,color:f="neutral",variant:m="plain",slots:g={},slotProps:h={}}=o,v=lf(o,kb),b=r.useRef(null),y=wg(b,n),{focusVisible:w,setFocusVisible:x,getRootProps:S}=vv(Bu({},o,{rootRef:y}));r.useImperativeHandle(s,(()=>({focusVisible:()=>{var e;x(!0),null==(e=b.current)||e.focus()}})),[x]);const C=Bu({},o,{component:c,color:f,focusVisible:w,orientation:u,row:a,selected:p,variant:m}),k=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,selected:a,variant:i}=e,l=Mg({root:["root",n&&"disabled",r&&"focusVisible",t&&`color${wf(t)}`,a&&"selected",i&&`variant${wf(i)}`]},xb,{});return r&&o&&(l.root+=` ${o}`),l})(C),O=Bu({},v,{component:c,slots:g,slotProps:h}),[E,I]=Jv("root",{ref:n,className:Em(k.root,l),elementType:Eb,externalForwardedProps:O,ownerState:C,getSlotProps:S});return e(Cb.Provider,{value:u,children:e(E,Bu({},I,{role:null!=d?d:I.role,children:i}))})}));function Pb(e){return Dh("MuiSvgIcon",e)}"production"!==process.env.NODE_ENV&&(Ib.propTypes={action:ei.oneOfType([ei.func,ei.shape({current:ei.shape({focusVisible:ei.func.isRequired})})]),autoFocus:ei.bool,children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,focusVisibleClassName:ei.string,orientation:ei.oneOf(["horizontal","vertical"]),role:ei.string,selected:ei.bool,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),tabIndex:ei.number,variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),Ah("MuiSvgIcon",["root","colorInherit","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","fontSizeInherit","fontSizeXs","fontSizeSm","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXl2","fontSizeXl3","fontSizeXl4","sizeSm","sizeMd","sizeLg"]);const $b=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox","size","slots","slotProps"],Nb={sm:"xl",md:"xl2",lg:"xl3"},zb=Xh("svg",{name:"JoySvgIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n;return Bu({},t.instanceSize&&{"--Icon-fontSize":e.vars.fontSize[Nb[t.instanceSize]]},t.instanceFontSize&&"inherit"!==t.instanceFontSize&&{"--Icon-fontSize":e.vars.fontSize[t.instanceFontSize]},{userSelect:"none",margin:"var(--Icon-margin)",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,fontSize:`var(--Icon-fontSize, ${e.vars.fontSize[Nb[t.size]]||"unset"})`},t.fontSize&&"inherit"!==t.fontSize&&{fontSize:`var(--Icon-fontSize, ${e.fontSize[t.fontSize]})`},!t.htmlColor&&Bu({color:`var(--Icon-color, ${e.vars.palette.text.icon})`},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&e.vars.palette[t.color]&&{color:`rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1)`}))})),Rb=r.forwardRef((function(n,o){const a=Qh({props:n,name:"JoySvgIcon"}),{children:i,className:l,color:s,component:c="svg",fontSize:u,htmlColor:d,inheritViewBox:p=!1,titleAccess:f,viewBox:m="0 0 24 24",size:g="md",slots:h={},slotProps:v={}}=a,b=lf(a,$b),y=r.isValidElement(i)&&"svg"===i.type,w=Bu({},a,{color:s,component:c,size:g,instanceSize:n.size,fontSize:u,instanceFontSize:n.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:y}),x=(e=>{const{color:t,size:n,fontSize:r}=e;return Mg({root:["root",t&&"inherit"!==t&&`color${wf(t)}`,n&&`size${wf(n)}`,r&&`fontSize${wf(r)}`]},Pb,{})})(w),S=Bu({},b,{component:c,slots:h,slotProps:v}),[C,k]=Jv("root",{ref:o,className:Em(x.root,l),elementType:zb,externalForwardedProps:S,ownerState:w,additionalProps:Bu({color:d,focusable:!1},f&&{role:"img"},!f&&{"aria-hidden":!0},!p&&{viewBox:m},y&&i.props)});return t(C,Bu({},k,{children:[y?i.props.children:i,f?e("title",{children:f}):null]}))}));function Tb(t,n){function o(r,o){return e(Rb,Bu({"data-testid":`${n}Icon`,ref:o},r,{children:t}))}return"production"!==process.env.NODE_ENV&&(o.displayName=`${n}Icon`),o.muiName=Rb.muiName,r.memo(r.forwardRef(o))}"production"!==process.env.NODE_ENV&&(Rb.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","inherit","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,fontSize:ei.oneOfType([ei.oneOf(["inherit","lg","md","sm","xl","xl2","xl3","xl4","xs"]),ei.string]),htmlColor:ei.string,inheritViewBox:ei.bool,shapeRendering:ei.string,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),titleAccess:ei.string,viewBox:ei.string});const Db=e=>t=>`--${e?`${e}-`:""}${t.replace(/^--/,"")}`,Ab="data-skip-inverted-colors",Mb=`& :not([${Ab}], [${Ab}] *)`,_b=e=>{var t,n,r,o,a,i,l,s,c,u,d,p,f,m,g,h,v,b,y,w,x,S;const C=Db(e.cssVarPrefix);return{"--variant-plainColor":"var(--variant-plainColor) !important","--variant-plainHoverColor":"var(--variant-plainHoverColor) !important","--variant-plainHoverBg":"var(--variant-plainHoverBg) !important","--variant-plainActiveBg":"var(--variant-plainActiveBg) !important","--variant-plainDisabledColor":"var(--variant-plainDisabledColor) !important","--variant-outlinedColor":"var(--variant-outlinedColor) !important","--variant-outlinedBorder":"var(--variant-outlinedBorder) !important","--variant-outlinedHoverColor":"var(--variant-outlinedHoverColor) !important","--variant-outlinedHoverBorder":"var(--variant-outlinedHoverBorder) !important","--variant-outlinedHoverBg":"var(--variant-outlinedHoverBg) !important","--variant-outlinedActiveBg":"var(--variant-outlinedActiveBg) !important","--variant-outlinedDisabledColor":"var(--variant-outlinedDisabledColor) !important","--variant-outlinedDisabledBorder":"var(--variant-outlinedDisabledBorder) !important","--variant-softColor":"var(--variant-softColor) !important","--variant-softHoverColor":"var(--variant-softHoverColor) !important","--variant-softBg":"var(--variant-softBg) !important","--variant-softHoverBg":"var(--variant-softHoverBg) !important","--variant-softActiveBg":"var(--variant-softActiveBg) !important","--variant-softActiveColor":"var(--variant-softActiveColor) !important","--variant-softDisabledColor":"var(--variant-softDisabledColor) !important","--variant-softDisabledBg":"var(--variant-softDisabledBg) !important","--variant-solidColor":"var(--variant-solidColor) !important","--variant-solidBg":"var(--variant-solidBg) !important","--variant-solidHoverBg":"var(--variant-solidHoverBg) !important","--variant-solidActiveBg":"var(--variant-solidActiveBg) !important","--variant-solidDisabledColor":"var(--variant-solidDisabledColor) !important","--variant-solidDisabledBg":"var(--variant-solidDisabledBg) !important","--Badge-ringColor":"var(--Badge-ringColor) !important",colorScheme:"unset",[e.getColorSchemeSelector("light")]:{[C("--palette-focusVisible")]:`${null==(t=e.colorSchemes.light)?void 0:t.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(n=e.colorSchemes.light)?void 0:n.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(r=e.colorSchemes.light)?void 0:r.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(o=e.colorSchemes.light)?void 0:o.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(a=e.colorSchemes.light)?void 0:a.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(i=e.colorSchemes.light)?void 0:i.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(l=e.colorSchemes.light)?void 0:l.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(s=e.colorSchemes.light)?void 0:s.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(c=e.colorSchemes.light)?void 0:c.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(u=e.colorSchemes.light)?void 0:u.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(d=e.colorSchemes.light)?void 0:d.palette.divider} !important`},[e.getColorSchemeSelector("dark")]:{[C("--palette-focusVisible")]:`${null==(p=e.colorSchemes.dark)?void 0:p.palette.focusVisible} !important`,[C("--palette-background-body")]:`${null==(f=e.colorSchemes.dark)?void 0:f.palette.background.body} !important`,[C("--palette-background-surface")]:`${null==(m=e.colorSchemes.dark)?void 0:m.palette.background.surface} !important`,[C("--palette-background-popup")]:`${null==(g=e.colorSchemes.dark)?void 0:g.palette.background.popup} !important`,[C("--palette-background-level1")]:`${null==(h=e.colorSchemes.dark)?void 0:h.palette.background.level1} !important`,[C("--palette-background-level2")]:`${null==(v=e.colorSchemes.dark)?void 0:v.palette.background.level2} !important`,[C("--palette-background-level3")]:`${null==(b=e.colorSchemes.dark)?void 0:b.palette.background.level3} !important`,[C("--palette-text-primary")]:`${null==(y=e.colorSchemes.dark)?void 0:y.palette.text.primary} !important`,[C("--palette-text-secondary")]:`${null==(w=e.colorSchemes.dark)?void 0:w.palette.text.secondary} !important`,[C("--palette-text-tertiary")]:`${null==(x=e.colorSchemes.dark)?void 0:x.palette.text.tertiary} !important`,[C("--palette-divider")]:`${null==(S=e.colorSchemes.dark)?void 0:S.palette.divider} !important`}}};var Lb=Tb(e("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Fb=Tb(e("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const Vb=r.createContext(void 0);function jb(e,t){let n=t,r=e;return"outlined"===e&&(n="neutral",r="plain"),"plain"===e&&(n="neutral"),{variant:r,color:n}}function Bb(e,t,n=!1){const o=r.useContext(Vb),[a,i]="string"==typeof o?o.split(":"):[],l=jb(a||void 0,i||void 0);return l.variant=e||l.variant,l.color=t||(n?i:l.color),l}function Hb({children:t,color:n,variant:r}){return e(Vb.Provider,{value:`${r||""}:${n||""}`,children:t})}function Wb(e){return Dh("MuiIconButton",e)}"production"!==process.env.NODE_ENV&&(Vb.displayName="VariantColorContext"),Ah("MuiIconButton",["root","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","loading","loadingIndicator"]);const Gb=r.createContext({});"production"!==process.env.NODE_ENV&&(Gb.displayName="ButtonGroupContext");const qb=r.createContext(void 0);function Yb(e){return Dh("MuiCircularProgress",e)}"production"!==process.env.NODE_ENV&&(qb.displayName="ToggleButtonGroupContext"),Ah("MuiCircularProgress",["root","determinate","svg","track","progress","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);let Ub,Kb=e=>e;const Jb=["color","backgroundColor"],Xb=["children","className","color","size","variant","thickness","determinate","value","component","slots","slotProps"],Qb=function(){var e=Bp.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}({"0%":{transform:"rotate(-90deg)"},"100%":{transform:"rotate(270deg)"}});function Zb(e,t){return`var(--CircularProgress-${e}Thickness, var(--CircularProgress-thickness, ${t}))`}const ey=Xh("span",{name:"JoyCircularProgress",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e,theme:t})=>{var n,r,o,a;const i=(null==(n=t.variants[e.variant])?void 0:n[e.color])||{},{color:l,backgroundColor:s}=i,c=lf(i,Jb);return Bu({"--Icon-fontSize":"calc(0.4 * var(--_root-size))","--CircularProgress-trackColor":s,"--CircularProgress-progressColor":l,"--CircularProgress-percent":e.value,"--CircularProgress-linecap":"round"},"sm"===e.size&&{"--_root-size":"var(--CircularProgress-size, 24px)","--_track-thickness":Zb("track","3px"),"--_progress-thickness":Zb("progress","3px")},"sm"===e.instanceSize&&{"--CircularProgress-size":"24px"},"md"===e.size&&{"--_track-thickness":Zb("track","6px"),"--_progress-thickness":Zb("progress","6px"),"--_root-size":"var(--CircularProgress-size, 40px)"},"md"===e.instanceSize&&{"--CircularProgress-size":"40px"},"lg"===e.size&&{"--_track-thickness":Zb("track","8px"),"--_progress-thickness":Zb("progress","8px"),"--_root-size":"var(--CircularProgress-size, 64px)"},"lg"===e.instanceSize&&{"--CircularProgress-size":"64px"},e.thickness&&{"--_track-thickness":`${e.thickness}px`,"--_progress-thickness":`${e.thickness}px`},{"--_thickness-diff":"calc(var(--_track-thickness) - var(--_progress-thickness))","--_inner-size":"calc(var(--_root-size) - 2 * var(--variant-borderWidth, 0px))","--_outlined-inset":"max(var(--_track-thickness), var(--_progress-thickness))",width:"var(--_root-size)",height:"var(--_root-size)",borderRadius:"var(--_root-size)",margin:"var(--CircularProgress-margin)",boxSizing:"border-box",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,position:"relative",color:l},e.children&&{fontFamily:t.vars.fontFamily.body,fontWeight:t.vars.fontWeight.md,fontSize:"calc(0.2 * var(--_root-size))"},c,"outlined"===e.variant&&{"&::before":Bu({content:'""',display:"block",position:"absolute",borderRadius:"inherit",top:"var(--_outlined-inset)",left:"var(--_outlined-inset)",right:"var(--_outlined-inset)",bottom:"var(--_outlined-inset)"},c)},"soft"===e.variant&&{"--CircularProgress-trackColor":t.variants.soft.neutral.backgroundColor,"--CircularProgress-progressColor":null==(r=t.variants.solid)?void 0:r[e.color].backgroundColor},"solid"===e.variant&&{"--CircularProgress-trackColor":null==(o=t.variants.softHover)?void 0:o[e.color].backgroundColor,"--CircularProgress-progressColor":null==(a=t.variants.solid)?void 0:a[e.color].backgroundColor})})),ty=Xh("svg",{name:"JoyCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({width:"inherit",height:"inherit",display:"inherit",boxSizing:"inherit",position:"absolute",top:"calc(-1 * var(--variant-borderWidth, 0px))",left:"calc(-1 * var(--variant-borderWidth, 0px))"}),ny=Xh("circle",{name:"JoyCircularProgress",slot:"track",overridesResolver:(e,t)=>t.track})({cx:"50%",cy:"50%",r:"calc(var(--_inner-size) / 2 - var(--_track-thickness) / 2 + min(0px, var(--_thickness-diff) / 2))",fill:"transparent",strokeWidth:"var(--_track-thickness)",stroke:"var(--CircularProgress-trackColor)"}),ry=Xh("circle",{name:"JoyCircularProgress",slot:"progress",overridesResolver:(e,t)=>t.progress})({"--_progress-radius":"calc(var(--_inner-size) / 2 - var(--_progress-thickness) / 2 - max(0px, var(--_thickness-diff) / 2))","--_progress-length":"calc(2 * 3.1415926535 * var(--_progress-radius))",cx:"50%",cy:"50%",r:"var(--_progress-radius)",fill:"transparent",strokeWidth:"var(--_progress-thickness)",stroke:"var(--CircularProgress-progressColor)",strokeLinecap:"var(--CircularProgress-linecap, round)",strokeDasharray:"var(--_progress-length)",strokeDashoffset:"calc(var(--_progress-length) - var(--CircularProgress-percent) * var(--_progress-length) / 100)",transformOrigin:"center",transform:"rotate(-90deg)"},(({ownerState:e})=>!e.determinate&&Bp(Ub||(Ub=Kb`
|
|
1039
1045
|
animation: var(--CircularProgress-circulation, 0.8s linear 0s infinite normal none running)
|
|
1040
1046
|
${0};
|
|
1041
|
-
`),Ib))),Tb=r.forwardRef((function(n,r){const o=Ih({props:n,name:"JoyCircularProgress"}),{children:a,className:i,color:l="primary",size:s="md",variant:c="soft",thickness:u,determinate:d=!1,value:p=(d?0:25),component:f,slots:m={},slotProps:g={}}=o,h=lf(o,Eb),v=Bu({},o,{color:l,size:s,variant:c,thickness:u,value:p,determinate:d,instanceSize:n.size}),b=(e=>{const{determinate:t,color:n,variant:r,size:o}=e;return zg({root:["root",t&&"determinate",n&&`color${wf(n)}`,r&&`variant${wf(r)}`,o&&`size${wf(o)}`],svg:["svg"],track:["track"],progress:["progress"]},Sb,{})})(v),y=Bu({},h,{component:f,slots:m,slotProps:g}),[w,x]=Ov("root",{ref:r,className:Om(b.root,i),elementType:Nb,externalForwardedProps:y,ownerState:v,additionalProps:Bu({role:"progressbar",style:{"--CircularProgress-percent":p}},p&&d&&{"aria-valuenow":"number"==typeof p?Math.round(p):Math.round(Number(p||0))})}),[S,C]=Ov("svg",{className:b.svg,elementType:$b,externalForwardedProps:y,ownerState:v}),[k,O]=Ov("track",{className:b.track,elementType:zb,externalForwardedProps:y,ownerState:v}),[E,I]=Ov("progress",{className:b.progress,elementType:Rb,externalForwardedProps:y,ownerState:v});return t(w,Bu({},x,{children:[t(S,Bu({},C,{children:[e(k,Bu({},O)),e(E,Bu({},I))]})),a]}))}));"production"!==process.env.NODE_ENV&&(Tb.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,determinate:ei.bool,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({progress:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),svg:ei.oneOfType([ei.func,ei.object]),track:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({progress:ei.elementType,root:ei.elementType,svg:ei.elementType,track:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),thickness:ei.number,value:ei.number,variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});const Db=["children","action","component","color","disabled","variant","loading","loadingIndicator","size","slots","slotProps"],Ab=Eh("button")((({theme:e,ownerState:t})=>{var n,r,o,a;return[Bu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":{sm:"2rem",md:"2.25rem",lg:"2.75rem"}[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.25rem) / 1.5)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2.25rem)",minHeight:"var(--IconButton-size, 2.25rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.75rem) / 1.571)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 2.75rem)",minHeight:"var(--IconButton-size, 2.75rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:Bu({"--Icon-color":"currentColor"},e.focus.default)}),Bu({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":Bu({"--Icon-color":"currentColor"},null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color])},'&:active, &[aria-pressed="true"]':Bu({"--Icon-color":"currentColor"},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]),"&:disabled":null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]})),Mb=Eh(Ab,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_b=Eh("span",{name:"JoyIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e,ownerState:t})=>{var n,r;return Bu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),Lb=r.forwardRef((function(t,n){var o;const a=Ih({props:t,name:"JoyIconButton"}),{children:i,action:l,component:s="button",color:c="neutral",disabled:u,variant:d="plain",loading:p=!1,loadingIndicator:f,size:m="md",slots:g={},slotProps:h={}}=a,v=lf(a,Db),b=r.useContext(wb),y=r.useContext(xb),w=t.variant||b.variant||d,x=t.size||b.size||m,S=t.color||b.color||c,C=null!=(o=t.loading||t.disabled)?o:b.disabled||p||u,k=r.useRef(null),O=gg(k,n),{focusVisible:E,setFocusVisible:I,getRootProps:P}=qh(Bu({},a,{disabled:C,rootRef:O})),N=null!=f?f:e(Tb,{color:S,thickness:{sm:2,md:3,lg:4}[x]||3});r.useImperativeHandle(l,(()=>({focusVisible:()=>{var e;I(!0),null==(e=k.current)||e.focus()}})),[I]);const $=Bu({},a,{component:s,color:S,disabled:C,variant:w,loading:p,size:x,focusVisible:E,instanceSize:t.size}),z=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,size:a,variant:i,loading:l}=e,s=zg({root:["root",n&&"disabled",r&&"focusVisible",i&&`variant${wf(i)}`,t&&`color${wf(t)}`,a&&`size${wf(a)}`,l&&"loading"],loadingIndicator:["loadingIndicator"]},yb,{});return r&&o&&(s.root+=` ${o}`),s})($);let R=a["aria-pressed"];"function"==typeof h.root?R=h.root($)["aria-pressed"]:h.root&&(R=h.root["aria-pressed"]),null!=y&&y.value&&(R=Array.isArray(y.value)?-1!==y.value.indexOf(a.value):y.value===a.value);const T=Bu({},v,{component:s,slots:g,slotProps:h}),[D,A]=Ov("root",{ref:n,className:z.root,elementType:Mb,getSlotProps:P,externalForwardedProps:T,ownerState:$,additionalProps:{onClick:e=>{var t;let n=a.onClick;var r;("function"==typeof h.root?n=h.root($).onClick:h.root&&(n=h.root.onClick),null==(t=n)||t(e),y)&&(null==(r=y.onClick)||r.call(y,e,a.value))},"aria-pressed":R}}),[M,_]=Ov("loadingIndicator",{className:z.loadingIndicator,elementType:_b,externalForwardedProps:T,ownerState:$});return e(D,Bu({},A,{children:p?e(M,Bu({},_,{children:N})):i}))}));function Fb(e){return ch("MuiChip",e)}"production"!==process.env.NODE_ENV&&(Lb.propTypes={action:ei.oneOfType([ei.func,ei.shape({current:ei.shape({focusVisible:ei.func.isRequired})})]),children:ei.node,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,focusVisibleClassName:ei.string,loading:ei.bool,loadingIndicator:ei.node,onClick:ei.func,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({loadingIndicator:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({loadingIndicator:ei.elementType,root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),tabIndex:ei.number,value:ei.oneOfType([ei.arrayOf(ei.string),ei.number,ei.string]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),Lb.muiName="IconButton";const Vb=uh("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),jb=r.createContext({disabled:void 0,variant:void 0,color:void 0});"production"!==process.env.NODE_ENV&&(jb.displayName="ChipColorContext");const Bb=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],Hb=Eh("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o;const a=null==(n=e.variants[t.variant])?void 0:n[t.color],{borderRadius:i}=Bv({theme:e,ownerState:t},["borderRadius"]);return[Bu({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--Icon-color":"currentColor","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-paddingInline":"0.375rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.sm,"--_Chip-minHeight":"var(--Chip-minHeight, 1.25rem)",gap:"3px"},"md"===t.size&&{"--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.25rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.md,"--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",gap:"0.25rem"},"lg"===t.size&&{"--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.375rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.lg,"--_Chip-minHeight":"var(--Chip-minHeight, 1.75rem)",gap:"0.375rem"},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",maxWidth:"max-content",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box"},e.typography[`body-${{sm:"xs",md:"sm",lg:"md"}[t.size]}`],{fontWeight:e.vars.fontWeight.md,[`&.${Vb.disabled}`]:{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==a?void 0:a.color}]:[Bu({backgroundColor:e.vars.palette.background.surface},a,{[`&.${Vb.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]})],void 0!==i&&{"--_Chip-radius":i}]})),Wb=Eh("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})((({ownerState:e})=>Bu({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"}))),Gb=Eh("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})((({theme:e,ownerState:t})=>{var n,r,o,a;return[{"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,width:"100%",border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},Bu({backgroundColor:e.vars.palette.background.surface},null==(n=e.variants[t.variant])?void 0:n[t.color]),{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]}},{"&:active":null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]},{[`&.${Vb.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]}]})),qb=Eh("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--IconButton-margin":"0 calc(-1 * var(--Chip-paddingInline) / 3) 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",order:0,zIndex:1,pointerEvents:"none"}),Yb=Eh("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--IconButton-margin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 calc(-1 * var(--Chip-paddingInline) / 3)","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",order:2,zIndex:1,pointerEvents:"none"}),Ub=r.forwardRef((function(n,o){const a=Ih({props:n,name:"JoyChip"}),{children:i,className:l,color:s="neutral",onClick:c,disabled:u=!1,size:d="md",variant:p="soft",startDecorator:f,endDecorator:m,component:g,slots:h={},slotProps:v={}}=a,b=lf(a,Bb),y=!!c||!!v.action,w=Bu({},a,{disabled:u,size:d,color:s,variant:p,clickable:y,focusVisible:!1}),x="function"==typeof v.action?v.action(w):v.action,S=r.useRef(null),{focusVisible:C,getRootProps:k}=qh(Bu({},x,{disabled:u,rootRef:S}));w.focusVisible=C;const O=(e=>{const{disabled:t,size:n,color:r,clickable:o,variant:a,focusVisible:i}=e;return zg({root:["root",t&&"disabled",r&&`color${wf(r)}`,n&&`size${wf(n)}`,a&&`variant${wf(a)}`,o&&"clickable"],action:["action",t&&"disabled",i&&"focusVisible"],label:["label",n&&`label${wf(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},Fb,{})})(w),E=Bu({},b,{component:g,slots:h,slotProps:v}),[I,P]=Ov("root",{ref:o,className:Om(O.root,l),elementType:Hb,externalForwardedProps:E,ownerState:w}),[N,$]=Ov("label",{className:O.label,elementType:Wb,externalForwardedProps:E,ownerState:w}),z=pg($.id),[R,T]=Ov("action",{className:O.action,elementType:Gb,externalForwardedProps:E,ownerState:w,getSlotProps:k,additionalProps:{"aria-labelledby":z,as:null==x?void 0:x.component,onClick:c}}),[D,A]=Ov("startDecorator",{className:O.startDecorator,elementType:qb,externalForwardedProps:E,ownerState:w}),[M,_]=Ov("endDecorator",{className:O.endDecorator,elementType:Yb,externalForwardedProps:E,ownerState:w}),L=r.useMemo((()=>({disabled:u})),[u]);return e(jb.Provider,{value:L,children:e(bb,{variant:p,color:s,children:t(I,Bu({},P,{children:[y&&e(R,Bu({},T)),e(N,Bu({},$,{id:z,children:i})),f&&e(D,Bu({},A,{children:f})),m&&e(M,Bu({},_,{children:m}))]}))})})}));"production"!==process.env.NODE_ENV&&(Ub.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,endDecorator:ei.node,onClick:ei.func,size:ei.oneOfType([ei.oneOf(["lg","md","sm"]),ei.string]),slotProps:ei.shape({action:ei.oneOfType([ei.func,ei.object]),endDecorator:ei.oneOfType([ei.func,ei.object]),label:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),startDecorator:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({action:ei.elementType,endDecorator:ei.elementType,label:ei.elementType,root:ei.elementType,startDecorator:ei.elementType}),startDecorator:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});var Kb,Jb=sb(e("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Cancel");function Xb(e){return ch("MuiChipDelete",e)}uh("MuiChipDelete",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSolid","variantSoft","variantOutlined"]);const Qb=["children","variant","color","disabled","onKeyDown","onDelete","onClick","component","slots","slotProps"],Zb=["onDelete"],ey=Eh(Ab,{name:"JoyChipDelete",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({"--IconButton-size":"var(--Chip-deleteSize, 2rem)","--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.3)",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px",pointerEvents:"visible",borderRadius:"var(--Chip-deleteRadius, 50%)",zIndex:1,padding:0}))),ty=r.forwardRef((function(t,n){const o=Ih({props:t,name:"JoyChipDelete"}),{children:a,variant:i="plain",color:l="neutral",disabled:s,onKeyDown:c,onDelete:u,onClick:d,component:p,slots:f={},slotProps:m={}}=o,g=lf(o,Qb),h=r.useContext(jb),{variant:v=i,color:b=l}=vb(t.variant,t.color,!0),y=t.color||b,w=null!=s?s:h.disabled,x=gg(r.useRef(null),n),{focusVisible:S,getRootProps:C}=qh(Bu({},o,{disabled:w,rootRef:x})),k=Bu({},o,{disabled:w,variant:v,color:y,focusVisible:S}),O=(e=>{const{focusVisible:t,variant:n,color:r,disabled:o}=e;return zg({root:["root",o&&"disabled",t&&"focusVisible",n&&`variant${wf(n)}`,r&&`color${wf(r)}`]},Xb,{})})(k),E=Bu({},g,{component:p,slots:f,slotProps:m}),[I,P]=Ov("root",{ref:n,elementType:ey,getSlotProps:C,externalForwardedProps:E,ownerState:k,additionalProps:{as:p,onKeyDown:e=>{["Backspace","Enter","Delete"].includes(e.key)&&(e.preventDefault(),!w&&u&&u(e)),c&&c(e)},onClick:e=>{!w&&u&&u(e),d&&d(e)}},className:O.root}),N=lf(P,Zb);return e(I,Bu({},N,{children:null!=a?a:Kb||(Kb=e(Jb,{}))}))}));function ny(e){return ch("MuiInput",e)}"production"!==process.env.NODE_ENV&&(ty.propTypes={children:ei.node,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,onClick:ei.func,onDelete:ei.func,onKeyDown:ei.func,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});const ry=uh("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]),oy=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(oy.displayName="FormControlContext");const ay=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","disabledInProp","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];const iy=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],ly=Eh("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;const s=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color];return[Bu({"--Input-radius":e.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.64,"--Input-decoratorColor":e.vars.palette.text.icon,"--Input-focused":"0","--Input-focusedThickness":e.vars.focus.thickness,"--Input-focusedHighlight":null==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[500],[`&:not([${ub}])`]:Bu({},t.instanceColor&&{"--_Input-focusedHighlight":null==(o=e.vars.palette["neutral"===t.instanceColor?"primary":t.instanceColor])?void 0:o[500]},{"--Input-focusedHighlight":`var(--_Input-focusedHighlight, ${e.vars.palette.focusVisible})`})},"sm"===t.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Input-minHeight":"2.25rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(1.75rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Input-minHeight":"2.75rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.25rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--Button-paddingBlock":"0px","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Input-minHeight)"},t.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),{"&:hover":Bu({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null}),[`&.${ry.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Input-focused":"1"}}]})),sy=Eh("input")((({ownerState:e})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":Bu({paddingInline:"var(--Input-paddingInline)"},!e.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!e.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}}))),cy=Eh("div")({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),uy=Eh("div")({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),dy=Eh(ly,{name:"JoyInput",slot:"Root",overridesResolver:(e,t)=>t.root})({}),py=Eh(sy,{name:"JoyInput",slot:"Input",overridesResolver:(e,t)=>t.input})({}),fy=Eh(cy,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),my=Eh(uy,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({}),gy=r.forwardRef((function(n,o){var a,i,l,s,c,u;const d=Ih({props:n,name:"JoyInput"}),p=function(e,t){var n;const o=r.useContext(oy),{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,className:u,defaultValue:d,disabled:p,disabledInProp:f,error:m,id:g,name:h,onClick:v,onChange:b,onKeyDown:y,onKeyUp:w,onFocus:x,onBlur:S,placeholder:C,readOnly:k,required:O,type:E,value:I}=e,P=lf(e,ay),{getRootProps:N,getInputProps:$,focused:z,error:R,disabled:T}=Qh({disabled:null!=(n=null!=f?f:null==o?void 0:o.disabled)?n:p,defaultValue:d,error:m,onBlur:S,onClick:v,onChange:b,onFocus:x,required:null!=O?O:null==o?void 0:o.required,value:I});return Bu({formControl:o,propsToForward:{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,disabled:T,id:g,onKeyDown:y,onKeyUp:w,name:h,placeholder:C,readOnly:k,type:E},rootStateClasses:{[t.disabled]:T,[t.error]:R,[t.focused]:z,[t.formControl]:Boolean(o),[u]:u},inputStateClasses:{[t.disabled]:T},getRootProps:N,getInputProps:$,focused:z,error:R,disabled:T},P)}(Bu({},d,{disabledInProp:n.disabled}),ry),{propsToForward:f,rootStateClasses:m,inputStateClasses:g,getRootProps:h,getInputProps:v,formControl:b,focused:y,error:w=!1,disabled:x,fullWidth:S=!1,size:C="md",color:k="neutral",variant:O="outlined",startDecorator:E,endDecorator:I,component:P,slots:N={},slotProps:$={}}=p,z=lf(p,iy);if("production"!==process.env.NODE_ENV){const e=null==b?void 0:b.registerEffect;r.useEffect((()=>{if(e)return e()}),[e])}const R=null!=(a=null!=(i=n.error)?i:null==b?void 0:b.error)?a:w,T=null!=(l=null!=(s=n.size)?s:null==b?void 0:b.size)?l:C,D=null!=(c=n.color)?c:R?"danger":null!=(u=null==b?void 0:b.color)?u:k,A=Bu({instanceColor:R?"danger":n.color},d,{fullWidth:S,color:D,disabled:x,error:R,focused:y,size:T,variant:O}),M=(e=>{const{disabled:t,fullWidth:n,variant:r,color:o,size:a}=e;return zg({root:["root",t&&"disabled",n&&"fullWidth",r&&`variant${wf(r)}`,o&&`color${wf(o)}`,a&&`size${wf(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},ny,{})})(A),_=Bu({},z,{component:P,slots:N,slotProps:$}),[L,F]=Ov("root",{ref:o,className:[M.root,m],elementType:dy,getSlotProps:h,externalForwardedProps:_,ownerState:A}),[V,j]=Ov("input",Bu({},b&&{additionalProps:{id:b.htmlFor,"aria-describedby":b["aria-describedby"]}},{className:[M.input,g],elementType:py,getSlotProps:v,internalForwardedProps:f,externalForwardedProps:_,ownerState:A})),[B,H]=Ov("startDecorator",{className:M.startDecorator,elementType:fy,externalForwardedProps:_,ownerState:A}),[W,G]=Ov("endDecorator",{className:M.endDecorator,elementType:my,externalForwardedProps:_,ownerState:A});return t(L,Bu({},F,{children:[E&&e(B,Bu({},H,{children:E})),e(V,Bu({},j)),I&&e(W,Bu({},G,{children:I}))]}))}));function hy(e){return ch("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(gy.propTypes={autoComplete:ei.string,autoFocus:ei.bool,children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),defaultValue:ei.oneOfType([ei.arrayOf(ei.string),ei.number,ei.string]),disabled:ei.bool,endDecorator:ei.node,error:ei.bool,fullWidth:ei.bool,id:ei.string,name:ei.string,onChange:ei.func,placeholder:ei.string,readOnly:ei.bool,required:ei.bool,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),startDecorator:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),value:ei.oneOfType([ei.arrayOf(ei.string),ei.number,ei.string]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),uh("MuiListSubheader",["root","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const vy=["component","className","children","id","sticky","variant","color","slots","slotProps"],by=Eh("div",{name:"JoyListSubheader",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r;return Bu({boxSizing:"border-box",display:"flex",alignItems:"center",marginInline:"var(--ListItem-marginInline)",paddingBlock:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)",minBlockSize:"var(--ListItem-minHeight)"},e.typography["body-xs"],{fontSize:"max(0.75em, 0.625rem)",textTransform:"uppercase",letterSpacing:"0.1em"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:"var(--ListItem-stickyBackground)"},{color:t.color?`var(--_Link-color, rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1))`:e.vars.palette.text.tertiary},t.instanceColor&&{[`&:not([${ub}])`]:{"--_Link-color":e.vars.palette.text.secondary}},null==(r=e.variants[t.variant])?void 0:r[t.color])})),yy=r.forwardRef((function(t,n){const o=Ih({props:t,name:"JoyListSubheader"}),{component:a,className:i,children:l,id:s,sticky:c=!1,variant:u,color:d,slots:p={},slotProps:f={}}=o,m=lf(o,vy),g=pg(s),h=r.useContext(Rv);r.useEffect((()=>{h&&h(g||"")}),[h,g]);const v=Bu({instanceColor:t.color},o,{id:g,sticky:c,variant:u,color:u?null!=d?d:"neutral":d}),b=(e=>{const{variant:t,color:n,sticky:r}=e;return zg({root:["root",r&&"sticky",n&&`color${wf(n)}`,t&&`variant${wf(t)}`]},hy,{})})(v),y=Bu({},m,{component:a,slots:p,slotProps:f}),[w,x]=Ov("root",{ref:n,className:Om(b.root,i),elementType:by,externalForwardedProps:y,ownerState:v,additionalProps:{as:a,id:g}});return e(w,Bu({},x,{children:l}))}));function wy(e){return ch("MuiAutocomplete",e)}"production"!==process.env.NODE_ENV&&(yy.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,id:ei.string,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sticky:ei.bool,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});const xy=uh("MuiAutocomplete",["root","wrapper","input","startDecorator","endDecorator","formControl","focused","disabled","error","multiple","limitTag","hasPopupIcon","hasClearIcon","clearIndicator","popupIndicator","popupIndicatorOpen","listbox","option","loading","noOptions","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);function Sy(e){return ch("MuiAutocompleteListbox",e)}uh("MuiAutocompleteListbox",["root","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const Cy=["anchorEl","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],ky=["children","className","component","color","variant","size","slots","slotProps"],Oy=Eh(Yv)((({theme:e,ownerState:t})=>{var n;const r=null==(n=e.variants[t.variant])?void 0:n[t.color];return Bu({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==r?void 0:r.backgroundColor)||(null==r?void 0:r.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},Vv,{boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`},!(null!=r&&r.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup},{zIndex:e.vars.zIndex.popup,overflow:"auto",maxHeight:"40vh",position:"relative","&:empty":{visibility:"hidden"},[`& .${Iv.nested}, & .${Iv.nested} .${Wv.root}`]:{position:"initial"}})})),Ey=Eh(Oy,{name:"JoyAutocompleteListbox",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Iy=r.forwardRef((function(t,n){const r=Ih({props:t,name:"JoyAutocompleteListbox"}),{children:o,className:a,component:i,color:l="neutral",variant:s="outlined",size:c="md",slots:u={},slotProps:d={}}=r,p=lf(r,ky),f=Bu({},r,{size:c,color:l,variant:s,nesting:!1,row:!1,wrap:!1}),m=(e=>lf(e,Cy))(p),g=(e=>{const{variant:t,color:n,size:r}=e;return zg({root:["root",t&&`variant${wf(t)}`,n&&`color${wf(n)}`,r&&`size${wf(r)}`]},Sy,{})})(f),h=Bu({},m,{component:i,slots:u,slotProps:d}),[v,b]=Ov("root",{ref:n,className:Om(g.root,a),elementType:Ey,externalForwardedProps:h,ownerState:f,additionalProps:{role:"listbox"}});return e(bb,{variant:s,color:l,children:e(v,Bu({},b,{children:o}))})}));function Py(e){return ch("MuiAutocompleteOption",e)}"production"!==process.env.NODE_ENV&&(Iy.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,size:ei.oneOf(["sm","md","lg"]),slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["contained","light","outlined","text"]),ei.string])}),uh("MuiAutocompleteOption",["root","focused","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const Ny=["children","component","color","variant","className","slots","slotProps"],$y=Eh(eb)((({theme:e,ownerState:t})=>{var n,r;return{'&[aria-disabled="true"]':null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color],'&[aria-selected="true"]':Bu({},null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],{fontWeight:e.vars.fontWeight.md})}})),zy=Eh($y,{name:"JoyAutocompleteOption",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ry=r.forwardRef((function(t,n){const r=Ih({props:t,name:"JoyAutocompleteOption"}),{children:o,component:a="li",color:i="neutral",variant:l="plain",className:s,slots:c={},slotProps:u={}}=r,d=lf(r,Ny),{variant:p=l,color:f=i}=vb(t.variant,t.color),m=Bu({},r,{component:a,color:f,variant:p}),g=(e=>{const{color:t,variant:n}=e;return zg({root:["root",t&&`color${wf(t)}`,n&&`variant${wf(n)}`]},Py,{})})(m),h=Bu({},d,{component:a,slots:c,slotProps:u}),[v,b]=Ov("root",{ref:n,className:Om(g.root,s),elementType:zy,externalForwardedProps:h,ownerState:m,additionalProps:{as:a,role:"option"}});return e(v,Bu({},b,{children:o}))}));var Ty,Dy;"production"!==process.env.NODE_ENV&&(Ry.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["contained","light","outlined","text"]),ei.string])});const Ay=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoHighlight","autoSelect","autoFocus","blurOnSelect","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","defaultValue","disableCloseOnSelect","disabledItemsFocusable","disableListWrap","disableClearable","disabled","endDecorator","error","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","handleHomeEndKeys","includeInputInList","isOptionEqualToValue","groupBy","id","inputValue","limitTags","loading","loadingText","multiple","name","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","placeholder","popupIcon","readOnly","renderGroup","renderOption","renderTags","required","type","startDecorator","size","color","variant","value","component","selectOnFocus","slots","slotProps"],My=["onDelete"],_y=["onBlur","onFocus","onMouseDown"],Ly=e=>null!==e.current&&e.current.contains(document.activeElement),Fy=e=>{var t;return null!=(t=e.label)?t:e},Vy=e=>`+${e}`,jy=n=>t(Fv,{nested:!0,children:[e(yy,{sticky:!0,children:n.group}),e(Kv,{children:n.children})]},n.key),By=Eh(ly,{name:"JoyAutocomplete",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Bu({},"sm"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"md"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"lg"===e.size&&{"--Autocomplete-wrapperGap":"4px"},{"@media (pointer: fine)":{[`&:hover .${xy.clearIndicator}`]:{visibility:"visible"}}},e.multiple&&!e.startDecorator&&{paddingInlineStart:0}))),Hy=Eh("div",{name:"JoyAutocomplete",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>({flex:1,minWidth:0,display:"flex",alignItems:"center",flexWrap:"wrap",gap:"var(--Autocomplete-wrapperGap)",[`&.${xy.multiple}`]:Bu({paddingBlock:"var(--Autocomplete-wrapperGap)"},!e.startDecorator&&{paddingInlineStart:"var(--Autocomplete-wrapperGap)"},!e.endDecorator&&{paddingInlineEnd:"var(--Autocomplete-wrapperGap)"})}))),Wy=Eh(sy,{name:"JoyAutocomplete",slot:"Input",overridesResolver:(e,t)=>t.input})((({ownerState:e})=>Bu({minWidth:30,minHeight:"var(--Chip-minHeight)"},e.multiple&&{marginInlineStart:"calc(var(--Autocomplete-wrapperGap) * 2.5)"}))),Gy=Eh(cy,{name:"JoyAutocomplete",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),qy=Eh(uy,{name:"JoyAutocomplete",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})((({ownerState:e})=>Bu({},(e.hasClearIcon||e.hasPopupIcon)&&{"--Button-margin":"0px","--IconButton-margin":"0px","--Icon-margin":"0px"}))),Yy=Eh(Ab,{name:"JoyAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})((({ownerState:e})=>Bu({alignSelf:"center"},!e.hasPopupIcon&&{marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)"},{marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",visibility:e.focused?"visible":"hidden"}))),Uy=Eh(Ab,{name:"JoyAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>t.popupIndicator})({alignSelf:"center",marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)",[`&.${xy.popupIndicatorOpen}`]:{transform:"rotate(180deg)","--Icon-color":"currentColor"}}),Ky=Eh(Oy,{name:"JoyAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`}))),Jy=Eh($y,{name:"JoyAutocomplete",slot:"Option",overridesResolver:(e,t)=>t.option})({}),Xy=Eh(Fv,{name:"JoyAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),Qy=Eh(Fv,{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),Zy=Eh("div",{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})({marginInlineStart:"calc(var(--Input-paddingInline) / 2)",marginBlockStart:"var(--_Input-paddingBlock)"}),ew=r.forwardRef((function(n,o){var a,i,l,s,c,u,d;const p=Ih({props:n,name:"JoyAutocomplete"}),{"aria-describedby":f,"aria-label":m,"aria-labelledby":g,autoFocus:h,clearIcon:v=Ty||(Ty=e(fb,{fontSize:"md"})),clearText:b="Clear",closeText:y="Close",disableClearable:w=!1,disabled:x,endDecorator:S,error:C=!1,forcePopupIcon:k="auto",freeSolo:O=!1,getLimitTagsText:E=Vy,getOptionLabel:I=Fy,groupBy:P,id:N,limitTags:$=-1,loading:z=!1,loadingText:R="Loading…",multiple:T=!1,name:D,noOptionsText:A="No options",openText:M="Open",placeholder:_,popupIcon:L=Dy||(Dy=e(mb,{})),readOnly:F=!1,renderGroup:V=jy,renderOption:j,renderTags:B,required:H,type:W,startDecorator:G,size:q="md",color:Y="neutral",variant:U="outlined",component:K,slots:J={},slotProps:X={}}=p,Q=lf(p,Ay),Z=r.useContext(oy),ee=null!=(a=null!=(i=n.error)?i:null==Z?void 0:Z.error)?a:C,te=null!=(l=null!=(s=n.size)?s:null==Z?void 0:Z.size)?l:q,ne=null!=(c=n.color)?c:ee?"danger":null!=(u=null==Z?void 0:Z.color)?u:Y,re=null!=(d=null!=x?x:null==Z?void 0:Z.disabled)&&d,{getRootProps:oe,getInputProps:ae,getPopupIndicatorProps:ie,getClearProps:le,getTagProps:se,getListboxProps:ce,getOptionProps:ue,value:de,dirty:pe,popupOpen:fe,focused:me,focusedTag:ge,anchorEl:he,setAnchorEl:ve,inputValue:be,groupedOptions:ye}=xv(Bu({},p,{id:null!=N?N:null==Z?void 0:Z.htmlFor,componentName:"Autocomplete",unstable_classNamePrefix:"Mui",unstable_isActiveElementInListbox:Ly})),{onMouseDown:we}=ae(),{onClick:xe}=oe(),Se=!w&&!re&&pe&&!F,Ce=(!O||!0===k)&&!1!==k,ke=Bu({instanceColor:n.color},p,{value:de,disabled:re,focused:me,getOptionLabel:I,hasOptions:!!ye.length,hasClearIcon:Se,hasPopupIcon:Ce,inputFocused:-1===ge,popupOpen:fe,size:te,color:ne,variant:U}),Oe=(e=>{const{disabled:t,focused:n,hasClearIcon:r,hasPopupIcon:o,popupOpen:a,variant:i,color:l,size:s,multiple:c}=e;return zg({root:["root",n&&"focused",r&&"hasClearIcon",o&&"hasPopupIcon",i&&`variant${wf(i)}`,l&&`color${wf(l)}`,s&&`size${wf(s)}`],wrapper:["wrapper",c&&"multiple"],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",a&&"popupIndicatorOpen",t&&"disabled"],listbox:["listbox"],option:["option"],loading:["loading"],noOptions:["noOptions"],limitTag:["limitTag"]},wy,{})})(ke),Ee=Bu({},Q,{component:K,slots:J,slotProps:X});let Ie;if(T&&de.length>0){const t=e=>{const t=se(e),{onDelete:n}=t,r=lf(t,My);return Bu({disabled:re,size:te,onClick:n},r)};Ie=B?B(de,t,ke):de.map(((n,r)=>e(Ub,{size:te,variant:"soft",color:"neutral",endDecorator:e(ty,Bu({},t({index:r}))),sx:{minWidth:0},children:I(n)},r)))}const Pe=gg(o,ve),Ne={[xy.disabled]:re,[xy.error]:ee,[xy.focused]:me,[xy.formControl]:Boolean(Z)},[$e,ze]=Ov("root",{ref:Pe,className:[Oe.root,Ne],elementType:By,externalForwardedProps:Ee,ownerState:ke,getSlotProps:oe,additionalProps:{onClick:e=>{xe&&xe(e),e.currentTarget===e.target&&we&&we(e)}}}),[Re,Te]=Ov("wrapper",{className:Oe.wrapper,elementType:Hy,externalForwardedProps:Ee,ownerState:ke}),De={[xy.disabled]:re},[Ae,Me]=Ov("input",{className:[Oe.input,De],elementType:Wy,getSlotProps:e=>{const t=ae(),{onBlur:n,onFocus:r,onMouseDown:o}=t;return Bu({},lf(t,_y),{onBlur:t=>{var r;null==n||n(t),null==(r=e.onBlur)||r.call(e,t)},onFocus:t=>{var n;null==r||r(t),null==(n=e.onFocus)||n.call(e,t)},onMouseDown:t=>{var n;null==o||o(t),null==(n=e.onMouseDown)||n.call(e,t)}})},externalForwardedProps:Ee,ownerState:ke,additionalProps:{autoFocus:h,placeholder:_,name:D,readOnly:F,disabled:re,required:null!=H?H:null==Z?void 0:Z.required,type:W,"aria-invalid":ee||void 0,"aria-label":m,"aria-labelledby":g,"aria-describedby":null!=f?f:null==Z?void 0:Z["aria-describedby"]}}),[_e,Le]=Ov("startDecorator",{className:Oe.startDecorator,elementType:Gy,externalForwardedProps:Ee,ownerState:ke}),[Fe,Ve]=Ov("endDecorator",{className:Oe.endDecorator,elementType:qy,externalForwardedProps:Ee,ownerState:ke}),[je,Be]=Ov("clearIndicator",{className:Oe.clearIndicator,elementType:Yy,getSlotProps:le,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({size:e.size||te,variant:e.variant||hb(U,ne).variant||"plain",color:e.color||hb(U,ne).color||"neutral",disableColorInversion:!!n.color}),additionalProps:{"aria-label":b,title:b}}),[He,We]=Ov("popupIndicator",{className:Oe.popupIndicator,elementType:Uy,getSlotProps:ie,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({size:e.size||te,variant:e.variant||hb(U,ne).variant||"plain",color:e.color||hb(U,ne).color||"neutral",disableColorInversion:!!n.color}),additionalProps:{disabled:re,"aria-label":fe?y:M,title:fe?y:M,type:"button"}}),[Ge,qe]=Ov("listbox",{className:Oe.listbox,elementType:Ky,getSlotProps:ce,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({size:e.size||te,variant:e.variant||U,color:e.color||ne,disableColorInversion:!e.disablePortal}),additionalProps:{anchorEl:he,open:fe,style:he?{width:he.clientWidth}:{}}}),[Ye,Ue]=Ov("loading",{className:Oe.loading,elementType:Xy,externalForwardedProps:Ee,ownerState:ke}),[Ke,Je]=Ov("noOptions",{className:Oe.noOptions,elementType:Qy,externalForwardedProps:Ee,ownerState:ke,additionalProps:{role:"presentation",onMouseDown:e=>{e.preventDefault()}}}),[Xe,Qe]=Ov("limitTag",{className:Oe.limitTag,elementType:Zy,externalForwardedProps:Ee,ownerState:ke});if($>-1&&Array.isArray(Ie)){const t=Ie.length-$;!me&&t>0&&(Ie=Ie.splice(0,$),Ie.push(e(Xe,Bu({},Qe,{children:E(t)}),Ie.length)))}const[Ze,et]=Ov("option",{className:Oe.option,elementType:Jy,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({variant:e.variant||hb(U,ne).variant||"plain",color:e.color||hb(U,ne).color||"neutral",disableColorInversion:!qe.disablePortal}),additionalProps:{as:"li"}}),tt=j||((t,n)=>e(Ze,Bu({},t,{children:I(n)}))),nt=(e,t)=>{const n=ue({option:e,index:t});return tt(Bu({},et,n),e,{selected:!!n["aria-selected"],inputValue:be,ownerState:ke})},rt=r.useMemo((()=>[{name:"offset",options:{offset:[0,4]}},...qe.modifiers||[]]),[qe.modifiers]);let ot=null;var at;he&&(ot=e(bb,{variant:U,color:ne,children:e(jv,{nested:!0,children:t(Ge,Bu({},qe,{className:Om(qe.className),modifiers:rt},!(null!=(at=p.slots)&&at.listbox)&&{as:hv,slots:{root:qe.as||"ul"}},{children:[ye.map(((e,t)=>{if(P){const t=e;return V({key:String(t.key),group:t.group,children:t.options.map(((e,n)=>nt(e,t.index+n)))})}return nt(e,t)})),z&&0===ye.length?e(Ye,Bu({},Ue,{children:R})):null,0!==ye.length||O||z?null:e(Ke,Bu({},Je,{children:A}))]}))})}));return t(r.Fragment,{children:[t($e,Bu({},ze,{children:[G&&e(_e,Bu({},Le,{children:G})),t(Re,Bu({},Te,{children:[Ie,e(Ae,Bu({},Me))]})),S&&e(Fe,Bu({},Ve,{children:S})),Se?e(je,Bu({},Be,{children:v})):null,Ce?e(He,Bu({},We,{children:L})):null]})),ot]})}));"production"!==process.env.NODE_ENV&&(ew.propTypes={"aria-describedby":ei.string,"aria-label":ei.string,"aria-labelledby":ei.string,autoComplete:ei.bool,autoFocus:ei.bool,autoHighlight:ei.bool,autoSelect:ei.bool,blurOnSelect:ei.oneOfType([ei.oneOf(["mouse","touch"]),ei.bool]),clearIcon:ei.node,clearOnBlur:ei.bool,clearOnEscape:ei.bool,clearText:ei.string,closeText:ei.string,color:ei.oneOf(["danger","neutral","primary","success","warning"]),defaultValue:Zm(ei.any,(e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null)),disableClearable:ei.bool,disableCloseOnSelect:ei.bool,disabled:ei.bool,disabledItemsFocusable:ei.bool,disableListWrap:ei.bool,endDecorator:ei.node,error:ei.bool,filterOptions:ei.func,filterSelectedOptions:ei.bool,forcePopupIcon:ei.oneOfType([ei.oneOf(["auto"]),ei.bool]),freeSolo:ei.bool,getLimitTagsText:ei.func,getOptionDisabled:ei.func,getOptionKey:ei.func,getOptionLabel:ei.func,groupBy:ei.func,handleHomeEndKeys:ei.bool,id:ei.string,includeInputInList:ei.bool,inputValue:ei.string,isOptionEqualToValue:ei.func,limitTags:$g,loading:ei.bool,loadingText:ei.node,multiple:ei.bool,name:ei.string,noOptionsText:ei.node,onChange:ei.func,onClose:ei.func,onHighlightChange:ei.func,onInputChange:ei.func,onKeyDown:ei.func,onOpen:ei.func,open:ei.bool,openOnFocus:ei.bool,openText:ei.string,options:ei.array.isRequired,placeholder:ei.string,popupIcon:ei.node,readOnly:ei.bool,renderGroup:ei.func,renderOption:ei.func,renderTags:ei.func,required:ei.bool,selectOnFocus:ei.bool,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({clearIndicator:ei.oneOfType([ei.func,ei.object]),endDecorator:ei.oneOfType([ei.func,ei.object]),input:ei.oneOfType([ei.func,ei.object]),limitTag:ei.oneOfType([ei.func,ei.object]),listbox:ei.oneOfType([ei.func,ei.object]),loading:ei.oneOfType([ei.func,ei.object]),noOptions:ei.oneOfType([ei.func,ei.object]),option:ei.oneOfType([ei.func,ei.object]),popupIndicator:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),startDecorator:ei.oneOfType([ei.func,ei.object]),wrapper:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({clearIndicator:ei.elementType,endDecorator:ei.elementType,input:ei.elementType,limitTag:ei.elementType,listbox:ei.elementType,loading:ei.elementType,noOptions:ei.elementType,option:ei.elementType,popupIndicator:ei.elementType,root:ei.elementType,startDecorator:ei.elementType,wrapper:ei.elementType}),startDecorator:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),type:ei.string,value:Zm(ei.any,(e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null)),variant:ei.oneOf(["outlined","plain","soft","solid"])});const tw=Nm("MuiBox",["root"]),nw=function(t={}){const{themeId:n,defaultTheme:o,defaultClassName:a="MuiBox-root",generateClassName:i}=t,l=af("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(fm);return r.forwardRef((function(t,r){const s=ym(o),c=function(e){const{sx:t}=e,n=lf(e,wm),{systemProps:r,otherProps:o}=xm(n);let a;return a=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return sf(n)?Bu({},r,n):r}:Bu({},r,t),Bu({},o,{sx:a})}(t),{className:u,component:d="div"}=c,p=lf(c,Em);return e(l,Bu({as:d,ref:r,className:Om(u,i?i(a):a),theme:n&&s[n]||s},p))}))}({themeId:Vu,defaultTheme:vh,defaultClassName:tw.root,generateClassName:Cm.generate});"production"!==process.env.NODE_ENV&&(nw.propTypes={children:ei.node,component:ei.elementType,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])});const rw=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(rw.displayName="ModalDialogVariantColorContext");const ow=uh("MuiDialogTitle",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]),aw=r.createContext(void 0);function iw(e){return ch("MuiModal",e)}"production"!==process.env.NODE_ENV&&(aw.displayName="ModalDialogSizeContext"),uh("MuiModal",["root","hidden","backdrop"]);const lw=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(lw.displayName="CloseModalContext");const sw=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],cw=Eh("div")((({ownerState:e,theme:t})=>Bu({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"}))),uw=Eh(cw,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),dw=Eh("div")((({theme:e})=>({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent",backdropFilter:"blur(8px)"}))),pw=Eh(dw,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({}),fw=r.forwardRef((function(n,o){const a=Ih({props:n,name:"JoyModal"}),{children:i,container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:p=!1,disableScrollLock:f=!1,hideBackdrop:m=!1,keepMounted:g=!1,onClose:h,open:v,component:b,slots:y={},slotProps:w={}}=a,x=lf(a,sw),S=Bu({},a,{disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:p,disableScrollLock:f,hideBackdrop:m,keepMounted:g}),{getRootProps:C,getBackdropProps:k,rootRef:O,portalRef:E,isTopModal:I}=iv(Bu({},S,{rootRef:o})),P=(e=>{const{open:t}=e;return zg({root:["root",!t&&"hidden"],backdrop:["backdrop"]},iw,{})})(S),N=Bu({},x,{component:b,slots:y,slotProps:w}),[$,z]=Ov("root",{ref:O,className:P.root,elementType:uw,externalForwardedProps:N,getSlotProps:C,ownerState:S}),[R,T]=Ov("backdrop",{className:P.backdrop,elementType:pw,externalForwardedProps:N,getSlotProps:k,ownerState:S});return g||v?e(lw.Provider,{value:h,children:e(Zh,{ref:E,container:l,disablePortal:d,children:t($,Bu({},z,{children:[m?null:e(R,Bu({},T)),e(Jh,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:p,isEnabled:I,open:v,children:r.Children.only(i)&&r.cloneElement(i,Bu({},void 0===i.props.tabIndex&&{tabIndex:-1}))})]}))})}):null}));function mw(e){return ch("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(fw.propTypes={children:tg.isRequired,component:ei.elementType,container:ei.oneOfType([og,ei.func]),disableAutoFocus:ei.bool,disableEnforceFocus:ei.bool,disableEscapeKeyDown:ei.bool,disablePortal:ei.bool,disableRestoreFocus:ei.bool,disableScrollLock:ei.bool,hideBackdrop:ei.bool,keepMounted:ei.bool,onClose:ei.func,onKeyDown:ei.func,open:ei.bool.isRequired,slotProps:ei.shape({backdrop:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({backdrop:ei.elementType,root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])}),uh("MuiDrawer",["root","hidden","backdrop","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);const gw=["children","anchor","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","color","variant","invertedColors","size","onClose","onKeyDown","open","component","slots","slotProps"],hw=Eh(cw,{name:"JoyDrawer",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Bu({"--Drawer-transitionDuration":"0.3s","--Drawer-transitionFunction":"ease","--ModalClose-radius":"max((var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(350px, 30%, 100%)","--Drawer-horizontalSize":"clamp(256px, 20%, 100%)","--Drawer-titleMargin":"0.625rem 0.75rem calc(0.625rem / 2)"},"md"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(400px, 45%, 100%)","--Drawer-horizontalSize":"clamp(300px, 30%, 100%)","--Drawer-titleMargin":"0.75rem 0.75rem calc(0.75rem / 2)"},"lg"===e.size&&{"--ModalClose-inset":"0.75rem","--Drawer-verticalSize":"clamp(500px, 60%, 100%)","--Drawer-horizontalSize":"clamp(440px, 60%, 100%)","--Drawer-titleMargin":"1rem 1rem calc(1rem / 2)"},{transitionProperty:"visibility",transitionDelay:e.open?"0s":"var(--Drawer-transitionDuration)"},!e.open&&{visibility:"hidden"}))),vw=Eh(dw,{name:"JoyDrawer",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})((({ownerState:e})=>({opacity:e.open?1:0,transition:"opacity var(--Drawer-transitionDuration) ease-in-out"}))),bw=Eh("div",{name:"JoyDrawer",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>{var n;return Bu({},e.typography[`body-${t.size}`],{boxShadow:e.shadow.md,backgroundColor:e.vars.palette.background.surface,outline:0,display:"flex",flexDirection:"column",position:"fixed",boxSizing:"border-box",overflow:"auto"},"left"===t.anchor&&{top:0,left:0,transform:t.open?"translateX(0)":"translateX(-100%)"},"right"===t.anchor&&{top:0,right:0,transform:t.open?"translateX(0)":"translateX(100%)"},"top"===t.anchor&&{top:0,transform:t.open?"translateY(0)":"translateY(-100%)"},"bottom"===t.anchor&&{bottom:0,transform:t.open?"translateY(0)":"translateY(100%)"},{height:t.anchor.match(/(left|right)/)?"100%":"min(100vh, var(--Drawer-verticalSize))",width:t.anchor.match(/(top|bottom)/)?"100vw":"min(100vw, var(--Drawer-horizontalSize))",transition:"transform var(--Drawer-transitionDuration) var(--Drawer-transitionFunction)"},"solid"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const n=void 0!==t.theme?t.theme:t,r=Qg(n.cssVarPrefix),o=cb(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[db]:{"--Badge-ringColor":a(`palette-${e}-solidBg`),"--Icon-color":"currentColor",[`${n.getColorSchemeSelector("light")}, ${n.getColorSchemeSelector("dark")}`]:{colorScheme:"dark",[o("--palette-focusVisible")]:a(`palette-${e}-200`),[o("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[o("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[o("--palette-background-popup")]:a(`palette-${e}-700`),[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[o("--palette-text-primary")]:a("palette-common-white"),[o("--palette-text-secondary")]:a(`palette-${e}-200`),[o("--palette-text-tertiary")]:a(`palette-${e}-300`),[o("--palette-text-icon")]:a(`palette-${e}-200`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softActiveColor":"#fff","--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`}},[`&, & [${ub}]`]:pb(n)}})(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const{theme:n=t}=t,r=Qg(n.cssVarPrefix),o=cb(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[db]:{"--Badge-ringColor":a(`palette-${e}-softBg`),"--Icon-color":"currentColor",[n.getColorSchemeSelector("dark")]:{[o("--palette-focusVisible")]:a(`palette-${e}-300`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,[o("--palette-text-primary")]:a(`palette-${e}-100`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-text-icon")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${e}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${e}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${e}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${e}-200`),"--variant-softBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${e}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`},[n.getColorSchemeSelector("light")]:{[o("--palette-focusVisible")]:a(`palette-${e}-500`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,[o("--palette-text-primary")]:a(`palette-${e}-700`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.68)`,[o("--palette-text-icon")]:a(`palette-${e}-500`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${e}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${e}-600`),"--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${e}-600`),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${e}-700`),"--variant-softHoverBg":a(`palette-${e}-200`),"--variant-softActiveBg":a(`palette-${e}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${e}-${"neutral"===e?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`}},[`&, & [${ub}]`]:pb(n)}})(t.color)(e),null==(n=e.variants[t.variant])?void 0:n[t.color],{[`& > .${ow.root}`]:{"--unstable_DialogTitle-margin":"var(--Drawer-titleMargin)"}})})),yw=r.forwardRef((function(n,o){const a=Ih({props:n,name:"JoyDrawer"}),{children:i,anchor:l="left",container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:m=!1,hideBackdrop:g=!1,color:h="neutral",variant:v="plain",invertedColors:b=!1,size:y="md",onClose:w,open:x,component:S,slots:C={},slotProps:k={}}=a,O=lf(a,gw),E=Bu({},a,{anchor:l,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:g,invertedColors:b,color:h,variant:v,size:y}),{getRootProps:I,getBackdropProps:P,rootRef:N,portalRef:$,isTopModal:z}=iv(Bu({},E,{rootRef:o,children:null})),R=(e=>{const{open:t,variant:n,color:r,size:o}=e;return zg({root:["root",!t&&"hidden",n&&`variant${wf(n)}`,r&&`color${wf(r)}`,o&&`size${wf(o)}`],backdrop:["backdrop"],content:["content"]},mw,{})})(E),T=Bu({},O,{component:S,slots:C,slotProps:k}),D=pg(),A=pg(),M=r.useMemo((()=>({variant:v,color:h,labelledBy:D,describedBy:A})),[h,v,D,A]),[_,L]=Ov("root",{ref:N,className:R.root,elementType:hw,externalForwardedProps:T,getSlotProps:I,ownerState:E}),[F,V]=Ov("backdrop",{className:R.backdrop,elementType:vw,externalForwardedProps:T,getSlotProps:P,ownerState:E}),[j,B]=Ov("content",{className:R.content,elementType:bw,additionalProps:{tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":D,"aria-describedby":A},externalForwardedProps:T,ownerState:E});return e(lw.Provider,{value:w,children:e(aw.Provider,{value:y,children:e(rw.Provider,{value:M,children:e(Zh,{ref:$,container:s,disablePortal:p,children:t(_,Bu({},L,{children:[g?null:e(F,Bu({},V)),e(Jh,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:f,isEnabled:z,open:x,children:e(j,Bu({},B,{children:i}))})]}))})})})})}));function ww(e){return ch("MuiListItemDecorator",e)}"production"!==process.env.NODE_ENV&&(yw.propTypes={anchor:ei.oneOf(["bottom","left","right","top"]),children:ei.node,color:ei.oneOf(["danger","neutral","primary","success","warning"]),component:ei.elementType,container:ei.oneOfType([og,ei.func]),disableAutoFocus:ei.bool,disableEnforceFocus:ei.bool,disableEscapeKeyDown:ei.bool,disablePortal:ei.bool,disableRestoreFocus:ei.bool,disableScrollLock:ei.bool,hideBackdrop:ei.bool,invertedColors:ei.bool,onClose:ei.func,onKeyDown:ei.func,open:ei.bool.isRequired,size:ei.oneOf(["sm","md","lg"]),slotProps:ei.shape({backdrop:ei.oneOfType([ei.func,ei.object]),content:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({backdrop:ei.elementType,content:ei.elementType,root:ei.elementType}),variant:ei.oneOf(["outlined","plain","soft","solid"])}),uh("MuiListItemDecorator",["root"]);const xw=["component","className","children","slots","slotProps"],Sw=Eh("span",{name:"JoyListItemDecorator",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Bu({boxSizing:"border-box",display:"inline-flex",alignItems:`var(--unstable_ListItemDecorator-alignItems, ${"horizontal"===e.parentOrientation?"center":"initial"})`},"horizontal"===e.parentOrientation?{minInlineSize:"var(--ListItemDecorator-size)",marginInlineEnd:"calc(-1 * var(--ListItem-gap))"}:{minBlockSize:"var(--ListItemDecorator-size)",justifyContent:"center",marginBlockEnd:"calc(-1 * var(--ListItem-gap))"}))),Cw=r.forwardRef((function(t,n){const o=Ih({props:t,name:"JoyListItemDecorator"}),{component:a,className:i,children:l,slots:s={},slotProps:c={}}=o,u=lf(o,xw),d=Bu({parentOrientation:r.useContext(Qv)},o),p=zg({root:["root"]},ww,{}),f=Bu({},u,{component:a,slots:s,slotProps:c}),[m,g]=Ov("root",{ref:n,className:Om(p.root,i),elementType:Sw,externalForwardedProps:f,ownerState:d});return e(m,Bu({},g,{children:l}))}));"production"!==process.env.NODE_ENV&&(Cw.propTypes={children:ei.node,className:ei.string,component:ei.elementType,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])});var kw=function(){throw new Error(["MUI: `TextField` component has been removed in favor of Input composition.","","To migrate, run `npx @mui/codemod@latest v5.0.0/joy-text-field-to-input <path>`.","For the codemod detail, visit https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#joy-text-field-to-input\n\nTo learn more why it has been removed, visit the RFC https://github.com/mui/material-ui/issues/34176"].join("\n"))};const Ow=on.div`
|
|
1047
|
+
`),Qb))),oy=r.forwardRef((function(n,r){const o=Qh({props:n,name:"JoyCircularProgress"}),{children:a,className:i,color:l="primary",size:s="md",variant:c="soft",thickness:u,determinate:d=!1,value:p=(d?0:25),component:f,slots:m={},slotProps:g={}}=o,h=lf(o,Xb),v=Bu({},o,{color:l,size:s,variant:c,thickness:u,value:p,determinate:d,instanceSize:n.size}),b=(e=>{const{determinate:t,color:n,variant:r,size:o}=e;return Mg({root:["root",t&&"determinate",n&&`color${wf(n)}`,r&&`variant${wf(r)}`,o&&`size${wf(o)}`],svg:["svg"],track:["track"],progress:["progress"]},Yb,{})})(v),y=Bu({},h,{component:f,slots:m,slotProps:g}),[w,x]=Jv("root",{ref:r,className:Em(b.root,i),elementType:ey,externalForwardedProps:y,ownerState:v,additionalProps:Bu({role:"progressbar",style:{"--CircularProgress-percent":p}},p&&d&&{"aria-valuenow":"number"==typeof p?Math.round(p):Math.round(Number(p||0))})}),[S,C]=Jv("svg",{className:b.svg,elementType:ty,externalForwardedProps:y,ownerState:v}),[k,O]=Jv("track",{className:b.track,elementType:ny,externalForwardedProps:y,ownerState:v}),[E,I]=Jv("progress",{className:b.progress,elementType:ry,externalForwardedProps:y,ownerState:v});return t(w,Bu({},x,{children:[t(S,Bu({},C,{children:[e(k,Bu({},O)),e(E,Bu({},I))]})),a]}))}));"production"!==process.env.NODE_ENV&&(oy.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,determinate:ei.bool,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({progress:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),svg:ei.oneOfType([ei.func,ei.object]),track:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({progress:ei.elementType,root:ei.elementType,svg:ei.elementType,track:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),thickness:ei.number,value:ei.number,variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});const ay=["children","action","component","color","disabled","variant","loading","loadingIndicator","size","slots","slotProps"],iy=Xh("button")((({theme:e,ownerState:t})=>{var n,r,o,a;return[Bu({"--Icon-margin":"initial","--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon},t.instanceSize&&{"--IconButton-size":{sm:"2rem",md:"2.25rem",lg:"2.75rem"}[t.instanceSize]},"sm"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.6)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px"},"md"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.25rem) / 1.5)","--CircularProgress-size":"20px","--CircularProgress-thickness":"2px",minWidth:"var(--IconButton-size, 2.25rem)",minHeight:"var(--IconButton-size, 2.25rem)",fontSize:e.vars.fontSize.md,paddingInline:"0.25rem"},"lg"===t.size&&{"--Icon-fontSize":"calc(var(--IconButton-size, 2.75rem) / 1.571)","--CircularProgress-size":"28px","--CircularProgress-thickness":"4px",minWidth:"var(--IconButton-size, 2.75rem)",minHeight:"var(--IconButton-size, 2.75rem)",fontSize:e.vars.fontSize.lg,paddingInline:"0.375rem"},{WebkitTapHighlightColor:"transparent",paddingBlock:0,fontFamily:e.vars.fontFamily.body,fontWeight:e.vars.fontWeight.md,margin:"var(--IconButton-margin)",borderRadius:`var(--IconButton-radius, ${e.vars.radius.sm})`,border:"none",boxSizing:"border-box",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",[e.focus.selector]:Bu({"--Icon-color":"currentColor"},e.focus.default)}),Bu({},null==(n=e.variants[t.variant])?void 0:n[t.color],{"&:hover":{"@media (hover: hover)":Bu({"--Icon-color":"currentColor"},null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color])},'&:active, &[aria-pressed="true"]':Bu({"--Icon-color":"currentColor"},null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]),"&:disabled":null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]})]})),ly=Xh(iy,{name:"JoyIconButton",slot:"Root",overridesResolver:(e,t)=>t.root})({}),sy=Xh("span",{name:"JoyIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})((({theme:e,ownerState:t})=>{var n,r;return Bu({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:null==(n=e.variants[t.variant])||null==(n=n[t.color])?void 0:n.color},t.disabled&&{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color})})),cy=r.forwardRef((function(t,n){var o;const a=Qh({props:t,name:"JoyIconButton"}),{children:i,action:l,component:s="button",color:c="neutral",disabled:u,variant:d="plain",loading:p=!1,loadingIndicator:f,size:m="md",slots:g={},slotProps:h={}}=a,v=lf(a,ay),b=r.useContext(Gb),y=r.useContext(qb),w=t.variant||b.variant||d,x=t.size||b.size||m,S=t.color||b.color||c,C=null!=(o=t.loading||t.disabled)?o:b.disabled||p||u,k=r.useRef(null),O=wg(k,n),{focusVisible:E,setFocusVisible:I,getRootProps:P}=vv(Bu({},a,{disabled:C,rootRef:O})),$=null!=f?f:e(oy,{color:S,thickness:{sm:2,md:3,lg:4}[x]||3});r.useImperativeHandle(l,(()=>({focusVisible:()=>{var e;I(!0),null==(e=k.current)||e.focus()}})),[I]);const N=Bu({},a,{component:s,color:S,disabled:C,variant:w,loading:p,size:x,focusVisible:E,instanceSize:t.size}),z=(e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,size:a,variant:i,loading:l}=e,s=Mg({root:["root",n&&"disabled",r&&"focusVisible",i&&`variant${wf(i)}`,t&&`color${wf(t)}`,a&&`size${wf(a)}`,l&&"loading"],loadingIndicator:["loadingIndicator"]},Wb,{});return r&&o&&(s.root+=` ${o}`),s})(N);let R=a["aria-pressed"];"function"==typeof h.root?R=h.root(N)["aria-pressed"]:h.root&&(R=h.root["aria-pressed"]),null!=y&&y.value&&(R=Array.isArray(y.value)?-1!==y.value.indexOf(a.value):y.value===a.value);const T=Bu({},v,{component:s,slots:g,slotProps:h}),[D,A]=Jv("root",{ref:n,className:z.root,elementType:ly,getSlotProps:P,externalForwardedProps:T,ownerState:N,additionalProps:{onClick:e=>{var t;let n=a.onClick;var r;("function"==typeof h.root?n=h.root(N).onClick:h.root&&(n=h.root.onClick),null==(t=n)||t(e),y)&&(null==(r=y.onClick)||r.call(y,e,a.value))},"aria-pressed":R}}),[M,_]=Jv("loadingIndicator",{className:z.loadingIndicator,elementType:sy,externalForwardedProps:T,ownerState:N});return e(D,Bu({},A,{children:p?e(M,Bu({},_,{children:$})):i}))}));function uy(e){return Dh("MuiChip",e)}"production"!==process.env.NODE_ENV&&(cy.propTypes={action:ei.oneOfType([ei.func,ei.shape({current:ei.shape({focusVisible:ei.func.isRequired})})]),children:ei.node,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,focusVisibleClassName:ei.string,loading:ei.bool,loadingIndicator:ei.node,onClick:ei.func,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({loadingIndicator:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({loadingIndicator:ei.elementType,root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),tabIndex:ei.number,value:ei.oneOfType([ei.arrayOf(ei.string),ei.number,ei.string]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),cy.muiName="IconButton";const dy=Ah("MuiChip",["root","clickable","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","disabled","endDecorator","focusVisible","label","labelSm","labelMd","labelLg","sizeSm","sizeMd","sizeLg","startDecorator","variantPlain","variantSolid","variantSoft","variantOutlined"]),py=r.createContext({disabled:void 0,variant:void 0,color:void 0});"production"!==process.env.NODE_ENV&&(py.displayName="ChipColorContext");const fy=["children","className","color","onClick","disabled","size","variant","startDecorator","endDecorator","component","slots","slotProps"],my=Xh("div",{name:"JoyChip",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r,o;const a=null==(n=e.variants[t.variant])?void 0:n[t.color],{borderRadius:i}=fb({theme:e,ownerState:t},["borderRadius"]);return[Bu({"--Chip-decoratorChildOffset":"min(calc(var(--Chip-paddingInline) - (var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2), var(--Chip-paddingInline))","--Chip-decoratorChildRadius":"max(var(--_Chip-radius) - var(--variant-borderWidth, 0px) - var(--_Chip-paddingBlock), min(var(--_Chip-paddingBlock) + var(--variant-borderWidth, 0px), var(--_Chip-radius) / 2))","--Chip-deleteRadius":"var(--Chip-decoratorChildRadius)","--Chip-deleteSize":"var(--Chip-decoratorChildHeight)","--Avatar-radius":"var(--Chip-decoratorChildRadius)","--Avatar-size":"var(--Chip-decoratorChildHeight)","--Icon-margin":"initial","--Icon-color":"currentColor","--unstable_actionRadius":"var(--_Chip-radius)"},"sm"===t.size&&{"--Chip-paddingInline":"0.375rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.sm,"--_Chip-minHeight":"var(--Chip-minHeight, 1.25rem)",gap:"3px"},"md"===t.size&&{"--Chip-paddingInline":"0.5rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.25rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.md,"--_Chip-minHeight":"var(--Chip-minHeight, 1.5rem)",gap:"0.25rem"},"lg"===t.size&&{"--Chip-paddingInline":"0.75rem","--Chip-decoratorChildHeight":"calc(var(--_Chip-minHeight) - 0.375rem - 2 * var(--variant-borderWidth))","--Icon-fontSize":e.vars.fontSize.lg,"--_Chip-minHeight":"var(--Chip-minHeight, 1.75rem)",gap:"0.375rem"},{"--_Chip-radius":"var(--Chip-radius, 1.5rem)","--_Chip-paddingBlock":"max((var(--_Chip-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Chip-decoratorChildHeight)) / 2, 0px)",minHeight:"var(--_Chip-minHeight)",maxWidth:"max-content",paddingInline:"var(--Chip-paddingInline)",borderRadius:"var(--_Chip-radius)",position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",whiteSpace:"nowrap",textDecoration:"none",verticalAlign:"middle",boxSizing:"border-box"},e.typography[`body-${{sm:"xs",md:"sm",lg:"md"}[t.size]}`],{fontWeight:e.vars.fontWeight.md,[`&.${dy.disabled}`]:{color:null==(r=e.variants[`${t.variant}Disabled`])||null==(r=r[t.color])?void 0:r.color}}),...t.clickable?[{"--variant-borderWidth":"0px",color:null==a?void 0:a.color}]:[Bu({backgroundColor:e.vars.palette.background.surface},a,{[`&.${dy.disabled}`]:null==(o=e.variants[`${t.variant}Disabled`])?void 0:o[t.color]})],void 0!==i&&{"--_Chip-radius":i}]})),gy=Xh("span",{name:"JoyChip",slot:"Label",overridesResolver:(e,t)=>t.label})((({ownerState:e})=>Bu({display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",order:1,minInlineSize:0,flexGrow:1},e.clickable&&{zIndex:1,pointerEvents:"none"}))),hy=Xh("button",{name:"JoyChip",slot:"Action",overridesResolver:(e,t)=>t.action})((({theme:e,ownerState:t})=>{var n,r,o,a;return[{"--Icon-color":"neutral"!==t.color||"solid"===t.variant?"currentColor":e.vars.palette.text.icon,position:"absolute",zIndex:0,top:0,left:0,bottom:0,right:0,width:"100%",border:"none",cursor:"pointer",padding:"initial",margin:"initial",backgroundColor:"initial",textDecoration:"none",borderRadius:"inherit",[e.focus.selector]:e.focus.default},Bu({backgroundColor:e.vars.palette.background.surface},null==(n=e.variants[t.variant])?void 0:n[t.color]),{"&:hover":{"@media (hover: hover)":null==(r=e.variants[`${t.variant}Hover`])?void 0:r[t.color]}},{"&:active":null==(o=e.variants[`${t.variant}Active`])?void 0:o[t.color]},{[`&.${dy.disabled}`]:null==(a=e.variants[`${t.variant}Disabled`])?void 0:a[t.color]}]})),vy=Xh("span",{name:"JoyChip",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Avatar-marginInlineStart":"calc(var(--Chip-decoratorChildOffset) * -1)","--IconButton-margin":"0 calc(-1 * var(--Chip-paddingInline) / 3) 0 calc(var(--Chip-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Chip-paddingInline) / -4)",display:"inherit",order:0,zIndex:1,pointerEvents:"none"}),by=Xh("span",{name:"JoyChip",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--IconButton-margin":"0 calc(var(--Chip-decoratorChildOffset) * -1) 0 calc(-1 * var(--Chip-paddingInline) / 3)","--Icon-margin":"0 calc(var(--Chip-paddingInline) / -4) 0 0",display:"inherit",order:2,zIndex:1,pointerEvents:"none"}),yy=r.forwardRef((function(n,o){const a=Qh({props:n,name:"JoyChip"}),{children:i,className:l,color:s="neutral",onClick:c,disabled:u=!1,size:d="md",variant:p="soft",startDecorator:f,endDecorator:m,component:g,slots:h={},slotProps:v={}}=a,b=lf(a,fy),y=!!c||!!v.action,w=Bu({},a,{disabled:u,size:d,color:s,variant:p,clickable:y,focusVisible:!1}),x="function"==typeof v.action?v.action(w):v.action,S=r.useRef(null),{focusVisible:C,getRootProps:k}=vv(Bu({},x,{disabled:u,rootRef:S}));w.focusVisible=C;const O=(e=>{const{disabled:t,size:n,color:r,clickable:o,variant:a,focusVisible:i}=e;return Mg({root:["root",t&&"disabled",r&&`color${wf(r)}`,n&&`size${wf(n)}`,a&&`variant${wf(a)}`,o&&"clickable"],action:["action",t&&"disabled",i&&"focusVisible"],label:["label",n&&`label${wf(n)}`],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},uy,{})})(w),E=Bu({},b,{component:g,slots:h,slotProps:v}),[I,P]=Jv("root",{ref:o,className:Em(O.root,l),elementType:my,externalForwardedProps:E,ownerState:w}),[$,N]=Jv("label",{className:O.label,elementType:gy,externalForwardedProps:E,ownerState:w}),z=vg(N.id),[R,T]=Jv("action",{className:O.action,elementType:hy,externalForwardedProps:E,ownerState:w,getSlotProps:k,additionalProps:{"aria-labelledby":z,as:null==x?void 0:x.component,onClick:c}}),[D,A]=Jv("startDecorator",{className:O.startDecorator,elementType:vy,externalForwardedProps:E,ownerState:w}),[M,_]=Jv("endDecorator",{className:O.endDecorator,elementType:by,externalForwardedProps:E,ownerState:w}),L=r.useMemo((()=>({disabled:u})),[u]);return e(py.Provider,{value:L,children:e(Hb,{variant:p,color:s,children:t(I,Bu({},P,{children:[y&&e(R,Bu({},T)),e($,Bu({},N,{id:z,children:i})),f&&e(D,Bu({},A,{children:f})),m&&e(M,Bu({},_,{children:m}))]}))})})}));"production"!==process.env.NODE_ENV&&(yy.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,endDecorator:ei.node,onClick:ei.func,size:ei.oneOfType([ei.oneOf(["lg","md","sm"]),ei.string]),slotProps:ei.shape({action:ei.oneOfType([ei.func,ei.object]),endDecorator:ei.oneOfType([ei.func,ei.object]),label:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),startDecorator:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({action:ei.elementType,endDecorator:ei.elementType,label:ei.elementType,root:ei.elementType,startDecorator:ei.elementType}),startDecorator:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});var wy,xy=Tb(e("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Cancel");function Sy(e){return Dh("MuiChipDelete",e)}Ah("MuiChipDelete",["root","disabled","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSolid","variantSoft","variantOutlined"]);const Cy=["children","variant","color","disabled","onKeyDown","onDelete","onClick","component","slots","slotProps"],ky=["onDelete"],Oy=Xh(iy,{name:"JoyChipDelete",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({"--IconButton-size":"var(--Chip-deleteSize, 2rem)","--Icon-fontSize":"calc(var(--IconButton-size, 2rem) / 1.3)",minWidth:"var(--IconButton-size, 2rem)",minHeight:"var(--IconButton-size, 2rem)",fontSize:e.vars.fontSize.sm,paddingInline:"2px",pointerEvents:"visible",borderRadius:"var(--Chip-deleteRadius, 50%)",zIndex:1,padding:0}))),Ey=r.forwardRef((function(t,n){const o=Qh({props:t,name:"JoyChipDelete"}),{children:a,variant:i="plain",color:l="neutral",disabled:s,onKeyDown:c,onDelete:u,onClick:d,component:p,slots:f={},slotProps:m={}}=o,g=lf(o,Cy),h=r.useContext(py),{variant:v=i,color:b=l}=Bb(t.variant,t.color,!0),y=t.color||b,w=null!=s?s:h.disabled,x=wg(r.useRef(null),n),{focusVisible:S,getRootProps:C}=vv(Bu({},o,{disabled:w,rootRef:x})),k=Bu({},o,{disabled:w,variant:v,color:y,focusVisible:S}),O=(e=>{const{focusVisible:t,variant:n,color:r,disabled:o}=e;return Mg({root:["root",o&&"disabled",t&&"focusVisible",n&&`variant${wf(n)}`,r&&`color${wf(r)}`]},Sy,{})})(k),E=Bu({},g,{component:p,slots:f,slotProps:m}),[I,P]=Jv("root",{ref:n,elementType:Oy,getSlotProps:C,externalForwardedProps:E,ownerState:k,additionalProps:{as:p,onKeyDown:e=>{["Backspace","Enter","Delete"].includes(e.key)&&(e.preventDefault(),!w&&u&&u(e)),c&&c(e)},onClick:e=>{!w&&u&&u(e),d&&d(e)}},className:O.root}),$=lf(P,ky);return e(I,Bu({},$,{children:null!=a?a:wy||(wy=e(xy,{}))}))}));function Iy(e){return Dh("MuiInput",e)}"production"!==process.env.NODE_ENV&&(Ey.propTypes={children:ei.node,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,disabled:ei.bool,onClick:ei.func,onDelete:ei.func,onKeyDown:ei.func,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});const Py=Ah("MuiInput",["root","input","formControl","focused","disabled","error","adornedStart","adornedEnd","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid","fullWidth","startDecorator","endDecorator"]),$y=r.createContext(void 0);"production"!==process.env.NODE_ENV&&($y.displayName="FormControlContext");const Ny=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoFocus","className","defaultValue","disabled","disabledInProp","error","id","name","onClick","onChange","onKeyDown","onKeyUp","onFocus","onBlur","placeholder","readOnly","required","type","value"];const zy=["propsToForward","rootStateClasses","inputStateClasses","getRootProps","getInputProps","formControl","focused","error","disabled","fullWidth","size","color","variant","startDecorator","endDecorator","component","slots","slotProps"],Ry=Xh("div")((({theme:e,ownerState:t})=>{var n,r,o,a,i,l;const s=null==(n=e.variants[`${t.variant}`])?void 0:n[t.color];return[Bu({"--Input-radius":e.vars.radius.sm,"--Input-gap":"0.5rem","--Input-placeholderColor":"inherit","--Input-placeholderOpacity":.64,"--Input-decoratorColor":e.vars.palette.text.icon,"--Input-focused":"0","--Input-focusedThickness":e.vars.focus.thickness,"--Input-focusedHighlight":null==(r=e.vars.palette["neutral"===t.color?"primary":t.color])?void 0:r[500],[`&:not([${Ab}])`]:Bu({},t.instanceColor&&{"--_Input-focusedHighlight":null==(o=e.vars.palette["neutral"===t.instanceColor?"primary":t.instanceColor])?void 0:o[500]},{"--Input-focusedHighlight":`var(--_Input-focusedHighlight, ${e.vars.palette.focusVisible})`})},"sm"===t.size&&{"--Input-minHeight":"2rem","--Input-paddingInline":"0.5rem","--Input-decoratorChildHeight":"min(1.5rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl},"md"===t.size&&{"--Input-minHeight":"2.25rem","--Input-paddingInline":"0.75rem","--Input-decoratorChildHeight":"min(1.75rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},"lg"===t.size&&{"--Input-minHeight":"2.75rem","--Input-paddingInline":"1rem","--Input-gap":"0.75rem","--Input-decoratorChildHeight":"min(2.25rem, var(--Input-minHeight))","--Icon-fontSize":e.vars.fontSize.xl2},{"--Input-decoratorChildOffset":"min(calc(var(--Input-paddingInline) - (var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2), var(--Input-paddingInline))","--_Input-paddingBlock":"max((var(--Input-minHeight) - 2 * var(--variant-borderWidth, 0px) - var(--Input-decoratorChildHeight)) / 2, 0px)","--Input-decoratorChildRadius":"max(var(--Input-radius) - var(--variant-borderWidth, 0px) - var(--_Input-paddingBlock), min(var(--_Input-paddingBlock) + var(--variant-borderWidth, 0px), var(--Input-radius) / 2))","--Button-minHeight":"var(--Input-decoratorChildHeight)","--Button-paddingBlock":"0px","--IconButton-size":"var(--Input-decoratorChildHeight)","--Button-radius":"var(--Input-decoratorChildRadius)","--IconButton-radius":"var(--Input-decoratorChildRadius)",boxSizing:"border-box"},"plain"!==t.variant&&{boxShadow:e.shadow.xs},{minWidth:0,minHeight:"var(--Input-minHeight)"},t.fullWidth&&{width:"100%"},{cursor:"text",position:"relative",display:"flex",paddingInline:"var(--Input-paddingInline)",borderRadius:"var(--Input-radius)"},e.typography[`body-${t.size}`],s,{backgroundColor:null!=(a=null==s?void 0:s.backgroundColor)?a:e.vars.palette.background.surface,"&::before":{boxSizing:"border-box",content:'""',display:"block",position:"absolute",pointerEvents:"none",top:0,left:0,right:0,bottom:0,zIndex:1,borderRadius:"inherit",margin:"calc(var(--variant-borderWidth, 0px) * -1)",boxShadow:"var(--Input-focusedInset, inset) 0 0 0 calc(var(--Input-focused) * var(--Input-focusedThickness)) var(--Input-focusedHighlight)"}}),{"&:hover":Bu({},null==(i=e.variants[`${t.variant}Hover`])?void 0:i[t.color],{backgroundColor:null}),[`&.${Py.disabled}`]:null==(l=e.variants[`${t.variant}Disabled`])?void 0:l[t.color],"&:focus-within::before":{"--Input-focused":"1"}}]})),Ty=Xh("input")((({ownerState:e})=>({border:"none",minWidth:0,outline:0,padding:0,flex:1,color:"inherit",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",fontStyle:"inherit",fontWeight:"inherit",lineHeight:"inherit",textOverflow:"ellipsis","&:-webkit-autofill":Bu({paddingInline:"var(--Input-paddingInline)"},!e.startDecorator&&{marginInlineStart:"calc(-1 * var(--Input-paddingInline))",paddingInlineStart:"var(--Input-paddingInline)",borderTopLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomLeftRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"},!e.endDecorator&&{marginInlineEnd:"calc(-1 * var(--Input-paddingInline))",paddingInlineEnd:"var(--Input-paddingInline)",borderTopRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))",borderBottomRightRadius:"calc(var(--Input-radius) - var(--variant-borderWidth, 0px))"}),"&::-webkit-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-moz-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&:-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"},"&::-ms-input-placeholder":{color:"var(--Input-placeholderColor)",opacity:"var(--Input-placeholderOpacity)"}}))),Dy=Xh("div")({"--Button-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--IconButton-margin":"0 0 0 calc(var(--Input-decoratorChildOffset) * -1)","--Icon-margin":"0 0 0 calc(var(--Input-paddingInline) / -4)",display:"inherit",alignItems:"center",paddingBlock:"var(--unstable_InputPaddingBlock)",flexWrap:"wrap",marginInlineEnd:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),Ay=Xh("div")({"--Button-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--IconButton-margin":"0 calc(var(--Input-decoratorChildOffset) * -1) 0 0","--Icon-margin":"0 calc(var(--Input-paddingInline) / -4) 0 0",display:"inherit",alignItems:"center",marginInlineStart:"var(--Input-gap)",color:"var(--Input-decoratorColor)",cursor:"initial"}),My=Xh(Ry,{name:"JoyInput",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_y=Xh(Ty,{name:"JoyInput",slot:"Input",overridesResolver:(e,t)=>t.input})({}),Ly=Xh(Dy,{name:"JoyInput",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),Fy=Xh(Ay,{name:"JoyInput",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({}),Vy=r.forwardRef((function(n,o){var a,i,l,s,c,u;const d=Qh({props:n,name:"JoyInput"}),p=function(e,t){var n;const o=r.useContext($y),{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,className:u,defaultValue:d,disabled:p,disabledInProp:f,error:m,id:g,name:h,onClick:v,onChange:b,onKeyDown:y,onKeyUp:w,onFocus:x,onBlur:S,placeholder:C,readOnly:k,required:O,type:E,value:I}=e,P=lf(e,Ny),{getRootProps:$,getInputProps:N,focused:z,error:R,disabled:T}=Cv({disabled:null!=(n=null!=f?f:null==o?void 0:o.disabled)?n:p,defaultValue:d,error:m,onBlur:S,onClick:v,onChange:b,onFocus:x,required:null!=O?O:null==o?void 0:o.required,value:I});return Bu({formControl:o,propsToForward:{"aria-describedby":a,"aria-label":i,"aria-labelledby":l,autoComplete:s,autoFocus:c,disabled:T,id:g,onKeyDown:y,onKeyUp:w,name:h,placeholder:C,readOnly:k,type:E},rootStateClasses:{[t.disabled]:T,[t.error]:R,[t.focused]:z,[t.formControl]:Boolean(o),[u]:u},inputStateClasses:{[t.disabled]:T},getRootProps:$,getInputProps:N,focused:z,error:R,disabled:T},P)}(Bu({},d,{disabledInProp:n.disabled}),Py),{propsToForward:f,rootStateClasses:m,inputStateClasses:g,getRootProps:h,getInputProps:v,formControl:b,focused:y,error:w=!1,disabled:x,fullWidth:S=!1,size:C="md",color:k="neutral",variant:O="outlined",startDecorator:E,endDecorator:I,component:P,slots:$={},slotProps:N={}}=p,z=lf(p,zy);if("production"!==process.env.NODE_ENV){const e=null==b?void 0:b.registerEffect;r.useEffect((()=>{if(e)return e()}),[e])}const R=null!=(a=null!=(i=n.error)?i:null==b?void 0:b.error)?a:w,T=null!=(l=null!=(s=n.size)?s:null==b?void 0:b.size)?l:C,D=null!=(c=n.color)?c:R?"danger":null!=(u=null==b?void 0:b.color)?u:k,A=Bu({instanceColor:R?"danger":n.color},d,{fullWidth:S,color:D,disabled:x,error:R,focused:y,size:T,variant:O}),M=(e=>{const{disabled:t,fullWidth:n,variant:r,color:o,size:a}=e;return Mg({root:["root",t&&"disabled",n&&"fullWidth",r&&`variant${wf(r)}`,o&&`color${wf(o)}`,a&&`size${wf(a)}`],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"]},Iy,{})})(A),_=Bu({},z,{component:P,slots:$,slotProps:N}),[L,F]=Jv("root",{ref:o,className:[M.root,m],elementType:My,getSlotProps:h,externalForwardedProps:_,ownerState:A}),[V,j]=Jv("input",Bu({},b&&{additionalProps:{id:b.htmlFor,"aria-describedby":b["aria-describedby"]}},{className:[M.input,g],elementType:_y,getSlotProps:v,internalForwardedProps:f,externalForwardedProps:_,ownerState:A})),[B,H]=Jv("startDecorator",{className:M.startDecorator,elementType:Ly,externalForwardedProps:_,ownerState:A}),[W,G]=Jv("endDecorator",{className:M.endDecorator,elementType:Fy,externalForwardedProps:_,ownerState:A});return t(L,Bu({},F,{children:[E&&e(B,Bu({},H,{children:E})),e(V,Bu({},j)),I&&e(W,Bu({},G,{children:I}))]}))}));function jy(e){return Dh("MuiListSubheader",e)}"production"!==process.env.NODE_ENV&&(Vy.propTypes={autoComplete:ei.string,autoFocus:ei.bool,children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),defaultValue:ei.oneOfType([ei.arrayOf(ei.string),ei.number,ei.string]),disabled:ei.bool,endDecorator:ei.node,error:ei.bool,fullWidth:ei.bool,id:ei.string,name:ei.string,onChange:ei.func,placeholder:ei.string,readOnly:ei.bool,required:ei.bool,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),startDecorator:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),value:ei.oneOfType([ei.arrayOf(ei.string),ei.number,ei.string]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])}),Ah("MuiListSubheader",["root","sticky","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const By=["component","className","children","id","sticky","variant","color","slots","slotProps"],Hy=Xh("div",{name:"JoyListSubheader",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{var n,r;return Bu({boxSizing:"border-box",display:"flex",alignItems:"center",marginInline:"var(--ListItem-marginInline)",paddingBlock:"var(--ListItem-paddingY)",paddingInlineStart:"var(--ListItem-paddingLeft)",paddingInlineEnd:"var(--ListItem-paddingRight)",minBlockSize:"var(--ListItem-minHeight)"},e.typography["body-xs"],{fontSize:"max(0.75em, 0.625rem)",textTransform:"uppercase",letterSpacing:"0.1em"},t.sticky&&{position:"sticky",top:"var(--ListItem-stickyTop, 0px)",zIndex:1,background:"var(--ListItem-stickyBackground)"},{color:t.color?`var(--_Link-color, rgba(${null==(n=e.vars.palette[t.color])?void 0:n.mainChannel} / 1))`:e.vars.palette.text.tertiary},t.instanceColor&&{[`&:not([${Ab}])`]:{"--_Link-color":e.vars.palette.text.secondary}},null==(r=e.variants[t.variant])?void 0:r[t.color])})),Wy=r.forwardRef((function(t,n){const o=Qh({props:t,name:"JoyListSubheader"}),{component:a,className:i,children:l,id:s,sticky:c=!1,variant:u,color:d,slots:p={},slotProps:f={}}=o,m=lf(o,By),g=vg(s),h=r.useContext(rb);r.useEffect((()=>{h&&h(g||"")}),[h,g]);const v=Bu({instanceColor:t.color},o,{id:g,sticky:c,variant:u,color:u?null!=d?d:"neutral":d}),b=(e=>{const{variant:t,color:n,sticky:r}=e;return Mg({root:["root",r&&"sticky",n&&`color${wf(n)}`,t&&`variant${wf(t)}`]},jy,{})})(v),y=Bu({},m,{component:a,slots:p,slotProps:f}),[w,x]=Jv("root",{ref:n,className:Em(b.root,i),elementType:Hy,externalForwardedProps:y,ownerState:v,additionalProps:{as:a,id:g}});return e(w,Bu({},x,{children:l}))}));function Gy(e){return Dh("MuiAutocomplete",e)}"production"!==process.env.NODE_ENV&&(Wy.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,id:ei.string,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sticky:ei.bool,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["outlined","plain","soft","solid"]),ei.string])});const qy=Ah("MuiAutocomplete",["root","wrapper","input","startDecorator","endDecorator","formControl","focused","disabled","error","multiple","limitTag","hasPopupIcon","hasClearIcon","clearIndicator","popupIndicator","popupIndicatorOpen","listbox","option","loading","noOptions","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","sizeSm","sizeMd","sizeLg","variantPlain","variantOutlined","variantSoft","variantSolid"]);function Yy(e){return Dh("MuiAutocompleteListbox",e)}Ah("MuiAutocompleteListbox",["root","sizeSm","sizeMd","sizeLg","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]);const Uy=["anchorEl","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","TransitionProps"],Ky=["children","className","component","color","variant","size","slots","slotProps"],Jy=Xh(bb)((({theme:e,ownerState:t})=>{var n;const r=null==(n=e.variants[t.variant])?void 0:n[t.color];return Bu({"--focus-outline-offset":`calc(${e.vars.focus.thickness} * -1)`,"--ListItem-stickyBackground":(null==r?void 0:r.backgroundColor)||(null==r?void 0:r.background)||e.vars.palette.background.popup,"--ListItem-stickyTop":"calc(var(--List-padding, var(--ListDivider-gap)) * -1)"},db,{boxShadow:e.shadow.md,borderRadius:`var(--List-radius, ${e.vars.radius.sm})`},!(null!=r&&r.backgroundColor)&&{backgroundColor:e.vars.palette.background.popup},{zIndex:e.vars.zIndex.popup,overflow:"auto",maxHeight:"40vh",position:"relative","&:empty":{visibility:"hidden"},[`& .${Qv.nested}, & .${Qv.nested} .${gb.root}`]:{position:"initial"}})})),Xy=Xh(Jy,{name:"JoyAutocompleteListbox",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qy=r.forwardRef((function(t,n){const r=Qh({props:t,name:"JoyAutocompleteListbox"}),{children:o,className:a,component:i,color:l="neutral",variant:s="outlined",size:c="md",slots:u={},slotProps:d={}}=r,p=lf(r,Ky),f=Bu({},r,{size:c,color:l,variant:s,nesting:!1,row:!1,wrap:!1}),m=(e=>lf(e,Uy))(p),g=(e=>{const{variant:t,color:n,size:r}=e;return Mg({root:["root",t&&`variant${wf(t)}`,n&&`color${wf(n)}`,r&&`size${wf(r)}`]},Yy,{})})(f),h=Bu({},m,{component:i,slots:u,slotProps:d}),[v,b]=Jv("root",{ref:n,className:Em(g.root,a),elementType:Xy,externalForwardedProps:h,ownerState:f,additionalProps:{role:"listbox"}});return e(Hb,{variant:s,color:l,children:e(v,Bu({},b,{children:o}))})}));function Zy(e){return Dh("MuiAutocompleteOption",e)}"production"!==process.env.NODE_ENV&&(Qy.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,size:ei.oneOf(["sm","md","lg"]),slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["contained","light","outlined","text"]),ei.string])}),Ah("MuiAutocompleteOption",["root","focused","focusVisible","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantSoft","variantOutlined","variantSolid"]);const ew=["children","component","color","variant","className","slots","slotProps"],tw=Xh(Ob)((({theme:e,ownerState:t})=>{var n,r;return{'&[aria-disabled="true"]':null==(n=e.variants[`${t.variant}Disabled`])?void 0:n[t.color],'&[aria-selected="true"]':Bu({},null==(r=e.variants[`${t.variant}Active`])?void 0:r[t.color],{fontWeight:e.vars.fontWeight.md})}})),nw=Xh(tw,{name:"JoyAutocompleteOption",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rw=r.forwardRef((function(t,n){const r=Qh({props:t,name:"JoyAutocompleteOption"}),{children:o,component:a="li",color:i="neutral",variant:l="plain",className:s,slots:c={},slotProps:u={}}=r,d=lf(r,ew),{variant:p=l,color:f=i}=Bb(t.variant,t.color),m=Bu({},r,{component:a,color:f,variant:p}),g=(e=>{const{color:t,variant:n}=e;return Mg({root:["root",t&&`color${wf(t)}`,n&&`variant${wf(n)}`]},Zy,{})})(m),h=Bu({},d,{component:a,slots:c,slotProps:u}),[v,b]=Jv("root",{ref:n,className:Em(g.root,s),elementType:nw,externalForwardedProps:h,ownerState:m,additionalProps:{as:a,role:"option"}});return e(v,Bu({},b,{children:o}))}));var ow,aw;"production"!==process.env.NODE_ENV&&(rw.propTypes={children:ei.node,className:ei.string,color:ei.oneOfType([ei.oneOf(["danger","neutral","primary","success","warning"]),ei.string]),component:ei.elementType,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),variant:ei.oneOfType([ei.oneOf(["contained","light","outlined","text"]),ei.string])});const iw=["aria-describedby","aria-label","aria-labelledby","autoComplete","autoHighlight","autoSelect","autoFocus","blurOnSelect","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","defaultValue","disableCloseOnSelect","disabledItemsFocusable","disableListWrap","disableClearable","disabled","endDecorator","error","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","getLimitTagsText","getOptionDisabled","getOptionKey","getOptionLabel","handleHomeEndKeys","includeInputInList","isOptionEqualToValue","groupBy","id","inputValue","limitTags","loading","loadingText","multiple","name","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","placeholder","popupIcon","readOnly","renderGroup","renderOption","renderTags","required","type","startDecorator","size","color","variant","value","component","selectOnFocus","slots","slotProps"],lw=["onDelete"],sw=["onBlur","onFocus","onMouseDown"],cw=e=>null!==e.current&&e.current.contains(document.activeElement),uw=e=>{var t;return null!=(t=e.label)?t:e},dw=e=>`+${e}`,pw=n=>t(ub,{nested:!0,children:[e(Wy,{sticky:!0,children:n.group}),e(wb,{children:n.children})]},n.key),fw=Xh(Ry,{name:"JoyAutocomplete",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Bu({},"sm"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"md"===e.size&&{"--Autocomplete-wrapperGap":"3px"},"lg"===e.size&&{"--Autocomplete-wrapperGap":"4px"},{"@media (pointer: fine)":{[`&:hover .${qy.clearIndicator}`]:{visibility:"visible"}}},e.multiple&&!e.startDecorator&&{paddingInlineStart:0}))),mw=Xh("div",{name:"JoyAutocomplete",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>({flex:1,minWidth:0,display:"flex",alignItems:"center",flexWrap:"wrap",gap:"var(--Autocomplete-wrapperGap)",[`&.${qy.multiple}`]:Bu({paddingBlock:"var(--Autocomplete-wrapperGap)"},!e.startDecorator&&{paddingInlineStart:"var(--Autocomplete-wrapperGap)"},!e.endDecorator&&{paddingInlineEnd:"var(--Autocomplete-wrapperGap)"})}))),gw=Xh(Ty,{name:"JoyAutocomplete",slot:"Input",overridesResolver:(e,t)=>t.input})((({ownerState:e})=>Bu({minWidth:30,minHeight:"var(--Chip-minHeight)"},e.multiple&&{marginInlineStart:"calc(var(--Autocomplete-wrapperGap) * 2.5)"}))),hw=Xh(Dy,{name:"JoyAutocomplete",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({}),vw=Xh(Ay,{name:"JoyAutocomplete",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})((({ownerState:e})=>Bu({},(e.hasClearIcon||e.hasPopupIcon)&&{"--Button-margin":"0px","--IconButton-margin":"0px","--Icon-margin":"0px"}))),bw=Xh(iy,{name:"JoyAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})((({ownerState:e})=>Bu({alignSelf:"center"},!e.hasPopupIcon&&{marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)"},{marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",visibility:e.focused?"visible":"hidden"}))),yw=Xh(iy,{name:"JoyAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>t.popupIndicator})({alignSelf:"center",marginInlineStart:"calc(var(--_Input-paddingBlock) / 2)",marginInlineEnd:"calc(var(--Input-decoratorChildOffset) * -1)",[`&.${qy.popupIndicatorOpen}`]:{transform:"rotate(180deg)","--Icon-color":"currentColor"}}),ww=Xh(Jy,{name:"JoyAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({zIndex:`var(--unstable_popup-zIndex, ${e.vars.zIndex.popup})`}))),xw=Xh(tw,{name:"JoyAutocomplete",slot:"Option",overridesResolver:(e,t)=>t.option})({}),Sw=Xh(ub,{name:"JoyAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),Cw=Xh(ub,{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary}))),kw=Xh("div",{name:"JoyAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})({marginInlineStart:"calc(var(--Input-paddingInline) / 2)",marginBlockStart:"var(--_Input-paddingBlock)"}),Ow=r.forwardRef((function(n,o){var a,i,l,s,c,u,d;const p=Qh({props:n,name:"JoyAutocomplete"}),{"aria-describedby":f,"aria-label":m,"aria-labelledby":g,autoFocus:h,clearIcon:v=ow||(ow=e(Lb,{fontSize:"md"})),clearText:b="Clear",closeText:y="Close",disableClearable:w=!1,disabled:x,endDecorator:S,error:C=!1,forcePopupIcon:k="auto",freeSolo:O=!1,getLimitTagsText:E=dw,getOptionLabel:I=uw,groupBy:P,id:$,limitTags:N=-1,loading:z=!1,loadingText:R="Loading…",multiple:T=!1,name:D,noOptionsText:A="No options",openText:M="Open",placeholder:_,popupIcon:L=aw||(aw=e(Fb,{})),readOnly:F=!1,renderGroup:V=pw,renderOption:j,renderTags:B,required:H,type:W,startDecorator:G,size:q="md",color:Y="neutral",variant:U="outlined",component:K,slots:J={},slotProps:X={}}=p,Q=lf(p,iw),Z=r.useContext($y),ee=null!=(a=null!=(i=n.error)?i:null==Z?void 0:Z.error)?a:C,te=null!=(l=null!=(s=n.size)?s:null==Z?void 0:Z.size)?l:q,ne=null!=(c=n.color)?c:ee?"danger":null!=(u=null==Z?void 0:Z.color)?u:Y,re=null!=(d=null!=x?x:null==Z?void 0:Z.disabled)&&d,{getRootProps:oe,getInputProps:ae,getPopupIndicatorProps:ie,getClearProps:le,getTagProps:se,getListboxProps:ce,getOptionProps:ue,value:de,dirty:pe,popupOpen:fe,focused:me,focusedTag:ge,anchorEl:he,setAnchorEl:ve,inputValue:be,groupedOptions:ye}=qv(Bu({},p,{id:null!=$?$:null==Z?void 0:Z.htmlFor,componentName:"Autocomplete",unstable_classNamePrefix:"Mui",unstable_isActiveElementInListbox:cw})),{onMouseDown:we}=ae(),{onClick:xe}=oe(),Se=!w&&!re&&pe&&!F,Ce=(!O||!0===k)&&!1!==k,ke=Bu({instanceColor:n.color},p,{value:de,disabled:re,focused:me,getOptionLabel:I,hasOptions:!!ye.length,hasClearIcon:Se,hasPopupIcon:Ce,inputFocused:-1===ge,popupOpen:fe,size:te,color:ne,variant:U}),Oe=(e=>{const{disabled:t,focused:n,hasClearIcon:r,hasPopupIcon:o,popupOpen:a,variant:i,color:l,size:s,multiple:c}=e;return Mg({root:["root",n&&"focused",r&&"hasClearIcon",o&&"hasPopupIcon",i&&`variant${wf(i)}`,l&&`color${wf(l)}`,s&&`size${wf(s)}`],wrapper:["wrapper",c&&"multiple"],input:["input"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",a&&"popupIndicatorOpen",t&&"disabled"],listbox:["listbox"],option:["option"],loading:["loading"],noOptions:["noOptions"],limitTag:["limitTag"]},Gy,{})})(ke),Ee=Bu({},Q,{component:K,slots:J,slotProps:X});let Ie;if(T&&de.length>0){const t=e=>{const t=se(e),{onDelete:n}=t,r=lf(t,lw);return Bu({disabled:re,size:te,onClick:n},r)};Ie=B?B(de,t,ke):de.map(((n,r)=>e(yy,{size:te,variant:"soft",color:"neutral",endDecorator:e(Ey,Bu({},t({index:r}))),sx:{minWidth:0},children:I(n)},r)))}const Pe=wg(o,ve),$e={[qy.disabled]:re,[qy.error]:ee,[qy.focused]:me,[qy.formControl]:Boolean(Z)},[Ne,ze]=Jv("root",{ref:Pe,className:[Oe.root,$e],elementType:fw,externalForwardedProps:Ee,ownerState:ke,getSlotProps:oe,additionalProps:{onClick:e=>{xe&&xe(e),e.currentTarget===e.target&&we&&we(e)}}}),[Re,Te]=Jv("wrapper",{className:Oe.wrapper,elementType:mw,externalForwardedProps:Ee,ownerState:ke}),De={[qy.disabled]:re},[Ae,Me]=Jv("input",{className:[Oe.input,De],elementType:gw,getSlotProps:e=>{const t=ae(),{onBlur:n,onFocus:r,onMouseDown:o}=t;return Bu({},lf(t,sw),{onBlur:t=>{var r;null==n||n(t),null==(r=e.onBlur)||r.call(e,t)},onFocus:t=>{var n;null==r||r(t),null==(n=e.onFocus)||n.call(e,t)},onMouseDown:t=>{var n;null==o||o(t),null==(n=e.onMouseDown)||n.call(e,t)}})},externalForwardedProps:Ee,ownerState:ke,additionalProps:{autoFocus:h,placeholder:_,name:D,readOnly:F,disabled:re,required:null!=H?H:null==Z?void 0:Z.required,type:W,"aria-invalid":ee||void 0,"aria-label":m,"aria-labelledby":g,"aria-describedby":null!=f?f:null==Z?void 0:Z["aria-describedby"]}}),[_e,Le]=Jv("startDecorator",{className:Oe.startDecorator,elementType:hw,externalForwardedProps:Ee,ownerState:ke}),[Fe,Ve]=Jv("endDecorator",{className:Oe.endDecorator,elementType:vw,externalForwardedProps:Ee,ownerState:ke}),[je,Be]=Jv("clearIndicator",{className:Oe.clearIndicator,elementType:bw,getSlotProps:le,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({size:e.size||te,variant:e.variant||jb(U,ne).variant||"plain",color:e.color||jb(U,ne).color||"neutral",disableColorInversion:!!n.color}),additionalProps:{"aria-label":b,title:b}}),[He,We]=Jv("popupIndicator",{className:Oe.popupIndicator,elementType:yw,getSlotProps:ie,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({size:e.size||te,variant:e.variant||jb(U,ne).variant||"plain",color:e.color||jb(U,ne).color||"neutral",disableColorInversion:!!n.color}),additionalProps:{disabled:re,"aria-label":fe?y:M,title:fe?y:M,type:"button"}}),[Ge,qe]=Jv("listbox",{className:Oe.listbox,elementType:ww,getSlotProps:ce,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({size:e.size||te,variant:e.variant||U,color:e.color||ne,disableColorInversion:!e.disablePortal}),additionalProps:{anchorEl:he,open:fe,style:he?{width:he.clientWidth}:{}}}),[Ye,Ue]=Jv("loading",{className:Oe.loading,elementType:Sw,externalForwardedProps:Ee,ownerState:ke}),[Ke,Je]=Jv("noOptions",{className:Oe.noOptions,elementType:Cw,externalForwardedProps:Ee,ownerState:ke,additionalProps:{role:"presentation",onMouseDown:e=>{e.preventDefault()}}}),[Xe,Qe]=Jv("limitTag",{className:Oe.limitTag,elementType:kw,externalForwardedProps:Ee,ownerState:ke});if(N>-1&&Array.isArray(Ie)){const t=Ie.length-N;!me&&t>0&&(Ie=Ie.splice(0,N),Ie.push(e(Xe,Bu({},Qe,{children:E(t)}),Ie.length)))}const[Ze,et]=Jv("option",{className:Oe.option,elementType:xw,externalForwardedProps:Ee,ownerState:ke,getSlotOwnerState:e=>({variant:e.variant||jb(U,ne).variant||"plain",color:e.color||jb(U,ne).color||"neutral",disableColorInversion:!qe.disablePortal}),additionalProps:{as:"li"}}),tt=j||((t,n)=>e(Ze,Bu({},t,{children:I(n)}))),nt=(e,t)=>{const n=ue({option:e,index:t});return tt(Bu({},et,n),e,{selected:!!n["aria-selected"],inputValue:be,ownerState:ke})},rt=r.useMemo((()=>[{name:"offset",options:{offset:[0,4]}},...qe.modifiers||[]]),[qe.modifiers]);let ot=null;var at;he&&(ot=e(Hb,{variant:U,color:ne,children:e(pb,{nested:!0,children:t(Ge,Bu({},qe,{className:Em(qe.className),modifiers:rt},!(null!=(at=p.slots)&&at.listbox)&&{as:jv,slots:{root:qe.as||"ul"}},{children:[ye.map(((e,t)=>{if(P){const t=e;return V({key:String(t.key),group:t.group,children:t.options.map(((e,n)=>nt(e,t.index+n)))})}return nt(e,t)})),z&&0===ye.length?e(Ye,Bu({},Ue,{children:R})):null,0!==ye.length||O||z?null:e(Ke,Bu({},Je,{children:A}))]}))})}));return t(r.Fragment,{children:[t(Ne,Bu({},ze,{children:[G&&e(_e,Bu({},Le,{children:G})),t(Re,Bu({},Te,{children:[Ie,e(Ae,Bu({},Me))]})),S&&e(Fe,Bu({},Ve,{children:S})),Se?e(je,Bu({},Be,{children:v})):null,Ce?e(He,Bu({},We,{children:L})):null]})),ot]})}));"production"!==process.env.NODE_ENV&&(Ow.propTypes={"aria-describedby":ei.string,"aria-label":ei.string,"aria-labelledby":ei.string,autoComplete:ei.bool,autoFocus:ei.bool,autoHighlight:ei.bool,autoSelect:ei.bool,blurOnSelect:ei.oneOfType([ei.oneOf(["mouse","touch"]),ei.bool]),clearIcon:ei.node,clearOnBlur:ei.bool,clearOnEscape:ei.bool,clearText:ei.string,closeText:ei.string,color:ei.oneOf(["danger","neutral","primary","success","warning"]),defaultValue:rg(ei.any,(e=>e.multiple&&void 0!==e.defaultValue&&!Array.isArray(e.defaultValue)?new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.",`However, ${e.defaultValue} was provided.`].join("\n")):null)),disableClearable:ei.bool,disableCloseOnSelect:ei.bool,disabled:ei.bool,disabledItemsFocusable:ei.bool,disableListWrap:ei.bool,endDecorator:ei.node,error:ei.bool,filterOptions:ei.func,filterSelectedOptions:ei.bool,forcePopupIcon:ei.oneOfType([ei.oneOf(["auto"]),ei.bool]),freeSolo:ei.bool,getLimitTagsText:ei.func,getOptionDisabled:ei.func,getOptionKey:ei.func,getOptionLabel:ei.func,groupBy:ei.func,handleHomeEndKeys:ei.bool,id:ei.string,includeInputInList:ei.bool,inputValue:ei.string,isOptionEqualToValue:ei.func,limitTags:Ag,loading:ei.bool,loadingText:ei.node,multiple:ei.bool,name:ei.string,noOptionsText:ei.node,onChange:ei.func,onClose:ei.func,onHighlightChange:ei.func,onInputChange:ei.func,onKeyDown:ei.func,onOpen:ei.func,open:ei.bool,openOnFocus:ei.bool,openText:ei.string,options:ei.array.isRequired,placeholder:ei.string,popupIcon:ei.node,readOnly:ei.bool,renderGroup:ei.func,renderOption:ei.func,renderTags:ei.func,required:ei.bool,selectOnFocus:ei.bool,size:ei.oneOfType([ei.oneOf(["sm","md","lg"]),ei.string]),slotProps:ei.shape({clearIndicator:ei.oneOfType([ei.func,ei.object]),endDecorator:ei.oneOfType([ei.func,ei.object]),input:ei.oneOfType([ei.func,ei.object]),limitTag:ei.oneOfType([ei.func,ei.object]),listbox:ei.oneOfType([ei.func,ei.object]),loading:ei.oneOfType([ei.func,ei.object]),noOptions:ei.oneOfType([ei.func,ei.object]),option:ei.oneOfType([ei.func,ei.object]),popupIndicator:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object]),startDecorator:ei.oneOfType([ei.func,ei.object]),wrapper:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({clearIndicator:ei.elementType,endDecorator:ei.elementType,input:ei.elementType,limitTag:ei.elementType,listbox:ei.elementType,loading:ei.elementType,noOptions:ei.elementType,option:ei.elementType,popupIndicator:ei.elementType,root:ei.elementType,startDecorator:ei.elementType,wrapper:ei.elementType}),startDecorator:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),type:ei.string,value:rg(ei.any,(e=>e.multiple&&void 0!==e.value&&!Array.isArray(e.value)?new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.",`However, ${e.value} was provided.`].join("\n")):null)),variant:ei.oneOf(["outlined","plain","soft","solid"])});const Ew=Nm("MuiBox",["root"]),Iw=function(t={}){const{themeId:n,defaultTheme:o,defaultClassName:a="MuiBox-root",generateClassName:i}=t,l=af("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(fm);return r.forwardRef((function(t,r){const s=ym(o),c=Sm(t),{className:u,component:d="div"}=c,p=lf(c,Im);return e(l,Bu({as:d,ref:r,className:Em(u,i?i(a):a),theme:n&&s[n]||s},p))}))}({themeId:Vu,defaultTheme:Bh,defaultClassName:Ew.root,generateClassName:km.generate});"production"!==process.env.NODE_ENV&&(Iw.propTypes={children:ei.node,component:ei.elementType,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])});const Pw=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Pw.displayName="ModalDialogVariantColorContext");const $w=Ah("MuiDialogTitle",["root","h1","h2","h3","h4","title-lg","title-md","title-sm","body-lg","body-md","body-sm","body-xs","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid"]),Nw=r.createContext(void 0);function zw(e){return Dh("MuiModal",e)}"production"!==process.env.NODE_ENV&&(Nw.displayName="ModalDialogSizeContext"),Ah("MuiModal",["root","hidden","backdrop"]);const Rw=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(Rw.displayName="CloseModalContext");const Tw=["children","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onClose","onKeyDown","open","component","slots","slotProps"],Dw=Xh("div")((({ownerState:e,theme:t})=>Bu({"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`,'& ~ [role="listbox"]':{"--unstable_popup-zIndex":`calc(${t.vars.zIndex.modal} + 1)`},position:"fixed",zIndex:t.vars.zIndex.modal,right:0,bottom:0,top:0,left:0},!e.open&&{visibility:"hidden"}))),Aw=Xh(Dw,{name:"JoyModal",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mw=Xh("div")((({theme:e})=>({zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:e.vars.palette.background.backdrop,WebkitTapHighlightColor:"transparent",backdropFilter:"blur(8px)"}))),_w=Xh(Mw,{name:"JoyModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({}),Lw=r.forwardRef((function(n,o){const a=Qh({props:n,name:"JoyModal"}),{children:i,container:l,disableAutoFocus:s=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:u=!1,disablePortal:d=!1,disableRestoreFocus:p=!1,disableScrollLock:f=!1,hideBackdrop:m=!1,keepMounted:g=!1,onClose:h,open:v,component:b,slots:y={},slotProps:w={}}=a,x=lf(a,Tw),S=Bu({},a,{disableAutoFocus:s,disableEnforceFocus:c,disableEscapeKeyDown:u,disablePortal:d,disableRestoreFocus:p,disableScrollLock:f,hideBackdrop:m,keepMounted:g}),{getRootProps:C,getBackdropProps:k,rootRef:O,portalRef:E,isTopModal:I}=zv(Bu({},S,{rootRef:o})),P=(e=>{const{open:t}=e;return Mg({root:["root",!t&&"hidden"],backdrop:["backdrop"]},zw,{})})(S),$=Bu({},x,{component:b,slots:y,slotProps:w}),[N,z]=Jv("root",{ref:O,className:P.root,elementType:Aw,externalForwardedProps:$,getSlotProps:C,ownerState:S}),[R,T]=Jv("backdrop",{className:P.backdrop,elementType:_w,externalForwardedProps:$,getSlotProps:k,ownerState:S});return g||v?e(Rw.Provider,{value:h,children:e(kv,{ref:E,container:l,disablePortal:d,children:t(N,Bu({},z,{children:[m?null:e(R,Bu({},T)),e(xv,{disableEnforceFocus:c,disableAutoFocus:s,disableRestoreFocus:p,isEnabled:I,open:v,children:r.Children.only(i)&&r.cloneElement(i,Bu({},void 0===i.props.tabIndex&&{tabIndex:-1}))})]}))})}):null}));function Fw(e){return Dh("MuiDrawer",e)}"production"!==process.env.NODE_ENV&&(Lw.propTypes={children:ag.isRequired,component:ei.elementType,container:ei.oneOfType([sg,ei.func]),disableAutoFocus:ei.bool,disableEnforceFocus:ei.bool,disableEscapeKeyDown:ei.bool,disablePortal:ei.bool,disableRestoreFocus:ei.bool,disableScrollLock:ei.bool,hideBackdrop:ei.bool,keepMounted:ei.bool,onClose:ei.func,onKeyDown:ei.func,open:ei.bool.isRequired,slotProps:ei.shape({backdrop:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({backdrop:ei.elementType,root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])}),Ah("MuiDrawer",["root","hidden","backdrop","content","colorPrimary","colorNeutral","colorDanger","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","sizeSm","sizeMd","sizeLg"]);const Vw=["children","anchor","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","color","variant","invertedColors","size","onClose","onKeyDown","open","component","slots","slotProps"],jw=Xh(Dw,{name:"JoyDrawer",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Bu({"--Drawer-transitionDuration":"0.3s","--Drawer-transitionFunction":"ease","--ModalClose-radius":"max((var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) - var(--ModalClose-inset), min(var(--ModalClose-inset) / 2, (var(--Drawer-contentRadius) - var(--variant-borderWidth, 0px)) / 2))"},"sm"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(350px, 30%, 100%)","--Drawer-horizontalSize":"clamp(256px, 20%, 100%)","--Drawer-titleMargin":"0.625rem 0.75rem calc(0.625rem / 2)"},"md"===e.size&&{"--ModalClose-inset":"0.5rem","--Drawer-verticalSize":"clamp(400px, 45%, 100%)","--Drawer-horizontalSize":"clamp(300px, 30%, 100%)","--Drawer-titleMargin":"0.75rem 0.75rem calc(0.75rem / 2)"},"lg"===e.size&&{"--ModalClose-inset":"0.75rem","--Drawer-verticalSize":"clamp(500px, 60%, 100%)","--Drawer-horizontalSize":"clamp(440px, 60%, 100%)","--Drawer-titleMargin":"1rem 1rem calc(1rem / 2)"},{transitionProperty:"visibility",transitionDelay:e.open?"0s":"var(--Drawer-transitionDuration)"},!e.open&&{visibility:"hidden"}))),Bw=Xh(Mw,{name:"JoyDrawer",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})((({ownerState:e})=>({opacity:e.open?1:0,transition:"opacity var(--Drawer-transitionDuration) ease-in-out"}))),Hw=Xh("div",{name:"JoyDrawer",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e,ownerState:t})=>{var n;return Bu({},e.typography[`body-${t.size}`],{boxShadow:e.shadow.md,backgroundColor:e.vars.palette.background.surface,outline:0,display:"flex",flexDirection:"column",position:"fixed",boxSizing:"border-box",overflow:"auto"},"left"===t.anchor&&{top:0,left:0,transform:t.open?"translateX(0)":"translateX(-100%)"},"right"===t.anchor&&{top:0,right:0,transform:t.open?"translateX(0)":"translateX(100%)"},"top"===t.anchor&&{top:0,transform:t.open?"translateY(0)":"translateY(-100%)"},"bottom"===t.anchor&&{bottom:0,transform:t.open?"translateY(0)":"translateY(100%)"},{height:t.anchor.match(/(left|right)/)?"100%":"min(100vh, var(--Drawer-verticalSize))",width:t.anchor.match(/(top|bottom)/)?"100vw":"min(100vw, var(--Drawer-horizontalSize))",transition:"transform var(--Drawer-transitionDuration) var(--Drawer-transitionFunction)"},"solid"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const n=void 0!==t.theme?t.theme:t,r=rh(n.cssVarPrefix),o=Db(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[Mb]:{"--Badge-ringColor":a(`palette-${e}-solidBg`),"--Icon-color":"currentColor",[`${n.getColorSchemeSelector("light")}, ${n.getColorSchemeSelector("dark")}`]:{colorScheme:"dark",[o("--palette-focusVisible")]:a(`palette-${e}-200`),[o("--palette-background-body")]:"rgba(0 0 0 / 0.1)",[o("--palette-background-surface")]:"rgba(0 0 0 / 0.06)",[o("--palette-background-popup")]:a(`palette-${e}-700`),[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.36)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.6)`,[o("--palette-text-primary")]:a("palette-common-white"),[o("--palette-text-secondary")]:a(`palette-${e}-200`),[o("--palette-text-tertiary")]:a(`palette-${e}-300`),[o("--palette-text-icon")]:a(`palette-${e}-200`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainColor":a(`palette-${e}-50`),"--variant-plainHoverColor":"#fff","--variant-plainHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedColor":a(`palette-${e}-50`),"--variant-outlinedBorder":`rgba(${a(`palette-${e}-lightChannel`)} / 0.5)`,"--variant-outlinedHoverColor":"#fff","--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":"rgba(255 255 255 / 0.2)","--variant-softColor":a("palette-common-white"),"--variant-softHoverColor":a("palette-common-white"),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.24)`,"--variant-softHoverBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.36)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.16)`,"--variant-softActiveColor":"#fff","--variant-softDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`,"--variant-solidColor":a(`palette-${e}-${"neutral"===e?"600":"500"}`),"--variant-solidBg":a("palette-common-white"),"--variant-solidHoverBg":a("palette-common-white"),"--variant-solidActiveBg":a(`palette-${e}-100`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.1)`}},[`&, & [${Ab}]`]:_b(n)}})(t.color)(e),"soft"===t.variant&&t.color&&t.invertedColors&&(e=>t=>{const{theme:n=t}=t,r=rh(n.cssVarPrefix),o=Db(n.cssVarPrefix),a=e=>{const t=e.split("-");return r(e,n.palette[t[1]][t[2]])};return{[Mb]:{"--Badge-ringColor":a(`palette-${e}-softBg`),"--Icon-color":"currentColor",[n.getColorSchemeSelector("dark")]:{[o("--palette-focusVisible")]:a(`palette-${e}-300`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,[o("--palette-text-primary")]:a(`palette-${e}-100`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.72)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-text-icon")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.6)`,[o("--palette-divider")]:`rgba(${a(`palette-${e}-lightChannel`)} / 0.2)`,"--variant-plainColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-plainHoverColor":a(`palette-${e}-50`),"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-lightChannel`)} / 1)`,"--variant-outlinedHoverColor":a(`palette-${e}-50`),"--variant-outlinedBg":"initial","--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverBorder":a(`palette-${e}-600`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.16)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,"--variant-softColor":a(`palette-${e}-200`),"--variant-softBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-softHoverColor":"#fff","--variant-softHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-softActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-solidColor":"#fff","--variant-solidBg":a(`palette-${e}-500`),"--variant-solidHoverColor":"#fff","--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.72)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`},[n.getColorSchemeSelector("light")]:{[o("--palette-focusVisible")]:a(`palette-${e}-500`),[o("--palette-background-body")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.1)`,[o("--palette-background-surface")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,[o("--palette-background-level1")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.2)`,[o("--palette-background-level2")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,[o("--palette-background-level3")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.48)`,[o("--palette-text-primary")]:a(`palette-${e}-700`),[o("--palette-text-secondary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,[o("--palette-text-tertiary")]:`rgba(${a(`palette-${e}-darkChannel`)} / 0.68)`,[o("--palette-text-icon")]:a(`palette-${e}-500`),[o("--palette-divider")]:`rgba(${a(`palette-${e}-mainChannel`)} / 0.32)`,"--variant-plainColor":`rgba(${a(`palette-${e}-darkChannel`)} / 0.8)`,"--variant-plainHoverColor":`rgba(${a(`palette-${e}-darkChannel`)} / 1)`,"--variant-plainHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-plainActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-plainDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedColor":`rgba(${a(`palette-${e}-mainChannel`)} / 1)`,"--variant-outlinedBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.4)`,"--variant-outlinedHoverColor":a(`palette-${e}-600`),"--variant-outlinedHoverBorder":a(`palette-${e}-300`),"--variant-outlinedHoverBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-outlinedActiveBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.24)`,"--variant-outlinedDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-outlinedDisabledBorder":`rgba(${a(`palette-${e}-mainChannel`)} / 0.12)`,"--variant-softColor":a(`palette-${e}-600`),"--variant-softBg":`rgba(${a(`palette-${e}-lightChannel`)} / 0.8)`,"--variant-softHoverColor":a(`palette-${e}-700`),"--variant-softHoverBg":a(`palette-${e}-200`),"--variant-softActiveBg":a(`palette-${e}-300`),"--variant-softDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-softDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`,"--variant-solidColor":a("palette-common-white"),"--variant-solidBg":a(`palette-${e}-${"neutral"===e?"700":"500"}`),"--variant-solidHoverColor":a("palette-common-white"),"--variant-solidHoverBg":a(`palette-${e}-600`),"--variant-solidActiveBg":a(`palette-${e}-600`),"--variant-solidDisabledColor":`rgba(${a(`palette-${e}-mainChannel`)} / 0.6)`,"--variant-solidDisabledBg":`rgba(${a(`palette-${e}-mainChannel`)} / 0.08)`}},[`&, & [${Ab}]`]:_b(n)}})(t.color)(e),null==(n=e.variants[t.variant])?void 0:n[t.color],{[`& > .${$w.root}`]:{"--unstable_DialogTitle-margin":"var(--Drawer-titleMargin)"}})})),Ww=r.forwardRef((function(n,o){const a=Qh({props:n,name:"JoyDrawer"}),{children:i,anchor:l="left",container:s,disableAutoFocus:c=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:d=!1,disablePortal:p=!1,disableRestoreFocus:f=!1,disableScrollLock:m=!1,hideBackdrop:g=!1,color:h="neutral",variant:v="plain",invertedColors:b=!1,size:y="md",onClose:w,open:x,component:S,slots:C={},slotProps:k={}}=a,O=lf(a,Vw),E=Bu({},a,{anchor:l,disableAutoFocus:c,disableEnforceFocus:u,disableEscapeKeyDown:d,disablePortal:p,disableRestoreFocus:f,disableScrollLock:m,hideBackdrop:g,invertedColors:b,color:h,variant:v,size:y}),{getRootProps:I,getBackdropProps:P,rootRef:$,portalRef:N,isTopModal:z}=zv(Bu({},E,{rootRef:o,children:null})),R=(e=>{const{open:t,variant:n,color:r,size:o}=e;return Mg({root:["root",!t&&"hidden",n&&`variant${wf(n)}`,r&&`color${wf(r)}`,o&&`size${wf(o)}`],backdrop:["backdrop"],content:["content"]},Fw,{})})(E),T=Bu({},O,{component:S,slots:C,slotProps:k}),D=vg(),A=vg(),M=r.useMemo((()=>({variant:v,color:h,labelledBy:D,describedBy:A})),[h,v,D,A]),[_,L]=Jv("root",{ref:$,className:R.root,elementType:jw,externalForwardedProps:T,getSlotProps:I,ownerState:E}),[F,V]=Jv("backdrop",{className:R.backdrop,elementType:Bw,externalForwardedProps:T,getSlotProps:P,ownerState:E}),[j,B]=Jv("content",{className:R.content,elementType:Hw,additionalProps:{tabIndex:-1,role:"dialog","aria-modal":"true","aria-labelledby":D,"aria-describedby":A},externalForwardedProps:T,ownerState:E});return e(Rw.Provider,{value:w,children:e(Nw.Provider,{value:y,children:e(Pw.Provider,{value:M,children:e(kv,{ref:N,container:s,disablePortal:p,children:t(_,Bu({},L,{children:[g?null:e(F,Bu({},V)),e(xv,{disableEnforceFocus:u,disableAutoFocus:c,disableRestoreFocus:f,isEnabled:z,open:x,children:e(j,Bu({},B,{children:i}))})]}))})})})})}));"production"!==process.env.NODE_ENV&&(Ww.propTypes={anchor:ei.oneOf(["bottom","left","right","top"]),children:ei.node,color:ei.oneOf(["danger","neutral","primary","success","warning"]),component:ei.elementType,container:ei.oneOfType([sg,ei.func]),disableAutoFocus:ei.bool,disableEnforceFocus:ei.bool,disableEscapeKeyDown:ei.bool,disablePortal:ei.bool,disableRestoreFocus:ei.bool,disableScrollLock:ei.bool,hideBackdrop:ei.bool,invertedColors:ei.bool,onClose:ei.func,onKeyDown:ei.func,open:ei.bool.isRequired,size:ei.oneOf(["sm","md","lg"]),slotProps:ei.shape({backdrop:ei.oneOfType([ei.func,ei.object]),content:ei.oneOfType([ei.func,ei.object]),root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({backdrop:ei.elementType,content:ei.elementType,root:ei.elementType}),variant:ei.oneOf(["outlined","plain","soft","solid"])});const Gw=function(t={}){const{createStyledComponent:n=$h,useThemeProps:o=Nh,componentName:a="MuiGrid"}=t,i=r.createContext(void 0);"production"!==process.env.NODE_ENV&&(i.displayName="GridOverflowContext");const l=n(yh,xh,wh,vh,Sh,Ch,bh),s=r.forwardRef((function(t,n){var s,c,u,d,p,f,m,g;const h=ym(),v=Sm(o(t)),b=r.useContext(i),{className:y,children:w,columns:x=12,container:S=!1,component:C="div",direction:k="row",wrap:O="wrap",spacing:E=0,rowSpacing:I=E,columnSpacing:P=E,disableEqualOverflow:$,unstable_level:N=0}=v,z=lf(v,Ih);let R=$;N&&void 0!==$&&(R=t.disableEqualOverflow);const T={},D={},A={};Object.entries(z).forEach((([e,t])=>{void 0!==h.breakpoints.values[e]?T[e]=t:void 0!==h.breakpoints.values[e.replace("Offset","")]?D[e.replace("Offset","")]=t:A[e]=t}));const M=null!=(s=t.columns)?s:N?void 0:x,_=null!=(c=t.spacing)?c:N?void 0:E,L=null!=(u=null!=(d=t.rowSpacing)?d:t.spacing)?u:N?void 0:I,F=null!=(p=null!=(f=t.columnSpacing)?f:t.spacing)?p:N?void 0:P,V=Bu({},v,{level:N,columns:M,container:S,direction:k,wrap:O,spacing:_,rowSpacing:L,columnSpacing:F,gridSize:T,gridOffset:D,disableEqualOverflow:null!=(m=null!=(g=R)?g:b)&&m,parentDisableEqualOverflow:b}),j=((e,t)=>{const{container:n,direction:r,spacing:o,wrap:i,gridSize:l}=e;return Mg({root:["root",n&&"container","wrap"!==i&&`wrap-xs-${String(i)}`,...Eh(r),...kh(l),...n?Oh(o,t.breakpoints.keys[0]):[]]},(e=>$m(a,e)),{})})(V,h);let B=e(l,Bu({ref:n,as:C,ownerState:V,className:Em(j.root,y)},A,{children:r.Children.map(w,(e=>{var t;return r.isValidElement(e)&&dg(e,["Grid"])?r.cloneElement(e,{unstable_level:null!=(t=e.props.unstable_level)?t:N+1}):e}))}));return void 0!==R&&R!==(null!=b&&b)&&(B=e(i.Provider,{value:R,children:B})),B}));return"production"!==process.env.NODE_ENV&&(s.propTypes={children:ei.node,className:ei.string,columns:ei.oneOfType([ei.arrayOf(ei.number),ei.number,ei.object]),columnSpacing:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.number,ei.string])),ei.number,ei.object,ei.string]),component:ei.elementType,container:ei.bool,direction:ei.oneOfType([ei.oneOf(["column-reverse","column","row-reverse","row"]),ei.arrayOf(ei.oneOf(["column-reverse","column","row-reverse","row"])),ei.object]),disableEqualOverflow:ei.bool,lg:ei.oneOfType([ei.oneOf(["auto"]),ei.number,ei.bool]),lgOffset:ei.oneOfType([ei.oneOf(["auto"]),ei.number]),md:ei.oneOfType([ei.oneOf(["auto"]),ei.number,ei.bool]),mdOffset:ei.oneOfType([ei.oneOf(["auto"]),ei.number]),rowSpacing:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.number,ei.string])),ei.number,ei.object,ei.string]),sm:ei.oneOfType([ei.oneOf(["auto"]),ei.number,ei.bool]),smOffset:ei.oneOfType([ei.oneOf(["auto"]),ei.number]),spacing:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.number,ei.string])),ei.number,ei.object,ei.string]),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object]),wrap:ei.oneOf(["nowrap","wrap-reverse","wrap"]),xl:ei.oneOfType([ei.oneOf(["auto"]),ei.number,ei.bool]),xlOffset:ei.oneOfType([ei.oneOf(["auto"]),ei.number]),xs:ei.oneOfType([ei.oneOf(["auto"]),ei.number,ei.bool]),xsOffset:ei.oneOfType([ei.oneOf(["auto"]),ei.number])}),s.muiName="Grid",s}({createStyledComponent:Xh("div",{name:"JoyGrid",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Qh({props:e,name:"JoyGrid"})});function qw(e){return Dh("MuiListItemDecorator",e)}"production"!==process.env.NODE_ENV&&(Gw.propTypes={children:ei.node,sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])}),Ah("MuiListItemDecorator",["root"]);const Yw=["component","className","children","slots","slotProps"],Uw=Xh("span",{name:"JoyListItemDecorator",slot:"Root",overridesResolver:(e,t)=>t.root})((({ownerState:e})=>Bu({boxSizing:"border-box",display:"inline-flex",alignItems:`var(--unstable_ListItemDecorator-alignItems, ${"horizontal"===e.parentOrientation?"center":"initial"})`},"horizontal"===e.parentOrientation?{minInlineSize:"var(--ListItemDecorator-size)",marginInlineEnd:"calc(-1 * var(--ListItem-gap))"}:{minBlockSize:"var(--ListItemDecorator-size)",justifyContent:"center",marginBlockEnd:"calc(-1 * var(--ListItem-gap))"}))),Kw=r.forwardRef((function(t,n){const o=Qh({props:t,name:"JoyListItemDecorator"}),{component:a,className:i,children:l,slots:s={},slotProps:c={}}=o,u=lf(o,Yw),d=Bu({parentOrientation:r.useContext(Cb)},o),p=Mg({root:["root"]},qw,{}),f=Bu({},u,{component:a,slots:s,slotProps:c}),[m,g]=Jv("root",{ref:n,className:Em(p.root,i),elementType:Uw,externalForwardedProps:f,ownerState:d});return e(m,Bu({},g,{children:l}))}));"production"!==process.env.NODE_ENV&&(Kw.propTypes={children:ei.node,className:ei.string,component:ei.elementType,slotProps:ei.shape({root:ei.oneOfType([ei.func,ei.object])}),slots:ei.shape({root:ei.elementType}),sx:ei.oneOfType([ei.arrayOf(ei.oneOfType([ei.func,ei.object,ei.bool])),ei.func,ei.object])});var Jw=function(){throw new Error(["MUI: `TextField` component has been removed in favor of Input composition.","","To migrate, run `npx @mui/codemod@latest v5.0.0/joy-text-field-to-input <path>`.","For the codemod detail, visit https://github.com/mui/material-ui/blob/master/packages/mui-codemod/README.md#joy-text-field-to-input\n\nTo learn more why it has been removed, visit the RFC https://github.com/mui/material-ui/issues/34176"].join("\n"))};const Xw=on.div`
|
|
1042
1048
|
.MuiAutocomplete-root {
|
|
1043
1049
|
background-color: #f5f5f5;
|
|
1044
1050
|
border-radius: 8px;
|
|
@@ -1050,7 +1056,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1050
1056
|
.field-has-error & {
|
|
1051
1057
|
border: 1px solid var(--color--red);
|
|
1052
1058
|
}
|
|
1053
|
-
`;function
|
|
1059
|
+
`;function Qw({id:n,options:r,onChange:a,name:i,...l}){const[s,c]=o.useState(l.defaultValue),[u,d]=o.useState(l.defaultValue?.value);return t(Xw,{children:[e(Ow,{...l,id:n,options:r,onChange:(e,t,n)=>{c(t),d(t?t?.value:""),a&&a(e,t,n)},getOptionLabel:e=>e.label,isOptionEqualToValue:(e,t)=>e.value===t.value,value:s,renderOption:l.renderOption,name:""}),e(Vy,{name:i,value:u,type:"hidden",sx:{display:"none"}})]})}const Zw=on.div`
|
|
1054
1060
|
.MuiAutocomplete-root {
|
|
1055
1061
|
background-color: #f5f5f5;
|
|
1056
1062
|
border-radius: 8px;
|
|
@@ -1062,7 +1068,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1062
1068
|
.field-has-error & .MuiAutocomplete-root {
|
|
1063
1069
|
border: 1px solid var(--color--red);
|
|
1064
1070
|
}
|
|
1065
|
-
`,
|
|
1071
|
+
`,ex=on.button`
|
|
1066
1072
|
float: right;
|
|
1067
1073
|
border: none;
|
|
1068
1074
|
background: none;
|
|
@@ -1073,7 +1079,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1073
1079
|
&:hover {
|
|
1074
1080
|
color: var(--color--grey);
|
|
1075
1081
|
}
|
|
1076
|
-
`;function
|
|
1082
|
+
`;function tx({defaultValue:n,id:r,name:a,inline:i,onChange:s,SelectedOption:c,...u}){const[d,p]=o.useState((()=>(n||[]).map((e=>{const t=u.options.find((t=>String(t.value)===String(e)));return t?{label:t.label,value:t.value}:null})).filter((e=>null!==e))));return t(Zw,{children:[e(Ow,{...u,multiple:!0,value:d,onChange:(e,t,n)=>{p(t),s&&s(e,t,n)},renderTags:(t,n)=>i?t.map(((t,r)=>l(yy,{component:"div",...n({index:r}),key:t.label,endDecorator:e(Ti,{size:"small",name:["fas","times"]})},t.label))):null,isOptionEqualToValue:(e,t)=>e.value===t.value,name:""}),Array.isArray(d)&&d.map((t=>e(Vy,{name:a,value:t.value,type:"hidden",sx:{display:"none"}},t.value))),!i&&e(wb,{children:Array.isArray(d)&&d.length>0?d.map((n=>t(ub,{children:[c?e(c,{option:n}):n.label,e(ex,{type:"button",onClick:()=>{p(d.filter((e=>e.value!==n.value)))},children:e(Ti,{name:["fas","xmark"]})})]},n.value))):null})]})}const nx=on(Vy)`
|
|
1077
1083
|
&& .MuiInput-input {
|
|
1078
1084
|
background-color: var(--color--grey-hover);
|
|
1079
1085
|
padding: var(--spacing--small) var(--spacing--small);
|
|
@@ -1111,11 +1117,11 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1111
1117
|
color: var(--color--grey);
|
|
1112
1118
|
}
|
|
1113
1119
|
}
|
|
1114
|
-
`,
|
|
1120
|
+
`,rx=on(Ww)`
|
|
1115
1121
|
&.MuiDrawer-root {
|
|
1116
1122
|
--Drawer-horizontalSize: clamp(305px, 38%, 100%);
|
|
1117
1123
|
}
|
|
1118
|
-
`,
|
|
1124
|
+
`,ox=on.div`
|
|
1119
1125
|
min-height: 100%;
|
|
1120
1126
|
padding-left: 60px;
|
|
1121
1127
|
padding-right: 60px;
|
|
@@ -1131,7 +1137,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1131
1137
|
font-weight: 600;
|
|
1132
1138
|
color: var(--color--grey-dark);
|
|
1133
1139
|
}
|
|
1134
|
-
`,
|
|
1140
|
+
`,ax=an`
|
|
1135
1141
|
from {
|
|
1136
1142
|
transform: translate(-100%, 0);
|
|
1137
1143
|
}
|
|
@@ -1139,7 +1145,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1139
1145
|
to {
|
|
1140
1146
|
transform: none;
|
|
1141
1147
|
}
|
|
1142
|
-
`,
|
|
1148
|
+
`,ix=an`
|
|
1143
1149
|
from {
|
|
1144
1150
|
transform: none;
|
|
1145
1151
|
}
|
|
@@ -1147,7 +1153,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1147
1153
|
to {
|
|
1148
1154
|
transform: translate(-100%, 0);
|
|
1149
1155
|
}
|
|
1150
|
-
`,
|
|
1156
|
+
`,lx=an`
|
|
1151
1157
|
from {
|
|
1152
1158
|
transform: translate(100%, 0);
|
|
1153
1159
|
}
|
|
@@ -1155,7 +1161,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1155
1161
|
to {
|
|
1156
1162
|
transform: none;
|
|
1157
1163
|
}
|
|
1158
|
-
`,
|
|
1164
|
+
`,sx=an`
|
|
1159
1165
|
from {
|
|
1160
1166
|
transform: none;
|
|
1161
1167
|
}
|
|
@@ -1163,7 +1169,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1163
1169
|
to {
|
|
1164
1170
|
transform: translate(100%, 0);
|
|
1165
1171
|
}
|
|
1166
|
-
`,
|
|
1172
|
+
`,cx=an`
|
|
1167
1173
|
from {
|
|
1168
1174
|
transform: translate(0, 100%);
|
|
1169
1175
|
}
|
|
@@ -1171,7 +1177,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1171
1177
|
to {
|
|
1172
1178
|
transform: none;
|
|
1173
1179
|
}
|
|
1174
|
-
`,
|
|
1180
|
+
`,ux=an`
|
|
1175
1181
|
from {
|
|
1176
1182
|
transform: none;
|
|
1177
1183
|
}
|
|
@@ -1179,7 +1185,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1179
1185
|
to {
|
|
1180
1186
|
transform: translate(0, 100%);
|
|
1181
1187
|
}
|
|
1182
|
-
`,
|
|
1188
|
+
`,dx=on.div`
|
|
1183
1189
|
position: fixed;
|
|
1184
1190
|
top: 0;
|
|
1185
1191
|
right: 0;
|
|
@@ -1189,32 +1195,32 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1189
1195
|
overflow: hidden;
|
|
1190
1196
|
|
|
1191
1197
|
&.left {
|
|
1192
|
-
animation: ${
|
|
1198
|
+
animation: ${ax} 0.2s ease;
|
|
1193
1199
|
}
|
|
1194
1200
|
|
|
1195
1201
|
&.left.closing {
|
|
1196
|
-
animation: ${
|
|
1202
|
+
animation: ${ix} 0.2s ease;
|
|
1197
1203
|
transform: translate(-100%, 0);
|
|
1198
1204
|
}
|
|
1199
1205
|
|
|
1200
1206
|
&.right {
|
|
1201
|
-
animation: ${
|
|
1207
|
+
animation: ${lx} 0.2s ease;
|
|
1202
1208
|
}
|
|
1203
1209
|
|
|
1204
1210
|
&.right.closing {
|
|
1205
|
-
animation: ${
|
|
1211
|
+
animation: ${sx} 0.2s ease;
|
|
1206
1212
|
transform: translate(100%, 0);
|
|
1207
1213
|
}
|
|
1208
1214
|
|
|
1209
1215
|
&.center {
|
|
1210
|
-
animation: ${
|
|
1216
|
+
animation: ${cx} 0.2s ease;
|
|
1211
1217
|
}
|
|
1212
1218
|
|
|
1213
1219
|
&.center.closing {
|
|
1214
|
-
animation: ${
|
|
1220
|
+
animation: ${ux} 0.2s ease;
|
|
1215
1221
|
transform: translate(0, 100%);
|
|
1216
1222
|
}
|
|
1217
|
-
`,
|
|
1223
|
+
`,px=on.div`
|
|
1218
1224
|
z-index: 1010;
|
|
1219
1225
|
height: 100vh;
|
|
1220
1226
|
background-color: #fff;
|
|
@@ -1223,33 +1229,33 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1223
1229
|
overflow: auto;
|
|
1224
1230
|
width: 100%;
|
|
1225
1231
|
|
|
1226
|
-
${
|
|
1232
|
+
${dx}.left & {
|
|
1227
1233
|
margin-right: auto;
|
|
1228
1234
|
}
|
|
1229
1235
|
|
|
1230
|
-
${
|
|
1236
|
+
${dx}.right & {
|
|
1231
1237
|
margin-left: auto;
|
|
1232
1238
|
}
|
|
1233
1239
|
|
|
1234
|
-
${
|
|
1240
|
+
${dx}.center & {
|
|
1235
1241
|
margin: auto;
|
|
1236
1242
|
height: 95vh;
|
|
1237
1243
|
}
|
|
1238
|
-
`,
|
|
1244
|
+
`,fx=on.div`
|
|
1239
1245
|
display: flex;
|
|
1240
1246
|
|
|
1241
|
-
${
|
|
1247
|
+
${dx}.left & {
|
|
1242
1248
|
flex-flow: row-reverse nowrap;
|
|
1243
1249
|
}
|
|
1244
1250
|
|
|
1245
|
-
${
|
|
1251
|
+
${dx}.right & {
|
|
1246
1252
|
flex-flow: row nowrap;
|
|
1247
1253
|
}
|
|
1248
1254
|
|
|
1249
|
-
${
|
|
1255
|
+
${dx}.center & {
|
|
1250
1256
|
flex-flow: row nowrap;
|
|
1251
1257
|
}
|
|
1252
|
-
`,
|
|
1258
|
+
`,mx=on.div`
|
|
1253
1259
|
display: flex;
|
|
1254
1260
|
flex-flow: row nowrap;
|
|
1255
1261
|
align-items: center;
|
|
@@ -1272,7 +1278,7 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1272
1278
|
strong {
|
|
1273
1279
|
font-weight: 700;
|
|
1274
1280
|
}
|
|
1275
|
-
`,
|
|
1281
|
+
`,gx=an`
|
|
1276
1282
|
from {
|
|
1277
1283
|
margin-top: -50px;
|
|
1278
1284
|
}
|
|
@@ -1280,14 +1286,14 @@ function af(e,t){const n=rf(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
1280
1286
|
to {
|
|
1281
1287
|
margin-top: 0
|
|
1282
1288
|
}
|
|
1283
|
-
`,
|
|
1289
|
+
`,hx=on(mx)`
|
|
1284
1290
|
background-color: #ffdadd;
|
|
1285
|
-
animation: ${
|
|
1291
|
+
animation: ${gx} 0.5s ease;
|
|
1286
1292
|
|
|
1287
1293
|
svg {
|
|
1288
1294
|
color: var(--color--red);
|
|
1289
1295
|
}
|
|
1290
|
-
`,
|
|
1296
|
+
`,vx=on.div`
|
|
1291
1297
|
position: relative;
|
|
1292
|
-
`;let qw=1;const Yw=p((({children:n,side:r,size:i="md",open:l=!1,closeBlocked:s,onClose:c=(()=>{}),onCloseCompleted:d=(()=>{}),closeRequested:p=!1,...f},m)=>{const g=a(null);g.current||(g.current=`overlay-${qw}`,qw+=1);const h=a(null),[v,b]=o.useState(!1);o.useEffect((()=>{if(v){const e=setTimeout(d,200);return()=>{clearTimeout(e)}}return()=>{}})),u((()=>{p&&b(!0)}),[p]),g.current||(g.current=`modal-${qw}`,qw+=1),u((()=>{document.body.style.overflow=l?"hidden":"auto"}),[l]),u((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),c())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[c]);return e(zw,{open:l&&!v,anchor:r,className:`${r} ${l?"open":"closing"}`,size:i,...f,children:e(jw,{children:t(Vw,{ref:h,children:[s&&t(Ww,{role:"alert","aria-live":"assertive",children:[e(Ti,{name:["fas","exclamation-triangle"]}),t("p",{children:[e("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),e(Gw,{ref:m,children:e(Rw,{children:n})})]})})})}));function Uw(e){const[t,n]=c(e);return{value:t,toggle:f((()=>n((e=>!e))),[]),setTrue:f((()=>n(!0)),[]),setFalse:f((()=>n(!1)),[])}}const Kw=(e,t,n)=>{const[r,o]=c(null),[i,l]=c(!1),[s,d]=c(null),p=a(null);return u((()=>{if(!e)return()=>{};let r=!0;l(!0);return p.current&&clearTimeout(p.current),p.current=setTimeout((()=>{(async()=>{try{const n=await fetch(e,t);if(!n.ok)throw new Error(`Error: ${n.statusText}`);const a=await n.json();r&&(o(a),l(!1))}catch(e){r&&(d(e),l(!1))}})()}),n||0),()=>{r=!1,p.current&&clearTimeout(p.current)}}),[e,t,n]),{data:r,loading:i,error:s}};function Jw(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function Xw(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Qw=6048e5,Zw=864e5,ex=6e4,tx=36e5;let nx={};function rx(){return nx}function ox(e,t){const n=rx(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=Jw(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function ax(e){return ox(e,{weekStartsOn:1})}function ix(e){const t=Jw(e),n=t.getFullYear(),r=Xw(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=ax(r),a=Xw(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=ax(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function lx(e){const t=Jw(e);return t.setHours(0,0,0,0),t}function sx(e){const t=Jw(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function cx(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=Jw(e);return!isNaN(Number(n))}const ux={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function dx(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const px={date:dx({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:dx({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:dx({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},fx={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function mx(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function gx(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(l,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(s):s,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}var hx;const vx={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=ux[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:px,formatRelative:(e,t,n,r)=>fx[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:mx({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:mx({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:mx({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:mx({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:mx({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(hx={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(hx.matchPattern);if(!n)return null;const r=n[0],o=e.match(hx.parsePattern);if(!o)return null;let a=hx.valueCallback?hx.valueCallback(o[0]):o[0];return a=t.valueCallback?t.valueCallback(a):a,{value:a,rest:e.slice(r.length)}}),era:gx({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:gx({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:gx({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:gx({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:gx({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function bx(e){const t=Jw(e),n=function(e,t){const n=lx(e),r=lx(t),o=+n-sx(n),a=+r-sx(r);return Math.round((o-a)/Zw)}(t,function(e){const t=Jw(e),n=Xw(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t));return n+1}function yx(e){const t=Jw(e),n=+ax(t)-+function(e){const t=ix(e),n=Xw(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),ax(n)}(t);return Math.round(n/Qw)+1}function wx(e,t){const n=Jw(e),r=n.getFullYear(),o=rx(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=Xw(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const l=ox(i,t),s=Xw(e,0);s.setFullYear(r,0,a),s.setHours(0,0,0,0);const c=ox(s,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function xx(e,t){const n=Jw(e),r=+ox(n,t)-+function(e,t){const n=rx(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=wx(e,t),a=Xw(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),ox(a,t)}(n,t);return Math.round(r/Qw)+1}function Sx(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const Cx={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Sx("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):Sx(n+1,2)},d:(e,t)=>Sx(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>Sx(e.getHours()%12||12,t.length),H:(e,t)=>Sx(e.getHours(),t.length),m:(e,t)=>Sx(e.getMinutes(),t.length),s:(e,t)=>Sx(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return Sx(Math.trunc(r*Math.pow(10,n-3)),t.length)}},kx="midnight",Ox="noon",Ex="morning",Ix="afternoon",Px="evening",Nx="night",$x={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return Cx.y(e,t)},Y:function(e,t,n,r){const o=wx(e,r),a=o>0?o:1-o;if("YY"===t){return Sx(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):Sx(a,t.length)},R:function(e,t){return Sx(ix(e),t.length)},u:function(e,t){return Sx(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Sx(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Sx(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Cx.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Sx(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=xx(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Sx(o,t.length)},I:function(e,t,n){const r=yx(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Sx(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Cx.d(e,t)},D:function(e,t,n){const r=bx(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Sx(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Sx(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Sx(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Sx(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?Ox:0===r?kx:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?Px:r>=12?Ix:r>=4?Ex:Nx,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Cx.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Cx.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Sx(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Sx(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Cx.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Cx.s(e,t)},S:function(e,t){return Cx.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Rx(r);case"XXXX":case"XX":return Tx(r);default:return Tx(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Rx(r);case"xxxx":case"xx":return Tx(r);default:return Tx(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+zx(r,":");default:return"GMT"+Tx(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+zx(r,":");default:return"GMT"+Tx(r,":")}},t:function(e,t,n){return Sx(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return Sx(e.getTime(),t.length)}};function zx(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return 0===a?n+String(o):n+String(o)+t+Sx(a,2)}function Rx(e,t){if(e%60==0){return(e>0?"-":"+")+Sx(Math.abs(e)/60,2)}return Tx(e,t)}function Tx(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+Sx(Math.trunc(r/60),2)+t+Sx(r%60,2)}const Dx=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Ax=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Mx={p:Ax,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Dx(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",Dx(r,t)).replace("{{time}}",Ax(o,t))}},_x=/^D+$/,Lx=/^Y+$/,Fx=["D","DD","YY","YYYY"];const Vx=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jx=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Bx=/^'([^]*?)'?$/,Hx=/''/g,Wx=/[a-zA-Z]/;function Gx(e,t,n){const r=rx(),o=r.locale??vx,a=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=Jw(e);if(!cx(l))throw new RangeError("Invalid time value");let s=t.match(jx).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,Mx[t])(e,o.formatLong)}return e})).join("").match(Vx).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:qx(e)};if($x[t])return{isToken:!0,value:e};if(t.match(Wx))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(s=o.localize.preprocessor(l,s));const c={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return s.map((n=>{if(!n.isToken)return n.value;const r=n.value;(function(e){return Lx.test(e)}(r)||function(e){return _x.test(e)}(r))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),Fx.includes(e))throw new RangeError(r)}(r,t,String(e));return(0,$x[r[0]])(l,r,o.localize,c)})).join("")}function qx(e){const t=e.match(Bx);return t?t[1].replace(Hx,"'"):e}function Yx(e,t){const n=function(e){const t={},n=e.split(Ux.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],Ux.timeZoneDelimiter.test(t.date)&&(t.date=e.split(Ux.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=Ux.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let r;if(n.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(n.date,2);r=function(e,t){if(null===t)return new Date(NaN);const n=e.match(Kx);if(!n)return new Date(NaN);const r=!!n[4],o=Qx(n[1]),a=Qx(n[2])-1,i=Qx(n[3]),l=Qx(n[4]),s=Qx(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,s)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,a=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}(t,l,s):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(eS[t]||(tS(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(tS(e)?366:365)}(t,o)?(e.setUTCFullYear(t,a,Math.max(o,i)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const o=r.getTime();let a,i=0;if(n.time&&(i=function(e){const t=e.match(Jx);if(!t)return NaN;const n=Zx(t[1]),r=Zx(t[2]),o=Zx(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*tx+r*ex+1e3*o}(n.time),isNaN(i)))return new Date(NaN);if(!n.timezone){const e=new Date(o+i),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return a=function(e){if("Z"===e)return 0;const t=e.match(Xx);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*tx+o*ex)}(n.timezone),isNaN(a)?new Date(NaN):new Date(o+i+a)}const Ux={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Kx=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Jx=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Xx=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Qx(e){return e?parseInt(e):1}function Zx(e){return e&&parseFloat(e.replace(",","."))||0}const eS=[31,null,31,30,31,30,31,31,30,31,30,31];function tS(e){return e%400==0||e%4==0&&e%100!=0}const nS="-",rS=(e,t="dd MMM yyyy")=>{if(""===e||null==e)return nS;const n=Yx(e);return cx(n)?Gx(n,t):nS},oS=e=>""===e||null==e?nS:e.toLocaleString(),aS=e=>""===e||null==e?nS:e,iS=(e,t="en-GB",n="GBP")=>{let r=e;if(""===r||null==r)return nS;"string"==typeof e&&(r=Number(e));return new Intl.NumberFormat(t,{style:"currency",currency:n,minimumFractionDigits:0}).format(r)};export{Li as Accordion,Lu as AppBar,Ew as Autocomplete,Nw as AutocompleteSelectMultiple,Hi as Badge,nw as Box,Ah as Breadcrumb,ll as Button,Ub as Chip,Wi as Divider,Yw as Drawer,zu as DropDownMenu,cn as Heading,Ti as Icon,Lb as IconButton,$w as Input,zh as Layout,Kv as List,Fv as ListItem,nb as ListItemButton,Cw as ListItemDecorator,Ki as LoadingSpinner,Iu as Logo,wu as ProgressBar,Gi as ProgressCircle,dl as ReadMore,fl as RelativeTime,ec as StatusIcon,ru as Table,du as Tabs,hu as TextBlock,kw as TextField,Ou as ToastMessages,qs as Tooltip,iS as formatCurrency,rS as formatDate,oS as formatNumber,aS as formatText,Kw as useFetch,Zc as useLocalStorage,Uw as useToggle};
|
|
1298
|
+
`;let bx=1;const yx=p((({children:n,side:r,size:i="md",open:l=!1,closeBlocked:s,onClose:c=(()=>{}),onCloseCompleted:d=(()=>{}),closeRequested:p=!1,...f},m)=>{const g=a(null);g.current||(g.current=`overlay-${bx}`,bx+=1);const h=a(null),[v,b]=o.useState(!1);o.useEffect((()=>{if(v){const e=setTimeout(d,200);return()=>{clearTimeout(e)}}return()=>{}})),u((()=>{p&&b(!0)}),[p]),g.current||(g.current=`modal-${bx}`,bx+=1),u((()=>{document.body.style.overflow=l?"hidden":"auto"}),[l]),u((()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),c())};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[c]);return e(rx,{open:l&&!v,anchor:r,className:`${r} ${l?"open":"closing"}`,size:i,...f,children:e(fx,{children:t(px,{ref:h,children:[s&&t(hx,{role:"alert","aria-live":"assertive",children:[e(Ti,{name:["fas","exclamation-triangle"]}),t("p",{children:[e("strong",{children:"You have unsaved changes."})," Please save or cancel before closing."]})]}),e(vx,{ref:m,children:e(ox,{children:n})})]})})})}));function wx(e){const[t,n]=c(e);return{value:t,toggle:f((()=>n((e=>!e))),[]),setTrue:f((()=>n(!0)),[]),setFalse:f((()=>n(!1)),[])}}const xx=(e,t,n)=>{const[r,o]=c(null),[i,l]=c(!1),[s,d]=c(null),p=a(null);return u((()=>{if(!e)return()=>{};let r=!0;l(!0);return p.current&&clearTimeout(p.current),p.current=setTimeout((()=>{(async()=>{try{const n=await fetch(e,t);if(!n.ok)throw new Error(`Error: ${n.statusText}`);const a=await n.json();r&&(o(a),l(!1))}catch(e){r&&(d(e),l(!1))}})()}),n||0),()=>{r=!1,p.current&&clearTimeout(p.current)}}),[e,t,n]),{data:r,loading:i,error:s}};function Sx(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}function Cx(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const kx=6048e5,Ox=864e5,Ex=6e4,Ix=36e5;let Px={};function $x(){return Px}function Nx(e,t){const n=$x(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=Sx(e),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function zx(e){return Nx(e,{weekStartsOn:1})}function Rx(e){const t=Sx(e),n=t.getFullYear(),r=Cx(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=zx(r),a=Cx(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const i=zx(a);return t.getTime()>=o.getTime()?n+1:t.getTime()>=i.getTime()?n:n-1}function Tx(e){const t=Sx(e);return t.setHours(0,0,0,0),t}function Dx(e){const t=Sx(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Ax(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=Sx(e);return!isNaN(Number(n))}const Mx={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function _x(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Lx={date:_x({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:_x({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:_x({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Fx={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Vx(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function jx(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(o);if(!a)return null;const i=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n;return}(l,(e=>e.test(i))):function(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n;return}(l,(e=>e.test(i)));let c;c=e.valueCallback?e.valueCallback(s):s,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:t.slice(i.length)}}}var Bx;const Hx={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=Mx[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:Lx,formatRelative:(e,t,n,r)=>Fx[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Vx({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Vx({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Vx({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Vx({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Vx({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(Bx={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(Bx.matchPattern);if(!n)return null;const r=n[0],o=e.match(Bx.parsePattern);if(!o)return null;let a=Bx.valueCallback?Bx.valueCallback(o[0]):o[0];return a=t.valueCallback?t.valueCallback(a):a,{value:a,rest:e.slice(r.length)}}),era:jx({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:jx({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:jx({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:jx({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:jx({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Wx(e){const t=Sx(e),n=function(e,t){const n=Tx(e),r=Tx(t),o=+n-Dx(n),a=+r-Dx(r);return Math.round((o-a)/Ox)}(t,function(e){const t=Sx(e),n=Cx(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t));return n+1}function Gx(e){const t=Sx(e),n=+zx(t)-+function(e){const t=Rx(e),n=Cx(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),zx(n)}(t);return Math.round(n/kx)+1}function qx(e,t){const n=Sx(e),r=n.getFullYear(),o=$x(),a=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=Cx(e,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const l=Nx(i,t),s=Cx(e,0);s.setFullYear(r,0,a),s.setHours(0,0,0,0);const c=Nx(s,t);return n.getTime()>=l.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function Yx(e,t){const n=Sx(e),r=+Nx(n,t)-+function(e,t){const n=$x(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=qx(e,t),a=Cx(e,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),Nx(a,t)}(n,t);return Math.round(r/kx)+1}function Ux(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const Kx={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return Ux("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):Ux(n+1,2)},d:(e,t)=>Ux(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>Ux(e.getHours()%12||12,t.length),H:(e,t)=>Ux(e.getHours(),t.length),m:(e,t)=>Ux(e.getMinutes(),t.length),s:(e,t)=>Ux(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return Ux(Math.trunc(r*Math.pow(10,n-3)),t.length)}},Jx="midnight",Xx="noon",Qx="morning",Zx="afternoon",eS="evening",tS="night",nS={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return Kx.y(e,t)},Y:function(e,t,n,r){const o=qx(e,r),a=o>0?o:1-o;if("YY"===t){return Ux(a%100,2)}return"Yo"===t?n.ordinalNumber(a,{unit:"year"}):Ux(a,t.length)},R:function(e,t){return Ux(Rx(e),t.length)},u:function(e,t){return Ux(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return Ux(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return Ux(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return Kx.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return Ux(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=Yx(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):Ux(o,t.length)},I:function(e,t,n){const r=Gx(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):Ux(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Kx.d(e,t)},D:function(e,t,n){const r=Wx(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):Ux(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return Ux(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return Ux(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return Ux(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?Xx:0===r?Jx:r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?eS:r>=12?Zx:r>=4?Qx:tS,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Kx.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Kx.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):Ux(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):Ux(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Kx.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Kx.s(e,t)},S:function(e,t){return Kx.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return oS(r);case"XXXX":case"XX":return aS(r);default:return aS(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return oS(r);case"xxxx":case"xx":return aS(r);default:return aS(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+rS(r,":");default:return"GMT"+aS(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+rS(r,":");default:return"GMT"+aS(r,":")}},t:function(e,t,n){return Ux(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return Ux(e.getTime(),t.length)}};function rS(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),a=r%60;return 0===a?n+String(o):n+String(o)+t+Ux(a,2)}function oS(e,t){if(e%60==0){return(e>0?"-":"+")+Ux(Math.abs(e)/60,2)}return aS(e,t)}function aS(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+Ux(Math.trunc(r/60),2)+t+Ux(r%60,2)}const iS=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},lS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},sS={p:lS,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return iS(e,t);let a;switch(r){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;default:a=t.dateTime({width:"full"})}return a.replace("{{date}}",iS(r,t)).replace("{{time}}",lS(o,t))}},cS=/^D+$/,uS=/^Y+$/,dS=["D","DD","YY","YYYY"];const pS=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,fS=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,mS=/^'([^]*?)'?$/,gS=/''/g,hS=/[a-zA-Z]/;function vS(e,t,n){const r=$x(),o=r.locale??Hx,a=r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=r.weekStartsOn??r.locale?.options?.weekStartsOn??0,l=Sx(e);if(!Ax(l))throw new RangeError("Invalid time value");let s=t.match(fS).map((e=>{const t=e[0];if("p"===t||"P"===t){return(0,sS[t])(e,o.formatLong)}return e})).join("").match(pS).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:bS(e)};if(nS[t])return{isToken:!0,value:e};if(t.match(hS))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(s=o.localize.preprocessor(l,s));const c={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return s.map((n=>{if(!n.isToken)return n.value;const r=n.value;(function(e){return uS.test(e)}(r)||function(e){return cS.test(e)}(r))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),dS.includes(e))throw new RangeError(r)}(r,t,String(e));return(0,nS[r[0]])(l,r,o.localize,c)})).join("")}function bS(e){const t=e.match(mS);return t?t[1].replace(gS,"'"):e}function yS(e,t){const n=function(e){const t={},n=e.split(wS.dateTimeDelimiter);let r;if(n.length>2)return t;/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],wS.timeZoneDelimiter.test(t.date)&&(t.date=e.split(wS.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length)));if(r){const e=wS.timezone.exec(r);e?(t.time=r.replace(e[1],""),t.timezone=e[1]):t.time=r}return t}(e);let r;if(n.date){const e=function(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:null===a?o:100*a,restDateString:e.slice((r[1]||r[2]).length)}}(n.date,2);r=function(e,t){if(null===t)return new Date(NaN);const n=e.match(xS);if(!n)return new Date(NaN);const r=!!n[4],o=kS(n[1]),a=kS(n[2])-1,i=kS(n[3]),l=kS(n[4]),s=kS(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,l,s)?function(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,a=7*(t-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}(t,l,s):new Date(NaN);{const e=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(ES[t]||(IS(e)?29:28))}(t,a,i)&&function(e,t){return t>=1&&t<=(IS(e)?366:365)}(t,o)?(e.setUTCFullYear(t,a,Math.max(o,i)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const o=r.getTime();let a,i=0;if(n.time&&(i=function(e){const t=e.match(SS);if(!t)return NaN;const n=OS(t[1]),r=OS(t[2]),o=OS(t[3]);if(!function(e,t,n){if(24===e)return 0===t&&0===n;return n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}(n,r,o))return NaN;return n*Ix+r*Ex+1e3*o}(n.time),isNaN(i)))return new Date(NaN);if(!n.timezone){const e=new Date(o+i),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return a=function(e){if("Z"===e)return 0;const t=e.match(CS);if(!t)return 0;const n="+"===t[1]?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;if(!function(e,t){return t>=0&&t<=59}(0,o))return NaN;return n*(r*Ix+o*Ex)}(n.timezone),isNaN(a)?new Date(NaN):new Date(o+i+a)}const wS={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},xS=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,SS=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,CS=/^([+-])(\d{2})(?::?(\d{2}))?$/;function kS(e){return e?parseInt(e):1}function OS(e){return e&&parseFloat(e.replace(",","."))||0}const ES=[31,null,31,30,31,30,31,31,30,31,30,31];function IS(e){return e%400==0||e%4==0&&e%100!=0}const PS="-",$S=(e,t="dd MMM yyyy")=>{if(""===e||null==e)return PS;const n=yS(e);return Ax(n)?vS(n,t):PS},NS=e=>""===e||null==e?PS:e.toLocaleString(),zS=e=>""===e||null==e?PS:e,RS={style:"currency",currency:"GBP",minimumFractionDigits:0,maximumFractionDigits:0},TS=(e,t="en-GB",n=RS)=>{let r=e;if(""===r||null==r)return PS;"string"==typeof e&&(r=Number(e));return new Intl.NumberFormat(t,{...RS,...n}).format(r)};export{Li as Accordion,Lu as AppBar,Qw as Autocomplete,tx as AutocompleteSelectMultiple,Hi as Badge,Iw as Box,iv as Breadcrumb,ll as Button,yy as Chip,Wi as Divider,yx as Drawer,zu as DropDownMenu,Gw as Grid,cn as Heading,Ti as Icon,cy as IconButton,nx as Input,nv as Layout,wb as List,ub as ListItem,Ib as ListItemButton,Kw as ListItemDecorator,Ki as LoadingSpinner,Iu as Logo,wu as ProgressBar,Gi as ProgressCircle,dl as ReadMore,fl as RelativeTime,ec as StatusIcon,ru as Table,du as Tabs,hu as TextBlock,Jw as TextField,Ou as ToastMessages,qs as Tooltip,TS as formatCurrency,$S as formatDate,NS as formatNumber,zS as formatText,xx as useFetch,Zc as useLocalStorage,wx as useToggle};
|
|
1293
1299
|
//# sourceMappingURL=index.js.map
|