=4;++r,i-=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(i){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)}(i)+u;return{name:c,styles:i,next:we}},_e=!!a.useInsertionEffect&&a.useInsertionEffect,xe=_e||function(e){return e()},Ee=_e||o.useLayoutEffect,Se=o.createContext("undefined"!==typeof HTMLElement?le({key:"css"}):null);Se.Provider;var Ie=function(e){return(0,o.forwardRef)((function(t,n){var r=(0,o.useContext)(Se);return e(t,r,n)}))};var Te=o.createContext({});var De=function(){return o.useContext(Te)},Oe=de((function(e){return de((function(t){return function(e,t){return"function"===typeof t?t(e):(0,s.Z)({},e,t)}(e,t)}))})),Ne=function(e){var t=o.useContext(Te);return e.theme!==t&&(t=Oe(t)(e.theme)),o.createElement(Te.Provider,{value:t},e.children)};var Pe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Le=function(e,t,n){Pe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}},Me=u.Z,Re=function(e){return"theme"!==e},Be=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Me:Re},je=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},Ze=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Pe(t,n,r),xe((function(){return Le(t,n,r)})),null},Fe=function e(t,n){var r,i,a=t.__emotion_real===t,u=a&&t.__emotion_base||t;void 0!==n&&(r=n.label,i=n.target);var c=je(t,n,a),l=c||Be(u),d=!l("as");return function(){var f=arguments,h=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&h.push("label:"+r+";"),null==f[0]||void 0===f[0].raw)h.push.apply(h,f);else{0,h.push(f[0][0]);for(var p=f.length,g=1;g0&&void 0!==arguments[0]?arguments[0]:{};return(null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{}))||{}}function Je(e,t){return e.reduce((function(e,t){var n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function $e(e){var t,n=e.values,r=e.breakpoints,i=e.base||function(e,t){if("object"!==typeof e)return{};var n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((function(t,r){r2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?(0,s.Z)({},e):e;return et(e)&&et(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(et(t[i])&&i in e&&et(e[i])?r[i]=nt(e[i],t[i],n):n.clone?r[i]=et(t[i])?tt(t[i]):t[i]:r[i]=t[i])})),r}var rt=n(29439);function it(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n2&&void 0!==arguments[2])||arguments[2];if(!t||"string"!==typeof t)return null;if(e&&e.vars&&n){var r="vars.".concat(t).split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e);if(null!=r)return r}return t.split(".").reduce((function(e,t){return e&&null!=e[t]?e[t]:null}),e)}function st(e,t,n){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||i:at(e,n)||i,t&&(r=t(r,i,e)),r}var ut=function(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,i=e.themeKey,o=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=at(e.theme,i)||{};return Xe(e,n,(function(e){var n=st(a,o,e);return e===n&&"string"===typeof e&&(n=st(a,o,"".concat(t).concat("default"===e?"":ot(e)),e)),!1===r?n:(0,Ue.Z)({},r,n)}))};return a.propTypes={},a.filterProps=[t],a};var ct=function(e,t){return t?nt(e,t,{clone:!1}):e};var lt={m:"margin",p:"padding"},dt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ft={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ht=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!ft[e])return[e];e=ft[e]}var t=e.split(""),n=(0,rt.Z)(t,2),r=n[0],i=n[1],o=lt[r],a=dt[i]||"";return Array.isArray(a)?a.map((function(e){return o+e})):[o+a]})),pt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],vt=[].concat(pt,gt);function mt(e,t,n,r){var i,o=null!=(i=at(e,t,!1))?i:n;return"number"===typeof o?function(e){return"string"===typeof e?e:o*e}:Array.isArray(o)?function(e){return"string"===typeof e?e:o[e]}:"function"===typeof o?o:function(){}}function yt(e){return mt(e,"spacing",8)}function bt(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function At(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=bt(t,n),e}),{})}}(ht(n),r);return Xe(e,e[n],i)}function wt(e,t){var n=yt(e.theme);return Object.keys(e).map((function(r){return At(e,t,r,n)})).reduce(ct,{})}function kt(e){return wt(e,pt)}function Ct(e){return wt(e,gt)}function _t(e){return wt(e,vt)}kt.propTypes={},kt.filterProps=pt,Ct.propTypes={},Ct.filterProps=gt,_t.propTypes={},_t.filterProps=vt;var xt=function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:void 0,r={};return Object.keys(e).forEach((function(i){r[i]=e[i].reduce((function(e,r){if(r){var i=t(r);""!==i&&e.push(i),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}var en=Fe.bind();function tn(e,t){return en(e,t)}["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){en[e]=en(e)}));var nn=["values","unit","step"],rn=function(e){var t=Object.keys(e).map((function(t){return{key:t,val:e[t]}}))||[];return t.sort((function(e,t){return e.val-t.val})),t.reduce((function(e,t){return(0,s.Z)({},e,(0,Ue.Z)({},t.key,t.val))}),{})};var on={borderRadius:4};var an=function(){function e(e,t,n,r){var i,o=(i={},(0,Ue.Z)(i,e,t),(0,Ue.Z)(i,"theme",n),i),a=r[e];if(!a)return(0,Ue.Z)({},e,t);var s=a.cssProperty,u=void 0===s?e:s,c=a.themeKey,l=a.transform,d=a.style;if(null==t)return null;if("typography"===c&&"inherit"===t)return(0,Ue.Z)({},e,t);var f=at(n,c)||{};if(d)return d(o);return Xe(o,t,(function(t){var n=st(f,l,t);return t===n&&"string"===typeof t&&(n=st(f,l,"".concat(e).concat("default"===t?"":ot(t)),t)),!1===u?n:(0,Ue.Z)({},u,n)}))}return function t(n){var r,i=n||{},o=i.sx,a=i.theme,s=void 0===a?{}:a;if(!o)return null;var u=null!=(r=s.unstable_sxConfig)?r:Kt;function c(n){var r=n;if("function"===typeof n)r=n(s);else if("object"!==typeof n)return n;if(!r)return null;var i=Ye(s.breakpoints),o=Object.keys(i),a=i;return Object.keys(r).forEach((function(n){var i,o,c=(i=r[n],o=s,"function"===typeof i?i(o):i);if(null!==c&&void 0!==c)if("object"===typeof c)if(u[n])a=ct(a,e(n,c,s,u));else{var l=Xe({theme:s},c,(function(e){return(0,Ue.Z)({},n,e)}));!function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.palette,i=void 0===r?{}:r,o=e.spacing,a=e.shape,u=void 0===a?{}:a,c=(0,Qe.Z)(e,un),l=function(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,a=void 0===o?5:o,u=(0,Qe.Z)(e,nn),c=rn(n),l=Object.keys(c);function d(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function f(e){var t="number"===typeof n[e]?n[e]:e;return"@media (max-width:".concat(t-a/100).concat(i,")")}function h(e,t){var r=l.indexOf(t);return"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[l[r]]?n[l[r]]:t)-a/100).concat(i,")")}return(0,s.Z)({keys:l,values:c,up:d,down:f,between:h,only:function(e){return l.indexOf(e)+10&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=yt({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r1?h-1:0),g=1;g1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function kn(e){if(e.type)return e;if("#"===e.charAt(0))return kn(function(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(it(9,e));var r,i=e.substring(t+1,e.length-1);if("color"===n){if(r=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(it(10,r))}else i=i.split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)})),colorSpace:r}}function Cn(e){var t=e.type,n=e.colorSpace,r=e.values;return-1!==t.indexOf("rgb")?r=r.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==t.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function _n(e){var t="hsl"===(e=kn(e)).type||"hsla"===e.type?kn(function(e){var t=(e=kn(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-o*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",u.push(t[3])),Cn({type:s,values:u})}(e)).values:e.values;return t=t.map((function(t){return"color"!==e.type&&(t/=255),t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function xn(e,t){return e=kn(e),t=wn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]="/".concat(t):e.values[3]=t,Cn(e)}function En(e,t){if(e=kn(e),t=wn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Cn(e)}function Sn(e,t){if(e=kn(e),t=wn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Cn(e)}var In={black:"#000",white:"#fff"},Tn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Dn={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},On={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Nn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Pn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ln={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Mn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Rn=["mode","contrastThreshold","tonalOffset"],Bn={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:In.white,default:In.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},jn={text:{primary:In.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:In.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Zn(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Sn(e.main,i):"dark"===t&&(e.dark=En(e.main,o)))}function Fn(e){var t=e.mode,n=void 0===t?"light":t,r=e.contrastThreshold,i=void 0===r?3:r,o=e.tonalOffset,a=void 0===o?.2:o,u=(0,Qe.Z)(e,Rn),c=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Pn[200],light:Pn[50],dark:Pn[400]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}(n),l=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Dn[200],light:Dn[50],dark:Dn[400]}:{main:Dn[500],light:Dn[300],dark:Dn[700]}}(n),d=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:On[500],light:On[300],dark:On[700]}:{main:On[700],light:On[400],dark:On[800]}}(n),f=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Ln[400],light:Ln[300],dark:Ln[700]}:{main:Ln[700],light:Ln[500],dark:Ln[900]}}(n),h=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Mn[400],light:Mn[300],dark:Mn[700]}:{main:Mn[800],light:Mn[500],dark:Mn[900]}}(n),p=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:Nn[400],light:Nn[300],dark:Nn[700]}:{main:"#ed6c02",light:Nn[500],dark:Nn[900]}}(n);function g(e){var t=function(e,t){var n=_n(e),r=_n(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,jn.text.primary)>=i?jn.text.primary:Bn.text.primary;return t}var v=function(e){var t=e.color,n=e.name,r=e.mainShade,i=void 0===r?500:r,o=e.lightShade,u=void 0===o?300:o,c=e.darkShade,l=void 0===c?700:c;if(!(t=(0,s.Z)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error(it(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error(it(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return Zn(t,"light",u,a),Zn(t,"dark",l,a),t.contrastText||(t.contrastText=g(t.main)),t},m={dark:jn,light:Bn};return nt((0,s.Z)({common:(0,s.Z)({},In),mode:n,primary:v({color:c,name:"primary"}),secondary:v({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:d,name:"error"}),warning:v({color:p,name:"warning"}),info:v({color:f,name:"info"}),success:v({color:h,name:"success"}),grey:Tn,contrastThreshold:i,getContrastText:g,augmentColor:v,tonalOffset:a},m[n]),u)}var zn=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var Hn={textTransform:"uppercase"},Vn='"Roboto", "Helvetica", "Arial", sans-serif';function Un(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,i=void 0===r?Vn:r,o=n.fontSize,a=void 0===o?14:o,u=n.fontWeightLight,c=void 0===u?300:u,l=n.fontWeightRegular,d=void 0===l?400:l,f=n.fontWeightMedium,h=void 0===f?500:f,p=n.fontWeightBold,g=void 0===p?700:p,v=n.htmlFontSize,m=void 0===v?16:v,y=n.allVariants,b=n.pxToRem,A=(0,Qe.Z)(n,zn);var w=a/14,k=b||function(e){return"".concat(e/m*w,"rem")},C=function(e,t,n,r,o){return(0,s.Z)({fontFamily:i,fontWeight:e,fontSize:k(t),lineHeight:n},i===Vn?{letterSpacing:"".concat((a=r/t,Math.round(1e5*a)/1e5),"em")}:{},o,y);var a},_={h1:C(c,96,1.167,-1.5),h2:C(c,60,1.2,-.5),h3:C(d,48,1.167,0),h4:C(d,34,1.235,.25),h5:C(d,24,1.334,0),h6:C(h,20,1.6,.15),subtitle1:C(d,16,1.75,.15),subtitle2:C(h,14,1.57,.1),body1:C(d,16,1.5,.15),body2:C(d,14,1.43,.15),button:C(h,14,1.75,.4,Hn),caption:C(d,12,1.66,.4),overline:C(d,12,2.66,1,Hn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return nt((0,s.Z)({htmlFontSize:m,pxToRem:k,fontFamily:i,fontSize:a,fontWeightLight:c,fontWeightRegular:d,fontWeightMedium:h,fontWeightBold:g},_),A,{clone:!1})}function Qn(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var Wn=["none",Qn(0,2,1,-1,0,1,1,0,0,1,3,0),Qn(0,3,1,-2,0,2,2,0,0,1,5,0),Qn(0,3,3,-2,0,3,4,0,0,1,8,0),Qn(0,2,4,-1,0,4,5,0,0,1,10,0),Qn(0,3,5,-1,0,5,8,0,0,1,14,0),Qn(0,3,5,-1,0,6,10,0,0,1,18,0),Qn(0,4,5,-2,0,7,10,1,0,2,16,1),Qn(0,5,5,-3,0,8,10,1,0,3,14,2),Qn(0,5,6,-3,0,9,12,1,0,3,16,2),Qn(0,6,6,-3,0,10,14,1,0,4,18,3),Qn(0,6,7,-4,0,11,15,1,0,4,20,3),Qn(0,7,8,-4,0,12,17,2,0,5,22,4),Qn(0,7,8,-4,0,13,19,2,0,5,24,4),Qn(0,7,9,-4,0,14,21,2,0,5,26,4),Qn(0,8,9,-5,0,15,22,2,0,6,28,5),Qn(0,8,10,-5,0,16,24,2,0,6,30,5),Qn(0,8,11,-5,0,17,26,2,0,6,32,5),Qn(0,9,11,-5,0,18,28,2,0,7,34,6),Qn(0,9,12,-6,0,19,29,2,0,7,36,6),Qn(0,10,13,-6,0,20,31,3,0,8,38,7),Qn(0,10,13,-6,0,21,33,3,0,8,40,7),Qn(0,10,14,-6,0,22,35,3,0,8,42,7),Qn(0,11,14,-7,0,23,36,3,0,9,44,8),Qn(0,11,15,-7,0,24,38,3,0,9,46,8)],Gn=["duration","easing","delay"],qn={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Kn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Xn(e){return"".concat(Math.round(e),"ms")}function Yn(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function Jn(e){var t=(0,s.Z)({},qn,e.easing),n=(0,s.Z)({},Kn,e.duration);return(0,s.Z)({getAutoHeightDuration:Yn,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.duration,o=void 0===i?n.standard:i,a=r.easing,s=void 0===a?t.easeInOut:a,u=r.delay,c=void 0===u?0:u;(0,Qe.Z)(r,Gn);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof o?o:Xn(o)," ").concat(s," ").concat("string"===typeof c?c:Xn(c))})).join(",")}},e,{easing:t,duration:n})}var $n={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},er=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function tr(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,r=e.palette,i=void 0===r?{}:r,o=e.transitions,a=void 0===o?{}:o,u=e.typography,c=void 0===u?{}:u,l=(0,Qe.Z)(e,er);if(e.vars)throw new Error(it(18));var d=Fn(i),f=cn(e),h=nt(f,{mixins:An(f.breakpoints,n),palette:d,shadows:Wn.slice(),typography:Un(d,c),transitions:Jn(a),zIndex:(0,s.Z)({},$n)});h=nt(h,l);for(var p=arguments.length,g=new Array(p>1?p-1:0),v=1;v0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,r=void 0===n?mn:n,i=e.rootShouldForwardProp,o=void 0===i?vn:i,a=e.slotShouldForwardProp,u=void 0===a?vn:a,c=function(e){return sn((0,s.Z)({},e,{theme:yn((0,s.Z)({},e,{defaultTheme:r,themeId:t}))}))};return c.__mui_systemSx=!0,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,(function(e){return e.filter((function(e){return!(null!=e&&e.__mui_systemSx)}))}));var i,a,l=n.name,d=n.slot,f=n.skipVariantsResolver,h=n.skipSx,p=n.overridesResolver,g=void 0===p?(i=(a=d)?a.charAt(0).toLowerCase()+a.slice(1):a)?function(e,t){return t[i]}:null:p,v=(0,Qe.Z)(n,hn),m=void 0!==f?f:d&&"Root"!==d&&"root"!==d||!1,y=h||!1;var b=vn;"Root"===d||"root"===d?b=o:d?b=u:function(e){return"string"===typeof e&&e.charCodeAt(0)>96}(e)&&(b=void 0);var A=tn(e,(0,s.Z)({shouldForwardProp:b,label:undefined},v)),w=function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a0){var p=new Array(h).fill("");(f=[].concat((0,Ve.Z)(n),(0,Ve.Z)(p))).raw=[].concat((0,Ve.Z)(n.raw),(0,Ve.Z)(p))}var v=A.apply(void 0,[f].concat((0,Ve.Z)(d)));return e.muiName&&(v.muiName=e.muiName),v};return A.withConfig&&(w.withConfig=A.withConfig),w}}({themeId:ir,defaultTheme:rr,rootShouldForwardProp:or}),ur=sr;function cr(e,t){var n=(0,s.Z)({},t);return Object.keys(e).forEach((function(r){if(r.toString().match(/^(components|slots)$/))n[r]=(0,s.Z)({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){var i=e[r]||{},o=t[r];n[r]={},o&&Object.keys(o)?i&&Object.keys(i)?(n[r]=(0,s.Z)({},o),Object.keys(i).forEach((function(e){n[r][e]=cr(i[e],o[e])}))):n[r]=o:n[r]=i}else void 0===n[r]&&(n[r]=e[r])})),n}var lr=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=o.useContext(Te);return n&&(e=n,0!==Object.keys(e).length)?n:t},dr=cn();var fr=function(){return lr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:dr)};function hr(e){var t=e.props,n=e.name,r=e.defaultTheme,i=e.themeId,o=fr(r);i&&(o=o[i]||o);var a=function(e){var t=e.theme,n=e.name,r=e.props;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?cr(t.components[n].defaultProps,r):r}({theme:o,name:n,props:t});return a}function pr(e){return hr({props:e.props,name:e.name,defaultTheme:rr,themeId:ir})}function gr(){var e=fr(rr);return e[ir]||e}var vr=o.createContext(),mr=function(e){return e},yr=function(){var e=mr;return{configure:function(t){e=t},generate:function(t){return e(t)},reset:function(){e=mr}}}(),br={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 Ar(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r=br[t];return r?"".concat(n,"-").concat(r):"".concat(yr.generate(e),"-").concat(t)}function wr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r={};return t.forEach((function(t){r[t]=Ar(e,t,n)})),r}function kr(e){return Ar("MuiGrid",e)}var Cr=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],_r=wr("MuiGrid",["root","container","item","zeroMinWidth"].concat((0,Ve.Z)([0,1,2,3,4,5,6,7,8,9,10].map((function(e){return"spacing-xs-".concat(e)}))),(0,Ve.Z)(["column-reverse","column","row-reverse","row"].map((function(e){return"direction-xs-".concat(e)}))),(0,Ve.Z)(["nowrap","wrap-reverse","wrap"].map((function(e){return"wrap-xs-".concat(e)}))),(0,Ve.Z)(Cr.map((function(e){return"grid-xs-".concat(e)}))),(0,Ve.Z)(Cr.map((function(e){return"grid-sm-".concat(e)}))),(0,Ve.Z)(Cr.map((function(e){return"grid-md-".concat(e)}))),(0,Ve.Z)(Cr.map((function(e){return"grid-lg-".concat(e)}))),(0,Ve.Z)(Cr.map((function(e){return"grid-xl-".concat(e)}))))),xr=_r,Er=n(46417),Sr=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Ir(e){var t=parseFloat(e);return"".concat(t).concat(String(e).replace(String(t),"")||"px")}function Tr(e){var t=e.breakpoints,n=e.values,r="";Object.keys(n).forEach((function(e){""===r&&0!==n[e]&&(r=e)}));var i=Object.keys(t).sort((function(e,n){return t[e]-t[n]}));return i.slice(0,i.indexOf(r))}var Dr=ur("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.container,i=n.direction,o=n.item,a=n.spacing,s=n.wrap,u=n.zeroMinWidth,c=n.breakpoints,l=[];r&&(l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return[n["spacing-xs-".concat(String(e))]];var r=[];return t.forEach((function(t){var i=e[t];Number(i)>0&&r.push(n["spacing-".concat(t,"-").concat(String(i))])})),r}(a,c,t));var d=[];return c.forEach((function(e){var r=n[e];r&&d.push(t["grid-".concat(e,"-").concat(String(r))])})),[t.root,r&&t.container,o&&t.item,u&&t.zeroMinWidth].concat((0,Ve.Z)(l),["row"!==i&&t["direction-xs-".concat(String(i))],"wrap"!==s&&t["wrap-xs-".concat(String(s))]],d)}})((function(e){var t=e.ownerState;return(0,s.Z)({boxSizing:"border-box"},t.container&&{display:"flex",flexWrap:"wrap",width:"100%"},t.item&&{margin:0},t.zeroMinWidth&&{minWidth:0},"wrap"!==t.wrap&&{flexWrap:t.wrap})}),(function(e){var t=e.theme;return Xe({theme:t},$e({values:e.ownerState.direction,breakpoints:t.breakpoints.values}),(function(e){var t={flexDirection:e};return 0===e.indexOf("column")&&(t["& > .".concat(xr.item)]={maxWidth:"none"}),t}))}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.rowSpacing,o={};if(r&&0!==i){var a,s=$e({values:i,breakpoints:t.breakpoints.values});"object"===typeof s&&(a=Tr({breakpoints:t.breakpoints.values,values:s})),o=Xe({theme:t},s,(function(e,n){var r,i=t.spacing(e);return"0px"!==i?(0,Ue.Z)({marginTop:"-".concat(Ir(i))},"& > .".concat(xr.item),{paddingTop:Ir(i)}):null!=(r=a)&&r.includes(n)?{}:(0,Ue.Z)({marginTop:0},"& > .".concat(xr.item),{paddingTop:0})}))}return o}),(function(e){var t=e.theme,n=e.ownerState,r=n.container,i=n.columnSpacing,o={};if(r&&0!==i){var a,s=$e({values:i,breakpoints:t.breakpoints.values});"object"===typeof s&&(a=Tr({breakpoints:t.breakpoints.values,values:s})),o=Xe({theme:t},s,(function(e,n){var r,i=t.spacing(e);return"0px"!==i?(0,Ue.Z)({width:"calc(100% + ".concat(Ir(i),")"),marginLeft:"-".concat(Ir(i))},"& > .".concat(xr.item),{paddingLeft:Ir(i)}):null!=(r=a)&&r.includes(n)?{}:(0,Ue.Z)({width:"100%",marginLeft:0},"& > .".concat(xr.item),{paddingLeft:0})}))}return o}),(function(e){var t,n=e.theme,r=e.ownerState;return n.breakpoints.keys.reduce((function(e,i){var o={};if(r[i]&&(t=r[i]),!t)return e;if(!0===t)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===t)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var a=$e({values:r.columns,breakpoints:n.breakpoints.values}),u="object"===typeof a?a[i]:a;if(void 0===u||null===u)return e;var c="".concat(Math.round(t/u*1e8)/1e6,"%"),l={};if(r.container&&r.item&&0!==r.columnSpacing){var d=n.spacing(r.columnSpacing);if("0px"!==d){var f="calc(".concat(c," + ").concat(Ir(d),")");l={flexBasis:f,maxWidth:f}}}o=(0,s.Z)({flexBasis:c,flexGrow:0,maxWidth:c},l)}return 0===n.breakpoints.values[i]?Object.assign(e,o):e[n.breakpoints.up(i)]=o,e}),{})}));var Or=function(e){var t=e.classes,n=e.container,r=e.direction,i=e.item,o=e.spacing,a=e.wrap,s=e.zeroMinWidth,u=e.breakpoints,c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"===typeof e&&!Number.isNaN(Number(e))||"number"===typeof e)return["spacing-xs-".concat(String(e))];var n=[];return t.forEach((function(t){var r=e[t];if(Number(r)>0){var i="spacing-".concat(t,"-").concat(String(r));n.push(i)}})),n}(o,u));var l=[];return u.forEach((function(t){var n=e[t];n&&l.push("grid-".concat(t,"-").concat(String(n)))})),$t({root:["root",n&&"container",i&&"item",s&&"zeroMinWidth"].concat((0,Ve.Z)(c),["row"!==r&&"direction-xs-".concat(String(r)),"wrap"!==a&&"wrap-xs-".concat(String(a))],l)},kr,t)},Nr=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiGrid"}),r=gr().breakpoints,i=Jt(n),a=i.className,u=i.columns,c=i.columnSpacing,l=i.component,d=void 0===l?"div":l,f=i.container,h=void 0!==f&&f,p=i.direction,g=void 0===p?"row":p,v=i.item,m=void 0!==v&&v,y=i.rowSpacing,b=i.spacing,A=void 0===b?0:b,w=i.wrap,k=void 0===w?"wrap":w,C=i.zeroMinWidth,_=void 0!==C&&C,x=(0,Qe.Z)(i,Sr),E=y||A,S=c||A,I=o.useContext(vr),T=h?u||12:I,D={},O=(0,s.Z)({},x);r.keys.forEach((function(e){null!=x[e]&&(D[e]=x[e],delete O[e])}));var N=(0,s.Z)({},i,{columns:T,container:h,direction:g,item:m,rowSpacing:E,columnSpacing:S,wrap:k,zeroMinWidth:_,spacing:A},D,{breakpoints:r.keys}),P=Or(N);return(0,Er.jsx)(vr.Provider,{value:T,children:(0,Er.jsx)(Dr,(0,s.Z)({ownerState:N,className:Ge(P.root,a),as:d,ref:t},O))})})),Pr=Nr,Lr=n(4625),Mr=(n(67861),Ie((function(e,t){var n=e.styles,r=Ce([n],void 0,o.useContext(Te)),i=o.useRef();return Ee((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}),o=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==a&&(o=!0,a.setAttribute("data-emotion",e),n.hydrate([a])),i.current=[n,o],function(){n.flush()}}),[t]),Ee((function(){var e=i.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&Le(t,r.next,!0),n.tags.length){var o=n.tags[n.tags.length-1].nextElementSibling;n.before=o,n.flush()}t.insert("",r,n,!1)}}),[t,r.name]),null})));function Rr(){for(var e=arguments.length,t=new Array(e),n=0;n-1};var Gr=function(e,t){var n=this.__data__,r=Hr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function qr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++ts))return!1;var c=o.get(e),l=o.get(t);if(c&&l)return c==t&&l==e;var d=-1,f=!0,h=2&n?new to:void 0;for(o.set(e,t),o.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Ro={};Ro["[object Float32Array]"]=Ro["[object Float64Array]"]=Ro["[object Int8Array]"]=Ro["[object Int16Array]"]=Ro["[object Int32Array]"]=Ro["[object Uint8Array]"]=Ro["[object Uint8ClampedArray]"]=Ro["[object Uint16Array]"]=Ro["[object Uint32Array]"]=!0,Ro["[object Arguments]"]=Ro["[object Array]"]=Ro["[object ArrayBuffer]"]=Ro["[object Boolean]"]=Ro["[object DataView]"]=Ro["[object Date]"]=Ro["[object Error]"]=Ro["[object Function]"]=Ro["[object Map]"]=Ro["[object Number]"]=Ro["[object Object]"]=Ro["[object RegExp]"]=Ro["[object Set]"]=Ro["[object String]"]=Ro["[object WeakMap]"]=!1;var Bo=function(e){return wo(e)&&Mo(e.length)&&!!Ro[fi(e)]};var jo=function(e){return function(t){return e(t)}},Zo="object"==typeof exports&&exports&&!exports.nodeType&&exports,Fo=Zo&&"object"==typeof module&&module&&!module.nodeType&&module,zo=Fo&&Fo.exports===Zo&&ei.process,Ho=function(){try{var e=Fo&&Fo.require&&Fo.require("util").types;return e||zo&&zo.binding&&zo.binding("util")}catch(rp){}}(),Vo=Ho&&Ho.isTypedArray,Uo=Vo?jo(Vo):Bo,Qo=Object.prototype.hasOwnProperty;var Wo=function(e,t){var n=ho(e),r=!n&&So(e),i=!n&&!r&&No(e),o=!n&&!r&&!i&&Uo(e),a=n||r||i||o,s=a?Ao(e.length,String):[],u=s.length;for(var c in e)!t&&!Qo.call(e,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Lo(c,u))||s.push(c);return s},Go=Object.prototype;var qo=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Go)};var Ko=function(e,t){return function(n){return e(t(n))}},Xo=Ko(Object.keys,Object),Yo=Object.prototype.hasOwnProperty;var Jo=function(e){if(!qo(e))return Xo(e);var t=[];for(var n in Object(e))Yo.call(e,n)&&"constructor"!=n&&t.push(n);return t};var $o=function(e){return null!=e&&Mo(e.length)&&!pi(e)};var ea=function(e){return $o(e)?Wo(e):Jo(e)};var ta=function(e){return po(e,ea,bo)},na=Object.prototype.hasOwnProperty;var ra=function(e,t,n,r,i,o){var a=1&n,s=ta(e),u=s.length;if(u!=ta(t).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in t:na.call(t,l)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var h=!0;o.set(e,t),o.set(t,e);for(var p=a;++c-1};var As=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r=200){var c=t?null:Cs(e);if(c)return so(c);a=!1,i=ro,u=new to}else u=t?[]:s;e:for(;++r0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}},lu=cu(su);var du=function(e,t){return lu(ou(e,t,Ja),e+"")};var fu=function(e,t,n){if(!hi(n))return!1;var r=typeof t;return!!("number"==r?$o(n)&&Lo(t,n.length):"string"==r&&t in n)&&zr(n[t],e)};var hu=function(e){return du((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&"function"==typeof o?(i--,o):void 0,a&&fu(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r9007199254740991)return n;do{t%2&&(n+=e),(t=gu(t/2))&&(e+=e)}while(t);return n};var mu=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:mu(e,t,n)},bu=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Au=function(e){return bu.test(e)},wu=$a("length"),ku="\\ud800-\\udfff",Cu="["+ku+"]",_u="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xu="\\ud83c[\\udffb-\\udfff]",Eu="[^"+ku+"]",Su="(?:\\ud83c[\\udde6-\\uddff]){2}",Iu="[\\ud800-\\udbff][\\udc00-\\udfff]",Tu="(?:"+_u+"|"+xu+")"+"?",Du="[\\ufe0e\\ufe0f]?",Ou=Du+Tu+("(?:\\u200d(?:"+[Eu,Su,Iu].join("|")+")"+Du+Tu+")*"),Nu="(?:"+[Eu+_u+"?",_u,Su,Iu,Cu].join("|")+")",Pu=RegExp(xu+"(?="+xu+")|"+Nu+Ou,"g");var Lu=function(e){for(var t=Pu.lastIndex=0;Pu.test(e);)++t;return t};var Mu=function(e){return Au(e)?Lu(e):wu(e)};var Ru=function(e){return e.split("")},Bu="\\ud800-\\udfff",ju="["+Bu+"]",Zu="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Fu="\\ud83c[\\udffb-\\udfff]",zu="[^"+Bu+"]",Hu="(?:\\ud83c[\\udde6-\\uddff]){2}",Vu="[\\ud800-\\udbff][\\udc00-\\udfff]",Uu="(?:"+Zu+"|"+Fu+")"+"?",Qu="[\\ufe0e\\ufe0f]?",Wu=Qu+Uu+("(?:\\u200d(?:"+[zu,Hu,Vu].join("|")+")"+Qu+Uu+")*"),Gu="(?:"+[zu+Zu+"?",Zu,Hu,Vu,ju].join("|")+")",qu=RegExp(Fu+"(?="+Fu+")|"+Gu+Wu,"g");var Ku=function(e){return e.match(qu)||[]};var Xu=function(e){return Au(e)?Ku(e):Ru(e)},Yu=Math.ceil;var Ju=function(e,t){var n=(t=void 0===t?" ":Ha(t)).length;if(n<2)return n?vu(t,e):t;var r=vu(t,Yu(e/Mu(t)));return Au(t)?yu(Xu(r),0,e).join(""):r.slice(0,e)},$u=/\s/;var ec=function(e){for(var t=e.length;t--&&$u.test(e.charAt(t)););return t},tc=/^\s+/;var nc=function(e){return e?e.slice(0,ec(e)+1).replace(tc,""):e},rc=/^[-+]0x[0-9a-f]+$/i,ic=/^0b[01]+$/i,oc=/^0o[0-7]+$/i,ac=parseInt;var sc=function(e){if("number"==typeof e)return e;if(Oa(e))return NaN;if(hi(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=hi(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=nc(e);var n=ic.test(e);return n||oc.test(e)?ac(e.slice(2),n?2:8):rc.test(e)?NaN:+e},uc=1/0;var cc=function(e){return e?(e=sc(e))===uc||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0};var lc=function(e){var t=cc(e),n=t%1;return t===t?n?t-n:t:0};var dc=function(e,t,n){e=Va(e);var r=(t=lc(t))?Mu(e):0;return t&&r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=t.pulsate,o=void 0!==r&&r,a=t.center,s=void 0===a?i||t.pulsate:a,u=t.fakeElement,c=void 0!==u&&u;if("mousedown"===(null==e?void 0:e.type)&&m.current)m.current=!1;else{"touchstart"===(null==e?void 0:e.type)&&(m.current=!0);var l,d,f,h=c?null:A.current,p=h?h.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)l=Math.round(p.width/2),d=Math.round(p.height/2);else{var g=e.touches&&e.touches.length>0?e.touches[0]:e,v=g.clientX,k=g.clientY;l=Math.round(v-p.left),d=Math.round(k-p.top)}if(s)(f=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3))%2===0&&(f+=1);else{var C=2*Math.max(Math.abs((h?h.clientWidth:0)-l),l)+2,_=2*Math.max(Math.abs((h?h.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(C,2)+Math.pow(_,2))}null!=e&&e.touches?null===b.current&&(b.current=function(){w({pulsate:o,rippleX:l,rippleY:d,rippleSize:f,cb:n})},y.current=setTimeout((function(){b.current&&(b.current(),b.current=null)}),80)):w({pulsate:o,rippleX:l,rippleY:d,rippleSize:f,cb:n})}}),[i,w]),C=o.useCallback((function(){k({},{pulsate:!0})}),[k]),_=o.useCallback((function(e,t){if(clearTimeout(y.current),"touchend"===(null==e?void 0:e.type)&&b.current)return b.current(),b.current=null,void(y.current=setTimeout((function(){_(e,t)})));b.current=null,p((function(e){return e.length>0?e.slice(1):e})),v.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:C,start:k,stop:_}}),[C,k,_]),(0,Er.jsx)(ul,(0,s.Z)({className:Ge(rl.root,u.root,c),ref:A},l,{children:(0,Er.jsx)(Gc,{component:null,exit:!0,children:h})}))})),dl=ll;function fl(e){return Ar("MuiButtonBase",e)}var hl,pl=wr("MuiButtonBase",["root","disabled","focusVisible"]),gl=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],vl=ur("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((hl={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},(0,Ue.Z)(hl,"&.".concat(pl.disabled),{pointerEvents:"none",cursor:"default"}),(0,Ue.Z)(hl,"@media print",{colorAdjust:"exact"}),hl)),ml=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiButtonBase"}),r=n.action,i=n.centerRipple,a=void 0!==i&&i,u=n.children,c=n.className,l=n.component,d=void 0===l?"button":l,f=n.disabled,h=void 0!==f&&f,p=n.disableRipple,g=void 0!==p&&p,v=n.disableTouchRipple,m=void 0!==v&&v,y=n.focusRipple,b=void 0!==y&&y,A=n.LinkComponent,w=void 0===A?"a":A,k=n.onBlur,C=n.onClick,_=n.onContextMenu,x=n.onDragLeave,E=n.onFocus,S=n.onFocusVisible,I=n.onKeyDown,T=n.onKeyUp,D=n.onMouseDown,O=n.onMouseLeave,N=n.onMouseUp,P=n.onTouchEnd,L=n.onTouchMove,M=n.onTouchStart,R=n.tabIndex,B=void 0===R?0:R,j=n.TouchRippleProps,Z=n.touchRippleRef,F=n.type,z=(0,Qe.Z)(n,gl),H=o.useRef(null),V=o.useRef(null),U=_c(V,Z),Q=Rc(),W=Q.isFocusVisibleRef,G=Q.onFocus,q=Q.onBlur,K=Q.ref,X=o.useState(!1),Y=(0,rt.Z)(X,2),J=Y[0],$=Y[1];h&&J&&$(!1),o.useImperativeHandle(r,(function(){return{focusVisible:function(){$(!0),H.current.focus()}}}),[]);var ee=o.useState(!1),te=(0,rt.Z)(ee,2),ne=te[0],re=te[1];o.useEffect((function(){re(!0)}),[]);var ie=ne&&!g&&!h;function oe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:m;return Ic((function(r){return t&&t(r),!n&&V.current&&V.current[e](r),!0}))}o.useEffect((function(){J&&b&&!g&&ne&&V.current.pulsate()}),[g,b,J,ne]);var ae=oe("start",D),se=oe("stop",_),ue=oe("stop",x),ce=oe("stop",N),le=oe("stop",(function(e){J&&e.preventDefault(),O&&O(e)})),de=oe("start",M),fe=oe("stop",P),he=oe("stop",L),pe=oe("stop",(function(e){q(e),!1===W.current&&$(!1),k&&k(e)}),!1),ge=Ic((function(e){H.current||(H.current=e.currentTarget),G(e),!0===W.current&&($(!0),S&&S(e)),E&&E(e)})),ve=function(){var e=H.current;return d&&"button"!==d&&!("A"===e.tagName&&e.href)},me=o.useRef(!1),ye=Ic((function(e){b&&!me.current&&J&&V.current&&" "===e.key&&(me.current=!0,V.current.stop(e,(function(){V.current.start(e)}))),e.target===e.currentTarget&&ve()&&" "===e.key&&e.preventDefault(),I&&I(e),e.target===e.currentTarget&&ve()&&"Enter"===e.key&&!h&&(e.preventDefault(),C&&C(e))})),be=Ic((function(e){b&&" "===e.key&&V.current&&J&&!e.defaultPrevented&&(me.current=!1,V.current.stop(e,(function(){V.current.pulsate(e)}))),T&&T(e),C&&e.target===e.currentTarget&&ve()&&" "===e.key&&!e.defaultPrevented&&C(e)})),Ae=d;"button"===Ae&&(z.href||z.to)&&(Ae=w);var we={};"button"===Ae?(we.type=void 0===F?"button":F,we.disabled=h):(z.href||z.to||(we.role="button"),h&&(we["aria-disabled"]=h));var ke=_c(t,K,H);var Ce=(0,s.Z)({},n,{centerRipple:a,component:d,disabled:h,disableRipple:g,disableTouchRipple:m,focusRipple:b,tabIndex:B,focusVisible:J}),_e=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,i=$t({root:["root",t&&"disabled",n&&"focusVisible"]},fl,e.classes);return n&&r&&(i.root+=" ".concat(r)),i}(Ce);return(0,Er.jsxs)(vl,(0,s.Z)({as:Ae,className:Ge(_e.root,c),ownerState:Ce,onBlur:pe,onClick:C,onContextMenu:se,onFocus:ge,onKeyDown:ye,onKeyUp:be,onMouseDown:ae,onMouseLeave:le,onMouseUp:ce,onDragLeave:ue,onTouchEnd:fe,onTouchMove:he,onTouchStart:de,ref:ke,tabIndex:h?-1:B,type:F},we,z,{children:[u,ie?(0,Er.jsx)(dl,(0,s.Z)({ref:U,center:a},j)):null]}))})),yl=ml,bl=xc;function Al(e){return Ar("MuiDivider",e)}var wl=wr("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var kl=wr("MuiListItemIcon",["root","alignItemsFlexStart"]);var Cl=wr("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function _l(e){return Ar("MuiMenuItem",e)}var xl,El=wr("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Sl=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Il=ur(yl,{shouldForwardProp:function(e){return or(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,s.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,Ue.Z)(t,"&.".concat(El.selected),(0,Ue.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):xn(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(El.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):xn(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,Ue.Z)(t,"&.".concat(El.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):xn(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):xn(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,Ue.Z)(t,"&.".concat(El.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,Ue.Z)(t,"&.".concat(El.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,Ue.Z)(t,"& + .".concat(wl.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,Ue.Z)(t,"& + .".concat(wl.inset),{marginLeft:52}),(0,Ue.Z)(t,"& .".concat(Cl.root),{marginTop:0,marginBottom:0}),(0,Ue.Z)(t,"& .".concat(Cl.inset),{paddingLeft:36}),(0,Ue.Z)(t,"& .".concat(kl.root),{minWidth:36}),t),!r.dense&&(0,Ue.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),r.dense&&(0,s.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,Ue.Z)({},"& .".concat(kl.root," svg"),{fontSize:"1.25rem"})))})),Tl=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiMenuItem"}),r=n.autoFocus,i=void 0!==r&&r,a=n.component,u=void 0===a?"li":a,c=n.dense,l=void 0!==c&&c,d=n.divider,f=void 0!==d&&d,h=n.disableGutters,p=void 0!==h&&h,g=n.focusVisibleClassName,v=n.role,m=void 0===v?"menuitem":v,y=n.tabIndex,b=n.className,A=(0,Qe.Z)(n,Sl),w=o.useContext(wc),k=o.useMemo((function(){return{dense:l||w.dense||!1,disableGutters:p}}),[w.dense,l,p]),C=o.useRef(null);bl((function(){i&&C.current&&C.current.focus()}),[i]);var _,x=(0,s.Z)({},n,{dense:k.dense,divider:f,disableGutters:p}),E=function(e){var t=e.disabled,n=e.dense,r=e.divider,i=e.disableGutters,o=e.selected,a=e.classes,u=$t({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},_l,a);return(0,s.Z)({},a,u)}(n),S=_c(C,t);return n.disabled||(_=void 0!==y?y:-1),(0,Er.jsx)(wc.Provider,{value:k,children:(0,Er.jsx)(Il,(0,s.Z)({ref:S,role:m,tabIndex:_,component:u,focusVisibleClassName:Ge(E.focusVisible,g),className:Ge(E.root,b)},A,{ownerState:x,classes:E}))})})),Dl=Tl,Ol=["children","classes","className","label","notched"],Nl=ur("fieldset",{shouldForwardProp:or})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Pl=ur("legend",{shouldForwardProp:or})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({float:"unset",width:"auto",overflow:"hidden"},!t.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},t.withLabel&&(0,s.Z)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},t.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));var Ll=o.createContext(void 0);function Ml(){return o.useContext(Ll)}function Rl(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}function Bl(e){return Ar("MuiInputBase",e)}var jl=wr("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);function Zl(e){return Ar("MuiOutlinedInput",e)}var Fl=(0,s.Z)({},jl,wr("MuiOutlinedInput",["root","notchedOutline","input"])),zl=n(1168);function Hl(e){return e&&e.ownerDocument||document}function Vl(e){return Hl(e).defaultView||window}function Ul(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==r)?(g.current+=1,{overflow:r,outerHeightStyle:n}):e},k=o.useCallback((function(){var e=A();ql(e)||b((function(t){return w(t,e)}))}),[A]);xc((function(){var e,t,n=function(){g.current=0,function(){var e=A();ql(e)||zl.flushSync((function(){b((function(t){return w(t,e)}))}))}()},r=Ul(n),i=f.current,o=Vl(i);return o.addEventListener("resize",r),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(n)).observe(i),function(){r.clear(),cancelAnimationFrame(e),o.removeEventListener("resize",r),t&&t.disconnect()}}),[A]),xc((function(){k()})),o.useEffect((function(){g.current=0}),[c]);return(0,Er.jsxs)(o.Fragment,{children:[(0,Er.jsx)("textarea",(0,s.Z)({value:c,onChange:function(e){g.current=0,d||k(),n&&n(e)},ref:h,rows:a,style:(0,s.Z)({height:y.outerHeightStyle,overflow:y.overflow?"hidden":void 0},u)},l)),(0,Er.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:(0,s.Z)({},Gl,u,{paddingTop:0,paddingBottom:0})})]})}));function Xl(e){return"string"===typeof e}var Yl=ot;function Jl(e){var t=e.styles,n=e.defaultTheme,r=void 0===n?{}:n,i="function"===typeof t?function(e){return t(void 0===(n=e)||null===n||0===Object.keys(n).length?r:e);var n}:t;return(0,Er.jsx)(Mr,{styles:i})}var $l=function(e){var t=e.styles,n=e.themeId,r=e.defaultTheme,i=fr(void 0===r?{}:r),o="function"===typeof t?t(n&&i[n]||i):t;return(0,Er.jsx)(Jl,{styles:o})};var ed=function(e){return(0,Er.jsx)($l,(0,s.Z)({},e,{defaultTheme:rr,themeId:ir}))};function td(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function nd(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(td(e.value)&&""!==e.value||t&&td(e.defaultValue)&&""!==e.defaultValue)}var rd=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],id=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat(Yl(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},od=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},ad=ur("div",{name:"MuiInputBase",slot:"Root",overridesResolver:id})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({},t.typography.body1,(0,Ue.Z)({color:(t.vars||t).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(jl.disabled),{color:(t.vars||t).palette.text.disabled,cursor:"default"}),n.multiline&&(0,s.Z)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),sd=ur("input",{name:"MuiInputBase",slot:"Input",overridesResolver:od})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,o=(0,s.Z)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),a={opacity:"0 !important"},u=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return(0,s.Z)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},(0,Ue.Z)(t,"label[data-shrink=false] + .".concat(jl.formControl," &"),{"&::-webkit-input-placeholder":a,"&::-moz-placeholder":a,"&:-ms-input-placeholder":a,"&::-ms-input-placeholder":a,"&:focus::-webkit-input-placeholder":u,"&:focus::-moz-placeholder":u,"&:focus:-ms-input-placeholder":u,"&:focus::-ms-input-placeholder":u}),(0,Ue.Z)(t,"&.".concat(jl.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),(0,Ue.Z)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),ud=(0,Er.jsx)(ed,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),cd=o.forwardRef((function(e,t){var n,r=pr({props:e,name:"MuiInputBase"}),i=r["aria-describedby"],a=r.autoComplete,u=r.autoFocus,c=r.className,l=r.components,d=void 0===l?{}:l,f=r.componentsProps,h=void 0===f?{}:f,p=r.defaultValue,g=r.disabled,v=r.disableInjectingGlobalStyles,m=r.endAdornment,y=r.fullWidth,b=void 0!==y&&y,A=r.id,w=r.inputComponent,k=void 0===w?"input":w,C=r.inputProps,_=void 0===C?{}:C,x=r.inputRef,E=r.maxRows,S=r.minRows,I=r.multiline,T=void 0!==I&&I,D=r.name,O=r.onBlur,N=r.onChange,P=r.onClick,L=r.onFocus,M=r.onKeyDown,R=r.onKeyUp,B=r.placeholder,j=r.readOnly,Z=r.renderSuffix,F=r.rows,z=r.slotProps,H=void 0===z?{}:z,V=r.slots,U=void 0===V?{}:V,Q=r.startAdornment,W=r.type,G=void 0===W?"text":W,q=r.value,K=(0,Qe.Z)(r,rd),X=null!=_.value?_.value:q,Y=o.useRef(null!=X).current,J=o.useRef(),$=o.useCallback((function(e){0}),[]),ee=_c(J,x,_.ref,$),te=o.useState(!1),ne=(0,rt.Z)(te,2),re=ne[0],ie=ne[1],oe=Ml();var ae=Rl({props:r,muiFormControl:oe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ae.focused=oe?oe.focused:re,o.useEffect((function(){!oe&&g&&re&&(ie(!1),O&&O())}),[oe,g,re,O]);var se=oe&&oe.onFilled,ue=oe&&oe.onEmpty,ce=o.useCallback((function(e){nd(e)?se&&se():ue&&ue()}),[se,ue]);bl((function(){Y&&ce({value:X})}),[X,ce,Y]);o.useEffect((function(){ce(J.current)}),[]);var le=k,de=_;T&&"input"===le&&(de=F?(0,s.Z)({type:void 0,minRows:F,maxRows:F},de):(0,s.Z)({type:void 0,maxRows:E,minRows:S},de),le=Kl);o.useEffect((function(){oe&&oe.setAdornedStart(Boolean(Q))}),[oe,Q]);var fe=(0,s.Z)({},r,{color:ae.color||"primary",disabled:ae.disabled,endAdornment:m,error:ae.error,focused:ae.focused,formControl:oe,fullWidth:b,hiddenLabel:ae.hiddenLabel,multiline:T,size:ae.size,startAdornment:Q,type:G}),he=function(e){var t=e.classes,n=e.color,r=e.disabled,i=e.error,o=e.endAdornment,a=e.focused,s=e.formControl,u=e.fullWidth,c=e.hiddenLabel,l=e.multiline,d=e.readOnly,f=e.size,h=e.startAdornment,p=e.type;return $t({root:["root","color".concat(Yl(n)),r&&"disabled",i&&"error",u&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&"size".concat(Yl(f)),l&&"multiline",h&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===p&&"inputTypeSearch",l&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]},Bl,t)}(fe),pe=U.root||d.Root||ad,ge=H.root||h.root||{},ve=U.input||d.Input||sd;return de=(0,s.Z)({},de,null!=(n=H.input)?n:h.input),(0,Er.jsxs)(o.Fragment,{children:[!v&&ud,(0,Er.jsxs)(pe,(0,s.Z)({},ge,!Xl(pe)&&{ownerState:(0,s.Z)({},fe,ge.ownerState)},{ref:t,onClick:function(e){J.current&&e.currentTarget===e.target&&J.current.focus(),P&&P(e)}},K,{className:Ge(he.root,ge.className,c,j&&"MuiInputBase-readOnly"),children:[Q,(0,Er.jsx)(Ll.Provider,{value:null,children:(0,Er.jsx)(ve,(0,s.Z)({ownerState:fe,"aria-invalid":ae.error,"aria-describedby":i,autoComplete:a,autoFocus:u,defaultValue:p,disabled:ae.disabled,id:A,onAnimationStart:function(e){ce("mui-auto-fill-cancel"===e.animationName?J.current:{value:"x"})},name:D,placeholder:B,readOnly:j,required:ae.required,rows:F,value:X,onKeyDown:M,onKeyUp:R,type:G},de,!Xl(ve)&&{as:le,ownerState:(0,s.Z)({},fe,de.ownerState)},{ref:ee,className:Ge(he.input,de.className,j&&"MuiInputBase-readOnly"),onBlur:function(e){O&&O(e),_.onBlur&&_.onBlur(e),oe&&oe.onBlur?oe.onBlur(e):ie(!1)},onChange:function(e){if(!Y){var t=e.target||J.current;if(null==t)throw new Error(it(1));ce({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};var n={};return Object.keys(e).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof e[n]&&!t.includes(n)})).forEach((function(t){n[t]=e[t]})),n}function Cd(e){if(void 0===e)return{};var t={};return Object.keys(e).filter((function(t){return!(t.match(/^on[A-Z]/)&&"function"===typeof e[t])})).forEach((function(n){t[n]=e[n]})),t}var _d=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function xd(e){var t,n=e.elementType,r=e.externalSlotProps,i=e.ownerState,o=e.skipResolvingSlotProps,a=void 0!==o&&o,u=(0,Qe.Z)(e,_d),c=a?{}:function(e,t,n){return"function"===typeof e?e(t,n):e}(r,i),l=function(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,i=e.externalForwardedProps,o=e.className;if(!t){var a=Ge(null==n?void 0:n.className,o,null==i?void 0:i.className,null==r?void 0:r.className),u=(0,s.Z)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),c=(0,s.Z)({},n,i,r);return a.length>0&&(c.className=a),Object.keys(u).length>0&&(c.style=u),{props:c,internalRef:void 0}}var l=kd((0,s.Z)({},i,r)),d=Cd(r),f=Cd(i),h=t(l),p=Ge(null==h?void 0:h.className,null==n?void 0:n.className,o,null==i?void 0:i.className,null==r?void 0:r.className),g=(0,s.Z)({},null==h?void 0:h.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),v=(0,s.Z)({},h,n,f,d);return p.length>0&&(v.className=p),Object.keys(g).length>0&&(v.style=g),{props:v,internalRef:h.ref}}((0,s.Z)({},u,{externalSlotProps:c})),d=l.props,f=Cc(l.internalRef,null==c?void 0:c.ref,null==(t=e.additionalProps)?void 0:t.ref);return wd(n,(0,s.Z)({},d,{ref:f}),i)}function Ed(e){return Ar("MuiList",e)}wr("MuiList",["root","padding","dense","subheader"]);var Sd=["children","className","component","dense","disablePadding","subheader"],Id=ur("ul",{name:"MuiList",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((function(e){var t=e.ownerState;return(0,s.Z)({listStyle:"none",margin:0,padding:0,position:"relative"},!t.disablePadding&&{paddingTop:8,paddingBottom:8},t.subheader&&{paddingTop:0})})),Td=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiList"}),r=n.children,i=n.className,a=n.component,u=void 0===a?"ul":a,c=n.dense,l=void 0!==c&&c,d=n.disablePadding,f=void 0!==d&&d,h=n.subheader,p=(0,Qe.Z)(n,Sd),g=o.useMemo((function(){return{dense:l}}),[l]),v=(0,s.Z)({},n,{component:u,dense:l,disablePadding:f}),m=function(e){var t=e.classes;return $t({root:["root",!e.disablePadding&&"padding",e.dense&&"dense",e.subheader&&"subheader"]},Ed,t)}(v);return(0,Er.jsx)(wc.Provider,{value:g,children:(0,Er.jsxs)(Id,(0,s.Z)({as:u,className:Ge(m.root,i),ref:t,ownerState:v},p,{children:[h,r]}))})})),Dd=Td;function Od(e){var t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}var Nd=Od,Pd=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Ld(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Md(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Rd(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Bd(e,t,n,r,i,o){for(var a=!1,s=i(e,t,!!t&&n);s;){if(s===e.firstChild){if(a)return!1;a=!0}var u=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Rd(s,o)&&!u)return s.focus(),!0;s=i(e,s,n)}return!1}var jd=o.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,a=e.autoFocusItem,u=void 0!==a&&a,c=e.children,l=e.className,d=e.disabledItemsFocusable,f=void 0!==d&&d,h=e.disableListWrap,p=void 0!==h&&h,g=e.onKeyDown,v=e.variant,m=void 0===v?"selectedMenu":v,y=(0,Qe.Z)(e,Pd),b=o.useRef(null),A=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});bl((function(){i&&b.current.focus()}),[i]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!b.current.style.width;if(e.clientHeight=c.length&&(k=-1)):k===t&&(k+=1)>=c.length&&(k=-1)}));var C=o.Children.map(c,(function(e,t){if(t===k){var n={};return u&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),o.cloneElement(e,n)}return e}));return(0,Er.jsx)(Dd,(0,s.Z)({role:"menu",ref:w,className:l,onKeyDown:function(e){var t=b.current,n=e.key,r=Ad(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Bd(t,r,p,f,Ld);else if("ArrowUp"===n)e.preventDefault(),Bd(t,r,p,f,Md);else if("Home"===n)e.preventDefault(),Bd(t,null,p,f,Ld);else if("End"===n)e.preventDefault(),Bd(t,null,p,f,Md);else if(1===n.length){var i=A.current,o=n.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);var s=r&&!i.repeating&&Rd(r,i);i.previousKeyMatched&&(s||Bd(t,r,!1,f,Ld,i))?e.preventDefault():i.previousKeyMatched=!1}g&&g(e)},tabIndex:i?0:-1},y,{children:C}))})),Zd=jd,Fd=Ul,zd=Vl,Hd=n(60596),Vd=function(e){return e.scrollTop};function Ud(e,t){var n,r,i=e.timeout,o=e.easing,a=e.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof i?i:i[t.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof o?o[t.mode]:o,delay:s.transitionDelay}}var Qd=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Wd(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Gd={entering:{opacity:1,transform:Wd(1)},entered:{opacity:1,transform:"none"}},qd="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Kd=o.forwardRef((function(e,t){var n=e.addEndListener,r=e.appear,i=void 0===r||r,a=e.children,u=e.easing,c=e.in,l=e.onEnter,d=e.onEntered,f=e.onEntering,h=e.onExit,p=e.onExited,g=e.onExiting,v=e.style,m=e.timeout,y=void 0===m?"auto":m,b=e.TransitionComponent,A=void 0===b?Hd.ZP:b,w=(0,Qe.Z)(e,Qd),k=o.useRef(),C=o.useRef(),_=gr(),x=o.useRef(null),E=_c(x,a.ref,t),S=function(e){return function(t){if(e){var n=x.current;void 0===t?e(n):e(n,t)}}},I=S(f),T=S((function(e,t){Vd(e);var n,r=Ud({style:v,timeout:y,easing:u},{mode:"enter"}),i=r.duration,o=r.delay,a=r.easing;"auto"===y?(n=_.transitions.getAutoHeightDuration(e.clientHeight),C.current=n):n=i,e.style.transition=[_.transitions.create("opacity",{duration:n,delay:o}),_.transitions.create("transform",{duration:qd?n:.666*n,delay:o,easing:a})].join(","),l&&l(e,t)})),D=S(d),O=S(g),N=S((function(e){var t,n=Ud({style:v,timeout:y,easing:u},{mode:"exit"}),r=n.duration,i=n.delay,o=n.easing;"auto"===y?(t=_.transitions.getAutoHeightDuration(e.clientHeight),C.current=t):t=r,e.style.transition=[_.transitions.create("opacity",{duration:t,delay:i}),_.transitions.create("transform",{duration:qd?t:.666*t,delay:qd?i:i||.333*t,easing:o})].join(","),e.style.opacity=0,e.style.transform=Wd(.75),h&&h(e)})),P=S(p);return o.useEffect((function(){return function(){clearTimeout(k.current)}}),[]),(0,Er.jsx)(A,(0,s.Z)({appear:i,in:c,nodeRef:x,onEnter:T,onEntered:D,onEntering:I,onExit:N,onExited:P,onExiting:O,addEndListener:function(e){"auto"===y&&(k.current=setTimeout(e,C.current||0)),n&&n(x.current,e)},timeout:"auto"===y?null:y},w,{children:function(e,t){return o.cloneElement(a,(0,s.Z)({style:(0,s.Z)({opacity:0,transform:Wd(.75),visibility:"exited"!==e||c?void 0:"hidden"},Gd[e],v,a.props.style),ref:E},t))}}))}));Kd.muiSupportAuto=!0;var Xd=Kd;function Yd(){for(var e=arguments.length,t=new Array(e),n=0;nt.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){var i=Od(Hl(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(tf(r)+i,"px");var o=Hl(r).querySelectorAll(".mui-fixed");[].forEach.call(o,(function(e){n.push({value:e.style.paddingRight,property:"padding-right",el:e}),e.style.paddingRight="".concat(tf(e)+i,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=Hl(r).body;else{var s=r.parentElement,u=Vl(r);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===u.getComputedStyle(s).overflowY?s:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(e){var t=e.value,n=e.el,r=e.property;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var af=function(){function e(){(0,Jd.Z)(this,e),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return(0,$d.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&ef(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);nf(t,e.mount,e.modalRef,r,!0);var i=rf(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(e,t){var n=rf(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=of(r,t))}},{key:"remove",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(e);if(-1===n)return n;var r=rf(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&ef(e.modalRef,t),nf(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{var o=i.modals[i.modals.length-1];o.modalRef&&ef(o.modalRef,!1)}return n}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var sf=new af;function uf(e){var t=e.container,n=e.disableEscapeKeyDown,r=void 0!==n&&n,i=e.disableScrollLock,a=void 0!==i&&i,u=e.manager,c=void 0===u?sf:u,l=e.closeAfterTransition,d=void 0!==l&&l,f=e.onTransitionEnter,h=e.onTransitionExited,p=e.children,g=e.onClose,v=e.open,m=e.rootRef,y=o.useRef({}),b=o.useRef(null),A=o.useRef(null),w=Cc(A,m),k=o.useState(!v),C=(0,rt.Z)(k,2),_=C[0],x=C[1],E=function(e){return!!e&&e.props.hasOwnProperty("in")}(p),S=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(S=!1);var I=function(){return y.current.modalRef=A.current,y.current.mount=b.current,y.current},T=function(){c.mount(I(),{disableScrollLock:a}),A.current&&(A.current.scrollTop=0)},D=Sc((function(){var e=function(e){return"function"===typeof e?e():e}(t)||Hl(b.current).body;c.add(I(),e),A.current&&T()})),O=o.useCallback((function(){return c.isTopModal(I())}),[c]),N=Sc((function(e){b.current=e,e&&(v&&O()?T():A.current&&ef(A.current,S))})),P=o.useCallback((function(){c.remove(I(),S)}),[S,c]);o.useEffect((function(){return function(){P()}}),[P]),o.useEffect((function(){v?D():E&&d||P()}),[v,P,E,d,D]);var L=function(e){return function(t){var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&O()&&(r||(t.stopPropagation(),g&&g(t,"escapeKeyDown")))}},M=function(e){return function(t){var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&g&&g(t,"backdropClick")}};return{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=kd(e);delete n.onTransitionEnter,delete n.onTransitionExited;var r=(0,s.Z)({},n,t);return(0,s.Z)({role:"presentation"},r,{onKeyDown:L(r),ref:w})},getBackdropProps:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,s.Z)({"aria-hidden":!0},e,{onClick:M(e),open:v})},getTransitionProps:function(){return{onEnter:Yd((function(){x(!1),f&&f()}),null==p?void 0:p.props.onEnter),onExited:Yd((function(){x(!0),h&&h(),d&&P()}),null==p?void 0:p.props.onExited)}},rootRef:w,portalRef:N,isTopModal:O,exited:_,hasTransition:E}}var cf=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function lf(e){var t=[],n=[];return Array.from(e.querySelectorAll(cf)).forEach((function(e,r){var i=function(e){var 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!==i&&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;var t=function(t){return e.ownerDocument.querySelector('input[type="radio"]'.concat(t))},n=t('[name="'.concat(e.name,'"]:checked'));return n||(n=t('[name="'.concat(e.name,'"]'))),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))})),n.sort((function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex})).map((function(e){return e.node})).concat(t)}function df(){return!0}function ff(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,a=void 0!==i&&i,s=e.disableRestoreFocus,u=void 0!==s&&s,c=e.getTabbable,l=void 0===c?lf:c,d=e.isEnabled,f=void 0===d?df:d,h=e.open,p=o.useRef(!1),g=o.useRef(null),v=o.useRef(null),m=o.useRef(null),y=o.useRef(null),b=o.useRef(!1),A=o.useRef(null),w=Cc(t.ref,A),k=o.useRef(null);o.useEffect((function(){h&&A.current&&(b.current=!r)}),[r,h]),o.useEffect((function(){if(h&&A.current){var e=Hl(A.current);return A.current.contains(e.activeElement)||(A.current.hasAttribute("tabIndex")||A.current.setAttribute("tabIndex","-1"),b.current&&A.current.focus()),function(){u||(m.current&&m.current.focus&&(p.current=!0,m.current.focus()),m.current=null)}}}),[h]),o.useEffect((function(){if(h&&A.current){var e=Hl(A.current),t=function(t){k.current=t,!a&&f()&&"Tab"===t.key&&e.activeElement===A.current&&t.shiftKey&&(p.current=!0,v.current&&v.current.focus())},n=function(){var t=A.current;if(null!==t)if(e.hasFocus()&&f()&&!p.current){if(!t.contains(e.activeElement)&&(!a||e.activeElement===g.current||e.activeElement===v.current)){if(e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(b.current){var n=[];if(e.activeElement!==g.current&&e.activeElement!==v.current||(n=l(A.current)),n.length>0){var r,i,o=Boolean((null==(r=k.current)?void 0:r.shiftKey)&&"Tab"===(null==(i=k.current)?void 0:i.key)),s=n[0],u=n[n.length-1];"string"!==typeof s&&"string"!==typeof u&&(o?u.focus():s.focus())}else t.focus()}}}else p.current=!1};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);var r=setInterval((function(){e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return function(){clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}}),[r,a,u,f,h,l]);var C=function(e){null===m.current&&(m.current=e.relatedTarget),b.current=!0};return(0,Er.jsxs)(o.Fragment,{children:[(0,Er.jsx)("div",{tabIndex:h?0:-1,onFocus:C,ref:g,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:w,onFocus:function(e){null===m.current&&(m.current=e.relatedTarget),b.current=!0,y.current=e.target;var n=t.props.onFocus;n&&n(e)}}),(0,Er.jsx)("div",{tabIndex:h?0:-1,onFocus:C,ref:v,"data-testid":"sentinelEnd"})]})}var hf=o.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,a=void 0!==i&&i,s=o.useState(null),u=(0,rt.Z)(s,2),c=u[0],l=u[1],d=Cc(o.isValidElement(n)?n.ref:null,t);if(xc((function(){a||l(function(e){return"function"===typeof e?e():e}(r)||document.body)}),[r,a]),xc((function(){if(c&&!a)return kc(t,c),function(){kc(t,null)}}),[t,c,a]),a){if(o.isValidElement(n)){var f={ref:d};return o.cloneElement(n,f)}return(0,Er.jsx)(o.Fragment,{children:n})}return(0,Er.jsx)(o.Fragment,{children:c?zl.createPortal(n,c):c})}));var pf=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],gf={entering:{opacity:1},entered:{opacity:1}},vf=o.forwardRef((function(e,t){var n=gr(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},i=e.addEndListener,a=e.appear,u=void 0===a||a,c=e.children,l=e.easing,d=e.in,f=e.onEnter,h=e.onEntered,p=e.onEntering,g=e.onExit,v=e.onExited,m=e.onExiting,y=e.style,b=e.timeout,A=void 0===b?r:b,w=e.TransitionComponent,k=void 0===w?Hd.ZP:w,C=(0,Qe.Z)(e,pf),_=o.useRef(null),x=_c(_,c.ref,t),E=function(e){return function(t){if(e){var n=_.current;void 0===t?e(n):e(n,t)}}},S=E(p),I=E((function(e,t){Vd(e);var r=Ud({style:y,timeout:A,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),f&&f(e,t)})),T=E(h),D=E(m),O=E((function(e){var t=Ud({style:y,timeout:A,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),g&&g(e)})),N=E(v);return(0,Er.jsx)(k,(0,s.Z)({appear:u,in:d,nodeRef:_,onEnter:I,onEntered:T,onEntering:S,onExit:O,onExited:N,onExiting:D,addEndListener:function(e){i&&i(_.current,e)},timeout:A},C,{children:function(e,t){return o.cloneElement(c,(0,s.Z)({style:(0,s.Z)({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},gf[e],y,c.props.style),ref:x},t))}}))})),mf=vf;function yf(e){return Ar("MuiBackdrop",e)}wr("MuiBackdrop",["root","invisible"]);var bf=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Af=ur("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.invisible&&t.invisible]}})((function(e){var t=e.ownerState;return(0,s.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},t.invisible&&{backgroundColor:"transparent"})})),wf=o.forwardRef((function(e,t){var n,r,i,o=pr({props:e,name:"MuiBackdrop"}),a=o.children,u=o.className,c=o.component,l=void 0===c?"div":c,d=o.components,f=void 0===d?{}:d,h=o.componentsProps,p=void 0===h?{}:h,g=o.invisible,v=void 0!==g&&g,m=o.open,y=o.slotProps,b=void 0===y?{}:y,A=o.slots,w=void 0===A?{}:A,k=o.TransitionComponent,C=void 0===k?mf:k,_=o.transitionDuration,x=(0,Qe.Z)(o,bf),E=(0,s.Z)({},o,{component:l,invisible:v}),S=function(e){var t=e.classes;return $t({root:["root",e.invisible&&"invisible"]},yf,t)}(E),I=null!=(n=b.root)?n:p.root;return(0,Er.jsx)(C,(0,s.Z)({in:m,timeout:_},x,{children:(0,Er.jsx)(Af,(0,s.Z)({"aria-hidden":!0},I,{as:null!=(r=null!=(i=w.root)?i:f.Root)?r:l,className:Ge(S.root,u,null==I?void 0:I.className),ownerState:(0,s.Z)({},E,null==I?void 0:I.ownerState),classes:S,ref:t,children:a}))}))})),kf=wf;function Cf(e){return Ar("MuiModal",e)}wr("MuiModal",["root","hidden","backdrop"]);var _f=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],xf=ur("div",{name:"MuiModal",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,!n.open&&n.exited&&t.hidden]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),Ef=ur(kf,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(e,t){return t.backdrop}})({zIndex:-1}),Sf=o.forwardRef((function(e,t){var n,r,i,a,u,c,l=pr({name:"MuiModal",props:e}),d=l.BackdropComponent,f=void 0===d?Ef:d,h=l.BackdropProps,p=l.className,g=l.closeAfterTransition,v=void 0!==g&&g,m=l.children,y=l.container,b=l.component,A=l.components,w=void 0===A?{}:A,k=l.componentsProps,C=void 0===k?{}:k,_=l.disableAutoFocus,x=void 0!==_&&_,E=l.disableEnforceFocus,S=void 0!==E&&E,I=l.disableEscapeKeyDown,T=void 0!==I&&I,D=l.disablePortal,O=void 0!==D&&D,N=l.disableRestoreFocus,P=void 0!==N&&N,L=l.disableScrollLock,M=void 0!==L&&L,R=l.hideBackdrop,B=void 0!==R&&R,j=l.keepMounted,Z=void 0!==j&&j,F=l.onBackdropClick,z=l.open,H=l.slotProps,V=l.slots,U=(0,Qe.Z)(l,_f),Q=(0,s.Z)({},l,{closeAfterTransition:v,disableAutoFocus:x,disableEnforceFocus:S,disableEscapeKeyDown:T,disablePortal:O,disableRestoreFocus:P,disableScrollLock:M,hideBackdrop:B,keepMounted:Z}),W=uf((0,s.Z)({},Q,{rootRef:t})),G=W.getRootProps,q=W.getBackdropProps,K=W.getTransitionProps,X=W.portalRef,Y=W.isTopModal,J=W.exited,$=W.hasTransition,ee=(0,s.Z)({},Q,{exited:J}),te=function(e){var t=e.open,n=e.exited;return $t({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Cf,e.classes)}(ee),ne={};if(void 0===m.props.tabIndex&&(ne.tabIndex="-1"),$){var re=K(),ie=re.onEnter,oe=re.onExited;ne.onEnter=ie,ne.onExited=oe}var ae=null!=(n=null!=(r=null==V?void 0:V.root)?r:w.Root)?n:xf,se=null!=(i=null!=(a=null==V?void 0:V.backdrop)?a:w.Backdrop)?i:f,ue=null!=(u=null==H?void 0:H.root)?u:C.root,ce=null!=(c=null==H?void 0:H.backdrop)?c:C.backdrop,le=xd({elementType:ae,externalSlotProps:ue,externalForwardedProps:U,getSlotProps:G,additionalProps:{ref:t,as:b},ownerState:ee,className:Ge(p,null==ue?void 0:ue.className,null==te?void 0:te.root,!ee.open&&ee.exited&&(null==te?void 0:te.hidden))}),de=xd({elementType:se,externalSlotProps:ce,additionalProps:h,getSlotProps:function(e){return q((0,s.Z)({},e,{onClick:function(t){F&&F(t),null!=e&&e.onClick&&e.onClick(t)}}))},className:Ge(null==ce?void 0:ce.className,null==h?void 0:h.className,null==te?void 0:te.backdrop),ownerState:ee});return Z||z||$&&!J?(0,Er.jsx)(hf,{ref:X,container:y,disablePortal:O,children:(0,Er.jsxs)(ae,(0,s.Z)({},le,{children:[!B&&f?(0,Er.jsx)(se,(0,s.Z)({},de)):null,(0,Er.jsx)(ff,{disableEnforceFocus:S,disableAutoFocus:x,disableRestoreFocus:P,isEnabled:Y,open:z,children:o.cloneElement(m,ne)})]}))}):null})),If=Sf,Tf=function(e){return((e<1?5.11916*Math.pow(e,2):4.5*Math.log(e+1)+2)/100).toFixed(2)};function Df(e){return Ar("MuiPaper",e)}wr("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var Of=["className","component","elevation","square","variant"],Nf=ur("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t["elevation".concat(n.elevation)]]}})((function(e){var t,n=e.theme,r=e.ownerState;return(0,s.Z)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&(0,s.Z)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat(xn("#fff",Tf(r.elevation)),", ").concat(xn("#fff",Tf(r.elevation)),")")},n.vars&&{backgroundImage:null==(t=n.vars.overlays)?void 0:t[r.elevation]}))})),Pf=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiPaper"}),r=n.className,i=n.component,o=void 0===i?"div":i,a=n.elevation,u=void 0===a?1:a,c=n.square,l=void 0!==c&&c,d=n.variant,f=void 0===d?"elevation":d,h=(0,Qe.Z)(n,Of),p=(0,s.Z)({},n,{component:o,elevation:u,square:l,variant:f}),g=function(e){var t=e.square,n=e.elevation,r=e.variant,i=e.classes;return $t({root:["root",r,!t&&"rounded","elevation"===r&&"elevation".concat(n)]},Df,i)}(p);return(0,Er.jsx)(Nf,(0,s.Z)({as:o,ownerState:p,className:Ge(g.root,r),ref:t},h))})),Lf=Pf;function Mf(e){return Ar("MuiPopover",e)}wr("MuiPopover",["root","paper"]);var Rf=["onEntering"],Bf=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],jf=["slotProps"];function Zf(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ff(e,t){var n=0;return"number"===typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function zf(e){return[e.horizontal,e.vertical].map((function(e){return"number"===typeof e?"".concat(e,"px"):e})).join(" ")}function Hf(e){return"function"===typeof e?e():e}var Vf=ur(If,{name:"MuiPopover",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Uf=ur(Lf,{name:"MuiPopover",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Qf=o.forwardRef((function(e,t){var n,r,i,a=pr({props:e,name:"MuiPopover"}),u=a.action,c=a.anchorEl,l=a.anchorOrigin,d=void 0===l?{vertical:"top",horizontal:"left"}:l,f=a.anchorPosition,h=a.anchorReference,p=void 0===h?"anchorEl":h,g=a.children,v=a.className,m=a.container,y=a.elevation,b=void 0===y?8:y,A=a.marginThreshold,w=void 0===A?16:A,k=a.open,C=a.PaperProps,_=void 0===C?{}:C,x=a.slots,E=a.slotProps,S=a.transformOrigin,I=void 0===S?{vertical:"top",horizontal:"left"}:S,T=a.TransitionComponent,D=void 0===T?Xd:T,O=a.transitionDuration,N=void 0===O?"auto":O,P=a.TransitionProps,L=(void 0===P?{}:P).onEntering,M=a.disableScrollLock,R=void 0!==M&&M,B=(0,Qe.Z)(a.TransitionProps,Rf),j=(0,Qe.Z)(a,Bf),Z=null!=(n=null==E?void 0:E.paper)?n:_,F=o.useRef(),z=_c(F,Z.ref),H=(0,s.Z)({},a,{anchorOrigin:d,anchorReference:p,elevation:b,marginThreshold:w,externalPaperSlotProps:Z,transformOrigin:I,TransitionComponent:D,transitionDuration:N,TransitionProps:B}),V=function(e){return $t({root:["root"],paper:["paper"]},Mf,e.classes)}(H),U=o.useCallback((function(){if("anchorPosition"===p)return f;var e=Hf(c),t=(e&&1===e.nodeType?e:Ad(F.current).body).getBoundingClientRect();return{top:t.top+Zf(t,d.vertical),left:t.left+Ff(t,d.horizontal)}}),[c,d.horizontal,d.vertical,f,p]),Q=o.useCallback((function(e){return{vertical:Zf(e,I.vertical),horizontal:Ff(e,I.horizontal)}}),[I.horizontal,I.vertical]),W=o.useCallback((function(e){var t={width:e.offsetWidth,height:e.offsetHeight},n=Q(t);if("none"===p)return{top:null,left:null,transformOrigin:zf(n)};var r=U(),i=r.top-n.vertical,o=r.left-n.horizontal,a=i+t.height,s=o+t.width,u=zd(Hf(c)),l=u.innerHeight-w,d=u.innerWidth-w;if(null!==w&&il){var h=a-l;i-=h,n.vertical+=h}if(null!==w&&od){var v=s-d;o-=v,n.horizontal+=v}return{top:"".concat(Math.round(i),"px"),left:"".concat(Math.round(o),"px"),transformOrigin:zf(n)}}),[c,p,U,Q,w]),G=o.useState(k),q=(0,rt.Z)(G,2),K=q[0],X=q[1],Y=o.useCallback((function(){var e=F.current;if(e){var t=W(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,X(!0)}}),[W]);o.useEffect((function(){return R&&window.addEventListener("scroll",Y),function(){return window.removeEventListener("scroll",Y)}}),[c,R,Y]);o.useEffect((function(){k&&Y()})),o.useImperativeHandle(u,(function(){return k?{updatePosition:function(){Y()}}:null}),[k,Y]),o.useEffect((function(){if(k){var e=Fd((function(){Y()})),t=zd(c);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}}),[c,k,Y]);var J=N;"auto"!==N||D.muiSupportAuto||(J=void 0);var $=m||(c?Ad(Hf(c)).body:void 0),ee=null!=(r=null==x?void 0:x.root)?r:Vf,te=null!=(i=null==x?void 0:x.paper)?i:Uf,ne=xd({elementType:te,externalSlotProps:(0,s.Z)({},Z,{style:K?Z.style:(0,s.Z)({},Z.style,{opacity:0})}),additionalProps:{elevation:b,ref:z},ownerState:H,className:Ge(V.paper,null==Z?void 0:Z.className)}),re=xd({elementType:ee,externalSlotProps:(null==E?void 0:E.root)||{},externalForwardedProps:j,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:$,open:k},ownerState:H,className:Ge(V.root,v)}),ie=re.slotProps,oe=(0,Qe.Z)(re,jf);return(0,Er.jsx)(ee,(0,s.Z)({},oe,!Xl(ee)&&{slotProps:ie,disableScrollLock:R},{children:(0,Er.jsx)(D,(0,s.Z)({appear:!0,in:k,onEntering:function(e,t){L&&L(e,t),Y()},onExited:function(){X(!1)},timeout:J},B,{children:(0,Er.jsx)(te,(0,s.Z)({},ne,{children:g}))}))}))})),Wf=Qf;function Gf(e){return Ar("MuiMenu",e)}wr("MuiMenu",["root","paper","list"]);var qf=["onEntering"],Kf=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Xf={vertical:"top",horizontal:"right"},Yf={vertical:"top",horizontal:"left"},Jf=ur(Wf,{shouldForwardProp:function(e){return or(e)||"classes"===e},name:"MuiMenu",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),$f=ur(Uf,{name:"MuiMenu",slot:"Paper",overridesResolver:function(e,t){return t.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),eh=ur(Zd,{name:"MuiMenu",slot:"List",overridesResolver:function(e,t){return t.list}})({outline:0}),th=o.forwardRef((function(e,t){var n,r,i=pr({props:e,name:"MuiMenu"}),a=i.autoFocus,u=void 0===a||a,c=i.children,l=i.className,d=i.disableAutoFocusItem,f=void 0!==d&&d,h=i.MenuListProps,p=void 0===h?{}:h,g=i.onClose,v=i.open,m=i.PaperProps,y=void 0===m?{}:m,b=i.PopoverClasses,A=i.transitionDuration,w=void 0===A?"auto":A,k=i.TransitionProps,C=(void 0===k?{}:k).onEntering,_=i.variant,x=void 0===_?"selectedMenu":_,E=i.slots,S=void 0===E?{}:E,I=i.slotProps,T=void 0===I?{}:I,D=(0,Qe.Z)(i.TransitionProps,qf),O=(0,Qe.Z)(i,Kf),N=gr(),P="rtl"===N.direction,L=(0,s.Z)({},i,{autoFocus:u,disableAutoFocusItem:f,MenuListProps:p,onEntering:C,PaperProps:y,transitionDuration:w,TransitionProps:D,variant:x}),M=function(e){return $t({root:["root"],paper:["paper"],list:["list"]},Gf,e.classes)}(L),R=u&&!f&&v,B=o.useRef(null),j=-1;o.Children.map(c,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===x&&e.props.selected||-1===j)&&(j=t))}));var Z=null!=(n=S.paper)?n:$f,F=null!=(r=T.paper)?r:y,z=xd({elementType:S.root,externalSlotProps:T.root,ownerState:L,className:[M.root,l]}),H=xd({elementType:Z,externalSlotProps:F,ownerState:L,className:M.paper});return(0,Er.jsx)(Jf,(0,s.Z)({onClose:g,anchorOrigin:{vertical:"bottom",horizontal:P?"right":"left"},transformOrigin:P?Xf:Yf,slots:{paper:Z,root:S.root},slotProps:{root:z,paper:H},open:v,ref:t,transitionDuration:w,TransitionProps:(0,s.Z)({onEntering:function(e,t){B.current&&B.current.adjustStyleForScrollbar(e,N),C&&C(e,t)}},D),ownerState:L},O,{classes:b,children:(0,Er.jsx)(eh,(0,s.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),g&&g(e,"tabKeyDown"))},actions:B,autoFocus:u&&(-1===j||f),autoFocusItem:R,variant:x},p,{className:Ge(M.list,p.className),children:c}))}))})),nh=th;function rh(e){return Ar("MuiNativeSelect",e)}var ih=wr("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),oh=["className","disabled","error","IconComponent","inputRef","variant"],ah=function(e){var t,n=e.ownerState,r=e.theme;return(0,s.Z)((t={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,s.Z)({},r.vars?{backgroundColor:"rgba(".concat(r.vars.palette.common.onBackgroundChannel," / 0.05)")}:{backgroundColor:"light"===r.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"}},(0,Ue.Z)(t,"&.".concat(ih.disabled),{cursor:"default"}),(0,Ue.Z)(t,"&[multiple]",{height:"auto"}),(0,Ue.Z)(t,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:(r.vars||r).palette.background.paper}),(0,Ue.Z)(t,"&&&",{paddingRight:24,minWidth:16}),t),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:(r.vars||r).shape.borderRadius,"&:focus":{borderRadius:(r.vars||r).shape.borderRadius},"&&&":{paddingRight:32}})},sh=ur("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:or,overridesResolver:function(e,t){var n=e.ownerState;return[t.select,t[n.variant],n.error&&t.error,(0,Ue.Z)({},"&.".concat(ih.multiple),t.multiple)]}})(ah),uh=function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)((0,Ue.Z)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(n.vars||n).palette.action.active},"&.".concat(ih.disabled),{color:(n.vars||n).palette.action.disabled}),t.open&&{transform:"rotate(180deg)"},"filled"===t.variant&&{right:7},"outlined"===t.variant&&{right:7})},ch=ur("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat(Yl(n.variant))],n.open&&t.iconOpen]}})(uh),lh=o.forwardRef((function(e,t){var n=e.className,r=e.disabled,i=e.error,a=e.IconComponent,u=e.inputRef,c=e.variant,l=void 0===c?"standard":c,d=(0,Qe.Z)(e,oh),f=(0,s.Z)({},e,{disabled:r,variant:l,error:i}),h=function(e){var t=e.classes,n=e.variant,r=e.disabled,i=e.multiple,o=e.open;return $t({select:["select",n,r&&"disabled",i&&"multiple",e.error&&"error"],icon:["icon","icon".concat(Yl(n)),o&&"iconOpen",r&&"disabled"]},rh,t)}(f);return(0,Er.jsxs)(o.Fragment,{children:[(0,Er.jsx)(sh,(0,s.Z)({ownerState:f,className:Ge(h.select,n),disabled:r,ref:u||t},d)),e.multiple?null:(0,Er.jsx)(ch,{as:a,ownerState:f,className:h.icon})]})})),dh=lh;var fh=function(e){var t=e.controlled,n=e.default,r=(e.name,e.state,o.useRef(void 0!==t).current),i=o.useState(n),a=(0,rt.Z)(i,2),s=a[0],u=a[1];return[r?t:s,o.useCallback((function(e){r||u(e)}),[])]};function hh(e){return Ar("MuiSelect",e)}var ph,gh=wr("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),vh=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],mh=ur("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(e,t){var n=e.ownerState;return[(0,Ue.Z)({},"&.".concat(gh.select),t.select),(0,Ue.Z)({},"&.".concat(gh.select),t[n.variant]),(0,Ue.Z)({},"&.".concat(gh.error),t.error),(0,Ue.Z)({},"&.".concat(gh.multiple),t.multiple)]}})(ah,(0,Ue.Z)({},"&.".concat(gh.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),yh=ur("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(e,t){var n=e.ownerState;return[t.icon,n.variant&&t["icon".concat(Yl(n.variant))],n.open&&t.iconOpen]}})(uh),bh=ur("input",{shouldForwardProp:function(e){return ar(e)&&"classes"!==e},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(e,t){return t.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ah(e,t){return"object"===typeof t&&null!==t?e===t:String(e)===String(t)}function wh(e){return null==e||"string"===typeof e&&!e.trim()}var kh=o.forwardRef((function(e,t){var n,r=e["aria-describedby"],i=e["aria-label"],a=e.autoFocus,u=e.autoWidth,c=e.children,l=e.className,d=e.defaultOpen,f=e.defaultValue,h=e.disabled,p=e.displayEmpty,g=e.error,v=void 0!==g&&g,m=e.IconComponent,y=e.inputRef,b=e.labelId,A=e.MenuProps,w=void 0===A?{}:A,k=e.multiple,C=e.name,_=e.onBlur,x=e.onChange,E=e.onClose,S=e.onFocus,I=e.onOpen,T=e.open,D=e.readOnly,O=e.renderValue,N=e.SelectDisplayProps,P=void 0===N?{}:N,L=e.tabIndex,M=e.value,R=e.variant,B=void 0===R?"standard":R,j=(0,Qe.Z)(e,vh),Z=fh({controlled:M,default:f,name:"Select"}),F=(0,rt.Z)(Z,2),z=F[0],H=F[1],V=fh({controlled:T,default:d,name:"Select"}),U=(0,rt.Z)(V,2),Q=U[0],W=U[1],G=o.useRef(null),q=o.useRef(null),K=o.useState(null),X=(0,rt.Z)(K,2),Y=X[0],J=X[1],$=o.useRef(null!=T).current,ee=o.useState(),te=(0,rt.Z)(ee,2),ne=te[0],re=te[1],ie=_c(t,y),oe=o.useCallback((function(e){q.current=e,e&&J(e)}),[]),ae=null==Y?void 0:Y.parentNode;o.useImperativeHandle(ie,(function(){return{focus:function(){q.current.focus()},node:G.current,value:z}}),[z]),o.useEffect((function(){d&&Q&&Y&&!$&&(re(u?null:ae.clientWidth),q.current.focus())}),[Y,u]),o.useEffect((function(){a&&q.current.focus()}),[a]),o.useEffect((function(){if(b){var e=Ad(q.current).getElementById(b);if(e){var t=function(){getSelection().isCollapsed&&q.current.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[b]);var se,ue,ce=function(e,t){e?I&&I(t):E&&E(t),$||(re(u?null:ae.clientWidth),W(e))},le=o.Children.toArray(c),de=function(e){return function(t){var n;if(t.currentTarget.hasAttribute("tabindex")){if(k){n=Array.isArray(z)?z.slice():[];var r=z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),z!==n&&(H(n),x)){var i=t.nativeEvent||t,o=new i.constructor(i.type,i);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:C}}),x(o,e)}k||ce(!1,t)}}},fe=null!==Y&&Q;delete j["aria-invalid"];var he=[],pe=!1;(nd({value:z})||p)&&(O?se=O(z):pe=!0);var ge=le.map((function(e){if(!o.isValidElement(e))return null;var t;if(k){if(!Array.isArray(z))throw new Error(it(2));t=z.some((function(t){return Ah(t,e.props.value)})),t&&pe&&he.push(e.props.children)}else(t=Ah(z,e.props.value))&&pe&&(ue=e.props.children);return t&&!0,o.cloneElement(e,{"aria-selected":t?"true":"false",onClick:de(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));pe&&(se=k?0===he.length?null:he.reduce((function(e,t,n){return e.push(t),n=a)&&this.A(e),this.W&&this.setState({N:!1,j:!1}),this.l=Date.now()},t.prototype.p=function(e){e.preventDefault(),"number"==typeof e.button&&0!==e.button||(this.I(e.clientX),window.addEventListener("mousemove",this.v),window.addEventListener("mouseup",this.g))},t.prototype.v=function(e){e.preventDefault(),this.L(e.clientX)},t.prototype.g=function(e){this.U(e),window.removeEventListener("mousemove",this.v),window.removeEventListener("mouseup",this.g)},t.prototype.k=function(e){this.X=null,this.I(e.touches[0].clientX)},t.prototype.m=function(e){this.L(e.touches[0].clientX)},t.prototype.M=function(e){e.preventDefault(),this.U(e)},t.prototype.$=function(e){Date.now()-this.l>50&&(this.A(e),Date.now()-this.u>50&&this.W&&this.setState({j:!1}))},t.prototype.C=function(){this.u=Date.now()},t.prototype.D=function(){this.setState({j:!0})},t.prototype.O=function(){this.setState({j:!1})},t.prototype.S=function(e){this.H=e},t.prototype.T=function(e){e.preventDefault(),this.H.focus(),this.A(e),this.W&&this.setState({j:!1})},t.prototype.A=function(e){var t=this.props;(0,t.onChange)(!t.checked,e,t.id)},t.prototype.render=function(){var e=this.props,t=e.checked,n=e.disabled,r=e.className,i=e.offColor,a=e.onColor,s=e.offHandleColor,u=e.onHandleColor,c=e.checkedIcon,l=e.uncheckedIcon,d=e.checkedHandleIcon,f=e.uncheckedHandleIcon,h=e.boxShadow,p=e.activeBoxShadow,g=e.height,v=e.width,m=e.borderRadius,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&-1===t.indexOf(r)&&(n[r]=e[r]);return n}(e,["checked","disabled","className","offColor","onColor","offHandleColor","onHandleColor","checkedIcon","uncheckedIcon","checkedHandleIcon","uncheckedHandleIcon","boxShadow","activeBoxShadow","height","width","borderRadius","handleDiameter"]),b=this.state,A=b.h,w=b.N,k=b.j,C={position:"relative",display:"inline-block",textAlign:"left",opacity:n?.5:1,direction:"ltr",borderRadius:g/2,WebkitTransition:"opacity 0.25s",MozTransition:"opacity 0.25s",transition:"opacity 0.25s",touchAction:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",userSelect:"none"},_={height:g,width:v,margin:Math.max(0,(this.t-g)/2),position:"relative",background:rp(A,this.i,this.o,i,a),borderRadius:"number"==typeof m?m:g/2,cursor:n?"default":"pointer",WebkitTransition:w?null:"background 0.25s",MozTransition:w?null:"background 0.25s",transition:w?null:"background 0.25s"},x={height:g,width:Math.min(1.5*g,v-(this.t+g)/2+1),position:"relative",opacity:(A-this.o)/(this.i-this.o),pointerEvents:"none",WebkitTransition:w?null:"opacity 0.25s",MozTransition:w?null:"opacity 0.25s",transition:w?null:"opacity 0.25s"},E={height:g,width:Math.min(1.5*g,v-(this.t+g)/2+1),position:"absolute",opacity:1-(A-this.o)/(this.i-this.o),right:0,top:0,pointerEvents:"none",WebkitTransition:w?null:"opacity 0.25s",MozTransition:w?null:"opacity 0.25s",transition:w?null:"opacity 0.25s"},S={height:this.t,width:this.t,background:rp(A,this.i,this.o,s,u),display:"inline-block",cursor:n?"default":"pointer",borderRadius:"number"==typeof m?m-1:"50%",position:"absolute",transform:"translateX("+A+"px)",top:Math.max(0,(g-this.t)/2),outline:0,boxShadow:k?p:h,border:0,WebkitTransition:w?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",MozTransition:w?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s",transition:w?null:"background-color 0.25s, transform 0.25s, box-shadow 0.15s"},I={height:this.t,width:this.t,opacity:Math.max(2*(1-(A-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:w?null:"opacity 0.25s",MozTransition:w?null:"opacity 0.25s",transition:w?null:"opacity 0.25s"},T={height:this.t,width:this.t,opacity:Math.max(2*((A-this.o)/(this.i-this.o)-.5),0),position:"absolute",left:0,top:0,pointerEvents:"none",WebkitTransition:w?null:"opacity 0.25s",MozTransition:w?null:"opacity 0.25s",transition:w?null:"opacity 0.25s"};return o.createElement("div",{className:r,style:C},o.createElement("div",{className:"react-switch-bg",style:_,onClick:n?null:this.T,onMouseDown:function(e){return e.preventDefault()}},c&&o.createElement("div",{style:x},c),l&&o.createElement("div",{style:E},l)),o.createElement("div",{className:"react-switch-handle",style:S,onClick:function(e){return e.preventDefault()},onMouseDown:n?null:this.p,onTouchStart:n?null:this.k,onTouchMove:n?null:this.m,onTouchEnd:n?null:this.M,onTouchCancel:n?null:this.O},f&&o.createElement("div",{style:I},f),d&&o.createElement("div",{style:T},d)),o.createElement("input",$h({},{type:"checkbox",role:"switch","aria-checked":t,checked:t,disabled:n,style:{border:0,clip:"rect(0 0 0 0)",height:1,margin:-1,overflow:"hidden",padding:0,position:"absolute",width:1}},y,{ref:this.S,onFocus:this.D,onBlur:this.O,onKeyUp:this.C,onChange:this.$})))},t}(o.Component);ip.defaultProps={disabled:!1,offColor:"#888",onColor:"#080",offHandleColor:"#fff",onHandleColor:"#fff",uncheckedIcon:ep,checkedIcon:tp,boxShadow:null,activeBoxShadow:"0 0 2px 3px #3bf",height:28,width:56};var op=n(1413),ap=n(45987),sp=["count","wrapper","className","containerClassName","containerTestId","circle","style"],up=["children"],cp=o.createContext({}),lp=!0;function dp(e){for(var t,n,r,i=e.count,a=void 0===i?1:i,s=e.wrapper,u=e.className,c=e.containerClassName,l=e.containerTestId,d=e.circle,f=void 0!==d&&d,h=e.style,p=(0,ap.Z)(e,sp),g=o.useContext(cp),v=(0,op.Z)({},p),m=0,y=Object.entries(p);ma&&S===E-1){var T=null!==(n=I.width)&&void 0!==n?n:"100%",D=a%1,O="number"===typeof T?T*D:"calc(".concat(T," * ").concat(D,")");I=(0,op.Z)((0,op.Z)({},I),{},{width:O})}var N=o.createElement("span",{className:C,style:I,key:S},"\u200c");_?x.push(N):x.push(o.createElement(o.Fragment,{key:S},N,o.createElement("br",null)))}return o.createElement("span",{className:c,"data-testid":l,"aria-live":"polite","aria-busy":null!==(r=w.enableAnimation)&&void 0!==r?r:lp},s?x.map((function(e,t){return o.createElement(s,{key:t},e)})):x)}function fp(e){var t=e.children,n=(0,ap.Z)(e,up);return o.createElement(cp.Provider,{value:n},t)}var hp=ri?ri.isConcatSpreadable:void 0;var pp=function(e){return ho(e)||So(e)||!!(hp&&e&&e[hp])};var gp=function e(t,n,r,i,o){var a=-1,s=t.length;for(r||(r=pp),o||(o=[]);++a0&&r(u)?n>1?e(u,n-1,r,i,o):fo(o,u):i||(o[o.length]=u)}return o};var vp=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e};var mp=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,o=Oa(e),a=void 0!==t,s=null===t,u=t===t,c=Oa(t);if(!s&&!c&&!o&&e>t||o&&a&&u&&!s&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!o&&!c&&e=s?u:u*("desc"==n[r]?-1:1)}return e.index-t.index};var bp=function(e,t,n){t=t.length?Zr(t,(function(e){return ho(e)?function(t){return Wa(t,1===e.length?e[0]:e)}:e})):[Ja];var r=-1;t=Zr(t,jo(ns));var i=as(e,(function(e,n,i){return{criteria:Zr(t,(function(t){return t(e)})),index:++r,value:e}}));return vp(i,(function(e,t){return yp(e,t,n)}))},Ap=du((function(e,t){if(null==e)return[];var n=t.length;return n>1&&fu(e,t[0],t[1])?t=[]:n>2&&fu(t[0],t[1],t[2])&&(t=[t[0]]),bp(e,gp(t,1),[])})),wp=n(54097);var kp=o.createContext(null);function Cp(){return o.useContext(kp)}var _p="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var xp=function(e){var t=e.children,n=e.theme,r=Cp(),i=o.useMemo((function(){var e=null===r?n:function(e,t){return"function"===typeof t?t(e):(0,s.Z)({},e,t)}(r,n);return null!=e&&(e[_p]=null!==r),e}),[n,r]);return(0,Er.jsx)(kp.Provider,{value:i,children:t})},Ep={};function Sp(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return o.useMemo((function(){var i=e&&t[e]||t;if("function"===typeof n){var o=n(i),a=e?(0,s.Z)({},t,(0,Ue.Z)({},e,o)):o;return r?function(){return a}:a}return e?(0,s.Z)({},t,(0,Ue.Z)({},e,n)):(0,s.Z)({},t,n)}),[e,t,n,r])}var Ip=function(e){var t=e.children,n=e.theme,r=e.themeId,i=lr(Ep),o=Cp()||Ep,a=Sp(r,i,n),s=Sp(r,o,n,!0);return(0,Er.jsx)(xp,{theme:s,children:(0,Er.jsx)(Te.Provider,{value:a,children:t})})},Tp=["theme"];function Dp(e){var t=e.theme,n=(0,Qe.Z)(e,Tp),r=t[ir];return(0,Er.jsx)(Ip,(0,s.Z)({},n,{themeId:r?ir:void 0,theme:r||t}))}function Op(e){return Ar("MuiButton",e)}var Np=wr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Pp=o.createContext({});var Lp=o.createContext(void 0),Mp=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Rp=function(e){return(0,s.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},Bp=ur(yl,{shouldForwardProp:function(e){return or(e)||"classes"===e},name:"MuiButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat(Yl(n.color))],t["size".concat(Yl(n.size))],t["".concat(n.variant,"Size").concat(Yl(n.size))],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((function(e){var t,n,r,i=e.theme,o=e.ownerState,a="light"===i.palette.mode?i.palette.grey[300]:i.palette.grey[800],u="light"===i.palette.mode?i.palette.grey.A100:i.palette.grey[700];return(0,s.Z)({},i.typography.button,(t={minWidth:64,padding:"6px 16px",borderRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create(["background-color","box-shadow","border-color","color"],{duration:i.transitions.duration.short}),"&:hover":(0,s.Z)({textDecoration:"none",backgroundColor:i.vars?"rgba(".concat(i.vars.palette.text.primaryChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):xn(i.palette.text.primary,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===o.variant&&"inherit"!==o.color&&{backgroundColor:i.vars?"rgba(".concat(i.vars.palette[o.color].mainChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):xn(i.palette[o.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===o.variant&&"inherit"!==o.color&&{border:"1px solid ".concat((i.vars||i).palette[o.color].main),backgroundColor:i.vars?"rgba(".concat(i.vars.palette[o.color].mainChannel," / ").concat(i.vars.palette.action.hoverOpacity,")"):xn(i.palette[o.color].main,i.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===o.variant&&{backgroundColor:i.vars?i.vars.palette.Button.inheritContainedHoverBg:u,boxShadow:(i.vars||i).shadows[4],"@media (hover: none)":{boxShadow:(i.vars||i).shadows[2],backgroundColor:(i.vars||i).palette.grey[300]}},"contained"===o.variant&&"inherit"!==o.color&&{backgroundColor:(i.vars||i).palette[o.color].dark,"@media (hover: none)":{backgroundColor:(i.vars||i).palette[o.color].main}}),"&:active":(0,s.Z)({},"contained"===o.variant&&{boxShadow:(i.vars||i).shadows[8]})},(0,Ue.Z)(t,"&.".concat(Np.focusVisible),(0,s.Z)({},"contained"===o.variant&&{boxShadow:(i.vars||i).shadows[6]})),(0,Ue.Z)(t,"&.".concat(Np.disabled),(0,s.Z)({color:(i.vars||i).palette.action.disabled},"outlined"===o.variant&&{border:"1px solid ".concat((i.vars||i).palette.action.disabledBackground)},"contained"===o.variant&&{color:(i.vars||i).palette.action.disabled,boxShadow:(i.vars||i).shadows[0],backgroundColor:(i.vars||i).palette.action.disabledBackground})),t),"text"===o.variant&&{padding:"6px 8px"},"text"===o.variant&&"inherit"!==o.color&&{color:(i.vars||i).palette[o.color].main},"outlined"===o.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===o.variant&&"inherit"!==o.color&&{color:(i.vars||i).palette[o.color].main,border:i.vars?"1px solid rgba(".concat(i.vars.palette[o.color].mainChannel," / 0.5)"):"1px solid ".concat(xn(i.palette[o.color].main,.5))},"contained"===o.variant&&{color:i.vars?i.vars.palette.text.primary:null==(n=(r=i.palette).getContrastText)?void 0:n.call(r,i.palette.grey[300]),backgroundColor:i.vars?i.vars.palette.Button.inheritContainedBg:a,boxShadow:(i.vars||i).shadows[2]},"contained"===o.variant&&"inherit"!==o.color&&{color:(i.vars||i).palette[o.color].contrastText,backgroundColor:(i.vars||i).palette[o.color].main},"inherit"===o.color&&{color:"inherit",borderColor:"currentColor"},"small"===o.size&&"text"===o.variant&&{padding:"4px 5px",fontSize:i.typography.pxToRem(13)},"large"===o.size&&"text"===o.variant&&{padding:"8px 11px",fontSize:i.typography.pxToRem(15)},"small"===o.size&&"outlined"===o.variant&&{padding:"3px 9px",fontSize:i.typography.pxToRem(13)},"large"===o.size&&"outlined"===o.variant&&{padding:"7px 21px",fontSize:i.typography.pxToRem(15)},"small"===o.size&&"contained"===o.variant&&{padding:"4px 10px",fontSize:i.typography.pxToRem(13)},"large"===o.size&&"contained"===o.variant&&{padding:"8px 22px",fontSize:i.typography.pxToRem(15)},o.fullWidth&&{width:"100%"})}),(function(e){var t;return e.ownerState.disableElevation&&(t={boxShadow:"none","&:hover":{boxShadow:"none"}},(0,Ue.Z)(t,"&.".concat(Np.focusVisible),{boxShadow:"none"}),(0,Ue.Z)(t,"&:active",{boxShadow:"none"}),(0,Ue.Z)(t,"&.".concat(Np.disabled),{boxShadow:"none"}),t)})),jp=ur("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.startIcon,t["iconSize".concat(Yl(n.size))]]}})((function(e){var t=e.ownerState;return(0,s.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===t.size&&{marginLeft:-2},Rp(t))})),Zp=ur("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(e,t){var n=e.ownerState;return[t.endIcon,t["iconSize".concat(Yl(n.size))]]}})((function(e){var t=e.ownerState;return(0,s.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===t.size&&{marginRight:-2},Rp(t))})),Fp=o.forwardRef((function(e,t){var n=o.useContext(Pp),r=o.useContext(Lp),i=pr({props:cr(n,e),name:"MuiButton"}),a=i.children,u=i.color,c=void 0===u?"primary":u,l=i.component,d=void 0===l?"button":l,f=i.className,h=i.disabled,p=void 0!==h&&h,g=i.disableElevation,v=void 0!==g&&g,m=i.disableFocusRipple,y=void 0!==m&&m,b=i.endIcon,A=i.focusVisibleClassName,w=i.fullWidth,k=void 0!==w&&w,C=i.size,_=void 0===C?"medium":C,x=i.startIcon,E=i.type,S=i.variant,I=void 0===S?"text":S,T=(0,Qe.Z)(i,Mp),D=(0,s.Z)({},i,{color:c,component:d,disabled:p,disableElevation:v,disableFocusRipple:y,fullWidth:k,size:_,type:E,variant:I}),O=function(e){var t=e.color,n=e.disableElevation,r=e.fullWidth,i=e.size,o=e.variant,a=e.classes,u=$t({root:["root",o,"".concat(o).concat(Yl(t)),"size".concat(Yl(i)),"".concat(o,"Size").concat(Yl(i)),"inherit"===t&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Yl(i))],endIcon:["endIcon","iconSize".concat(Yl(i))]},Op,a);return(0,s.Z)({},a,u)}(D),N=x&&(0,Er.jsx)(jp,{className:O.startIcon,ownerState:D,children:x}),P=b&&(0,Er.jsx)(Zp,{className:O.endIcon,ownerState:D,children:b}),L=r||"";return(0,Er.jsxs)(Bp,(0,s.Z)({ownerState:D,className:Ge(n.className,O.root,f,L),component:d,disabled:p,focusRipple:!y,focusVisibleClassName:Ge(O.focusVisible,A),ref:t,type:E},T,{classes:O,children:[N,a,P]}))})),zp=Fp;var Hp=function(e,t){return gp(ss(e,t),1)};function Vp(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.themeId,n=e.defaultTheme,r=e.defaultClassName,i=void 0===r?"MuiBox-root":r,a=e.generateClassName,u=tn("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(sn);return o.forwardRef((function(e,r){var o=fr(n),c=Jt(e),l=c.className,d=c.component,f=void 0===d?"div":d,h=(0,Qe.Z)(c,Qp);return(0,Er.jsx)(u,(0,s.Z)({as:f,ref:r,className:Up(l,a?a(i):i),theme:t&&o[t]||o},h))}))}({themeId:ir,defaultTheme:Wp,defaultClassName:"MuiBox-root",generateClassName:yr.generate}),qp=Gp;function Kp(e){return Ar("MuiTab",e)}var Xp=wr("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Yp=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Jp=ur(yl,{name:"MuiTab",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.label&&n.icon&&t.labelIcon,t["textColor".concat(Yl(n.textColor))],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((function(e){var t,n,r,i=e.theme,o=e.ownerState;return(0,s.Z)({},i.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},o.label&&{flexDirection:"top"===o.iconPosition||"bottom"===o.iconPosition?"column":"row"},{lineHeight:1.25},o.icon&&o.label&&(0,Ue.Z)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(Xp.iconWrapper),(0,s.Z)({},"top"===o.iconPosition&&{marginBottom:6},"bottom"===o.iconPosition&&{marginTop:6},"start"===o.iconPosition&&{marginRight:i.spacing(1)},"end"===o.iconPosition&&{marginLeft:i.spacing(1)})),"inherit"===o.textColor&&(t={color:"inherit",opacity:.6},(0,Ue.Z)(t,"&.".concat(Xp.selected),{opacity:1}),(0,Ue.Z)(t,"&.".concat(Xp.disabled),{opacity:(i.vars||i).palette.action.disabledOpacity}),t),"primary"===o.textColor&&(n={color:(i.vars||i).palette.text.secondary},(0,Ue.Z)(n,"&.".concat(Xp.selected),{color:(i.vars||i).palette.primary.main}),(0,Ue.Z)(n,"&.".concat(Xp.disabled),{color:(i.vars||i).palette.text.disabled}),n),"secondary"===o.textColor&&(r={color:(i.vars||i).palette.text.secondary},(0,Ue.Z)(r,"&.".concat(Xp.selected),{color:(i.vars||i).palette.secondary.main}),(0,Ue.Z)(r,"&.".concat(Xp.disabled),{color:(i.vars||i).palette.text.disabled}),r),o.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},o.wrapped&&{fontSize:i.typography.pxToRem(12)})})),$p=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiTab"}),r=n.className,i=n.disabled,a=void 0!==i&&i,u=n.disableFocusRipple,c=void 0!==u&&u,l=n.fullWidth,d=n.icon,f=n.iconPosition,h=void 0===f?"top":f,p=n.indicator,g=n.label,v=n.onChange,m=n.onClick,y=n.onFocus,b=n.selected,A=n.selectionFollowsFocus,w=n.textColor,k=void 0===w?"inherit":w,C=n.value,_=n.wrapped,x=void 0!==_&&_,E=(0,Qe.Z)(n,Yp),S=(0,s.Z)({},n,{disabled:a,disableFocusRipple:c,selected:b,icon:!!d,iconPosition:h,label:!!g,fullWidth:l,textColor:k,wrapped:x}),I=function(e){var t=e.classes,n=e.textColor,r=e.fullWidth,i=e.wrapped,o=e.icon,a=e.label,s=e.selected,u=e.disabled;return $t({root:["root",o&&a&&"labelIcon","textColor".concat(Yl(n)),r&&"fullWidth",i&&"wrapped",s&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]},Kp,t)}(S),T=d&&g&&o.isValidElement(d)?o.cloneElement(d,{className:Ge(I.iconWrapper,d.props.className)}):d;return(0,Er.jsxs)(Jp,(0,s.Z)({focusRipple:!c,className:Ge(I.root,r),ref:t,role:"tab","aria-selected":b,disabled:a,onClick:function(e){!b&&v&&v(e,C),m&&m(e)},onFocus:function(e){A&&!b&&v&&v(e,C),y&&y(e)},ownerState:S,tabIndex:b?0:-1},E,{children:["top"===h||"start"===h?(0,Er.jsxs)(o.Fragment,{children:[T,g]}):(0,Er.jsxs)(o.Fragment,{children:[g,T]}),p]}))})),eg=$p,tg=Object.prototype.hasOwnProperty;var ng,rg=function(e){if(null==e)return!0;if($o(e)&&(ho(e)||"string"==typeof e||"function"==typeof e.splice||No(e)||Uo(e)||So(e)))return!e.length;var t=ba(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(qo(e))return!Jo(e).length;for(var n in e)if(tg.call(e,n))return!1;return!0};function ig(){if(ng)return ng;var e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),ng="reverse",e.scrollLeft>0?ng="default":(e.scrollLeft=1,0===e.scrollLeft&&(ng="negative")),document.body.removeChild(e),ng}function og(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;switch(ig()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function ag(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var sg=["onChange"],ug={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var cg=Th((0,Er.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),lg=Th((0,Er.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function dg(e){return Ar("MuiTabScrollButton",e)}var fg=wr("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),hg=["className","slots","slotProps","direction","orientation","disabled"],pg=ur(yl,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.orientation&&t[n.orientation]]}})((function(e){var t=e.ownerState;return(0,s.Z)((0,Ue.Z)({width:40,flexShrink:0,opacity:.8},"&.".concat(fg.disabled),{opacity:0}),"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(t.isRtl?-90:90,"deg)")}})})),gg=o.forwardRef((function(e,t){var n,r,i=pr({props:e,name:"MuiTabScrollButton"}),o=i.className,a=i.slots,u=void 0===a?{}:a,c=i.slotProps,l=void 0===c?{}:c,d=i.direction,f=(0,Qe.Z)(i,hg),h="rtl"===gr().direction,p=(0,s.Z)({isRtl:h},i),g=function(e){var t=e.classes;return $t({root:["root",e.orientation,e.disabled&&"disabled"]},dg,t)}(p),v=null!=(n=u.StartScrollButtonIcon)?n:cg,m=null!=(r=u.EndScrollButtonIcon)?r:lg,y=xd({elementType:v,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p}),b=xd({elementType:m,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:p});return(0,Er.jsx)(pg,(0,s.Z)({component:"div",className:Ge(g.root,o),ref:t,role:null,ownerState:p,tabIndex:null},f,{children:"left"===d?(0,Er.jsx)(v,(0,s.Z)({},y)):(0,Er.jsx)(m,(0,s.Z)({},b))}))})),vg=gg;function mg(e){return Ar("MuiTabs",e)}var yg=wr("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),bg=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Ag=function(e,t){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild},wg=function(e,t){return e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild},kg=function(e,t,n){for(var r=!1,i=n(e,t);i;){if(i===e.firstChild){if(r)return;r=!0}var o=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!o)return void i.focus();i=n(e,i)}},Cg=ur("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[(0,Ue.Z)({},"& .".concat(yg.scrollButtons),t.scrollButtons),(0,Ue.Z)({},"& .".concat(yg.scrollButtons),n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile),t.root,n.vertical&&t.vertical]}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&(0,Ue.Z)({},"& .".concat(yg.scrollButtons),(0,Ue.Z)({},n.breakpoints.down("sm"),{display:"none"})))})),_g=ur("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(e,t){var n=e.ownerState;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((function(e){var t=e.ownerState;return(0,s.Z)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),xg=ur("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(e,t){var n=e.ownerState;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((function(e){var t=e.ownerState;return(0,s.Z)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})})),Eg=ur("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(e,t){return t.indicator}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})})),Sg=ur((function(e){var t=e.onChange,n=(0,Qe.Z)(e,sg),r=o.useRef(),i=o.useRef(null),a=function(){r.current=i.current.offsetHeight-i.current.clientHeight};return bl((function(){var e=Fd((function(){var e=r.current;a(),e!==r.current&&t(r.current)})),n=zd(i.current);return n.addEventListener("resize",e),function(){e.clear(),n.removeEventListener("resize",e)}}),[t]),o.useEffect((function(){a(),t(r.current)}),[t]),(0,Er.jsx)("div",(0,s.Z)({style:ug,ref:i},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Ig={},Tg=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiTabs"}),r=gr(),i="rtl"===r.direction,a=n["aria-label"],u=n["aria-labelledby"],c=n.action,l=n.centered,d=void 0!==l&&l,f=n.children,h=n.className,p=n.component,g=void 0===p?"div":p,v=n.allowScrollButtonsMobile,m=void 0!==v&&v,y=n.indicatorColor,b=void 0===y?"primary":y,A=n.onChange,w=n.orientation,k=void 0===w?"horizontal":w,C=n.ScrollButtonComponent,_=void 0===C?vg:C,x=n.scrollButtons,E=void 0===x?"auto":x,S=n.selectionFollowsFocus,I=n.slots,T=void 0===I?{}:I,D=n.slotProps,O=void 0===D?{}:D,N=n.TabIndicatorProps,P=void 0===N?{}:N,L=n.TabScrollButtonProps,M=void 0===L?{}:L,R=n.textColor,B=void 0===R?"primary":R,j=n.value,Z=n.variant,F=void 0===Z?"standard":Z,z=n.visibleScrollbar,H=void 0!==z&&z,V=(0,Qe.Z)(n,bg),U="scrollable"===F,Q="vertical"===k,W=Q?"scrollTop":"scrollLeft",G=Q?"top":"left",q=Q?"bottom":"right",K=Q?"clientHeight":"clientWidth",X=Q?"height":"width",Y=(0,s.Z)({},n,{component:g,allowScrollButtonsMobile:m,indicatorColor:b,orientation:k,vertical:Q,scrollButtons:E,textColor:B,variant:F,visibleScrollbar:H,fixed:!U,hideScrollbar:U&&!H,scrollableX:U&&!Q,scrollableY:U&&Q,centered:d&&!U,scrollButtonsHideMobile:!m}),J=function(e){var t=e.vertical,n=e.fixed,r=e.hideScrollbar,i=e.scrollableX;return $t({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",e.scrollableY&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",e.centered&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",e.scrollButtonsHideMobile&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},mg,e.classes)}(Y),$=xd({elementType:T.StartScrollButtonIcon,externalSlotProps:O.startScrollButtonIcon,ownerState:Y}),ee=xd({elementType:T.EndScrollButtonIcon,externalSlotProps:O.endScrollButtonIcon,ownerState:Y});var te=o.useState(!1),ne=(0,rt.Z)(te,2),re=ne[0],ie=ne[1],oe=o.useState(Ig),ae=(0,rt.Z)(oe,2),se=ae[0],ue=ae[1],ce=o.useState(!1),le=(0,rt.Z)(ce,2),de=le[0],fe=le[1],he=o.useState(!1),pe=(0,rt.Z)(he,2),ge=pe[0],ve=pe[1],me=o.useState(!1),ye=(0,rt.Z)(me,2),be=ye[0],Ae=ye[1],we=o.useState({overflow:"hidden",scrollbarWidth:0}),ke=(0,rt.Z)(we,2),Ce=ke[0],_e=ke[1],xe=new Map,Ee=o.useRef(null),Se=o.useRef(null),Ie=function(){var e,t,n=Ee.current;if(n){var i=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:og(n,r.direction),scrollWidth:n.scrollWidth,top:i.top,bottom:i.bottom,left:i.left,right:i.right}}if(n&&!1!==j){var o=Se.current.children;if(o.length>0){var a=o[xe.get(j)];0,t=a?a.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},Te=Ic((function(){var e,t,n=Ie(),r=n.tabsMeta,o=n.tabMeta,a=0;if(Q)t="top",o&&r&&(a=o.top-r.top+r.scrollTop);else if(t=i?"right":"left",o&&r){var s=i?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=(i?-1:1)*(o[t]-r[t]+s)}var u=(e={},(0,Ue.Z)(e,t,a),(0,Ue.Z)(e,X,o?o[X]:0),e);if(isNaN(se[t])||isNaN(se[X]))ue(u);else{var c=Math.abs(se[t]-u[t]),l=Math.abs(se[X]-u[X]);(c>=1||l>=1)&&ue(u)}})),De=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).animation;void 0===t||t?function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},o=r.ease,a=void 0===o?ag:o,s=r.duration,u=void 0===s?300:s,c=null,l=t[e],d=!1,f=function(){d=!0};l===n?i(new Error("Element already at target position")):requestAnimationFrame((function r(o){if(d)i(new Error("Animation cancelled"));else{null===c&&(c=o);var s=Math.min(1,(o-c)/u);t[e]=a(s)*(n-l)+l,s>=1?requestAnimationFrame((function(){i(null)})):requestAnimationFrame(r)}}))}(W,Ee.current,e,{duration:r.transitions.duration.standard}):Ee.current[W]=e},Oe=function(e){var t=Ee.current[W];Q?t+=e:(t+=e*(i?-1:1),t*=i&&"reverse"===ig()?-1:1),De(t)},Ne=function(){for(var e=Ee.current[K],t=0,n=Array.from(Se.current.children),r=0;re){0===r&&(t=e);break}t+=i[K]}return t},Pe=function(){Oe(-1*Ne())},Le=function(){Oe(Ne())},Me=o.useCallback((function(e){_e({overflow:null,scrollbarWidth:e})}),[]),Re=Ic((function(e){var t=Ie(),n=t.tabsMeta,r=t.tabMeta;if(r&&n)if(r[G]n[q]){var o=n[W]+(r[q]-n[q]);De(o,{animation:e})}})),Be=Ic((function(){U&&!1!==E&&Ae(!be)}));o.useEffect((function(){var e,t,n=Fd((function(){Ee.current&&Te()})),r=zd(Ee.current);return r.addEventListener("resize",n),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(n),Array.from(Se.current.children).forEach((function(t){e.observe(t)}))),"undefined"!==typeof MutationObserver&&(t=new MutationObserver((function(t){t.forEach((function(t){t.removedNodes.forEach((function(t){var n;null==(n=e)||n.unobserve(t)})),t.addedNodes.forEach((function(t){var n;null==(n=e)||n.observe(t)}))})),n(),Be()}))).observe(Se.current,{childList:!0}),function(){var i,o;n.clear(),r.removeEventListener("resize",n),null==(i=t)||i.disconnect(),null==(o=e)||o.disconnect()}}),[Te,Be]),o.useEffect((function(){var e=Array.from(Se.current.children),t=e.length;if("undefined"!==typeof IntersectionObserver&&t>0&&U&&!1!==E){var n=e[0],r=e[t-1],i={root:Ee.current,threshold:.99},o=new IntersectionObserver((function(e){fe(!e[0].isIntersecting)}),i);o.observe(n);var a=new IntersectionObserver((function(e){ve(!e[0].isIntersecting)}),i);return a.observe(r),function(){o.disconnect(),a.disconnect()}}}),[U,E,be,null==f?void 0:f.length]),o.useEffect((function(){ie(!0)}),[]),o.useEffect((function(){Te()})),o.useEffect((function(){Re(Ig!==se)}),[Re,se]),o.useImperativeHandle(c,(function(){return{updateIndicator:Te,updateScrollButtons:Be}}),[Te,Be]);var je=(0,Er.jsx)(Eg,(0,s.Z)({},P,{className:Ge(J.indicator,P.className),ownerState:Y,style:(0,s.Z)({},se,P.style)})),Ze=0,Fe=o.Children.map(f,(function(e){if(!o.isValidElement(e))return null;var t=void 0===e.props.value?Ze:e.props.value;xe.set(t,Ze);var n=t===j;return Ze+=1,o.cloneElement(e,(0,s.Z)({fullWidth:"fullWidth"===F,indicator:n&&!re&&je,selected:n,selectionFollowsFocus:S,onChange:A,textColor:B,value:t},1!==Ze||!1!==j||e.props.tabIndex?{}:{tabIndex:0}))})),ze=function(){var e={};e.scrollbarSizeListener=U?(0,Er.jsx)(Sg,{onChange:Me,className:Ge(J.scrollableX,J.hideScrollbar)}):null;var t=U&&("auto"===E&&(de||ge)||!0===E);return e.scrollButtonStart=t?(0,Er.jsx)(_,(0,s.Z)({slots:{StartScrollButtonIcon:T.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:$},orientation:k,direction:i?"right":"left",onClick:Pe,disabled:!de},M,{className:Ge(J.scrollButtons,M.className)})):null,e.scrollButtonEnd=t?(0,Er.jsx)(_,(0,s.Z)({slots:{EndScrollButtonIcon:T.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:ee},orientation:k,direction:i?"left":"right",onClick:Le,disabled:!ge},M,{className:Ge(J.scrollButtons,M.className)})):null,e}();return(0,Er.jsxs)(Cg,(0,s.Z)({className:Ge(J.root,h),ownerState:Y,ref:t,as:g},V,{children:[ze.scrollButtonStart,ze.scrollbarSizeListener,(0,Er.jsxs)(_g,{className:J.scroller,ownerState:Y,style:(0,Ue.Z)({overflow:Ce.overflow},Q?"margin".concat(i?"Left":"Right"):"marginBottom",H?void 0:-Ce.scrollbarWidth),ref:Ee,children:[(0,Er.jsx)(xg,{"aria-label":a,"aria-labelledby":u,"aria-orientation":"vertical"===k?"vertical":null,className:J.flexContainer,ownerState:Y,onKeyDown:function(e){var t=Se.current,n=Ad(t).activeElement;if("tab"===n.getAttribute("role")){var r="horizontal"===k?"ArrowLeft":"ArrowUp",o="horizontal"===k?"ArrowRight":"ArrowDown";switch("horizontal"===k&&i&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),kg(t,n,wg);break;case o:e.preventDefault(),kg(t,n,Ag);break;case"Home":e.preventDefault(),kg(t,null,Ag);break;case"End":e.preventDefault(),kg(t,null,wg)}}},ref:Se,role:"tablist",children:Fe}),re&&je]}),ze.scrollButtonEnd]}))})),Dg=Tg,Og=n(75192),Ng=n.n(Og);function Pg(){return Pg=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Mg=(0,o.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,i=e.size,a=void 0===i?24:i,s=Lg(e,["color","size"]);return o.createElement("svg",Pg({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),o.createElement("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),o.createElement("polyline",{points:"19 12 12 19 5 12"}))}));Mg.propTypes={color:Ng().string,size:Ng().oneOfType([Ng().string,Ng().number])},Mg.displayName="ArrowDown";var Rg=Mg;function Bg(){return Bg=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Zg=(0,o.forwardRef)((function(e,t){var n=e.color,r=void 0===n?"currentColor":n,i=e.size,a=void 0===i?24:i,s=jg(e,["color","size"]);return o.createElement("svg",Bg({ref:t,xmlns:"http://www.w3.org/2000/svg",width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},s),o.createElement("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),o.createElement("polyline",{points:"15 3 21 3 21 9"}),o.createElement("line",{x1:"10",y1:"14",x2:"21",y2:"3"}))}));Zg.propTypes={color:Ng().string,size:Ng().oneOfType([Ng().string,Ng().number])},Zg.displayName="ExternalLink";var Fg=Zg;function zg(e){return Ar("MuiTypography",e)}wr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var Hg=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Vg=ur("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat(Yl(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({margin:0},"inherit"===n.variant&&{font:"inherit"},"inherit"!==n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),Ug={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Qg={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Wg=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiTypography"}),r=function(e){return Qg[e]||e}(n.color),i=Jt((0,s.Z)({},n,{color:r})),o=i.align,a=void 0===o?"inherit":o,u=i.className,c=i.component,l=i.gutterBottom,d=void 0!==l&&l,f=i.noWrap,h=void 0!==f&&f,p=i.paragraph,g=void 0!==p&&p,v=i.variant,m=void 0===v?"body1":v,y=i.variantMapping,b=void 0===y?Ug:y,A=(0,Qe.Z)(i,Hg),w=(0,s.Z)({},i,{align:a,color:r,className:u,component:c,gutterBottom:d,noWrap:h,paragraph:g,variant:m,variantMapping:b}),k=c||(g?"p":b[m]||Ug[m])||"span",C=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,i=e.paragraph,o=e.variant,a=e.classes;return $t({root:["root",o,"inherit"!==e.align&&"align".concat(Yl(t)),n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]},zg,a)}(w);return(0,Er.jsx)(Vg,(0,s.Z)({as:k,ref:t,ownerState:w,className:Ge(C.root,u)},A))})),Gg=Wg;function qg(e){return Ar("MuiLink",e)}var Kg=wr("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Xg={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Yg=function(e){var t=e.theme,n=e.ownerState,r=function(e){return Xg[e]||e}(n.color),i=at(t,"palette.".concat(r),!1)||n.color,o=at(t,"palette.".concat(r,"Channel"));return"vars"in t&&o?"rgba(".concat(o," / 0.4)"):xn(i,.4)},Jg=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],$g=ur(Gg,{name:"MuiLink",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["underline".concat(Yl(n.underline))],"button"===n.component&&t.button]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&(0,s.Z)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:Yg({theme:t,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&(0,Ue.Z)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(Kg.focusVisible),{outline:"auto"}))})),ev=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiLink"}),r=n.className,i=n.color,a=void 0===i?"primary":i,u=n.component,c=void 0===u?"a":u,l=n.onBlur,d=n.onFocus,f=n.TypographyClasses,h=n.underline,p=void 0===h?"always":h,g=n.variant,v=void 0===g?"inherit":g,m=n.sx,y=(0,Qe.Z)(n,Jg),b=Rc(),A=b.isFocusVisibleRef,w=b.onBlur,k=b.onFocus,C=b.ref,_=o.useState(!1),x=(0,rt.Z)(_,2),E=x[0],S=x[1],I=_c(t,C),T=(0,s.Z)({},n,{color:a,component:c,focusVisible:E,underline:p,variant:v}),D=function(e){var t=e.classes,n=e.component,r=e.focusVisible,i=e.underline;return $t({root:["root","underline".concat(Yl(i)),"button"===n&&"button",r&&"focusVisible"]},qg,t)}(T);return(0,Er.jsx)($g,(0,s.Z)({color:a,className:Ge(D.root,r),classes:f,component:c,onBlur:function(e){w(e),!1===A.current&&S(!1),l&&l(e)},onFocus:function(e){k(e),!0===A.current&&S(!0),d&&d(e)},ref:I,ownerState:T,variant:v,sx:[].concat((0,Ve.Z)(Object.keys(Xg).includes(a)?[]:[{color:a}]),(0,Ve.Z)(Array.isArray(m)?m:[m]))},y))})),tv=ev;function nv(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function rv(e){return e instanceof nv(e).Element||e instanceof Element}function iv(e){return e instanceof nv(e).HTMLElement||e instanceof HTMLElement}function ov(e){return"undefined"!==typeof ShadowRoot&&(e instanceof nv(e).ShadowRoot||e instanceof ShadowRoot)}var av=Math.max,sv=Math.min,uv=Math.round;function cv(){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 lv(){return!/^((?!chrome|android).)*safari/i.test(cv())}function dv(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&iv(e)&&(i=e.offsetWidth>0&&uv(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&uv(r.height)/e.offsetHeight||1);var a=(rv(e)?nv(e):window).visualViewport,s=!lv()&&n,u=(r.left+(s&&a?a.offsetLeft:0))/i,c=(r.top+(s&&a?a.offsetTop:0))/o,l=r.width/i,d=r.height/o;return{width:l,height:d,top:c,right:u+l,bottom:c+d,left:u,x:u,y:c}}function fv(e){var t=nv(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function hv(e){return e?(e.nodeName||"").toLowerCase():null}function pv(e){return((rv(e)?e.ownerDocument:e.document)||window.document).documentElement}function gv(e){return dv(pv(e)).left+fv(e).scrollLeft}function vv(e){return nv(e).getComputedStyle(e)}function mv(e){var t=vv(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function yv(e,t,n){void 0===n&&(n=!1);var r=iv(t),i=iv(t)&&function(e){var t=e.getBoundingClientRect(),n=uv(t.width)/e.offsetWidth||1,r=uv(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),o=pv(t),a=dv(e,i,n),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==hv(t)||mv(o))&&(s=function(e){return e!==nv(e)&&iv(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:fv(e);var t}(t)),iv(t)?((u=dv(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=gv(o))),{x:a.left+s.scrollLeft-u.x,y:a.top+s.scrollTop-u.y,width:a.width,height:a.height}}function bv(e){var t=dv(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 Av(e){return"html"===hv(e)?e:e.assignedSlot||e.parentNode||(ov(e)?e.host:null)||pv(e)}function wv(e){return["html","body","#document"].indexOf(hv(e))>=0?e.ownerDocument.body:iv(e)&&mv(e)?e:wv(Av(e))}function kv(e,t){var n;void 0===t&&(t=[]);var r=wv(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=nv(r),a=i?[o].concat(o.visualViewport||[],mv(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(kv(Av(a)))}function Cv(e){return["table","td","th"].indexOf(hv(e))>=0}function _v(e){return iv(e)&&"fixed"!==vv(e).position?e.offsetParent:null}function xv(e){for(var t=nv(e),n=_v(e);n&&Cv(n)&&"static"===vv(n).position;)n=_v(n);return n&&("html"===hv(n)||"body"===hv(n)&&"static"===vv(n).position)?t:n||function(e){var t=/firefox/i.test(cv());if(/Trident/i.test(cv())&&iv(e)&&"fixed"===vv(e).position)return null;var n=Av(e);for(ov(n)&&(n=n.host);iv(n)&&["html","body"].indexOf(hv(n))<0;){var r=vv(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}var Ev="top",Sv="bottom",Iv="right",Tv="left",Dv="auto",Ov=[Ev,Sv,Iv,Tv],Nv="start",Pv="end",Lv="clippingParents",Mv="viewport",Rv="popper",Bv="reference",jv=Ov.reduce((function(e,t){return e.concat([t+"-"+Nv,t+"-"+Pv])}),[]),Zv=[].concat(Ov,[Dv]).reduce((function(e,t){return e.concat([t,t+"-"+Nv,t+"-"+Pv])}),[]),Fv=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function zv(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function Hv(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var Vv={placement:"bottom",modifiers:[],strategy:"absolute"};function Uv(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function Xv(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?Gv(i):null,a=i?qv(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(o){case Ev:t={x:s,y:n.y-r.height};break;case Sv:t={x:s,y:n.y+n.height};break;case Iv:t={x:n.x+n.width,y:u};break;case Tv:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=o?Kv(o):null;if(null!=c){var l="y"===c?"height":"width";switch(a){case Nv:t[c]=t[c]-(n[l]/2-r[l]/2);break;case Pv:t[c]=t[c]+(n[l]/2-r[l]/2)}}return t}var Yv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Jv(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,d=e.isFixed,f=a.x,h=void 0===f?0:f,p=a.y,g=void 0===p?0:p,v="function"===typeof l?l({x:h,y:g}):{x:h,y:g};h=v.x,g=v.y;var m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=Tv,A=Ev,w=window;if(c){var k=xv(n),C="clientHeight",_="clientWidth";if(k===nv(n)&&"static"!==vv(k=pv(n)).position&&"absolute"===s&&(C="scrollHeight",_="scrollWidth"),i===Ev||(i===Tv||i===Iv)&&o===Pv)A=Sv,g-=(d&&k===w&&w.visualViewport?w.visualViewport.height:k[C])-r.height,g*=u?1:-1;if(i===Tv||(i===Ev||i===Sv)&&o===Pv)b=Iv,h-=(d&&k===w&&w.visualViewport?w.visualViewport.width:k[_])-r.width,h*=u?1:-1}var x,E=Object.assign({position:s},c&&Yv),S=!0===l?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:uv(n*i)/i||0,y:uv(r*i)/i||0}}({x:h,y:g},nv(n)):{x:h,y:g};return h=S.x,g=S.y,u?Object.assign({},E,((x={})[A]=y?"0":"",x[b]=m?"0":"",x.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",x)):Object.assign({},E,((t={})[A]=y?g+"px":"",t[b]=m?h+"px":"",t.transform="",t))}var $v={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]||{},i=t.elements[e];iv(i)&&hv(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.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],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});iv(r)&&hv(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var em={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=Zv.reduce((function(e,n){return e[n]=function(e,t,n){var r=Gv(e),i=[Tv,Ev].indexOf(r)>=0?-1:1,o="function"===typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[Tv,Iv].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},tm={left:"right",right:"left",bottom:"top",top:"bottom"};function nm(e){return e.replace(/left|right|bottom|top/g,(function(e){return tm[e]}))}var rm={start:"end",end:"start"};function im(e){return e.replace(/start|end/g,(function(e){return rm[e]}))}function om(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ov(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function am(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sm(e,t,n){return t===Mv?am(function(e,t){var n=nv(e),r=pv(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,u=0;if(i){o=i.width,a=i.height;var c=lv();(c||!c&&"fixed"===t)&&(s=i.offsetLeft,u=i.offsetTop)}return{width:o,height:a,x:s+gv(e),y:u}}(e,n)):rv(t)?function(e,t){var n=dv(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):am(function(e){var t,n=pv(e),r=fv(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=av(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=av(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+gv(e),u=-r.scrollTop;return"rtl"===vv(i||n).direction&&(s+=av(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:u}}(pv(e)))}function um(e,t,n,r){var i="clippingParents"===t?function(e){var t=kv(Av(e)),n=["absolute","fixed"].indexOf(vv(e).position)>=0&&iv(e)?xv(e):e;return rv(n)?t.filter((function(e){return rv(e)&&om(e,n)&&"body"!==hv(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce((function(t,n){var i=sm(e,n,r);return t.top=av(i.top,t.top),t.right=sv(i.right,t.right),t.bottom=sv(i.bottom,t.bottom),t.left=av(i.left,t.left),t}),sm(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function cm(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function lm(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function dm(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,u=void 0===s?Lv:s,c=n.rootBoundary,l=void 0===c?Mv:c,d=n.elementContext,f=void 0===d?Rv:d,h=n.altBoundary,p=void 0!==h&&h,g=n.padding,v=void 0===g?0:g,m=cm("number"!==typeof v?v:lm(v,Ov)),y=f===Rv?Bv:Rv,b=e.rects.popper,A=e.elements[p?y:f],w=um(rv(A)?A:A.contextElement||pv(e.elements.popper),u,l,a),k=dv(e.elements.reference),C=Xv({reference:k,element:b,strategy:"absolute",placement:i}),_=am(Object.assign({},b,C)),x=f===Rv?_:k,E={top:w.top-x.top+m.top,bottom:x.bottom-w.bottom+m.bottom,left:w.left-x.left+m.left,right:x.right-w.right+m.right},S=e.modifiersData.offset;if(f===Rv&&S){var I=S[i];Object.keys(E).forEach((function(e){var t=[Iv,Sv].indexOf(e)>=0?1:-1,n=[Ev,Sv].indexOf(e)>=0?"y":"x";E[e]+=I[n]*t}))}return E}var fm={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 i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,l=n.boundary,d=n.rootBoundary,f=n.altBoundary,h=n.flipVariations,p=void 0===h||h,g=n.allowedAutoPlacements,v=t.options.placement,m=Gv(v),y=u||(m===v||!p?[nm(v)]:function(e){if(Gv(e)===Dv)return[];var t=nm(e);return[im(e),t,im(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(Gv(n)===Dv?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?Zv:u,l=qv(r),d=l?s?jv:jv.filter((function(e){return qv(e)===l})):Ov,f=d.filter((function(e){return c.indexOf(e)>=0}));0===f.length&&(f=d);var h=f.reduce((function(t,n){return t[n]=dm(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[Gv(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:l,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),A=t.rects.reference,w=t.rects.popper,k=new Map,C=!0,_=b[0],x=0;x=0,D=T?"width":"height",O=dm(t,{placement:E,boundary:l,rootBoundary:d,altBoundary:f,padding:c}),N=T?I?Iv:Tv:I?Sv:Ev;A[D]>w[D]&&(N=nm(N));var P=nm(N),L=[];if(o&&L.push(O[S]<=0),s&&L.push(O[N]<=0,O[P]<=0),L.every((function(e){return e}))){_=E,C=!1;break}k.set(E,L)}if(C)for(var M=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return _=t,"break"},R=p?3:1;R>0;R--){if("break"===M(R))break}t.placement!==_&&(t.modifiersData[r]._skip=!0,t.placement=_,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function hm(e,t,n){return av(e,sv(t,n))}var pm={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,d=n.padding,f=n.tether,h=void 0===f||f,p=n.tetherOffset,g=void 0===p?0:p,v=dm(t,{boundary:u,rootBoundary:c,padding:d,altBoundary:l}),m=Gv(t.placement),y=qv(t.placement),b=!y,A=Kv(m),w="x"===A?"y":"x",k=t.modifiersData.popperOffsets,C=t.rects.reference,_=t.rects.popper,x="function"===typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"===typeof x?{mainAxis:x,altAxis:x}:Object.assign({mainAxis:0,altAxis:0},x),S=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(k){if(o){var T,D="y"===A?Ev:Tv,O="y"===A?Sv:Iv,N="y"===A?"height":"width",P=k[A],L=P+v[D],M=P-v[O],R=h?-_[N]/2:0,B=y===Nv?C[N]:_[N],j=y===Nv?-_[N]:-C[N],Z=t.elements.arrow,F=h&&Z?bv(Z):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=z[D],V=z[O],U=hm(0,C[N],F[N]),Q=b?C[N]/2-R-U-H-E.mainAxis:B-U-H-E.mainAxis,W=b?-C[N]/2+R+U+V+E.mainAxis:j+U+V+E.mainAxis,G=t.elements.arrow&&xv(t.elements.arrow),q=G?"y"===A?G.clientTop||0:G.clientLeft||0:0,K=null!=(T=null==S?void 0:S[A])?T:0,X=P+W-K,Y=hm(h?sv(L,P+Q-K-q):L,P,h?av(M,X):M);k[A]=Y,I[A]=Y-P}if(s){var J,$="x"===A?Ev:Tv,ee="x"===A?Sv:Iv,te=k[w],ne="y"===w?"height":"width",re=te+v[$],ie=te-v[ee],oe=-1!==[Ev,Tv].indexOf(m),ae=null!=(J=null==S?void 0:S[w])?J:0,se=oe?re:te-C[ne]-_[ne]-ae+E.altAxis,ue=oe?te+C[ne]+_[ne]-ae-E.altAxis:ie,ce=h&&oe?function(e,t,n){var r=hm(e,t,n);return r>n?n:r}(se,te,ue):hm(h?se:re,te,h?ue:ie);k[w]=ce,I[w]=ce-te}t.modifiersData[r]=I}},requiresIfExists:["offset"]};var gm={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Gv(n.placement),u=Kv(s),c=[Tv,Iv].indexOf(s)>=0?"height":"width";if(o&&a){var l=function(e,t){return cm("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:lm(e,Ov))}(i.padding,n),d=bv(o),f="y"===u?Ev:Tv,h="y"===u?Sv:Iv,p=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],g=a[u]-n.rects.reference[u],v=xv(o),m=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=p/2-g/2,b=l[f],A=m-d[c]-l[h],w=m/2-d[c]/2+y,k=hm(b,w,A),C=u;n.modifiersData[r]=((t={})[C]=k,t.centerOffset=k-w,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)))&&om(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function vm(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 mm(e){return[Ev,Iv,Sv,Tv].some((function(t){return e[t]>=0}))}var ym=Qv({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,u=nv(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach((function(e){e.addEventListener("scroll",n.update,Wv)})),s&&u.addEventListener("resize",n.update,Wv),function(){o&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Wv)})),s&&u.removeEventListener("resize",n.update,Wv)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Xv({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,u=void 0===s||s,c={placement:Gv(t.placement),variation:qv(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Jv(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Jv(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},$v,em,fm,pm,gm,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=dm(t,{elementContext:"reference"}),s=dm(t,{altBoundary:!0}),u=vm(a,r),c=vm(s,i,o),l=mm(u),d=mm(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":d})}}]});function bm(e){return Ar("MuiPopper",e)}wr("MuiPopper",["root"]);var Am={disableDefaultClasses:!1},wm=o.createContext(Am);var km=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Cm=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function _m(e){return"function"===typeof e?e():e}function xm(e){return void 0!==e.nodeType}var Em=function(){return $t({root:["root"]},function(e){var t=o.useContext(wm).disableDefaultClasses;return function(n){return t?"":e(n)}}(bm))},Sm={},Im=o.forwardRef((function(e,t){var n,r=e.anchorEl,i=e.children,a=e.direction,u=e.disablePortal,c=e.modifiers,l=e.open,d=e.placement,f=e.popperOptions,h=e.popperRef,p=e.slotProps,g=void 0===p?{}:p,v=e.slots,m=void 0===v?{}:v,y=e.TransitionProps,b=(0,Qe.Z)(e,km),A=o.useRef(null),w=Cc(A,t),k=o.useRef(null),C=Cc(k,h),_=o.useRef(C);xc((function(){_.current=C}),[C]),o.useImperativeHandle(h,(function(){return k.current}),[]);var x=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,a),E=o.useState(x),S=(0,rt.Z)(E,2),I=S[0],T=S[1],D=o.useState(_m(r)),O=(0,rt.Z)(D,2),N=O[0],P=O[1];o.useEffect((function(){k.current&&k.current.forceUpdate()})),o.useEffect((function(){r&&P(_m(r))}),[r]),xc((function(){if(N&&l){var e=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;T(t.placement)}}];null!=c&&(e=e.concat(c)),f&&null!=f.modifiers&&(e=e.concat(f.modifiers));var t=ym(N,A.current,(0,s.Z)({placement:x},f,{modifiers:e}));return _.current(t),function(){t.destroy(),_.current(null)}}}),[N,u,c,l,f,x]);var L={placement:I};null!==y&&(L.TransitionProps=y);var M=Em(),R=null!=(n=m.root)?n:"div",B=xd({elementType:R,externalSlotProps:g.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:M.root});return(0,Er.jsx)(R,(0,s.Z)({},B,{children:"function"===typeof i?i(L):i}))})),Tm=o.forwardRef((function(e,t){var n,r=e.anchorEl,i=e.children,a=e.container,u=e.direction,c=void 0===u?"ltr":u,l=e.disablePortal,d=void 0!==l&&l,f=e.keepMounted,h=void 0!==f&&f,p=e.modifiers,g=e.open,v=e.placement,m=void 0===v?"bottom":v,y=e.popperOptions,b=void 0===y?Sm:y,A=e.popperRef,w=e.style,k=e.transition,C=void 0!==k&&k,_=e.slotProps,x=void 0===_?{}:_,E=e.slots,S=void 0===E?{}:E,I=(0,Qe.Z)(e,Cm),T=o.useState(!0),D=(0,rt.Z)(T,2),O=D[0],N=D[1];if(!h&&!g&&(!C||O))return null;if(a)n=a;else if(r){var P=_m(r);n=P&&xm(P)?Hl(P).body:Hl(null).body}var L=g||!h||C&&!O?void 0:"none",M=C?{in:g,onEnter:function(){N(!1)},onExited:function(){N(!0)}}:void 0;return(0,Er.jsx)(hf,{disablePortal:d,container:n,children:(0,Er.jsx)(Im,(0,s.Z)({anchorEl:r,direction:c,disablePortal:d,modifiers:p,ref:t,open:C?!O:g,placement:m,popperOptions:b,popperRef:A,slotProps:x,slots:S},I,{style:(0,s.Z)({position:"fixed",top:0,left:0,display:L},w),TransitionProps:M,children:i}))})})),Dm=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],Om=ur(Tm,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),Nm=o.forwardRef((function(e,t){var n,r=lr(),i=pr({props:e,name:"MuiPopper"}),o=i.anchorEl,a=i.component,u=i.components,c=i.componentsProps,l=i.container,d=i.disablePortal,f=i.keepMounted,h=i.modifiers,p=i.open,g=i.placement,v=i.popperOptions,m=i.popperRef,y=i.transition,b=i.slots,A=i.slotProps,w=(0,Qe.Z)(i,Dm),k=null!=(n=null==b?void 0:b.root)?n:null==u?void 0:u.Root,C=(0,s.Z)({anchorEl:o,container:l,disablePortal:d,keepMounted:f,modifiers:h,open:p,placement:g,popperOptions:v,popperRef:m,transition:y},w);return(0,Er.jsx)(Om,(0,s.Z)({as:a,direction:null==r?void 0:r.direction,slots:{root:k},slotProps:null!=A?A:c},C,{ref:t}))})),Pm=Nm,Lm=bd;function Mm(e){return Ar("MuiTooltip",e)}var Rm=wr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Bm=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];var jm=ur(Pm,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(e,t){var n=e.ownerState;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((function(e){var t,n=e.theme,r=e.ownerState,i=e.open;return(0,s.Z)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!i&&{pointerEvents:"none"},r.arrow&&(t={},(0,Ue.Z)(t,'&[data-popper-placement*="bottom"] .'.concat(Rm.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),(0,Ue.Z)(t,'&[data-popper-placement*="top"] .'.concat(Rm.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),(0,Ue.Z)(t,'&[data-popper-placement*="right"] .'.concat(Rm.arrow),(0,s.Z)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),(0,Ue.Z)(t,'&[data-popper-placement*="left"] .'.concat(Rm.arrow),(0,s.Z)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),t))})),Zm=ur("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(e,t){var n=e.ownerState;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t["tooltipPlacement".concat(Yl(n.placement.split("-")[0]))]]}})((function(e){var t,n,r=e.theme,i=e.ownerState;return(0,s.Z)({backgroundColor:r.vars?r.vars.palette.Tooltip.bg:xn(r.palette.grey[700],.92),borderRadius:(r.vars||r).shape.borderRadius,color:(r.vars||r).palette.common.white,fontFamily:r.typography.fontFamily,padding:"4px 8px",fontSize:r.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:r.typography.fontWeightMedium},i.arrow&&{position:"relative",margin:0},i.touch&&{padding:"8px 16px",fontSize:r.typography.pxToRem(14),lineHeight:"".concat((n=16/14,Math.round(1e5*n)/1e5),"em"),fontWeight:r.typography.fontWeightRegular},(t={},(0,Ue.Z)(t,".".concat(Rm.popper,'[data-popper-placement*="left"] &'),(0,s.Z)({transformOrigin:"right center"},i.isRtl?(0,s.Z)({marginLeft:"14px"},i.touch&&{marginLeft:"24px"}):(0,s.Z)({marginRight:"14px"},i.touch&&{marginRight:"24px"}))),(0,Ue.Z)(t,".".concat(Rm.popper,'[data-popper-placement*="right"] &'),(0,s.Z)({transformOrigin:"left center"},i.isRtl?(0,s.Z)({marginRight:"14px"},i.touch&&{marginRight:"24px"}):(0,s.Z)({marginLeft:"14px"},i.touch&&{marginLeft:"24px"}))),(0,Ue.Z)(t,".".concat(Rm.popper,'[data-popper-placement*="top"] &'),(0,s.Z)({transformOrigin:"center bottom",marginBottom:"14px"},i.touch&&{marginBottom:"24px"})),(0,Ue.Z)(t,".".concat(Rm.popper,'[data-popper-placement*="bottom"] &'),(0,s.Z)({transformOrigin:"center top",marginTop:"14px"},i.touch&&{marginTop:"24px"})),t))})),Fm=ur("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(e,t){return t.arrow}})((function(e){var t=e.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:xn(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),zm=!1,Hm=null,Vm={x:0,y:0};function Um(e,t){return function(n){t&&t(n),e(n)}}var Qm=o.forwardRef((function(e,t){var n,r,i,a,u,c,l,d,f,h,p,g,v,m,y,b,A,w,k,C=pr({props:e,name:"MuiTooltip"}),_=C.arrow,x=void 0!==_&&_,E=C.children,S=C.components,I=void 0===S?{}:S,T=C.componentsProps,D=void 0===T?{}:T,O=C.describeChild,N=void 0!==O&&O,P=C.disableFocusListener,L=void 0!==P&&P,M=C.disableHoverListener,R=void 0!==M&&M,B=C.disableInteractive,j=void 0!==B&&B,Z=C.disableTouchListener,F=void 0!==Z&&Z,z=C.enterDelay,H=void 0===z?100:z,V=C.enterNextDelay,U=void 0===V?0:V,Q=C.enterTouchDelay,W=void 0===Q?700:Q,G=C.followCursor,q=void 0!==G&&G,K=C.id,X=C.leaveDelay,Y=void 0===X?0:X,J=C.leaveTouchDelay,$=void 0===J?1500:J,ee=C.onClose,te=C.onOpen,ne=C.open,re=C.placement,ie=void 0===re?"bottom":re,oe=C.PopperComponent,ae=C.PopperProps,se=void 0===ae?{}:ae,ue=C.slotProps,ce=void 0===ue?{}:ue,le=C.slots,de=void 0===le?{}:le,fe=C.title,he=C.TransitionComponent,pe=void 0===he?Xd:he,ge=C.TransitionProps,ve=(0,Qe.Z)(C,Bm),me=o.isValidElement(E)?E:(0,Er.jsx)("span",{children:E}),ye=gr(),be="rtl"===ye.direction,Ae=o.useState(),we=(0,rt.Z)(Ae,2),ke=we[0],Ce=we[1],_e=o.useState(null),xe=(0,rt.Z)(_e,2),Ee=xe[0],Se=xe[1],Ie=o.useRef(!1),Te=j||q,De=o.useRef(),Oe=o.useRef(),Ne=o.useRef(),Pe=o.useRef(),Le=fh({controlled:ne,default:!1,name:"Tooltip",state:"open"}),Me=(0,rt.Z)(Le,2),Re=Me[0],Be=Me[1],je=Re,Ze=Lm(K),Fe=o.useRef(),ze=o.useCallback((function(){void 0!==Fe.current&&(document.body.style.WebkitUserSelect=Fe.current,Fe.current=void 0),clearTimeout(Pe.current)}),[]);o.useEffect((function(){return function(){clearTimeout(De.current),clearTimeout(Oe.current),clearTimeout(Ne.current),ze()}}),[ze]);var He=function(e){clearTimeout(Hm),zm=!0,Be(!0),te&&!je&&te(e)},Ve=Ic((function(e){clearTimeout(Hm),Hm=setTimeout((function(){zm=!1}),800+Y),Be(!1),ee&&je&&ee(e),clearTimeout(De.current),De.current=setTimeout((function(){Ie.current=!1}),ye.transitions.duration.shortest)})),Ue=function(e){Ie.current&&"touchstart"!==e.type||(ke&&ke.removeAttribute("title"),clearTimeout(Oe.current),clearTimeout(Ne.current),H||zm&&U?Oe.current=setTimeout((function(){He(e)}),zm?U:H):He(e))},We=function(e){clearTimeout(Oe.current),clearTimeout(Ne.current),Ne.current=setTimeout((function(){Ve(e)}),Y)},qe=Rc(),Ke=qe.isFocusVisibleRef,Xe=qe.onBlur,Ye=qe.onFocus,Je=qe.ref,$e=o.useState(!1),et=(0,rt.Z)($e,2)[1],tt=function(e){Xe(e),!1===Ke.current&&(et(!1),We(e))},nt=function(e){ke||Ce(e.currentTarget),Ye(e),!0===Ke.current&&(et(!0),Ue(e))},it=function(e){Ie.current=!0;var t=me.props;t.onTouchStart&&t.onTouchStart(e)},ot=Ue,at=We;o.useEffect((function(){if(je)return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ve(e)}}),[Ve,je]);var st=_c(me.ref,Je,Ce,t);fe||0===fe||(je=!1);var ut=o.useRef(),ct={},lt="string"===typeof fe;N?(ct.title=je||!lt||R?null:fe,ct["aria-describedby"]=je?Ze:null):(ct["aria-label"]=lt?fe:null,ct["aria-labelledby"]=je&&!lt?Ze:null);var dt=(0,s.Z)({},ct,ve,me.props,{className:Ge(ve.className,me.props.className),onTouchStart:it,ref:st},q?{onMouseMove:function(e){var t=me.props;t.onMouseMove&&t.onMouseMove(e),Vm={x:e.clientX,y:e.clientY},ut.current&&ut.current.update()}}:{});var ft={};F||(dt.onTouchStart=function(e){it(e),clearTimeout(Ne.current),clearTimeout(De.current),ze(),Fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Pe.current=setTimeout((function(){document.body.style.WebkitUserSelect=Fe.current,Ue(e)}),W)},dt.onTouchEnd=function(e){me.props.onTouchEnd&&me.props.onTouchEnd(e),ze(),clearTimeout(Ne.current),Ne.current=setTimeout((function(){Ve(e)}),$)}),R||(dt.onMouseOver=Um(ot,dt.onMouseOver),dt.onMouseLeave=Um(at,dt.onMouseLeave),Te||(ft.onMouseOver=ot,ft.onMouseLeave=at)),L||(dt.onFocus=Um(nt,dt.onFocus),dt.onBlur=Um(tt,dt.onBlur),Te||(ft.onFocus=nt,ft.onBlur=tt));var ht=o.useMemo((function(){var e,t=[{name:"arrow",enabled:Boolean(Ee),options:{element:Ee,padding:4}}];return null!=(e=se.popperOptions)&&e.modifiers&&(t=t.concat(se.popperOptions.modifiers)),(0,s.Z)({},se.popperOptions,{modifiers:t})}),[Ee,se]),pt=(0,s.Z)({},C,{isRtl:be,arrow:x,disableInteractive:Te,placement:ie,PopperComponentProp:oe,touch:Ie.current}),gt=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,i=e.touch,o=e.placement;return $t({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch","tooltipPlacement".concat(Yl(o.split("-")[0]))],arrow:["arrow"]},Mm,t)}(pt),vt=null!=(n=null!=(r=de.popper)?r:I.Popper)?n:jm,mt=null!=(i=null!=(a=null!=(u=de.transition)?u:I.Transition)?a:pe)?i:Xd,yt=null!=(c=null!=(l=de.tooltip)?l:I.Tooltip)?c:Zm,bt=null!=(d=null!=(f=de.arrow)?f:I.Arrow)?d:Fm,At=wd(vt,(0,s.Z)({},se,null!=(h=ce.popper)?h:D.popper,{className:Ge(gt.popper,null==se?void 0:se.className,null==(p=null!=(g=ce.popper)?g:D.popper)?void 0:p.className)}),pt),wt=wd(mt,(0,s.Z)({},ge,null!=(v=ce.transition)?v:D.transition),pt),kt=wd(yt,(0,s.Z)({},null!=(m=ce.tooltip)?m:D.tooltip,{className:Ge(gt.tooltip,null==(y=null!=(b=ce.tooltip)?b:D.tooltip)?void 0:y.className)}),pt),Ct=wd(bt,(0,s.Z)({},null!=(A=ce.arrow)?A:D.arrow,{className:Ge(gt.arrow,null==(w=null!=(k=ce.arrow)?k:D.arrow)?void 0:w.className)}),pt);return(0,Er.jsxs)(o.Fragment,{children:[o.cloneElement(me,dt),(0,Er.jsx)(vt,(0,s.Z)({as:null!=oe?oe:Pm,placement:ie,anchorEl:q?{getBoundingClientRect:function(){return{top:Vm.y,left:Vm.x,right:Vm.x,bottom:Vm.y,width:0,height:0}}}:ke,popperRef:ut,open:!!ke&&je,id:Ze,transition:!0},ft,At,{popperOptions:ht,children:function(e){var t=e.TransitionProps;return(0,Er.jsx)(mt,(0,s.Z)({timeout:ye.transitions.duration.shorter},t,wt,{children:(0,Er.jsxs)(yt,(0,s.Z)({},kt,{children:[fe,x?(0,Er.jsx)(bt,(0,s.Z)({},Ct,{ref:Se})):null]}))}))}}))]})})),Wm=Qm;function Gm(e){return Ar("MuiLinearProgress",e)}wr("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var qm,Km,Xm,Ym,Jm,$m,ey,ty,ny,ry,iy,oy,ay=["className","color","value","valueBuffer","variant"],sy=Br(ey||(ey=qm||(qm=(0,Bc.Z)(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"])))),uy=Br(ty||(ty=Km||(Km=(0,Bc.Z)(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])))),cy=Br(ny||(ny=Xm||(Xm=(0,Bc.Z)(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])))),ly=function(e,t){return"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress["".concat(t,"Bg")]:"light"===e.palette.mode?Sn(e.palette[t].main,.62):En(e.palette[t].main,.5)},dy=ur("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["color".concat(Yl(n.color))],t[n.variant]]}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ly(n,t.color)},"inherit"===t.color&&"buffer"!==t.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===t.variant&&{backgroundColor:"transparent"},"query"===t.variant&&{transform:"rotate(180deg)"})})),fy=ur("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:function(e,t){var n=e.ownerState;return[t.dashed,t["dashedColor".concat(Yl(n.color))]]}})((function(e){var t=e.ownerState,n=e.theme,r=ly(n,t.color);return(0,s.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===t.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),Rr(ry||(ry=Ym||(Ym=(0,Bc.Z)(["\n animation: "," 3s infinite linear;\n "]))),cy)),hy=ur("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:function(e,t){var n=e.ownerState;return[t.bar,t["barColor".concat(Yl(n.color))],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===t.color?"currentColor":(n.vars||n).palette[t.color].main},"determinate"===t.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===t.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})}),(function(e){var t=e.ownerState;return("indeterminate"===t.variant||"query"===t.variant)&&Rr(iy||(iy=Jm||(Jm=(0,Bc.Z)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "]))),sy)})),py=ur("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:function(e,t){var n=e.ownerState;return[t.bar,t["barColor".concat(Yl(n.color))],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((function(e){var t=e.ownerState,n=e.theme;return(0,s.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==t.variant&&{backgroundColor:"inherit"===t.color?"currentColor":(n.vars||n).palette[t.color].main},"inherit"===t.color&&{opacity:.3},"buffer"===t.variant&&{backgroundColor:ly(n,t.color),transition:"transform .".concat(4,"s linear")})}),(function(e){var t=e.ownerState;return("indeterminate"===t.variant||"query"===t.variant)&&Rr(oy||(oy=$m||($m=(0,Bc.Z)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "]))),uy)})),gy=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiLinearProgress"}),r=n.className,i=n.color,o=void 0===i?"primary":i,a=n.value,u=n.valueBuffer,c=n.variant,l=void 0===c?"indeterminate":c,d=(0,Qe.Z)(n,ay),f=(0,s.Z)({},n,{color:o,variant:l}),h=function(e){var t=e.classes,n=e.variant,r=e.color;return $t({root:["root","color".concat(Yl(r)),n],dashed:["dashed","dashedColor".concat(Yl(r))],bar1:["bar","barColor".concat(Yl(r)),("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&"barColor".concat(Yl(r)),"buffer"===n&&"color".concat(Yl(r)),("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]},Gm,t)}(f),p=gr(),g={},v={bar1:{},bar2:{}};if("determinate"===l||"buffer"===l)if(void 0!==a){g["aria-valuenow"]=Math.round(a),g["aria-valuemin"]=0,g["aria-valuemax"]=100;var m=a-100;"rtl"===p.direction&&(m=-m),v.bar1.transform="translateX(".concat(m,"%)")}else 0;if("buffer"===l)if(void 0!==u){var y=(u||0)-100;"rtl"===p.direction&&(y=-y),v.bar2.transform="translateX(".concat(y,"%)")}else 0;return(0,Er.jsxs)(dy,(0,s.Z)({className:Ge(h.root,r),ownerState:f,role:"progressbar"},g,{ref:t},d,{children:["buffer"===l?(0,Er.jsx)(fy,{className:h.dashed,ownerState:f}):null,(0,Er.jsx)(hy,{className:h.bar1,ownerState:f,style:v.bar1}),"determinate"===l?null:(0,Er.jsx)(py,{className:h.bar2,ownerState:f,style:v.bar2})]}))})),vy=gy,my=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],yy=ur("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):xn(t.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(e){var t=e.ownerState;return(0,s.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({},n.children&&"vertical"!==n.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider)}})}),(function(e){var t=e.ownerState;return(0,s.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),by=ur("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(e,t){var n=e.ownerState;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})})),Ay=o.forwardRef((function(e,t){var n=pr({props:e,name:"MuiDivider"}),r=n.absolute,i=void 0!==r&&r,o=n.children,a=n.className,u=n.component,c=void 0===u?o?"div":"hr":u,l=n.flexItem,d=void 0!==l&&l,f=n.light,h=void 0!==f&&f,p=n.orientation,g=void 0===p?"horizontal":p,v=n.role,m=void 0===v?"hr"!==c?"separator":void 0:v,y=n.textAlign,b=void 0===y?"center":y,A=n.variant,w=void 0===A?"fullWidth":A,k=(0,Qe.Z)(n,my),C=(0,s.Z)({},n,{absolute:i,component:c,flexItem:d,light:h,orientation:g,role:m,textAlign:b,variant:w}),_=function(e){var t=e.absolute,n=e.children,r=e.classes,i=e.flexItem,o=e.light,a=e.orientation,s=e.textAlign;return $t({root:["root",t&&"absolute",e.variant,o&&"light","vertical"===a&&"vertical",i&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Al,r)}(C);return(0,Er.jsx)(yy,(0,s.Z)({as:c,className:Ge(_.root,a),role:m,ref:t,ownerState:C},k,{children:o?(0,Er.jsx)(by,{className:_.wrapper,ownerState:C,children:o}):null}))}));Ay.muiSkipListHighlight=!0;var wy=Ay,ky=(n(15712),n(24973),"https://js.stripe.com/v3"),Cy=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,_y="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",xy=null,Ey=function(e){return null!==xy||(xy=new Promise((function(t,n){if("undefined"!==typeof window&&"undefined"!==typeof document)if(window.Stripe&&e&&console.warn(_y),window.Stripe)t(window.Stripe);else try{var r=function(){for(var e=document.querySelectorAll('script[src^="'.concat(ky,'"]')),t=0;t element.");return r.appendChild(n),n}(e)),r.addEventListener("load",(function(){window.Stripe?t(window.Stripe):n(new Error("Stripe.js not available"))})),r.addEventListener("error",(function(){n(new Error("Failed to load Stripe.js"))}))}catch(i){return void n(i)}else t(null)}))),xy},Sy=Promise.resolve().then((function(){return Ey(null)})),Iy=!1;Sy.catch((function(e){Iy||console.warn(e)}));n(1921);var Ty=wr("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var Dy=wr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);ur(yl,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,"default"!==n.color&&t["color".concat(Yl(n.color))],n.edge&&t["edge".concat(Yl(n.edge))],t["size".concat(Yl(n.size))]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,s.Z)({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):xn(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(e){var t,n=e.theme,r=e.ownerState,i=null==(t=(n.vars||n).palette)?void 0:t[r.color];return(0,s.Z)({},"inherit"===r.color&&{color:"inherit"},"inherit"!==r.color&&"default"!==r.color&&(0,s.Z)({color:null==i?void 0:i.main},!r.disableRipple&&{"&:hover":(0,s.Z)({},i&&{backgroundColor:n.vars?"rgba(".concat(i.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):xn(i.main,n.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===r.size&&{padding:5,fontSize:n.typography.pxToRem(18)},"large"===r.size&&{padding:12,fontSize:n.typography.pxToRem(28)},(0,Ue.Z)({},"&.".concat(Dy.disabled),{backgroundColor:"transparent",color:(n.vars||n).palette.action.disabled}))})),Th((0,Er.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),Th((0,Er.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Th((0,Er.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Th((0,Er.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),Th((0,Er.jsx)("path",{d:"M19 6.41L17.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"),ur(Lf,{name:"MuiAlert",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t[n.variant],t["".concat(n.variant).concat(Yl(n.color||n.severity))]]}})((function(e){var t=e.theme,n=e.ownerState,r="light"===t.palette.mode?En:Sn,i="light"===t.palette.mode?Sn:En,o=n.color||n.severity;return(0,s.Z)({},t.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},o&&"standard"===n.variant&&(0,Ue.Z)({color:t.vars?t.vars.palette.Alert["".concat(o,"Color")]:r(t.palette[o].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(o,"StandardBg")]:i(t.palette[o].light,.9)},"& .".concat(Ty.icon),t.vars?{color:t.vars.palette.Alert["".concat(o,"IconColor")]}:{color:t.palette[o].main}),o&&"outlined"===n.variant&&(0,Ue.Z)({color:t.vars?t.vars.palette.Alert["".concat(o,"Color")]:r(t.palette[o].light,.6),border:"1px solid ".concat((t.vars||t).palette[o].light)},"& .".concat(Ty.icon),t.vars?{color:t.vars.palette.Alert["".concat(o,"IconColor")]}:{color:t.palette[o].main}),o&&"filled"===n.variant&&(0,s.Z)({fontWeight:t.typography.fontWeightMedium},t.vars?{color:t.vars.palette.Alert["".concat(o,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(o,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}))})),ur("div",{name:"MuiAlert",slot:"Icon",overridesResolver:function(e,t){return t.icon}})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),ur("div",{name:"MuiAlert",slot:"Message",overridesResolver:function(e,t){return t.message}})({padding:"8px 0",minWidth:0,overflow:"auto"}),ur("div",{name:"MuiAlert",slot:"Action",overridesResolver:function(e,t){return t.action}})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Th((0,Er.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var Oy=wr("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);ur("div",{name:"MuiChip",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState,r=n.color,i=n.iconColor,o=n.clickable,a=n.onDelete,s=n.size,u=n.variant;return[(0,Ue.Z)({},"& .".concat(Oy.avatar),t.avatar),(0,Ue.Z)({},"& .".concat(Oy.avatar),t["avatar".concat(Yl(s))]),(0,Ue.Z)({},"& .".concat(Oy.avatar),t["avatarColor".concat(Yl(r))]),(0,Ue.Z)({},"& .".concat(Oy.icon),t.icon),(0,Ue.Z)({},"& .".concat(Oy.icon),t["icon".concat(Yl(s))]),(0,Ue.Z)({},"& .".concat(Oy.icon),t["iconColor".concat(Yl(i))]),(0,Ue.Z)({},"& .".concat(Oy.deleteIcon),t.deleteIcon),(0,Ue.Z)({},"& .".concat(Oy.deleteIcon),t["deleteIcon".concat(Yl(s))]),(0,Ue.Z)({},"& .".concat(Oy.deleteIcon),t["deleteIconColor".concat(Yl(r))]),(0,Ue.Z)({},"& .".concat(Oy.deleteIcon),t["deleteIcon".concat(Yl(u),"Color").concat(Yl(r))]),t.root,t["size".concat(Yl(s))],t["color".concat(Yl(r))],o&&t.clickable,o&&"default"!==r&&t["clickableColor".concat(Yl(r),")")],a&&t.deletable,a&&"default"!==r&&t["deletableColor".concat(Yl(r))],t[u],t["".concat(u).concat(Yl(r))]]}})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300];return(0,s.Z)((t={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(n.vars||n).palette.text.primary,backgroundColor:(n.vars||n).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},(0,Ue.Z)(t,"&.".concat(Oy.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),(0,Ue.Z)(t,"& .".concat(Oy.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:n.vars?n.vars.palette.Chip.defaultAvatarColor:i,fontSize:n.typography.pxToRem(12)}),(0,Ue.Z)(t,"& .".concat(Oy.avatarColorPrimary),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.dark}),(0,Ue.Z)(t,"& .".concat(Oy.avatarColorSecondary),{color:(n.vars||n).palette.secondary.contrastText,backgroundColor:(n.vars||n).palette.secondary.dark}),(0,Ue.Z)(t,"& .".concat(Oy.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),(0,Ue.Z)(t,"& .".concat(Oy.icon),(0,s.Z)({marginLeft:5,marginRight:-6},"small"===r.size&&{fontSize:18,marginLeft:4,marginRight:-4},r.iconColor===r.color&&(0,s.Z)({color:n.vars?n.vars.palette.Chip.defaultIconColor:i},"default"!==r.color&&{color:"inherit"}))),(0,Ue.Z)(t,"& .".concat(Oy.deleteIcon),(0,s.Z)({WebkitTapHighlightColor:"transparent",color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.26)"):xn(n.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.4)"):xn(n.palette.text.primary,.4)}},"small"===r.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==r.color&&{color:n.vars?"rgba(".concat(n.vars.palette[r.color].contrastTextChannel," / 0.7)"):xn(n.palette[r.color].contrastText,.7),"&:hover, &:active":{color:(n.vars||n).palette[r.color].contrastText}})),t),"small"===r.size&&{height:24},"default"!==r.color&&{backgroundColor:(n.vars||n).palette[r.color].main,color:(n.vars||n).palette[r.color].contrastText},r.onDelete&&(0,Ue.Z)({},"&.".concat(Oy.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):xn(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),r.onDelete&&"default"!==r.color&&(0,Ue.Z)({},"&.".concat(Oy.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n=e.theme,r=e.ownerState;return(0,s.Z)({},r.clickable&&(t={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):xn(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},(0,Ue.Z)(t,"&.".concat(Oy.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):xn(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),(0,Ue.Z)(t,"&:active",{boxShadow:(n.vars||n).shadows[1]}),t),r.clickable&&"default"!==r.color&&(0,Ue.Z)({},"&:hover, &.".concat(Oy.focusVisible),{backgroundColor:(n.vars||n).palette[r.color].dark}))}),(function(e){var t,n,r=e.theme,i=e.ownerState;return(0,s.Z)({},"outlined"===i.variant&&(t={backgroundColor:"transparent",border:r.vars?"1px solid ".concat(r.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[700])},(0,Ue.Z)(t,"&.".concat(Oy.clickable,":hover"),{backgroundColor:(r.vars||r).palette.action.hover}),(0,Ue.Z)(t,"&.".concat(Oy.focusVisible),{backgroundColor:(r.vars||r).palette.action.focus}),(0,Ue.Z)(t,"& .".concat(Oy.avatar),{marginLeft:4}),(0,Ue.Z)(t,"& .".concat(Oy.avatarSmall),{marginLeft:2}),(0,Ue.Z)(t,"& .".concat(Oy.icon),{marginLeft:4}),(0,Ue.Z)(t,"& .".concat(Oy.iconSmall),{marginLeft:2}),(0,Ue.Z)(t,"& .".concat(Oy.deleteIcon),{marginRight:5}),(0,Ue.Z)(t,"& .".concat(Oy.deleteIconSmall),{marginRight:3}),t),"outlined"===i.variant&&"default"!==i.color&&(n={color:(r.vars||r).palette[i.color].main,border:"1px solid ".concat(r.vars?"rgba(".concat(r.vars.palette[i.color].mainChannel," / 0.7)"):xn(r.palette[i.color].main,.7))},(0,Ue.Z)(n,"&.".concat(Oy.clickable,":hover"),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[i.color].mainChannel," / ").concat(r.vars.palette.action.hoverOpacity,")"):xn(r.palette[i.color].main,r.palette.action.hoverOpacity)}),(0,Ue.Z)(n,"&.".concat(Oy.focusVisible),{backgroundColor:r.vars?"rgba(".concat(r.vars.palette[i.color].mainChannel," / ").concat(r.vars.palette.action.focusOpacity,")"):xn(r.palette[i.color].main,r.palette.action.focusOpacity)}),(0,Ue.Z)(n,"& .".concat(Oy.deleteIcon),{color:r.vars?"rgba(".concat(r.vars.palette[i.color].mainChannel," / 0.7)"):xn(r.palette[i.color].main,.7),"&:hover, &:active":{color:(r.vars||r).palette[i.color].main}}),n))})),ur("span",{name:"MuiChip",slot:"Label",overridesResolver:function(e,t){var n=e.ownerState.size;return[t.label,t["label".concat(Yl(n))]]}})((function(e){var t=e.ownerState;return(0,s.Z)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===t.variant&&{paddingLeft:11,paddingRight:11},"small"===t.size&&{paddingLeft:8,paddingRight:8},"small"===t.size&&"outlined"===t.variant&&{paddingLeft:7,paddingRight:7})}));var Ny;function Py(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,i)}function Ly(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Py(o,r,i,a,s,"next",e)}function s(e){Py(o,r,i,a,s,"throw",e)}a(void 0)}))}}function My(){return My=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}function By(e,t){return t||(t=e.slice(0)),e.raw=t,e}function jy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fy(){return Fy=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&t?e+"-"+t+r:e&&e>1?"Minimum "+e+r:"":"Up to "+t+r}var Vy=["children","span","style","fontWeight","variant","color","overrideColor","bold"];function Uy(e,t){switch(t){case"white":return"white";case"primary.main":return e.stigg.palette.primary;case"primary.main.light":return e.stigg.palette.primaryLight;case"warning":return e.stigg.palette.warning;case"error":return e.stigg.palette.error;default:return e.stigg.palette.text[t]}}var Qy=Fe(Lr.Text,{target:"ewjez2x0"})("margin:0;",(function(e){return e.$span&&"display: inline"}),";");function Wy(e){return"bold"===e?Lr.FontWeight.Bold:Lr.FontWeight.Normal}function Gy(e,t){var n=e.stigg.typography;switch(t){case"h1":return Wy(n.h1.fontWeight);case"h3":return Wy(n.h2.fontWeight);case"h6":return Wy(n.h3.fontWeight);case"body1":return Wy(n.body.fontWeight);case"caption":return Wy(n.caption.fontWeight);default:return Lr.FontWeight.Normal}}var qy=(0,o.forwardRef)((function(e,t){var n=e.children,r=e.span,i=e.style,a=e.fontWeight,s=e.variant,u=void 0===s?"body1":s,c=e.color,l=void 0===c?"primary":c,d=e.overrideColor,f=e.bold,h=Ry(e,Vy),p=De(),g=function(e){switch(e){case"h1":return 1;case"h3":return 2;case"h6":default:return 3;case"body1":return 4;case"caption":return 5}}(u),v="typography-level-"+g,m=e.className?e.className+" "+v:v;return o.createElement(Qy,Object.assign({ref:t},h,{className:m,style:i,level:g,color:d||Uy(p,l),fontWeight:null!=a?a:f?Lr.FontWeight.Bold:Gy(p,u),$span:r}),n)})),Ky=["displayNameOverride"];var Xy=Fe(qy,{target:"e1mddeqb3"})({name:"ti75j2",styles:"margin:0"}),Yy=Fe("div",{target:"e1mddeqb2"})({name:"gl2qrx",styles:"display:flex;align-items:baseline"}),Jy=Fe("div",{target:"e1mddeqb1"})("display:flex;align-items:center;margin-right:16px;height:",(function(e){return e.theme.stigg.typography.h3.fontSize}),";flex-shrink:0;"),$y=Fe(zy,{target:"e1mddeqb0"})("flex-shrink:0;*{fill:",(function(e){return e.theme.stigg.palette.text.disabled}),";}");function eb(e){var t=e.hasUnlimitedUsage,n=e.feature,i=e.resetPeriod,o=e.usageLimit,a=e.minUnitQuantity,s=e.maxUnitQuantity,u=e.isCustom,c=a||s,l=i&&o?""+function(e){if(!e)return"";switch(e){case r.EntitlementResetPeriod.Day:return"per day";case r.EntitlementResetPeriod.Hour:return"per hour";case r.EntitlementResetPeriod.Week:return"per week";case r.EntitlementResetPeriod.Month:return"per month";default:return""}}(i):"";if(t)return"Unlimited "+(null==n?void 0:n.unitsPlural);if(u)return"Custom "+(null==n?void 0:n.unitsPlural);if(o){var d=1===o?null==n?void 0:n.units:null==n?void 0:n.unitsPlural;return function(e){return e.toLocaleString("en-US",{maximumFractionDigits:0})}(o)+" "+d+" "+l}return c?Hy(a,s,null==n?void 0:n.unitsPlural):null==n?void 0:n.displayName}function tb(e){var t=e.displayNameOverride,n=eb(Ry(e,Ky));return o.createElement(Yy,{className:"stigg-entitlement-row-container"},o.createElement(Jy,null,o.createElement($y,{className:"stigg-entitlement-row-icon"})),o.createElement(Xy,{className:"stigg-entitlement-name",variant:"h6",color:"secondary"},t||n))}var nb,rb=Fe("div",{target:"e1yz7zcg0"})({name:"budh8k",styles:"display:flex;flex-direction:column;gap:16px"});function ib(e){var t,n=e.plan,i=e.billingPeriod,a=e.paywallLocale,s=null==(t=n.pricePoints)?void 0:t.filter((function(e){return e.billingPeriod===i})),u=null==s?void 0:s.map((function(e){var t;return(null==e?void 0:e.minUnitQuantity)&&(null==e?void 0:e.minUnitQuantity)>1||(null==e?void 0:e.maxUnitQuantity)?o.createElement(tb,{key:"priceUnitEntitlement-"+(null==e||null==(t=e.feature)?void 0:t.displayName),feature:null==e?void 0:e.feature,minUnitQuantity:null==e?void 0:e.minUnitQuantity,maxUnitQuantity:null==e?void 0:e.maxUnitQuantity}):null}));return o.createElement(rb,{className:"stigg-plan-entitlements-container"},o.createElement(qy,{className:"stigg-plan-entitlements-title",color:"secondary",variant:"h6",bold:!0},function(e,t){if(t.entitlementsTitle)return t.entitlementsTitle(e);var n=e.displayName+" includes";return e.basePlan&&(n="Everything in "+e.basePlan.displayName+", plus:"),n}(n,a)),u,n.entitlements.filter((function(e){return!(e.hiddenFromWidgets||[]).includes(r.WidgetType.Paywall)})).map((function(e){var t;return o.createElement(tb,{key:null==(t=e.feature)?void 0:t.id,displayNameOverride:e.displayNameOverride,feature:e.feature,resetPeriod:e.resetPeriod,hasUnlimitedUsage:e.hasUnlimitedUsage,usageLimit:e.usageLimit,isCustom:e.isCustom})})))}!function(e){e.START_TRIAL="START_TRIAL",e.UPGRADE_TRIAL_TO_PAID="UPGRADE_TRIAL_TO_PAID",e.REQUEST_CUSTOM_PLAN_ACCESS="REQUEST_CUSTOM_PLAN_ACCESS",e.CHANGE_BILLING_PERIOD="CHANGE_BILLING_PERIOD",e.CHANGE_UNIT_QUANTITY="CHANGE_UNIT_QUANTITY",e.UPGRADE_PLAN="UPGRADE_PLAN",e.DOWNGRADE_PLAN="DOWNGRADE_PLAN",e.CANCEL_SCHEDULED_UPDATES="CANCEL_SCHEDULED_UPDATES"}(nb||(nb={}));var ob,ab,sb=function(e){return{left:"flex-start",center:"center",right:"flex-end"}[e]},ub=function(e){var t,n,r,i=gc()((null==e||null==(t=e.palette)?void 0:t.primary)||"#327EEE"),o=gc()((null==e||null==(n=e.palette)||null==(r=n.text)?void 0:r.primary)||"#001E6C"),a=gc()("#4CAF50"),s=gc()("#f44336"),u={palette:{primary:i.hex(),primaryDark:i.darken(.3).hex(),primaryLight:i.alpha(.5).toString(),backgroundPaper:"#FFFFFF",backgroundHighlight:"#F5F6F9",backgroundSection:i.alpha(.1).toString(),backgroundButton:i.alpha(.08).toString(),outlinedBorder:"#C4CBDD",outlinedRestingBorder:i.alpha(.5).toString(),outlinedHoverBackground:i.lightness(95).hex(),switchBorder:i.lighten(.1).hex(),switchFill:i.lighten(.5).hex(),switchHandle:i.hex(),warning:"#ed6c02",error:s.hex(),errorDark:s.darken(.3).hex(),success:a.hex(),successDark:a.darken(.3).hex(),white:"#FFFFFF",text:{primary:o.hex(),secondary:o.alpha(.75).toString(),disabled:o.alpha(.5).toString()}},layout:{planMinWidth:"330px",planMaxWidth:"330px",planMargin:"20px",planPadding:"40px",ctaAlignment:"left",headerAlignment:"left",descriptionAlignment:"left",descriptionMinHeight:"80px",switchBottomSpacing:"40px"},shadows:{light:"0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12)",popover:"0px 4px 5px -2px rgba(0, 30, 108, 0.2), 0px 7px 10px 1px rgba(0, 30, 108, 0.14), 0px 2px 16px 1px rgba(0, 30, 108, 0.12)"},border:{radius:"10px"},typography:{fontFamily:"custom-font, DM Sans, sans-serif",h1:{fontSize:"32px",fontWeight:"bold"},h2:{fontSize:"24px",fontWeight:"normal"},h3:{fontSize:"16px",fontWeight:"normal"},body:{fontSize:"14px",fontWeight:"normal"},caption:{fontSize:"12px",fontWeight:"normal"}},customCss:""};return hu(u,e)},cb=function(e){return mc().utc(e).format("MMMM Do, yyyy")};function lb(e){var t=e.scheduledUpdate,n=e.subscriptionPrices,i=e.billingPeriodRange,a=e.options,s=void 0===a?{}:a;if(!t)return{};var u=s.withDate,c=s.postfix,l=void 0===c?"":c;switch(t.subscriptionScheduleType){case r.SubscriptionScheduleType.Downgrade:var d,f=u;yc(f)&&null!=i&&i.end&&(f=!mc()(t.scheduledExecutionTime).isSame(null==i?void 0:i.end,"day"));return{line1:o.createElement(o.Fragment,null,"Your subscription will be downgraded to the ",o.createElement("b",null,null==(d=t.targetPackage)?void 0:d.displayName," plan")," ",f?o.createElement(o.Fragment,null,"on ",cb(t.scheduledExecutionTime)):l,"."),line2:"Until then you still have access to your current plan."};case r.SubscriptionScheduleType.BillingPeriod:var h,p=t.scheduleVariables;return{line1:o.createElement(o.Fragment,null,"Your billing cycle will change to ",o.createElement("b",null,null==(h=p.billingPeriod)?void 0:h.toLocaleLowerCase())," ",u?o.createElement(o.Fragment,null,"on ",cb(t.scheduledExecutionTime)):l,".")};case r.SubscriptionScheduleType.UnitAmount:var g=t.scheduleVariables,v=jr(ss(n,"feature")).find((function(e){return e.id===g.featureId}))||{},m=v.featureUnits,y=v.featureUnitsPlural,b=1===g.newUnitAmount?m:y;return{line1:o.createElement(o.Fragment,null,"Your subscription will be updated to ",o.createElement("b",null,g.newUnitAmount)," ",b," ",u?o.createElement(o.Fragment,null,"on ",cb(t.scheduledExecutionTime)):l,"."),line2:"Until then you still have access to your current "+m+" count."};default:return{}}}function db(e){return e.feature&&(1!=e.feature.unitQuantity?e.feature.unitsPlural:e.feature.units)||""}function fb(e,t){if(e){var n=[].concat(e);n.sort((function(e,t){return e.upTo-t.upTo}));for(var r,i=Zy(n);!(r=i()).done;){var o=r.value;if(t<=o.upTo)return o}return n[n.length-1]}}function hb(e,t,n,i){return e.tiersMode===r.TiersMode.Volume?(n===r.BillingPeriod.Annually&&i?t.unitPrice.amount/12:t.unitPrice.amount)*t.upTo:0}function pb(e,t,n,i){var o=e.pricePoints.filter((function(e){return e.billingPeriod===t&&e.isTieredPrice}));if(1==o.length){var a,s=o[0],u=s.feature.featureId,c=s.tiers[0];if(i[u])c=(null==(a=s.tiers)?void 0:a.find((function(e){return e.upTo===i[u].upTo})))||c;else if(n){var l=n.prices.find((function(e){var t;return e.pricingModel==r.BillingModel.PerUnit&&e.tiersMode&&(null==(t=e.feature)?void 0:t.featureId)===u}));l&&(c=fb(s.tiers,l.feature.unitQuantity||1))}var d={};return d[u]=c,d}return{}}!function(e){e[e.Lower=-1]="Lower",e[e.Equal=0]="Equal",e[e.Higher=1]="Higher"}(ob||(ob={}));var gb,vb=Fe(hc(),{target:"e199qof96"})({name:"1a2afmv",styles:"margin-left:10px"}),mb=Fe("button",{target:"e199qof95"})("cursor:",(function(e){return e.$disabled?"default":"pointer"}),";padding:8px 12px;background-color:",(function(e){return e.theme.stigg.palette.backgroundButton}),";border:",(function(e){return"1px solid "+e.theme.stigg.palette.outlinedRestingBorder}),";border-radius:10px;display:flex;align-items:center;justify-content:center;min-height:42px;min-width:120px;",(function(e){return e.$disabled&&Rr(ab||(ab=By(["\n opacity: 0.5;\n "])))})," &:hover{background-color:",(function(e){var t=e.theme;return e.$disabled?t.stigg.palette.backgroundButton:t.stigg.palette.outlinedHoverBackground}),";}"),yb=Fe(qy,{target:"e199qof94"})({name:"h05omw",styles:"margin:0;font-size:15px"}),bb=Fe(qy,{target:"e199qof93"})({name:"1cnls12",styles:"min-height:87px"}),Ab=Fe("button",{target:"e199qof92"})("background:none;border:none;padding:0;color:",(function(e){return e.theme.stigg.palette.text.secondary}),";text-decoration:underline;cursor:pointer;"),wb=Fe(qy,{target:"e199qof91"})({name:"1etgg0o",styles:"margin-top:8px;margin-bottom:17px;min-height:20px"}),kb=Fe("div",{target:"e199qof90"})("display:flex;flex-direction:column;margin-top:4px;align-self:",(function(e){var t=e.theme;return sb(t.stigg.layout.ctaAlignment)}),";width:100%;");function Cb(e){var t=e.isNextPlan,n=e.customer,i=e.plan,a=e.billingPeriod,s=e.isCustomerOnTrial,u=e.onPlanSelected,c=e.paywallLocale,l=e.withTrialLeftRow,d=e.currentSubscription,f=e.selectedTierByFeature,h=De(),p=(0,o.useState)(!1),g=p[0],v=p[1],m=c.planCTAButton,y=m.currentPlan,b=m.custom,A=m.downgrade,w=m.startTrial,k=m.upgrade,C=m.startNew,_=m.switchToBillingPeriod,x=m.cancelScheduledUpdate,E=pi(A)?A(i):A,S=pi(k)?k(i):k,I={title:n?i.isLowerThanCurrentPlan?E:S:C,disabled:!1,intentionType:i.isLowerThanCurrentPlan?nb.DOWNGRADE_PLAN:s?nb.UPGRADE_TRIAL_TO_PAID:nb.UPGRADE_PLAN},T=i.pricingType===r.PricingType.Custom,D=lb({scheduledUpdate:i.scheduledUpdate,options:{withDate:!0}}).line1;if(!i.isTriable||i.isCurrentCustomerPlan||s)if(i.isCurrentCustomerPlan&&!s){if(a===i.currentCustomerPlanBillingPeriod||i.pricingType&&[r.PricingType.Free,r.PricingType.Custom].includes(i.pricingType)){var O=function(e,t){if(!t||!e)return ob.Equal;var n=t.prices.find((function(e){return e.pricingModel==r.BillingModel.PerUnit&&e.tiersMode}));if(!n)return ob.Equal;var i=n.feature,o=i.featureId,a=i.unitQuantity;if(!a)return ob.Equal;var s=e[o];return s?s.upToa?ob.Higher:ob.Equal:ob.Equal}(f,d);switch(O){case ob.Lower:I.intentionType=nb.CHANGE_UNIT_QUANTITY,I.title=E;break;case ob.Higher:I.intentionType=nb.CHANGE_UNIT_QUANTITY,I.title=S;break;default:I.title=y,I.disabled=!0}}else I.title=_(a),I.intentionType=nb.CHANGE_BILLING_PERIOD}else T&&(I.title=b,I.intentionType=nb.REQUEST_CUSTOM_PLAN_ACCESS);else I.title=w(i),I.intentionType=nb.START_TRIAL;t&&i.scheduledUpdate&&(I.disabled=!1,I.title=x,I.intentionType=nb.CANCEL_SCHEDULED_UPDATES);var N=g||I.disabled;return o.createElement(o.Fragment,null,o.createElement(kb,{className:"stigg-paywall-plan-button-layout"},t&&D?o.createElement(bb,{color:"secondary",variant:"body1",className:"stigg-paywall-schedule-update-text"},D," ",o.createElement(Ab,{color:"secondary",onClick:function(){v(!0),Promise.resolve(u(I.intentionType)).finally((function(){return v(!1)}))}},I.title)):o.createElement(o.Fragment,null,o.createElement(mb,{className:"stigg-paywall-plan-button","data-testid":"paywall-card-cta-"+i.displayName,disabled:N,$disabled:N,onClick:function(){v(!0),Promise.resolve(u(I.intentionType)).finally((function(){return v(!1)}))}},o.createElement(yb,{className:"stigg-paywall-plan-button-text",variant:"h6",color:"primary.main"},I.title),g&&o.createElement(vb,{color:h.stigg.palette.text.disabled,loading:!0,size:16})),l?o.createElement(wb,{className:"stigg-trial-days-left-text",variant:"h6",color:"secondary"},i.isCurrentCustomerPlan&&i.trialDaysLeft&&o.createElement(o.Fragment,null,o.createElement("b",null,i.trialDaysLeft," days")," left on your free trial")):o.createElement("div",{style:{height:"20px"}}))))}function _b(){return _b=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&!(null==C||!C.additionalChargesMayApply),x=!A||u.pricingType===r.PricingType.Custom,E=null;w?E=o.createElement(Qb,{text:"Next plan"}):l&&m.highlightChip&&(E=o.createElement(Fb,{className:"stigg-highlight-badge"},o.createElement(zb,{className:"stigg-highlight-badge-text",color:"white",bold:!0},m.highlightChip)));var S=o.useState(pb(u,c,d,{})),I=S[0],T=S[1];(0,o.useEffect)((function(){T(pb(u,c,d,I))}),[c,d,u,I]);return o.createElement(Rb,{className:He()("stigg-plan-offering-container",{"stigg-current-plan":u.isCurrentCustomerPlan}),$isHighlighted:l,$isCurrentPlan:u.isCurrentCustomerPlan},E,o.createElement(Hb,{className:"stigg-header-wrapper"},o.createElement(Bb,{className:"stigg-plan-header",variant:"h3"},u.displayName),f&&o.createElement(Zb,{className:"stigg-plan-description",variant:"h6",color:"secondary"},u.description),o.createElement(Mb,{showStartingAt:_,withUnitPriceRow:n,withStartingAtRow:b,withTiersRow:i,selectedTierByFeature:I,setSelectedTierByFeature:T,plan:u,billingPeriod:c,paywallLocale:m,locale:y,hasAnnuallyPrice:p,hasMonthlyPrice:h}),x?o.createElement(Cb,{isNextPlan:w,customer:s,plan:u,currentSubscription:d,billingPeriod:c,isCustomerOnTrial:g,onPlanSelected:function(e){var t=Object.keys(I).map((function(e){return{featureId:e,quantity:I[e].upTo}}));return v(e,t)},paywallLocale:m,withTrialLeftRow:a,selectedTierByFeature:I}):o.createElement("div",{style:{height:"66px"}}),o.createElement(jb,{className:"stigg-plan-header-divider"})),o.createElement(ib,{plan:u,billingPeriod:c,paywallLocale:m}))}var Gb,qb=Fe("div",{target:"esqa6i42"})("height:40px;padding:0 20px;margin-bottom:",(function(e){return e.theme.stigg.layout.switchBottomSpacing}),";border-radius:10px;border:",(function(e){return"1px solid "+e.theme.stigg.palette.outlinedBorder}),";background-color:",(function(e){return e.theme.stigg.palette.backgroundPaper}),";display:flex;align-items:center;justify-content:center;"),Kb=Fe(qy,{target:"esqa6i41"})({name:"zvmrfm",styles:"margin:0 8px"}),Xb=Fe(ip,{target:"esqa6i40"})("& .react-switch-bg{border:",(function(e){return"1px solid "+e.theme.stigg.palette.switchBorder}),";background:",(function(e){return e.theme.stigg.palette.switchFill}),"!important;}& .react-switch-handle{box-shadow:",(function(e){return e.theme.stigg.shadows.light}),";background:",(function(e){return e.theme.stigg.palette.switchHandle}),"!important;top:0.5px!important;}");function Yb(e){var t=e.discount,n=e.disabled;return o.createElement(qy,{variant:"h6",color:n?"disabled":"primary",className:"stigg-discount-rate-text"},t,"% off")}function Jb(e){var t=e.discountRate,n=e.selectedBillingPeriod,i=e.onBillingPeriodChanged;if(e.availableBillingPeriods.length<=1)return null;var a=n===r.BillingPeriod.Monthly;return o.createElement(qb,{className:"stigg-period-picker-container"},o.createElement(Kb,{variant:"h6",className:"stigg-monthly-period-text",color:a?"primary":"disabled"},"Monthly"),o.createElement(Xb,{className:"stigg-period-switch",uncheckedIcon:!1,checkedIcon:!1,height:16,width:33,onChange:function(e){return i(e?r.BillingPeriod.Annually:r.BillingPeriod.Monthly)},checked:!a,borderRadius:10,handleDiameter:19}),o.createElement(Kb,{variant:"h6",className:"stigg-annual-period-text",color:a?"disabled":"primary"},"Annual"),0!==t&&o.createElement(Yb,{discount:t,disabled:a}))}function $b(e,t){var n,r,i,o;if((o=null==(n=e.paywallCalculatedPricePoints)?void 0:n.find((function(e){return e.billingPeriod===t})))||(o=e.pricePoints.find((function(e){return e.billingPeriod===t}))),null==(r=o)||!r.amount){var a=e.pricePoints.find((function(e){return e.isTieredPrice&&e.billingPeriod===t}));if(a)return a.tiers[0].unitPrice.amount}return null==(i=o)?void 0:i.amount}function eA(e){return e.reduce((function(e,t){var n=function(e,t){if(!yc(e)&&!yc(t)){var n=t/12;return Math.round((e-n)/e*100)}return null}($b(t,r.BillingPeriod.Monthly),$b(t,r.BillingPeriod.Annually));return n&&(e=Math.max(e,n)),e}),0)}function tA(){return tA=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&!(null==r||!r.additionalChargesMayApply)}))}),[s,b]),C=(0,o.useMemo)((function(){return b.some((function(e){return!!Sb(e,s,f,h,m).unit}))}),[s,m,h,f,b]),_=(0,o.useMemo)((function(){return!w&&b.some((function(e){var t=pb(e,s,i,{});return Object.values(t).length>0}))}),[s,i,w,b]),x=b.some((function(e){return e.isCurrentCustomerPlan&&e.trialDaysLeft}));return o.createElement(lA,{className:"stigg-paywall-container"},o.createElement(dA,{className:"stigg-paywall-layout"},o.createElement(Jb,{onBillingPeriodChanged:u,selectedBillingPeriod:s,availableBillingPeriods:c,discountRate:g}),o.createElement(cA,{className:"stigg-paywall-plans-layout"},b.map((function(e){return o.createElement(Wb,{withUnitPriceRow:C,withTiersRow:_,withTrialLeftRow:x,key:e.id,shouldShowDescriptionSection:v,hasMonthlyPrice:m,hasAnnuallyPrice:y,plan:e,withStartingAtRow:k,currentSubscription:i,billingPeriod:s,isHighlighted:e.id===a,isCustomerOnTrial:l,onPlanSelected:function(t,n){return A(e,t,n)},paywallLocale:f,locale:h,customer:n,isCustomerInCustomPlan:w})}))),o.createElement(aA,{source:"paywall",align:"end",style:{marginTop:16},showWatermark:p.isWidgetWatermarkEnabled})))};var hA=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(O){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new I(r||[]);return o._invoke=function(e,t,n){var r=d;return function(i,o){if(r===h)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=l(e,t,n);if("normal"===u.type){if(r=n.done?p:f,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}e.wrap=c;var d="suspendedStart",f="suspendedYield",h="executing",p="completed",g={};function v(){}function m(){}function y(){}var b={};u(b,o,(function(){return this}));var A=Object.getPrototypeOf,w=A&&A(A(T([])));w&&w!==n&&r.call(w,o)&&(b=w);var k=y.prototype=v.prototype=Object.create(b);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function n(i,o,a,s){var u=l(e[i],e,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(u.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}}function x(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,x(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=l(r,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var o=i.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function T(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})),pA=function(){function e(){}var t=e.prototype;return t.error=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i component.");return e};function bA(e,t,n){var i,o=e.flatMap((function(e){return e.pricePoints})).map((function(e){return e.billingPeriod})),a=ps(o),s=xs(o);if(n&&s.includes(n))i=n;else if(t){var u=t.find((function(e){return e.status==r.SubscriptionStatus.Active}));u&&u.prices.length>0&&(i=null==u?void 0:u.prices[0].billingPeriod)}return i||(i=(a[r.BillingPeriod.Monthly]||0)>(a[r.BillingPeriod.Annually]||0)?r.BillingPeriod.Monthly:r.BillingPeriod.Annually),{defaultBillingPeriod:i,availableBillingPeriods:s}}r.FontWeight.Bold,r.FontWeight.Normal,r.FontWeight.Normal,r.FontWeight.Normal;function AA(e,t){if(void 0===t&&(t="px"),e)return""+e+t}function wA(e,t){if(!t)return e;switch(t){case r.FontWeight.Normal:return"normal";case r.FontWeight.Bold:return"bold";default:return"normal"}}function kA(e,t){var n,r,i,o,a,s,u,c,l,d,f,h,p,g,v;return{fontFamilyUrl:(null==e?void 0:e.fontFamily)||void 0,h1:{fontSize:AA((null==e||null==(n=e.h1)?void 0:n.fontSize)||(null==t||null==(r=t.h1)?void 0:r.fontSize)),fontWeight:wA("bold",(null==e||null==(i=e.h1)?void 0:i.fontWeight)||(null==t||null==(o=t.h1)?void 0:o.fontWeight))},h2:{fontSize:AA((null==e||null==(a=e.h2)?void 0:a.fontSize)||(null==t||null==(s=t.h2)?void 0:s.fontSize)),fontWeight:wA("normal",null==t||null==(u=t.h2)?void 0:u.fontWeight)},h3:{fontSize:AA((null==e||null==(c=e.h3)?void 0:c.fontSize)||(null==t||null==(l=t.h3)?void 0:l.fontSize)),fontWeight:wA("normal",(null==e||null==(d=e.h3)?void 0:d.fontWeight)||(null==t||null==(f=t.h3)?void 0:f.fontWeight))},body:{fontSize:AA((null==e||null==(h=e.body)?void 0:h.fontSize)||(null==t||null==(p=t.body)?void 0:p.fontSize)),fontWeight:wA("normal",(null==e||null==(g=e.body)?void 0:g.fontWeight)||(null==t||null==(v=t.body)?void 0:v.fontWeight))}}}function CA(e){if(e)switch(e){case r.Alignment.Left:return"left";case r.Alignment.Center:return"center";case r.Alignment.Right:return"right";default:return}}function _A(e){var t,n,i,o,a=!0,s=(null==e?void 0:e.find((function(e){return e.status===r.SubscriptionStatus.InTrial})))||null,u=null==(t=s)?void 0:t.plan,c=null!=(n=s)&&n.trialEndDate?(i=s.trialEndDate,mc().utc(i).diff(mc().utc(),"days",!1)+1):void 0;u||(a=!1,s=(null==e?void 0:e.find((function(e){return e.status===r.SubscriptionStatus.Active})))||null,u=null==(o=s)?void 0:o.plan);return{currentSubscription:s,currentPlan:u,isCustomerOnTrial:a,trialDaysLeft:c}}function xA(e,t){var n,i=e||{},o=i.plans,a=i.currency,s=i.configuration,u=i.customer,c=i.activeSubscriptions,l=i.paywallCalculatedPricePoints,d=_A(c),f=d.currentSubscription,h=d.currentPlan,p=d.isCustomerOnTrial,g=d.trialDaysLeft,v=(null==f?void 0:f.scheduledUpdates)||[],m=null==f||null==(n=f.price)?void 0:n.billingPeriod,y=v.find((function(e){return e.subscriptionScheduleType===r.SubscriptionScheduleType.Downgrade})),b=v.find((function(e){return e.subscriptionScheduleType===r.SubscriptionScheduleType.BillingPeriod})),A=Ap(o,(function(e){return e.order})).map((function(e){var t,n=null==u||null==(t=u.eligibleForTrial)?void 0:t.find((function(t){return t.productId===e.product.id})),r=e.id===(null==h?void 0:h.id);return My({},e,{paywallCalculatedPricePoints:null==l?void 0:l.filter((function(t){return t.planId===e.id})),isTriable:!yc(e.defaultTrialConfig)&&(!n||n.eligible),isCurrentCustomerPlan:r,currentCustomerPlanBillingPeriod:m,isUpcomingPlan:!1,trialDaysLeft:g,isNextPlan:function(t){var n,i=null==y?void 0:y.scheduleVariables,o=null==b?void 0:b.scheduleVariables,a=e.pricePoints.some((function(e){return e.billingPeriod===t}));return y?(null==(n=y.targetPackage)?void 0:n.refId)===e.id&&(!a||i.billingPeriod===t):!(!b||!r)&&o.billingPeriod===t},paywallCurrency:a,scheduledUpdate:y||b})}));if(o&&h){var w,k=h&&(null==o||null==(w=o.find((function(e){return e.id===(null==h?void 0:h.id)})))?void 0:w.order);yc(k)||(A=A.map((function(e){return My({},e,{isLowerThanCurrentPlan:k>e.order})})),t&&(A=A.filter((function(e){return e.order>=k}))))}var C=s?function(e){var t=e.palette,n=e.layout,r=e.customCss,i=e.typography;return{customCss:r||void 0,palette:{primary:(null==t?void 0:t.primary)||void 0,backgroundPaper:(null==t?void 0:t.backgroundColor)||void 0,outlinedBorder:(null==t?void 0:t.borderColor)||void 0,backgroundHighlight:(null==t?void 0:t.currentPlanBackground)||void 0,text:{primary:(null==t?void 0:t.textColor)||void 0}},typography:kA(i),layout:{ctaAlignment:CA(null==n?void 0:n.alignment),headerAlignment:CA(null==n?void 0:n.alignment),descriptionAlignment:CA(null==n?void 0:n.alignment),planMaxWidth:AA(null==n?void 0:n.planWidth),planMinWidth:AA(null==n?void 0:n.planWidth),planMargin:AA(null==n?void 0:n.planMargin),planPadding:AA(null==n?void 0:n.planPadding)}}}(s):void 0;return{currentPlan:h,currentSubscription:f,isCustomerOnTrial:p,plans:A,paywallConfiguration:C}}var EA,SA=Fe("div",{target:"e1f7khji6"})({name:"zigog8",styles:"display:flex;flex-direction:column;align-items:center"}),IA=Fe(zy,{target:"e1f7khji5"})({name:"o7nnmj",styles:"margin-right:16px"}),TA=Fe("div",{target:"e1f7khji4"})("display:flex;flex-direction:column;align-items:flex-start;gap:20px;border-radius:10px;padding:",(function(e){return e.theme.stigg.layout.planPadding}),";background-color:",(function(e){return e.theme.stigg.palette.backgroundPaper}),";min-width:",(function(e){return e.theme.stigg.layout.planMinWidth}),";max-width:",(function(e){return e.theme.stigg.layout.planMaxWidth}),";min-height:450px;border:",(function(e){return"1px solid "+e.theme.stigg.palette.outlinedBorder}),";"),DA=Fe("div",{target:"e1f7khji3"})("display:flex;gap:",(function(e){return e.theme.stigg.layout.planMargin}),";flex-wrap:wrap;justify-content:center;"),OA=Fe("div",{target:"e1f7khji2"})({name:"k8xojc",styles:"display:flex;align-items:center;margin-bottom:12px"}),NA=Fe("div",{target:"e1f7khji1"})({name:"xdvdnl",styles:"margin-top:auto"}),PA=Fe("div",{target:"e1f7khji0"})("width:150px;margin-bottom:",(function(e){return e.theme.stigg.layout.switchBottomSpacing}),";padding:12px 12px;border-radius:10px;background-color:white;border:",(function(e){return"1px solid "+e.theme.stigg.palette.outlinedBorder}),";");function LA(){return o.createElement(TA,null,o.createElement(dp,{width:120,borderRadius:4}),o.createElement(dp,{circle:!0,width:40,height:40}),o.createElement(dp,{style:{marginBottom:33},width:120,borderRadius:4}),o.createElement(OA,null,o.createElement(IA,null),o.createElement(dp,{width:120,borderRadius:4})),o.createElement(OA,null,o.createElement(IA,null),o.createElement(dp,{width:120,borderRadius:4})),o.createElement(OA,null,o.createElement(IA,null),o.createElement(dp,{width:120,borderRadius:4})),o.createElement(NA,null,o.createElement(dp,{height:50,borderRadius:4})))}function MA(){return o.createElement(SA,{className:"stigg-skeleton-loader-container"},o.createElement(PA,{className:"stigg-skeleton-loader-billing-period"},o.createElement(dp,{borderRadius:4})),o.createElement(DA,{className:"stigg-skeleton-loader-plans-container"},o.createElement(LA,null),o.createElement(LA,null),o.createElement(LA,null)))}var RA,BA=function(e){var t=e.externalFontUrl;return o.createElement(Mr,{styles:Rr(EA||(EA=By(["\n ","\n\n /* latin-ext */\n @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,\n U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin-ext */\n @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Cp2ywxg089UriAWCrCBamC3YU-CnE6Q.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Cp2ywxg089UriAWCrCBimC3YU-Ck.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,\n U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n /* latin-ext */\n @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Cp2ywxg089UriASitCBamC3YU-CnE6Q.woff2) format('woff2');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,\n U+A720-A7FF;\n }\n /* latin */\n @font-face {\n font-family: 'DM Sans';\n font-style: normal;\n font-weight: 700;\n font-display: swap;\n src: url(https://fonts.gstatic.com/s/dmsans/v11/rP2Cp2ywxg089UriASitCBimC3YU-Ck.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,\n U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n }\n "])),t&&"\n @font-face {\n font-family: 'custom-font';\n font-style: normal;\n font-weight: normal;\n src: local('custom-font'), url("+t+") format('woff');\n }\n ")})},jA=Fe("div",{target:"emcdfp60"})((function(e){var t=e.customCss;return t&&Rr(RA||(RA=By(["\n ","\n "])),t)}),";");function ZA(e){var t=yA().theme,n=hu(e,t);return ub(n)}function FA(e){var t=e.typography,n=Number(t.body.fontSize.replace("px",""))/14;return{pxToRem:function(e){return e/16*n+"rem"},bodyFontFamily:t.fontFamily,headingFontFamily:t.fontFamily,fontSizes:[t.h1.fontSize,t.h2.fontSize,t.h3.fontSize,t.body.fontSize,"12px","10px"]}}var zA=function(e){var t,n=e.children,r=ZA(e.componentTheme),i=function(e){return{primary:{main:e.palette.primary}}}(r),a=nr({palette:i,stigg:r});return o.createElement(Dp,{theme:(t={},t[ir]=a,t)},o.createElement(Ne,{theme:{stigg:r}},o.createElement(jA,{customCss:r.customCss},o.createElement(BA,{externalFontUrl:r.typography.fontFamilyUrl}),o.createElement(wp.ThemeProvider,{theme:{typography:FA(r)}},n))))};var HA=o.createContext(null);HA.displayName="CustomerPortalContext";var VA=function(){var e=(0,o.useContext)(HA);if(!e)throw new Error("Could not find Customer portal context; You need to wrap your customer portal components in an