@nuskin/react-loyalty-elements 1.0.6-dynamicReactErrorFix.2 → 1.0.7-react-import.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,14 @@
1
- function e(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function t(e){if(Array.isArray(e))return e}function n(t){if(Array.isArray(t))return e(t)}function r(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function o(e,t,n){t=c(t);return h(e,O()?Reflect.construct(t,n||[],c(e).constructor):t.apply(e,n))}function i(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function l(e,t,n){if(t)a(e.prototype,t);if(n)a(e,n);return e}function u(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function c(e){c=Object.setPrototypeOf?Object.getPrototypeOf:function e(e){return e.__proto__||Object.getPrototypeOf(e)};return c(e)}function s(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)g(e,t)}function p(e,t){if(t!=null&&typeof Symbol!=="undefined"&&t[Symbol.hasInstance]){return!!t[Symbol.hasInstance](e)}else{return e instanceof t}}function d(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function f(e,t){var n=e==null?null:typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n==null)return;var r=[];var o=true;var i=false;var a,l;try{for(n=n.call(e);!(o=(a=n.next()).done);o=true){r.push(a.value);if(t&&r.length===t)break}}catch(e){i=true;l=e}finally{try{if(!o&&n["return"]!=null)n["return"]()}finally{if(i)throw l}}return r}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){if(t&&(w(t)==="object"||typeof t==="function")){return t}return r(e)}function g(e,t){g=Object.setPrototypeOf||function e(e,t){e.__proto__=t;return e};return g(e,t)}function y(e,n){return t(e)||f(e,n)||C(e,n)||m()}function b(e,t){if(!t){t=e.slice(0)}return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function x(e){return n(e)||d(e)||C(e)||v()}function w(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C(t,n){if(!t)return;if(typeof t==="string")return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor)r=t.constructor.name;if(r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}function O(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(O=function(){return!!e})()}function E(){var e=b(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n align-content: center;\n background-color: #f5f5f5;\n border: 1px solid #e0e0e0;\n border-radius: 10px;\n padding: 1.5rem;\n margin-bottom: 20px;\n height: 50%;\n margin: auto;\n\n @media (max-width: 950px) {\n flex-direction: column;\n }\n"]);E=function t(){return e};return e}function T(){var e=b(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n align-content: center;\n\n .reward-logo {\n width: 200px;\n margin-bottom: 12px;\n }\n\n .reward-progress {\n height: 150px;\n width: 150px;\n }\n .progress-bar {\n background-color: #e0e0e0;\n height: 100%;\n }\n\n @media (max-width: 950px) {\n flex-direction: column;\n\n .info-container {\n margin-left: 0px;\n align-items: center;\n }\n .reward-progress-total-div {\n margin-top: 10px;\n }\n }\n"]);T=function t(){return e};return e}function k(){var e=b(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-left: 16px;\n\n .info-item {\n margin: 5px 0;\n font-weight: 600;\n }\n"]);k=function t(){return e};return e}function R(){var e=b(["\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n"]);R=function t(){return e};return e}function M(){var e=b(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n color: black;\n\n .center-value-progress-bar-price {\n margin: 0;\n }\n .center-value-progress-bar-voucher {\n margin: 0;\n letter-spacing: 0.01em;\n }\n"]);M=function t(){return e};return e}function S(){var e=b(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n .total-button {\n display: flex;\n align-items: center;\n background-color: #e5edf6;\n border-radius: 20px;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .reward-subtitle {\n letter-spacing: 0;\n display: flex;\n }\n\n @media (max-width: 950px) {\n .reward-subtitle {\n letter-spacing: 0;\n display: flex;\n text-align: center;\n }\n margin-top: 10px;\n }\n"]);S=function t(){return e};return e}function A(){var e=b(["\n display: flex;\n align-items: center;\n background-color: #e5edf6;\n border-radius: 20px;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n padding: 1rem;\n margin-bottom: 14px;\n\n @media (max-width: 950px) {\n margin-top: 14px;\n }\n"]);A=function t(){return e};return e}function j(){var e=b(["\n .info-icon {\n margin-left: 6px !important;\n }\n .loyalty-icon {\n height: 19px !important;\n width: 19px !important;\n margin-left: 6px !important;\n }\n .loyalty-warning-icon {\n height: 19px !important;\n width: 19px !important;\n margin-right: 6px !important;\n }\n .outline-exclamation-icon {\n height: 48px !important;\n width: 48px !important;\n }\n"]);j=function t(){return e};return e}function P(){var e=b(["\n position: absolute;\n height: 100%;\n"]);P=function t(){return e};return e}function L(){var e=b(["\n background: #fff;\n width: 6px;\n height: 17%;\n"]);L=function t(){return e};return e}function _(){var e=b(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]);_=function t(){return e};return e}function B(){var e=b(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]);B=function t(){return e};return e}function N(){var e=b(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]);N=function t(){return e};return e}function F(){var e=b(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]);F=function t(){return e};return e}import{a as D,b as I,c as V,d as W,e as z}from"../chunk-XPGXQBAL.mjs";import{useState as H}from"react";import K from"react";import{CircularProgressbarWithChildren as U,buildStyles as X}from"react-circular-progressbar";var Y=W.div(E()),Z=W.div(T()),G=W.div(k()),Q=W.div(R()),q=W.div(M()),$=W.div(S()),J=W.div(A()),ee=W.span(j()),et=W.div(P()),en=W.div(L());import{jsx as er}from"react/jsx-runtime";function eo(e){return er(et,{style:{transform:"rotate(".concat(e.turns,"turn)")},children:er(en,{})})}function ei(e){var t=1/e.count;return Array(e.count).fill(null).map(function(e,n){return er(eo,{turns:n*t+.5},n)})}var ea=ei;import{FaExclamationTriangle as el}from"react-icons/fa";import{jsx as eu,jsxs as ec}from"react/jsx-runtime";function es(){return ec("svg",{width:"71",height:"42",viewBox:"0 0 71 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[eu("path",{d:"M5.32847 36.176C3.52571 36.176 2.06348 34.7138 2.06348 32.911L2.15695 28.3574L4.8277 28.4108L4.73422 32.9378C4.73422 33.2382 5.0013 33.5053 5.32847 33.5053H30.7606L34.0056 33.3584L34.1258 36.0291L30.8207 36.1827H5.32847V36.176Z",fill:"#405E50"}),eu("path",{d:"M68.3914 12.9147H65.7207V9.1156C65.7207 8.78843 65.4536 8.52136 65.1264 8.52136L36.3491 8.48129V5.81055L65.1264 5.85061C66.9225 5.85061 68.3914 7.31284 68.3914 9.1156V12.9147Z",fill:"#405E50"}),eu("path",{d:"M62.3222 41.6454C62.1152 41.6454 61.9082 41.6253 61.7012 41.5853L2.99822 30.2079C2.14358 30.041 1.40245 29.5536 0.915037 28.8325C0.427626 28.1114 0.24735 27.2434 0.414272 26.3821L4.94119 3.0197C5.10811 2.16506 5.59552 1.42393 6.31662 0.936522C7.03772 0.44911 7.90572 0.268835 8.76703 0.435756L67.47 11.8131C69.2394 12.1537 70.3945 13.8696 70.054 15.639L65.5271 39.0013C65.2199 40.5637 63.8512 41.6454 62.3222 41.6454ZM62.2087 38.968C62.5225 39.028 62.843 38.8211 62.9031 38.5006L67.43 15.1382C67.4901 14.8177 67.2831 14.5039 66.9626 14.4438L8.25291 3.05977C8.04593 3.0197 7.88569 3.09983 7.80556 3.15324C7.73212 3.20666 7.59858 3.32016 7.55184 3.53382L3.02493 26.8962C2.96484 27.2167 3.17182 27.5305 3.49231 27.5906L62.2087 38.968Z",fill:"#405E50"}),eu("path",{d:"M13.5344 22.0957C13.1405 22.0957 12.7398 22.0556 12.3392 21.9822C8.95406 21.3279 6.73066 18.0362 7.385 14.651C7.70549 13.0085 8.64025 11.593 10.029 10.6582C11.4178 9.72348 13.0804 9.38296 14.7229 9.70345C16.3654 10.0239 17.7809 10.9587 18.7156 12.3475C19.6504 13.7363 19.9909 15.3988 19.6704 17.0413C19.0895 20.0125 16.4655 22.0957 13.5344 22.0957ZM13.521 12.254C12.8133 12.254 12.1189 12.461 11.5247 12.8683C10.7301 13.4024 10.196 14.217 10.009 15.1584C9.6351 17.1014 10.9037 18.9843 12.8467 19.3582C14.7896 19.7321 16.6725 18.4635 17.0464 16.5205C17.2267 15.5791 17.0331 14.6243 16.4989 13.8298C15.9648 13.0352 15.1502 12.5011 14.2088 12.3141C13.9817 12.274 13.7481 12.254 13.521 12.254Z",fill:"#405E50"}),eu("path",{d:"M23.9338 15.4855L23.4255 18.1074L59.9361 25.1845L60.4443 22.5626L23.9338 15.4855Z",fill:"#405E50"}),eu("path",{d:"M22.8916 19.7002L22.3838 22.3223L58.8956 29.393L59.4034 26.771L22.8916 19.7002Z",fill:"#405E50"})]})}var ep=es;import{jsx as ed,jsxs as ef}from"react/jsx-runtime";function em(){return ef("svg",{width:"71",height:"42",viewBox:"0 0 71 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ed("path",{d:"M5.32847 36.176C3.52571 36.176 2.06348 34.7138 2.06348 32.911L2.15695 28.3574L4.8277 28.4108L4.73422 32.9378C4.73422 33.2382 5.0013 33.5053 5.32847 33.5053H30.7606L34.0056 33.3584L34.1258 36.0291L30.8207 36.1827H5.32847V36.176Z",fill:"#B0B0B0"}),ed("path",{d:"M68.3914 12.9147H65.7207V9.1156C65.7207 8.78843 65.4536 8.52136 65.1264 8.52136L36.3491 8.48129V5.81055L65.1264 5.85061C66.9225 5.85061 68.3914 7.31284 68.3914 9.1156V12.9147Z",fill:"#B0B0B0"}),ed("path",{d:"M62.3222 41.6454C62.1152 41.6454 61.9082 41.6253 61.7012 41.5853L2.99822 30.2079C2.14358 30.041 1.40245 29.5536 0.915037 28.8325C0.427626 28.1114 0.24735 27.2434 0.414272 26.3821L4.94119 3.0197C5.10811 2.16506 5.59552 1.42393 6.31662 0.936522C7.03772 0.44911 7.90572 0.268835 8.76703 0.435756L67.47 11.8131C69.2394 12.1537 70.3945 13.8696 70.054 15.639L65.5271 39.0013C65.2199 40.5637 63.8512 41.6454 62.3222 41.6454ZM62.2087 38.968C62.5225 39.028 62.843 38.8211 62.9031 38.5006L67.43 15.1382C67.4901 14.8177 67.2831 14.5039 66.9626 14.4438L8.25291 3.05977C8.04593 3.0197 7.88569 3.09983 7.80556 3.15324C7.73212 3.20666 7.59858 3.32016 7.55184 3.53382L3.02493 26.8962C2.96484 27.2167 3.17182 27.5305 3.49231 27.5906L62.2087 38.968Z",fill:"#B0B0B0"}),ed("path",{d:"M13.5344 22.0957C13.1405 22.0957 12.7398 22.0556 12.3392 21.9822C8.95406 21.3279 6.73066 18.0362 7.385 14.651C7.70549 13.0085 8.64025 11.593 10.029 10.6582C11.4178 9.72348 13.0804 9.38296 14.7229 9.70345C16.3654 10.0239 17.7809 10.9587 18.7156 12.3475C19.6504 13.7363 19.9909 15.3988 19.6704 17.0413C19.0895 20.0125 16.4655 22.0957 13.5344 22.0957ZM13.521 12.254C12.8133 12.254 12.1189 12.461 11.5247 12.8683C10.7301 13.4024 10.196 14.217 10.009 15.1584C9.6351 17.1014 10.9037 18.9843 12.8467 19.3582C14.7896 19.7321 16.6725 18.4635 17.0464 16.5205C17.2267 15.5791 17.0331 14.6243 16.4989 13.8298C15.9648 13.0352 15.1502 12.5011 14.2088 12.3141C13.9817 12.274 13.7481 12.254 13.521 12.254Z",fill:"#B0B0B0"}),ed("path",{d:"M23.9338 15.4855L23.4255 18.1074L59.9361 25.1845L60.4443 22.5626L23.9338 15.4855Z",fill:"#B0B0B0"}),ed("path",{d:"M22.8916 19.7002L22.3838 22.3223L58.8956 29.393L59.4034 26.771L22.8916 19.7002Z",fill:"#B0B0B0"})]})}var ev=em;import eh from"react";var eg=function(e,t){return Object.keys(t).reduce(function(e,n){var r;var o=(r=t[n])!==null&&r!==void 0?r:"";return e.replace(new RegExp("%".concat(n,"%"),"g"),String(o))},e)};import{jsx as ey,jsxs as eb}from"react/jsx-runtime";var ex=/*#__PURE__*/function(e){"use strict";s(t,e);function t(e){i(this,t);return o(this,t,[e])}l(t,[{key:"render",value:function e(){var e=this.props,t=e.value,n=e.voucherValue,r=e.maxMonths,o=e.handleOpenSubscriptionRewardPopup,i=e.notQualifyForRewardThisMonth,a=e.translationConfig,l=a===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:""}:a,u=e.learnMoreConfig,c=u===void 0?{tagLine:"",cardOneDescription:"",cardOneVoucherAmount:"",cardTwoDescription:"",cardTwoVoucherAmount:"",header:"",loyaltyLogoWhite:"",loyaltyBanner:"",learnMore:""}:u,s=e.currencyAbbreviate,p=s===void 0?!1:s,d=e.currencyFormat,f=d===void 0?function(){}:d,m="";n===50&&!i?m=l.learn3xMore:n===150||i?m=c.learnMore:n==null&&(m=l.learnMore);var v=eg(l.monthsComplete,{completed_months:t,total_months:r}),h=f(n||0,!0,p),g=l.voucherEarned.replace("%currency_symbol%%currency_amount%","".concat(h));return eb(G,{children:[ey("img",{className:"reward-logo",src:l.loyaltyLogoBlack,alt:"Rewards Logo"}),t===r?ey("div",{className:"info-item",children:g}):ey("div",{className:"info-item",children:v}),ey(Q,{id:"learnMore",onClick:o,children:ey("u",{children:m})})]})}}]);return t}(eh.Component),ew=ex;import{NsTypography as eC}from"@nuskin/foundation-ui-components";import{jsx as eO,jsxs as eE}from"react/jsx-runtime";var eT=/*#__PURE__*/function(e){"use strict";s(t,e);function t(e){i(this,t);return o(this,t,[e])}l(t,[{key:"render",value:function e(){var e=this.props,t=e.value,n=t===void 0?0:t,r=e.voucherValue,o=r===void 0?0:r,i=e.maxMonths,a=i===void 0?0:i,l=e.handleOpenSubscriptionRewardPopup,u=l===void 0?function(){}:l,c=e.notQualifyForRewardThisMonth,s=c===void 0?!1:c,p=e.translationConfig,d=p===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:""}:p,f=e.learnMoreConfig,m=f===void 0?{tagLine:"",cardOneDescription:"",cardOneVoucherAmount:"",cardTwoDescription:"",cardTwoVoucherAmount:"",header:"",loyaltyLogoWhite:"",loyaltyBanner:"",learnMore:""}:f,v=e.currencyAbbreviate,h=v===void 0?!1:v,g=e.currencyFormat,y=g===void 0?function(){}:g,b=eg(d.voucherTargetAmount,{currency_symbol:"",voucher_amount:""}),x=y(o||0,!0,h);return eE(Z,{children:[eO("div",{className:"reward-progress",children:eE(U,{value:n/a*100,strokeWidth:12,background:!0,styles:X({rotation:.5,strokeLinecap:"butt",backgroundColor:n===a&&!s?"rgb(195 240 194)":"#fff",pathColor:"#6BC56A",trailColor:"#E0E0E0"}),children:[eO(ea,{count:a}),n===a&&!s?eO(ep,{}):s?eO(ee,{children:eO(el,{className:"outline-exclamation-icon",color:"#91ACC8"})}):o!=null||o!=null?eE(q,{children:[eO(eC,{component:"div",className:"center-value-progress-bar-price",variant:"title-l",weight:"bold",children:"".concat(x)}),eO(eC,{variant:"label-s",weight:"bold",component:"div",className:"center-value-progress-bar-voucher",children:b})]}):eO(q,{children:eO(ev,{})})]})}),eO(ew,{value:n,voucherValue:o,notQualifyForRewardThisMonth:s,handleOpenSubscriptionRewardPopup:u,maxMonths:a,translationConfig:d,learnMoreConfig:m,currencyAbbreviate:h,currencyFormat:y})]})}}]);return t}(K.Component),ek=eT;import eR from"react";import{FaExclamationTriangle as eM}from"react-icons/fa";import{NsTypography as eS}from"@nuskin/foundation-ui-components";import{jsx as eA,jsxs as ej}from"react/jsx-runtime";function eP(){return ej("svg",{width:"19",height:"19",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[eA("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.833344 9.99967C0.833344 4.93706 4.9374 0.833008 10 0.833008C15.0626 0.833008 19.1667 4.93706 19.1667 9.99967C19.1667 15.0623 15.0626 19.1663 10 19.1663C4.9374 19.1663 0.833344 15.0623 0.833344 9.99967ZM10 2.49967C5.85787 2.49967 2.50001 5.85754 2.50001 9.99967C2.50001 14.1418 5.85787 17.4997 10 17.4997C14.1421 17.4997 17.5 14.1418 17.5 9.99967C17.5 5.85754 14.1421 2.49967 10 2.49967Z",fill:"#4A6987"}),eA("line",{x1:"10.1667",y1:"9.375",x2:"10.1667",y2:"14.7917",stroke:"#4A6987",strokeWidth:"2"}),eA("path",{d:"M10.0052 7.75009C10.6338 7.75009 11.1718 7.22807 11.1771 6.57821C11.1718 5.93901 10.6338 5.41699 10.0052 5.41699C9.35537 5.41699 8.82803 5.93901 8.83335 6.57821C8.82803 7.22807 9.35537 7.75009 10.0052 7.75009Z",fill:"#4A6987"})]})}var eL=eP;var e_={black:"#000",white:"#fff"},eB=e_;var eN={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"},eF=eN;var eD={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"},eI=eD;var eV={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"},eW=eV;var ez={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"},eH=ez;var eK={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"},eU=eK;var eX={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"},eY=eX;var eZ={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"},eG=eZ;function eQ(e){return e!==null&&(typeof e==="undefined"?"undefined":w(e))=="object"&&e.constructor===Object}function eq(e){if(!eQ(e))return e;var t={};return Object.keys(e).forEach(function(n){t[n]=eq(e[n])}),t}function e$(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0};var r=n.clone?D({},e):e;return eQ(e)&&eQ(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(eQ(t[o])&&o in e&&eQ(e[o])?r[o]=e$(e[o],t[o],n):n.clone?r[o]=eQ(t[o])?eq(t[o]):t[o]:r[o]=t[o])}),r}function eJ(e){var t="https://mui.com/production-error/?code="+e;for(var n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function e0(e){if(typeof e!="string")throw new Error(eJ(7));return e.charAt(0).toUpperCase()+e.slice(1)}function e1(e){return e&&e.ownerDocument||document}function e2(e,t){typeof e=="function"?e(t):e&&(e.current=t)}import*as e5 from"react";var e3=(typeof window==="undefined"?"undefined":w(window))<"u"?e5.useLayoutEffect:e5.useEffect,e4=e3;import*as e6 from"react";var e7=0;function e8(e){var t=y(e6.useState(e),2),n=t[0],r=t[1],o=e||n;return e6.useEffect(function(){n==null&&(e7+=1,r("mui-".concat(e7)))},[n]),o}var e9=e6.useId;function te(e){if(e9!==void 0){var t=e9();return e!==null&&e!==void 0?e:t}return e8(e)}import*as tt from"react";function tn(e){var t=e.controlled,n=e.default,r=e.name,o=e.state,i=o===void 0?"value":o;var a=tt.useRef(t!==void 0),l=a.current,u=y(tt.useState(n),2),c=u[0],s=u[1],p=l?t:c,d=tt.useCallback(function(e){l||s(e)},[]);return[p,d]}import*as tr from"react";function to(e){var t=this;var n=tr.useRef(e);return e4(function(){n.current=e}),tr.useRef(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++){r[o]=arguments[o]}return(0,n.current).apply(t,x(r))}).current}var ti=to;import*as ta from"react";function tl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return ta.useMemo(function(){return t.every(function(e){return e==null})?null:function(e){t.forEach(function(t){e2(t,e)})}},t)}import*as tu from"react";var tc=!0,ts=!1,tp,td={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function tf(e){var t=e.type,n=e.tagName;return!!(n==="INPUT"&&td[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function tm(e){e.metaKey||e.altKey||e.ctrlKey||(tc=!0)}function tv(){tc=!1}function th(){this.visibilityState==="hidden"&&ts&&(tc=!0)}function tg(e){e.addEventListener("keydown",tm,!0),e.addEventListener("mousedown",tv,!0),e.addEventListener("pointerdown",tv,!0),e.addEventListener("touchstart",tv,!0),e.addEventListener("visibilitychange",th,!0)}function ty(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return tc||tf(t)}function tb(){var e=tu.useCallback(function(e){e!=null&&tg(e.ownerDocument)},[]),t=tu.useRef(!1);function n(){return t.current?(ts=!0,window.clearTimeout(tp),tp=window.setTimeout(function(){ts=!1},100),t.current=!1,!0):!1}function r(e){return ty(e)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function tx(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r={};return Object.keys(e).forEach(function(o){r[o]=e[o].reduce(function(e,r){if(r){var o=t(r);o!==""&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}var tw=function(e){return e},tC=function(){var e=tw;return{configure:function t(t){e=t},generate:function t(t){return e(t)},reset:function t(){e=tw}}},tO=tC(),tE=tO;var tT={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 tk(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Mui";var r=tT[t];return r?"".concat(n,"-").concat(r):"".concat(tE.generate(e),"-").concat(t)}function tR(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Mui";var r={};return t.forEach(function(t){r[t]=tk(e,t,n)}),r}var tM="$$material";function tS(e,t){if(e==null)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function tA(e){var t="https://mui.com/production-error/?code="+e;for(var n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function tj(e,t){return W(e,t)}var tP=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};import*as tL from"react";function t_(e){if((typeof e==="undefined"?"undefined":w(e))!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function tB(e){if(tL.isValidElement(e)||!t_(e))return e;var t={};return Object.keys(e).forEach(function(n){t[n]=tB(e[n])}),t}function tN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0};var r=n.clone?D({},e):e;return t_(e)&&t_(t)&&Object.keys(t).forEach(function(o){tL.isValidElement(t[o])?r[o]=t[o]:t_(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&t_(e[o])?r[o]=tN(e[o],t[o],n):n.clone?r[o]=t_(t[o])?tB(t[o]):t[o]:r[o]=t[o]}),r}var tF=["values","unit","step"];var tD=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 D({},e,u({},t.key,t.val))},{})};function tI(e){var t=e.values,n=t===void 0?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,r=e.unit,o=r===void 0?"px":r,i=e.step,a=i===void 0?5:i,l=tS(e,tF),u=tD(n),c=Object.keys(u);function s(e){return"@media (min-width:".concat(typeof n[e]=="number"?n[e]:e).concat(o,")")}function p(e){return"@media (max-width:".concat((typeof n[e]=="number"?n[e]:e)-a/100).concat(o,")")}function d(e,t){var r=c.indexOf(t);return"@media (min-width:".concat(typeof n[e]=="number"?n[e]:e).concat(o,") and (max-width:").concat((r!==-1&&typeof n[c[r]]=="number"?n[c[r]]:t)-a/100).concat(o,")")}function f(e){return c.indexOf(e)+1<c.length?d(e,c[c.indexOf(e)+1]):s(e)}function m(e){var t=c.indexOf(e);return t===0?s(c[1]):t===c.length-1?p(c[t]):d(e,c[c.indexOf(e)+1]).replace("@media","@media not all and")}return D({keys:c,values:u,up:s,down:p,between:d,only:f,not:m,unit:o},l)}var tV={borderRadius:4},tW=tV;function tz(e,t){return t?tN(e,t,{clone:!1}):e}var tH=tz;var tK={xs:0,sm:600,md:900,lg:1200,xl:1536},tU={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(tK[e],"px)")}};function tX(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var o=r.breakpoints||tU;return t.reduce(function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e},{})}if((typeof t==="undefined"?"undefined":w(t))=="object"){var i=r.breakpoints||tU;return Object.keys(t).reduce(function(e,r){if(Object.keys(i.values||tK).indexOf(r)!==-1){var o=i.up(r);e[o]=n(t[r],r)}else{var a=r;e[a]=t[a]}return e},{})}return n(t)}function tY(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var t;return((t=e.keys)==null?void 0:t.reduce(function(t,n){var r=e.up(n);return t[r]={},t},{}))||{}}function tZ(e,t){return e.reduce(function(e,t){var n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function tG(e){if(typeof e!="string")throw new Error(tA(7));return e.charAt(0).toUpperCase()+e.slice(1)}function tQ(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||typeof t!="string")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(r!=null)return r}return t.split(".").reduce(function(e,t){return e&&e[t]!=null?e[t]:null},e)}function tq(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:n;var o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=tQ(e,n)||r,t&&(o=t(o,r,e)),o}function t$(e){var t=e.prop,n=e.cssProperty,r=n===void 0?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(e[t]==null)return null;var n=e[t],a=e.theme,l=tQ(a,o)||{};return tX(e,n,function(e){var n=tq(l,i,e);return e===n&&typeof e=="string"&&(n=tq(l,i,"".concat(t).concat(e==="default"?"":tG(e)),e)),r===!1?n:u({},r,n)})};return a.propTypes={},a.filterProps=[t],a}var tJ=t$;function t0(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var t1={m:"margin",p:"padding"},t2={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},t5={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},t3=t0(function(e){if(e.length>2)if(t5[e])e=t5[e];else return[e];var t=y(e.split(""),2),n=t[0],r=t[1],o=t1[n],i=t2[r]||"";return Array.isArray(i)?i.map(function(e){return o+e}):[o+i]}),t4=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],t6=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],t7=x(t4).concat(x(t6));function t8(e,t,n,r){var o;var i=(o=tQ(e,t,!1))!=null?o:n;return typeof i=="number"?function(e){return typeof e=="string"?e:i*e}:Array.isArray(i)?function(e){return typeof e=="string"?e:i[e]}:typeof i=="function"?i:function(){}}function t9(e){return t8(e,"spacing",8,"spacing")}function ne(e,t){if(typeof t=="string"||t==null)return t;var n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:"-".concat(r)}function nt(e,t){return function(n){return e.reduce(function(e,r){return e[r]=ne(t,n),e},{})}}function nn(e,t,n,r){if(t.indexOf(n)===-1)return null;var o=t3(n),i=nt(o,r),a=e[n];return tX(e,a,i)}function nr(e,t){var n=t9(e.theme);return Object.keys(e).map(function(r){return nn(e,t,r,n)}).reduce(tH,{})}function no(e){return nr(e,t4)}no.propTypes={};no.filterProps=t4;function ni(e){return nr(e,t6)}ni.propTypes={};ni.filterProps=t6;function na(e){return nr(e,t7)}na.propTypes={};na.filterProps=t7;function nl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=t9({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++){n[r]=arguments[r]}return(n.length===0?[1]:n).map(function(e){var n=t(e);return typeof n=="number"?"".concat(n,"px"):n}).join(" ")};return n.mui=!0,n}function nu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r=t.reduce(function(e,t){return t.filterProps.forEach(function(n){e[n]=t}),e},{}),o=function(e){return Object.keys(e).reduce(function(t,n){return r[n]?tH(t,r[n](e)):t},{})};return o.propTypes={},o.filterProps=t.reduce(function(e,t){return e.concat(t.filterProps)},[]),o}var nc=nu;function ns(e){return typeof e!="number"?e:"".concat(e,"px solid")}function np(e,t){return tJ({prop:e,themeKey:"borders",transform:t})}var nd=np("border",ns),nf=np("borderTop",ns),nm=np("borderRight",ns),nv=np("borderBottom",ns),nh=np("borderLeft",ns),ng=np("borderColor"),ny=np("borderTopColor"),nb=np("borderRightColor"),nx=np("borderBottomColor"),nw=np("borderLeftColor"),nC=np("outline",ns),nO=np("outlineColor"),nE=function(e){if(e.borderRadius!==void 0&&e.borderRadius!==null){var t=t8(e.theme,"shape.borderRadius",4,"borderRadius"),n=function(e){return{borderRadius:ne(t,e)}};return tX(e,e.borderRadius,n)}return null};nE.propTypes={};nE.filterProps=["borderRadius"];var nT=nc(nd,nf,nm,nv,nh,ng,ny,nb,nx,nw,nE,nC,nO);var nk=function(e){if(e.gap!==void 0&&e.gap!==null){var t=t8(e.theme,"spacing",8,"gap"),n=function(e){return{gap:ne(t,e)}};return tX(e,e.gap,n)}return null};nk.propTypes={};nk.filterProps=["gap"];var nR=function(e){if(e.columnGap!==void 0&&e.columnGap!==null){var t=t8(e.theme,"spacing",8,"columnGap"),n=function(e){return{columnGap:ne(t,e)}};return tX(e,e.columnGap,n)}return null};nR.propTypes={};nR.filterProps=["columnGap"];var nM=function(e){if(e.rowGap!==void 0&&e.rowGap!==null){var t=t8(e.theme,"spacing",8,"rowGap"),n=function(e){return{rowGap:ne(t,e)}};return tX(e,e.rowGap,n)}return null};nM.propTypes={};nM.filterProps=["rowGap"];var nS=tJ({prop:"gridColumn"}),nA=tJ({prop:"gridRow"}),nj=tJ({prop:"gridAutoFlow"}),nP=tJ({prop:"gridAutoColumns"}),nL=tJ({prop:"gridAutoRows"}),n_=tJ({prop:"gridTemplateColumns"}),nB=tJ({prop:"gridTemplateRows"}),nN=tJ({prop:"gridTemplateAreas"}),nF=tJ({prop:"gridArea"}),nD=nc(nk,nR,nM,nS,nA,nj,nP,nL,n_,nB,nN,nF);function nI(e,t){return t==="grey"?t:e}var nV=tJ({prop:"color",themeKey:"palette",transform:nI}),nW=tJ({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:nI}),nz=tJ({prop:"backgroundColor",themeKey:"palette",transform:nI}),nH=nc(nV,nW,nz);function nK(e){return e<=1&&e!==0?"".concat(e*100,"%"):e}var nU=tJ({prop:"width",transform:nK}),nX=function(e){if(e.maxWidth!==void 0&&e.maxWidth!==null){var t=function(t){var n,r;var o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||tK[t];return o?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)!=="px"?{maxWidth:"".concat(o).concat(e.theme.breakpoints.unit)}:{maxWidth:o}:{maxWidth:nK(t)}};return tX(e,e.maxWidth,t)}return null};nX.filterProps=["maxWidth"];var nY=tJ({prop:"minWidth",transform:nK}),nZ=tJ({prop:"height",transform:nK}),nG=tJ({prop:"maxHeight",transform:nK}),nQ=tJ({prop:"minHeight",transform:nK}),nq=tJ({prop:"size",cssProperty:"width",transform:nK}),n$=tJ({prop:"size",cssProperty:"height",transform:nK}),nJ=tJ({prop:"boxSizing"}),n0=nc(nU,nX,nY,nZ,nG,nQ,nJ);var n1={border:{themeKey:"borders",transform:ns},borderTop:{themeKey:"borders",transform:ns},borderRight:{themeKey:"borders",transform:ns},borderBottom:{themeKey:"borders",transform:ns},borderLeft:{themeKey:"borders",transform:ns},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ns},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:nE},color:{themeKey:"palette",transform:nI},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:nI},backgroundColor:{themeKey:"palette",transform:nI},p:{style:ni},pt:{style:ni},pr:{style:ni},pb:{style:ni},pl:{style:ni},px:{style:ni},py:{style:ni},padding:{style:ni},paddingTop:{style:ni},paddingRight:{style:ni},paddingBottom:{style:ni},paddingLeft:{style:ni},paddingX:{style:ni},paddingY:{style:ni},paddingInline:{style:ni},paddingInlineStart:{style:ni},paddingInlineEnd:{style:ni},paddingBlock:{style:ni},paddingBlockStart:{style:ni},paddingBlockEnd:{style:ni},m:{style:no},mt:{style:no},mr:{style:no},mb:{style:no},ml:{style:no},mx:{style:no},my:{style:no},margin:{style:no},marginTop:{style:no},marginRight:{style:no},marginBottom:{style:no},marginLeft:{style:no},marginX:{style:no},marginY:{style:no},marginInline:{style:no},marginInlineStart:{style:no},marginInlineEnd:{style:no},marginBlock:{style:no},marginBlockStart:{style:no},marginBlockEnd:{style:no},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:nk},rowGap:{style:nM},columnGap:{style:nR},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nK},maxWidth:{style:nX},minWidth:{transform:nK},height:{transform:nK},maxHeight:{transform:nK},minHeight:{transform:nK},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},n2=n1;function n5(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r=t.reduce(function(e,t){return e.concat(Object.keys(t))},[]),o=new Set(r);return t.every(function(e){return o.size===Object.keys(e).length})}function n3(e,t){return typeof e=="function"?e(t):e}function n4(){function e(e,t,n,r){var o;var i=(o={},u(o,e,t),u(o,"theme",n),o),a=r[e];if(!a)return u({},e,t);var l=a.cssProperty,c=l===void 0?e:l,s=a.themeKey,p=a.transform,d=a.style;if(t==null)return null;if(s==="typography"&&t==="inherit")return u({},e,t);var f=tQ(n,s)||{};return d?d(i):tX(i,t,function(t){var n=tq(f,p,t);return t===n&&typeof t=="string"&&(n=tq(f,p,"".concat(e).concat(t==="default"?"":tG(t)),t)),c===!1?n:u({},c,n)})}function t(n){var r;var o=n||{},i=o.sx,a=o.theme,l=a===void 0?{}:a;if(!i)return null;var c=(r=l.unstable_sxConfig)!=null?r:n2;function s(n){var r=n;if(typeof n=="function")r=n(l);else if((typeof n==="undefined"?"undefined":w(n))!="object")return n;if(!r)return null;var o=tY(l.breakpoints),i=Object.keys(o),a=o;return Object.keys(r).forEach(function(n){var o=n3(r[n],l);if(o!=null)if((typeof o==="undefined"?"undefined":w(o))=="object")if(c[n])a=tH(a,e(n,o,l,c));else{var i=tX({theme:l},o,function(e){return u({},n,e)});n5(i,o)?a[n]=t({sx:o,theme:l}):a=tH(a,i)}else a=tH(a,e(n,o,l,c))}),tZ(i,a)}return Array.isArray(i)?i.map(s):s(i)}return t}var n6=n4();n6.filterProps=["sx"];var n7=n6;function n8(e,t){var n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?u({},n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)"),t):n.palette.mode===e?t:{}}var n9=["breakpoints","palette","spacing","shape"];function re(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++){n[r-1]=arguments[r]}var o=e.breakpoints,i=o===void 0?{}:o,a=e.palette,l=a===void 0?{}:a,u=e.spacing,c=e.shape,s=c===void 0?{}:c,p=tS(e,n9),d=tI(i),f=nl(u),m=tN({breakpoints:d,direction:"ltr",components:{},palette:D({mode:"light"},l),spacing:f,shape:D({},tW,s)},p);return m.applyStyles=n8,m=n.reduce(function(e,t){return tN(e,t)},m),m.unstable_sxConfig=D({},n2,p===null||p===void 0?void 0:p.unstable_sxConfig),m.unstable_sx=function(e){return n7({sx:e,theme:this})},m}var rt=re;import*as rn from"react";function rr(e){return Object.keys(e).length===0}function ro(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;var t=rn.useContext(I);return!t||rr(t)?e:t}var ri=ro;var ra=rt();function rl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ra;return ri(e)}var ru=rl;function rc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if((typeof e==="undefined"?"undefined":w(e))=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=rc(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function rs(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=rc(e))&&(r&&(r+=" "),r+=t);return r}var rp=rs;var rd=["ownerState"],rf=["variants"],rm=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function rv(e){return Object.keys(e).length===0}function rh(e){return typeof e=="string"&&e.charCodeAt(0)>96}function rg(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var ry=rt(),rb=function(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)};function rx(e){var t=e.defaultTheme,n=e.theme,r=e.themeId;return rv(n)?t:n[r]||n}function rw(e){return e?function(t,n){return n[e]}:null}function rC(e,t){var n=t.ownerState,r=tS(t,rd),o=typeof e=="function"?e(D({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(function(e){return rC(e,D({ownerState:n},r))});if(o&&(typeof o==="undefined"?"undefined":w(o))=="object"&&Array.isArray(o.variants)){var i=o.variants,a=i===void 0?[]:i,l=tS(o,rf);return a.forEach(function(e){var t=!0;typeof e.props=="function"?t=e.props(D({ownerState:n},r,n)):Object.keys(e.props).forEach(function(o){(n===null||n===void 0?void 0:n[o])!==e.props[o]&&r[o]!==e.props[o]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push(typeof e.style=="function"?e.style(D({ownerState:n},r,n)):e.style))}),l}return o}function rO(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var t=e.themeId,n=e.defaultTheme,r=n===void 0?ry:n,o=e.rootShouldForwardProp,i=o===void 0?rg:o,a=e.slotShouldForwardProp,l=a===void 0?rg:a,u=function(e){return n7(D({},e,{theme:rx(D({},e,{defaultTheme:r,themeId:t}))}))};return u.__mui_systemSx=!0,function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};tP(e,function(e){return e.filter(function(e){return!(e!=null&&e.__mui_systemSx)})});var o=n.name,a=n.slot,c=n.skipVariantsResolver,s=n.skipSx,p=n.overridesResolver,d=p===void 0?rw(rb(a)):p,f=tS(n,rm),m=c!==void 0?c:a&&a!=="Root"&&a!=="root"||!1,v=s||!1,h,g=rg;a==="Root"||a==="root"?g=i:a?g=l:rh(e)&&(g=void 0);var b=tj(e,D({shouldForwardProp:g,label:h},f)),w=function(e){return typeof e=="function"&&e.__emotion_real!==e||t_(e)?function(n){return rC(e,D({},n,{theme:rx({theme:n.theme,defaultTheme:r,themeId:t})}))}:e},C=function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++){a[l-1]=arguments[l]}var c=w(n),s=a?a.map(w):[];o&&d&&s.push(function(e){var n=rx(D({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[o]||!n.components[o].styleOverrides)return null;var i=n.components[o].styleOverrides,a={};return Object.entries(i).forEach(function(t){var r=y(t,2),o=r[0],i=r[1];a[o]=rC(i,D({},e,{theme:n}))}),d(e,a)}),o&&!m&&s.push(function(e){var n;var i=rx(D({},e,{defaultTheme:r,themeId:t})),a=i==null||(n=i.components)==null||(n=n[o])==null?void 0:n.variants;return rC({variants:a},D({},e,{theme:i}))}),v||s.push(u);var p=s.length-a.length;if(Array.isArray(n)&&p>0){var f=new Array(p).fill("");c=x(n).concat(x(f)),c.raw=x(n.raw).concat(x(f))}var h=b.apply(void 0,[c].concat(x(s)));return e.muiName&&(h.muiName=e.muiName),h};return b.withConfig&&(C.withConfig=b.withConfig),C}}function rE(e,t){var n=D({},t);return Object.keys(e).forEach(function(r){if(r.toString().match(/^(components|slots)$/))n[r]=D({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){var o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=D({},i),Object.keys(o).forEach(function(e){n[r][e]=rE(o[e],i[e])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function rT(e){var t=e.theme,n=e.name,r=e.props;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:rE(t.components[n].defaultProps,r)}function rk(e){var t=e.props,n=e.name,r=e.defaultTheme,o=e.themeId;var i=ru(r);return o&&(i=i[o]||i),rT({theme:i,name:n,props:t})}function rR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))}var rM=rR;function rS(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return rM(e,t,n)}function rA(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&n[0].length===1&&(n=n.map(function(e){return e+e})),n?"rgb".concat(n.length===4?"a":"","(").concat(n.map(function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3}).join(", "),")"):""}function rj(e){if(e.type)return e;if(e.charAt(0)==="#")return rj(rA(e));var t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(tA(9,e));var r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(tA(10,o))}else r=r.split(",");return r=r.map(function(e){return parseFloat(e)}),{type:n,values:r,colorSpace:o}}function rP(e){var t=e.type,n=e.colorSpace,r=e.values;return t.indexOf("rgb")!==-1?r=r.map(function(e,t){return t<3?parseInt(e,10):e}):t.indexOf("hsl")!==-1&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),t.indexOf("color")!==-1?r="".concat(n," ").concat(r.join(" ")):r="".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function rL(e){e=rj(e);var t=e.values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),rP({type:l,values:u})}function r_(e){e=rj(e);var t=e.type==="hsl"||e.type==="hsla"?rj(rL(e)).values:e.values;return t=t.map(function(t){return e.type!=="color"&&(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 rB(e,t){var n=r_(e),r=r_(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function rN(e,t){return e=rj(e),t=rS(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]="/".concat(t):e.values[3]=t,rP(e)}function rF(e,t){if(e=rj(e),t=rS(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(var n=0;n<3;n+=1)e.values[n]*=1-t;return rP(e)}function rD(e,t){if(e=rj(e),t=rS(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return rP(e)}function rI(e,t){var n;return D({toolbar:(n={minHeight:56},u(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),u(n,e.up("sm"),{minHeight:64}),n)},t)}var rV=["mode","contrastThreshold","tonalOffset"],rW={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:eB.white,default:eB.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}},rz={text:{primary:eB.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:eB.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 rH(e,t,n,r){var o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=rD(e.main,o):t==="dark"&&(e.dark=rF(e.main,i)))}function rK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eW[200],light:eW[50],dark:eW[400]}:{main:eW[700],light:eW[400],dark:eW[800]}}function rU(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eI[200],light:eI[50],dark:eI[400]}:{main:eI[500],light:eI[300],dark:eI[700]}}function rX(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eF[500],light:eF[300],dark:eF[700]}:{main:eF[700],light:eF[400],dark:eF[800]}}function rY(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eH[400],light:eH[300],dark:eH[700]}:{main:eH[700],light:eH[500],dark:eH[900]}}function rZ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eU[400],light:eU[300],dark:eU[700]}:{main:eU[800],light:eU[500],dark:eU[900]}}function rG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eY[400],light:eY[300],dark:eY[700]}:{main:"#ed6c02",light:eY[500],dark:eY[900]}}function rQ(e){var t=e.mode,n=t===void 0?"light":t,r=e.contrastThreshold,o=r===void 0?3:r,i=e.tonalOffset,a=i===void 0?.2:i,l=tS(e,rV),u=e.primary||rK(n),c=e.secondary||rU(n),s=e.error||rX(n),p=e.info||rY(n),d=e.success||rZ(n),f=e.warning||rG(n);function m(e){return rB(e,rz.text.primary)>=o?rz.text.primary:rW.text.primary}var v=function(e){var t=e.color,n=e.name,r=e.mainShade,o=r===void 0?500:r,i=e.lightShade,l=i===void 0?300:i,u=e.darkShade,c=u===void 0?700:u;if(t=D({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(eJ(11,n?" (".concat(n,")"):"",o));if(typeof t.main!="string")throw new Error(eJ(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return rH(t,"light",l,a),rH(t,"dark",c,a),t.contrastText||(t.contrastText=m(t.main)),t},h={dark:rz,light:rW};return e$(D({common:D({},eB),mode:n,primary:v({color:u,name:"primary"}),secondary:v({color:c,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:s,name:"error"}),warning:v({color:f,name:"warning"}),info:v({color:p,name:"info"}),success:v({color:d,name:"success"}),grey:eG,contrastThreshold:o,getContrastText:m,augmentColor:v,tonalOffset:a},h[n]),l)}var rq=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function r$(e){return Math.round(e*1e5)/1e5}var rJ={textTransform:"uppercase"},r0='"Roboto", "Helvetica", "Arial", sans-serif';function r1(e,t){var n=typeof t=="function"?t(e):t,r=n.fontFamily,o=r===void 0?r0:r,i=n.fontSize,a=i===void 0?14:i,l=n.fontWeightLight,u=l===void 0?300:l,c=n.fontWeightRegular,s=c===void 0?400:c,p=n.fontWeightMedium,d=p===void 0?500:p,f=n.fontWeightBold,m=f===void 0?700:f,v=n.htmlFontSize,h=v===void 0?16:v,g=n.allVariants,y=n.pxToRem,b=tS(n,rq),x=a/14,w=y||function(e){return"".concat(e/h*x,"rem")},C=function(e,t,n,r,i){return D({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===r0?{letterSpacing:"".concat(r$(r/t),"em")}:{},i,g)},O={h1:C(u,96,1.167,-1.5),h2:C(u,60,1.2,-.5),h3:C(s,48,1.167,0),h4:C(s,34,1.235,.25),h5:C(s,24,1.334,0),h6:C(d,20,1.6,.15),subtitle1:C(s,16,1.75,.15),subtitle2:C(d,14,1.57,.1),body1:C(s,16,1.5,.15),body2:C(s,14,1.43,.15),button:C(d,14,1.75,.4,rJ),caption:C(s,12,1.66,.4),overline:C(s,12,2.66,1,rJ),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return e$(D({htmlFontSize:h,pxToRem:w,fontFamily:o,fontSize:a,fontWeightLight:u,fontWeightRegular:s,fontWeightMedium:d,fontWeightBold:m},O),b,{clone:!1})}function r2(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return["".concat(t[0],"px ").concat(t[1],"px ").concat(t[2],"px ").concat(t[3],"px rgba(0,0,0,",.2,")"),"".concat(t[4],"px ").concat(t[5],"px ").concat(t[6],"px ").concat(t[7],"px rgba(0,0,0,",.14,")"),"".concat(t[8],"px ").concat(t[9],"px ").concat(t[10],"px ").concat(t[11],"px rgba(0,0,0,",.12,")")].join(",")}var r5=["none",r2(0,2,1,-1,0,1,1,0,0,1,3,0),r2(0,3,1,-2,0,2,2,0,0,1,5,0),r2(0,3,3,-2,0,3,4,0,0,1,8,0),r2(0,2,4,-1,0,4,5,0,0,1,10,0),r2(0,3,5,-1,0,5,8,0,0,1,14,0),r2(0,3,5,-1,0,6,10,0,0,1,18,0),r2(0,4,5,-2,0,7,10,1,0,2,16,1),r2(0,5,5,-3,0,8,10,1,0,3,14,2),r2(0,5,6,-3,0,9,12,1,0,3,16,2),r2(0,6,6,-3,0,10,14,1,0,4,18,3),r2(0,6,7,-4,0,11,15,1,0,4,20,3),r2(0,7,8,-4,0,12,17,2,0,5,22,4),r2(0,7,8,-4,0,13,19,2,0,5,24,4),r2(0,7,9,-4,0,14,21,2,0,5,26,4),r2(0,8,9,-5,0,15,22,2,0,6,28,5),r2(0,8,10,-5,0,16,24,2,0,6,30,5),r2(0,8,11,-5,0,17,26,2,0,6,32,5),r2(0,9,11,-5,0,18,28,2,0,7,34,6),r2(0,9,12,-6,0,19,29,2,0,7,36,6),r2(0,10,13,-6,0,20,31,3,0,8,38,7),r2(0,10,13,-6,0,21,33,3,0,8,40,7),r2(0,10,14,-6,0,22,35,3,0,8,42,7),r2(0,11,14,-7,0,23,36,3,0,9,44,8),r2(0,11,15,-7,0,24,38,3,0,9,46,8)],r3=r5;var r4=["duration","easing","delay"],r6={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)"},r7={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function r8(e){return"".concat(Math.round(e),"ms")}function r9(e){if(!e)return 0;var t=e/36;return Math.round((4+15*Math.pow(t,.25)+t/5)*10)}function oe(e){var t=D({},r6,e.easing),n=D({},r7,e.duration);return D({getAutoHeightDuration:r9,create:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var o=r.duration,i=o===void 0?n.standard:o,a=r.easing,l=a===void 0?t.easeInOut:a,u=r.delay,c=u===void 0?0:u,s=tS(r,r4);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat(typeof i=="string"?i:r8(i)," ").concat(l," ").concat(typeof c=="string"?c:r8(c))}).join(",")}},e,{easing:t,duration:n})}var ot={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},on=ot;var or=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function oo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++){n[r-1]=arguments[r]}var o=e.mixins,i=o===void 0?{}:o,a=e.palette,l=a===void 0?{}:a,u=e.transitions,c=u===void 0?{}:u,s=e.typography,p=s===void 0?{}:s,d=tS(e,or);if(e.vars)throw new Error(eJ(18));var f=rQ(l),m=rt(e),v=e$(m,{mixins:rI(m.breakpoints,i),palette:f,shadows:r3.slice(),typography:r1(f,p),transitions:oe(c),zIndex:D({},on)});return v=e$(v,d),v=n.reduce(function(e,t){return e$(e,t)},v),v.unstable_sxConfig=D({},n2,d===null||d===void 0?void 0:d.unstable_sxConfig),v.unstable_sx=function(e){return n7({sx:e,theme:this})},v}var oi=oo;import*as oa from"react";var ol=oi(),ou=ol;function oc(){var e=ru(ou);return e[tM]||e}function os(e){var t=e.props,n=e.name;return rk({props:t,name:n,defaultTheme:ou,themeId:tM})}var op=function(e){return rg(e)&&e!=="classes"};var od=rO({themeId:tM,defaultTheme:ou,rootShouldForwardProp:op}),of=od;var om=e0;var ov=te;var oh=tn;var og=ti;var oy=tl;var ob=tb;function ox(e,t){return ox=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(e,t){return e.__proto__=t,e},ox(e,t)}function ow(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ox(e,t)}import oC from"react";import oO from"react-dom";var oE={disabled:!1};import oT from"react";var ok=oT.createContext(null);var oR=function e(e){return e.scrollTop};var oM="unmounted",oS="exited",oA="entering",oj="entered",oP="exiting",oL=function(e){ow(t,e);function t(t,n){var r;r=e.call(this,t,n)||this;var o=n,i=o&&!o.isMounting?t.enter:t.appear,a;return r.appearStatus=null,t.in?i?(a=oS,r.appearStatus=oA):a=oj:t.unmountOnExit||t.mountOnEnter?a=oM:a=oS,r.state={status:a},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){var n=e.in;return n&&t.status===oM?{status:oS}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==oA&&n!==oj&&(t=oA):(n===oA||n===oj)&&(t=oP)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t,n,r;return t=n=r=e,e!=null&&typeof e!="number"&&(t=e.exit,n=e.enter,r=e.appear!==void 0?e.appear:n),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===oA){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:oO.findDOMNode(this);n&&oR(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===oS&&this.setState({status:oM})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[oO.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),u=r?l.appear:l.enter;if(!e&&!n||oE.disabled){this.safeSetState({status:oj},function(){t.props.onEntered(i)});return}this.props.onEnter(i,a),this.safeSetState({status:oA},function(){t.props.onEntering(i,a),t.onTransitionEnd(u,function(){t.safeSetState({status:oj},function(){t.props.onEntered(i,a)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:oO.findDOMNode(this);if(!t||oE.disabled){this.safeSetState({status:oS},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:oP},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:oS},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:oO.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===oM)return null;var t=this.props,n=t.children,r=t.in,o=t.mountOnEnter,i=t.unmountOnExit,a=t.appear,l=t.enter,u=t.exit,c=t.timeout,s=t.addEndListener,p=t.onEnter,d=t.onEntering,f=t.onEntered,m=t.onExit,v=t.onExiting,h=t.onExited,g=t.nodeRef,y=tS(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return oC.createElement(ok.Provider,{value:null},typeof n=="function"?n(e,y):oC.cloneElement(oC.Children.only(n),y))},t}(oC.Component);oL.contextType=ok;oL.propTypes={};function o_(){}oL.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:o_,onEntering:o_,onEntered:o_,onExit:o_,onExiting:o_,onExited:o_};oL.UNMOUNTED=oM;oL.EXITED=oS;oL.ENTERING=oA;oL.ENTERED=oj;oL.EXITING=oP;var oB=oL;function oN(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}import oF from"react";import{Children as oD,cloneElement as oI,isValidElement as oV}from"react";function oW(e,t){var n=function e(e){return t&&oV(e)?t(e):e},r=Object.create(null);return e&&oD.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function oz(e,t){e=e||{},t=t||{};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var u in t){if(r[u])for(a=0;a<r[u].length;a++){var c=r[u][a];l[r[u][a]]=n(c)}l[u]=n(u)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}function oH(e,t,n){return n[t]!=null?n[t]:e.props[t]}function oK(e,t){return oW(e.children,function(n){return oI(n,{onExited:t.bind(null,n),in:!0,appear:oH(n,"appear",e),enter:oH(n,"enter",e),exit:oH(n,"exit",e)})})}function oU(e,t,n){var r=oW(e.children),o=oz(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if(oV(a)){var l=i in t,u=i in r,c=t[i],s=oV(c)&&!c.props.in;u&&(!l||s)?o[i]=oI(a,{onExited:n.bind(null,a),in:!0,exit:oH(a,"exit",e),enter:oH(a,"enter",e)}):!u&&l&&!s?o[i]=oI(a,{in:!1}):u&&l&&oV(c)&&(o[i]=oI(a,{onExited:n.bind(null,a),in:c.props.in,exit:oH(a,"exit",e),enter:oH(a,"enter",e)}))}}),o}var oX=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},oY={component:"div",childFactory:function e(e){return e}},oZ=function(e){ow(t,e);function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(oN(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited,o=t.firstRender;return{children:o?oK(e,r):oU(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=oW(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=D({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=tS(e,["component","childFactory"]),o=this.state.contextValue,i=oX(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?oF.createElement(ok.Provider,{value:o},i):oF.createElement(ok.Provider,{value:o},oF.createElement(t,r,i))},t}(oF.Component);oZ.propTypes={};oZ.defaultProps=oY;var oG=oZ;var oQ=function(e){return e.scrollTop};function oq(e,t){var n,r;var o=e.timeout,i=e.easing,a=e.style,l=a===void 0?{}:a;return{duration:(n=l.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=l.transitionTimingFunction)!=null?r:(typeof i==="undefined"?"undefined":w(i))=="object"?i[t.mode]:i,delay:l.transitionDelay}}import*as o$ from"react";import*as oJ from"react";import*as o0 from"react";import{jsx as o1}from"react/jsx-runtime";function o2(e){var t=e.className,n=e.classes,r=e.pulsate,o=r===void 0?!1:r,i=e.rippleX,a=e.rippleY,l=e.rippleSize,u=e.in,c=e.onExited,s=e.timeout,p=y(o0.useState(!1),2),d=p[0],f=p[1],m=rp(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),v={width:l,height:l,top:-(l/2)+a,left:-(l/2)+i},h=rp(n.child,d&&n.childLeaving,o&&n.childPulsate);return!u&&!d&&f(!0),o0.useEffect(function(){if(!u&&c!=null){var e=setTimeout(c,s);return function(){clearTimeout(e)}}},[c,u,s]),o1("span",{className:m,style:v,children:o1("span",{className:h})})}var o5=o2;var o3=tR("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),o4=o3;import{jsx as o6}from"react/jsx-runtime";var o7=["center","classes","className"],o8=function(e){return e},o9,ie,it,ir,io=550,ii=80,ia=V(o9||(o9=o8(_()))),il=V(ie||(ie=o8(B()))),iu=V(it||(it=o8(N()))),ic=of("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),is=of(o5,{name:"MuiTouchRipple",slot:"Ripple"})(ir||(ir=o8(F(),0,0,0,0,0,0,0,0,0,0,0,0,0,0)),o4.rippleVisible,ia,io,function(e){var t=e.theme;return t.transitions.easing.easeInOut},o4.ripplePulsate,function(e){var t=e.theme;return t.transitions.duration.shorter},o4.child,o4.childLeaving,il,io,function(e){var t=e.theme;return t.transitions.easing.easeInOut},o4.childPulsate,iu,function(e){var t=e.theme;return t.transitions.easing.easeInOut}),ip=oJ.forwardRef(function(e,t){var n=os({props:e,name:"MuiTouchRipple"}),r=n.center,o=r===void 0?!1:r,i=n.classes,a=i===void 0?{}:i,l=n.className,u=tS(n,o7),c=y(oJ.useState([]),2),s=c[0],p=c[1],d=oJ.useRef(0),f=oJ.useRef(null);oJ.useEffect(function(){f.current&&(f.current(),f.current=null)},[s]);var m=oJ.useRef(!1),v=oJ.useRef(0),h=oJ.useRef(null),g=oJ.useRef(null);oJ.useEffect(function(){return function(){v.current&&clearTimeout(v.current)}},[]);var b=oJ.useCallback(function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;p(function(e){return x(e).concat([o6(is,{classes:{ripple:rp(a.ripple,o4.ripple),rippleVisible:rp(a.rippleVisible,o4.rippleVisible),ripplePulsate:rp(a.ripplePulsate,o4.ripplePulsate),child:rp(a.child,o4.child),childLeaving:rp(a.childLeaving,o4.childLeaving),childPulsate:rp(a.childPulsate,o4.childPulsate)},timeout:io,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},d.current)])}),d.current+=1,f.current=i},[a]),w=oJ.useCallback(function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};var r=t.pulsate,i=r===void 0?!1:r,a=t.center,l=a===void 0?o||t.pulsate:a,u=t.fakeElement,c=u===void 0?!1:u;if((e===null||e===void 0?void 0:e.type)==="mousedown"&&m.current){m.current=!1;return}(e===null||e===void 0?void 0:e.type)==="touchstart"&&(m.current=!0);var s=c?null:g.current,p=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0},d,f,y;if(l||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)d=Math.round(p.width/2),f=Math.round(p.height/2);else{var x=e.touches&&e.touches.length>0?e.touches[0]:e,w=x.clientX,C=x.clientY;d=Math.round(w-p.left),f=Math.round(C-p.top)}if(l)y=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3),y%2===0&&(y+=1);else{var O=Math.max(Math.abs((s?s.clientWidth:0)-d),d)*2+2,E=Math.max(Math.abs((s?s.clientHeight:0)-f),f)*2+2;y=Math.sqrt(Math.pow(O,2)+Math.pow(E,2))}e!=null&&e.touches?h.current===null&&(h.current=function(){b({pulsate:i,rippleX:d,rippleY:f,rippleSize:y,cb:n})},v.current=setTimeout(function(){h.current&&(h.current(),h.current=null)},ii)):b({pulsate:i,rippleX:d,rippleY:f,rippleSize:y,cb:n})},[o,b]),C=oJ.useCallback(function(){w({},{pulsate:!0})},[w]),O=oJ.useCallback(function(e,t){if(clearTimeout(v.current),(e===null||e===void 0?void 0:e.type)==="touchend"&&h.current){h.current(),h.current=null,v.current=setTimeout(function(){O(e,t)});return}h.current=null,p(function(e){return e.length>0?e.slice(1):e}),f.current=t},[]);return oJ.useImperativeHandle(t,function(){return{pulsate:C,start:w,stop:O}},[C,w,O]),o6(ic,D({className:rp(o4.root,a.root,l),ref:g},u,{children:o6(oG,{component:null,exit:!0,children:s})}))}),id=ip;function im(e){return tk("MuiButtonBase",e)}var iv=tR("MuiButtonBase",["root","disabled","focusVisible"]),ih=iv;import{jsx as ig}from"react/jsx-runtime";import{jsxs as iy}from"react/jsx-runtime";var ib;var ix=["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"],iw=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i=tx({root:["root",t&&"disabled",n&&"focusVisible"]},im,o);return n&&r&&(i.root+=" ".concat(r)),i},iC=of("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((ib={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"}},u(ib,"&.".concat(ih.disabled),{pointerEvents:"none",cursor:"default"}),u(ib,"@media print",{colorAdjust:"exact"}),ib)),iO=o$.forwardRef(function(e,t){var n=os({props:e,name:"MuiButtonBase"}),r=n.action,o=n.centerRipple,i=o===void 0?!1:o,a=n.children,l=n.className,u=n.component,c=u===void 0?"button":u,s=n.disabled,p=s===void 0?!1:s,d=n.disableRipple,f=d===void 0?!1:d,m=n.disableTouchRipple,v=m===void 0?!1:m,h=n.focusRipple,g=h===void 0?!1:h,b=n.LinkComponent,x=b===void 0?"a":b,w=n.onBlur,C=n.onClick,O=n.onContextMenu,E=n.onDragLeave,T=n.onFocus,k=n.onFocusVisible,R=n.onKeyDown,M=n.onKeyUp,S=n.onMouseDown,A=n.onMouseLeave,j=n.onMouseUp,P=n.onTouchEnd,L=n.onTouchMove,_=n.onTouchStart,B=n.tabIndex,N=B===void 0?0:B,F=n.TouchRippleProps,I=n.touchRippleRef,V=n.type,W=tS(n,ix),z=o$.useRef(null),H=o$.useRef(null),K=oy(H,I),U=ob(),X=U.isFocusVisibleRef,Y=U.onFocus,Z=U.onBlur,G=U.ref,Q=y(o$.useState(!1),2),q=Q[0],$=Q[1];p&&q&&$(!1),o$.useImperativeHandle(r,function(){return{focusVisible:function(){$(!0),z.current.focus()}}},[]);var J=y(o$.useState(!1),2),ee=J[0],et=J[1];o$.useEffect(function(){et(!0)},[]);var en=ee&&!f&&!p;o$.useEffect(function(){q&&g&&!f&&ee&&H.current.pulsate()},[f,g,q,ee]);function er(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v;return og(function(r){return t&&t(r),!n&&H.current&&H.current[e](r),!0})}var eo=er("start",S),ei=er("stop",O),ea=er("stop",E),el=er("stop",j),eu=er("stop",function(e){q&&e.preventDefault(),A&&A(e)}),ec=er("start",_),es=er("stop",P),ep=er("stop",L),ed=er("stop",function(e){Z(e),X.current===!1&&$(!1),w&&w(e)},!1),ef=og(function(e){z.current||(z.current=e.currentTarget),Y(e),X.current===!0&&($(!0),k&&k(e)),T&&T(e)}),em=function(){var e=z.current;return c&&c!=="button"&&!(e.tagName==="A"&&e.href)},ev=o$.useRef(!1),eh=og(function(e){g&&!ev.current&&q&&H.current&&e.key===" "&&(ev.current=!0,H.current.stop(e,function(){H.current.start(e)})),e.target===e.currentTarget&&em()&&e.key===" "&&e.preventDefault(),R&&R(e),e.target===e.currentTarget&&em()&&e.key==="Enter"&&!p&&(e.preventDefault(),C&&C(e))}),eg=og(function(e){g&&e.key===" "&&H.current&&q&&!e.defaultPrevented&&(ev.current=!1,H.current.stop(e,function(){H.current.pulsate(e)})),M&&M(e),C&&e.target===e.currentTarget&&em()&&e.key===" "&&!e.defaultPrevented&&C(e)}),ey=c;ey==="button"&&(W.href||W.to)&&(ey=x);var eb={};ey==="button"?(eb.type=V===void 0?"button":V,eb.disabled=p):(!W.href&&!W.to&&(eb.role="button"),p&&(eb["aria-disabled"]=p));var ex=oy(t,G,z),ew=D({},n,{centerRipple:i,component:c,disabled:p,disableRipple:f,disableTouchRipple:v,focusRipple:g,tabIndex:N,focusVisible:q}),eC=iw(ew);return iy(iC,D({as:ey,className:rp(eC.root,l),ownerState:ew,onBlur:ed,onClick:C,onContextMenu:ei,onFocus:ef,onKeyDown:eh,onKeyUp:eg,onMouseDown:eo,onMouseLeave:eu,onMouseUp:el,onDragLeave:ea,onTouchEnd:es,onTouchMove:ep,onTouchStart:ec,ref:ex,tabIndex:p?-1:N,type:V},eb,W,{children:[a,en?ig(id,D({ref:K,center:i},F)):null]}))}),iE=iO;import*as iT from"react";function ik(e){return tk("MuiIconButton",e)}var iR=tR("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),iM=iR;import{jsx as iS}from"react/jsx-runtime";var iA=["edge","children","className","color","disabled","disableFocusRipple","size"],ij=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled",r!=="default"&&"color".concat(om(r)),o&&"edge".concat(om(o)),"size".concat(om(i))]};return tx(a,ik,t)},iP=of(iE,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.color!=="default"&&t["color".concat(om(n.color))],n.edge&&t["edge".concat(om(n.edge))],t["size".concat(om(n.size))]]}})(function(e){var t=e.theme,n=e.ownerState;return D({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,")"):rN(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},n.edge==="start"&&{marginLeft:n.size==="small"?-3:-12},n.edge==="end"&&{marginRight:n.size==="small"?-3:-12})},function(e){var t=e.theme,n=e.ownerState;var r;var o=(r=(t.vars||t).palette)==null?void 0:r[n.color];return D({},n.color==="inherit"&&{color:"inherit"},n.color!=="inherit"&&n.color!=="default"&&D({color:o===null||o===void 0?void 0:o.main},!n.disableRipple&&{"&:hover":D({},o&&{backgroundColor:t.vars?"rgba(".concat(o.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):rN(o.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),n.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},n.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},u({},"&.".concat(iM.disabled),{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}))}),iL=iT.forwardRef(function(e,t){var n=os({props:e,name:"MuiIconButton"}),r=n.edge,o=r===void 0?!1:r,i=n.children,a=n.className,l=n.color,u=l===void 0?"default":l,c=n.disabled,s=c===void 0?!1:c,p=n.disableFocusRipple,d=p===void 0?!1:p,f=n.size,m=f===void 0?"medium":f,v=tS(n,iA),h=D({},n,{edge:o,color:u,disabled:s,disableFocusRipple:d,size:m}),g=ij(h);return iS(iP,D({className:rp(g.root,a),centerRipple:!0,focusRipple:!d,disabled:s,ref:t,ownerState:h},v,{children:i}))}),i_=iL;function iB(e){return typeof e=="string"}function iN(e,t,n){return e===void 0||iB(e)?t:D({},t,{ownerState:D({},t.ownerState,n)})}import*as iF from"react";import{jsx as iD}from"react/jsx-runtime";var iI={disableDefaultClasses:!1},iV=iF.createContext(iI);function iW(e){var t=iF.useContext(iV),n=t.disableDefaultClasses;return function(t){return n?"":e(t)}}function iz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(e===void 0)return{};var n={};return Object.keys(e).filter(function(n){return n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)}).forEach(function(t){n[t]=e[t]}),n}function iH(e,t,n){return typeof e=="function"?e(t,n):e}function iK(e){if(e===void 0)return{};var t={};return Object.keys(e).filter(function(t){return!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")}).forEach(function(n){t[n]=e[n]}),t}function iU(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,i=e.className;if(!t){var a=rp(n===null||n===void 0?void 0:n.className,i,o===null||o===void 0?void 0:o.className,r===null||r===void 0?void 0:r.className),l=D({},n===null||n===void 0?void 0:n.style,o===null||o===void 0?void 0:o.style,r===null||r===void 0?void 0:r.style),u=D({},n,o,r);return a.length>0&&(u.className=a),Object.keys(l).length>0&&(u.style=l),{props:u,internalRef:void 0}}var c=iz(D({},o,r)),s=iK(r),p=iK(o),d=t(c),f=rp(d===null||d===void 0?void 0:d.className,n===null||n===void 0?void 0:n.className,i,o===null||o===void 0?void 0:o.className,r===null||r===void 0?void 0:r.className),m=D({},d===null||d===void 0?void 0:d.style,n===null||n===void 0?void 0:n.style,o===null||o===void 0?void 0:o.style,r===null||r===void 0?void 0:r.style),v=D({},d,n,p,s);return f.length>0&&(v.className=f),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:d.ref}}var iX=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function iY(e){var t;var n=e.elementType,r=e.externalSlotProps,o=e.ownerState,i=e.skipResolvingSlotProps,a=i===void 0?!1:i,l=tS(e,iX),u=a?{}:iH(r,o),c=iU(D({},l,{externalSlotProps:u})),s=c.props,p=c.internalRef,d=tl(p,u===null||u===void 0?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return iN(n,D({},s,{ref:d}),o)}import*as iZ from"react";var iG="top",iQ="bottom",iq="right",i$="left",iJ="auto",i0=[iG,iQ,iq,i$],i1="start",i2="end",i5="clippingParents",i3="viewport",i4="popper",i6="reference",i7=i0.reduce(function(e,t){return e.concat([t+"-"+i1,t+"-"+i2])},[]),i8=[].concat(i0,[iJ]).reduce(function(e,t){return e.concat([t,t+"-"+i1,t+"-"+i2])},[]),i9="beforeRead",ae="read",at="afterRead",an="beforeMain",ar="main",ao="afterMain",ai="beforeWrite",aa="write",al="afterWrite",au=[i9,ae,at,an,ar,ao,ai,aa,al];function ac(e){return e?(e.nodeName||"").toLowerCase():null}function as(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ap(e){var t=as(e).Element;return p(e,t)||p(e,Element)}function ad(e){var t=as(e).HTMLElement;return p(e,t)||p(e,HTMLElement)}function af(e){if((typeof ShadowRoot==="undefined"?"undefined":w(ShadowRoot))>"u")return!1;var t=as(e).ShadowRoot;return p(e,t)||p(e,ShadowRoot)}function am(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!ad(o)||!ac(o)||(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?o.removeAttribute(e):o.setAttribute(e,t===!0?"":t)}))})}function av(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});!ad(r)||!ac(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}}var ah={name:"applyStyles",enabled:!0,phase:"write",fn:am,effect:av,requires:["computeStyles"]};function ag(e){return e.split("-")[0]}var ay=Math.max,ab=Math.min,ax=Math.round;function aw(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function aC(){return!/^((?!chrome|android).)*safari/i.test(aw())}function aO(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&ad(e)&&(o=e.offsetWidth>0&&ax(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&ax(r.height)/e.offsetHeight||1);var a=ap(e)?as(e):window,l=a.visualViewport,u=!aC()&&n,c=(r.left+(u&&l?l.offsetLeft:0))/o,s=(r.top+(u&&l?l.offsetTop:0))/i,p=r.width/o,d=r.height/i;return{width:p,height:d,top:s,right:c+p,bottom:s+d,left:c,x:c,y:s}}function aE(e){var t=aO(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 aT(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&af(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ak(e){return as(e).getComputedStyle(e)}function aR(e){return["table","td","th"].indexOf(ac(e))>=0}function aM(e){return((ap(e)?e.ownerDocument:e.document)||window.document).documentElement}function aS(e){return ac(e)==="html"?e:e.assignedSlot||e.parentNode||(af(e)?e.host:null)||aM(e)}function aA(e){return!ad(e)||ak(e).position==="fixed"?null:e.offsetParent}function aj(e){var t=/firefox/i.test(aw()),n=/Trident/i.test(aw());if(n&&ad(e)){var r=ak(e);if(r.position==="fixed")return null}var o=aS(e);for(af(o)&&(o=o.host);ad(o)&&["html","body"].indexOf(ac(o))<0;){var i=ak(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function aP(e){for(var t=as(e),n=aA(e);n&&aR(n)&&ak(n).position==="static";)n=aA(n);return n&&(ac(n)==="html"||ac(n)==="body"&&ak(n).position==="static")?t:n||aj(e)||t}function aL(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function a_(e,t,n){return ay(e,ab(t,n))}function aB(e,t,n){var r=a_(e,t,n);return r>n?n:r}function aN(){return{top:0,right:0,bottom:0,left:0}}function aF(e){return Object.assign({},aN(),e)}function aD(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var aI=function e(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,aF(typeof e!="number"?e:aD(e,i0))};function aV(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=ag(n.placement),u=aL(l),c=[i$,iq].indexOf(l)>=0,s=c?"height":"width";if(!(!i||!a)){var p=aI(o.padding,n),d=aE(i),f=u==="y"?iG:i$,m=u==="y"?iQ:iq,v=n.rects.reference[s]+n.rects.reference[u]-a[u]-n.rects.popper[s],h=a[u]-n.rects.reference[u],g=aP(i),y=g?u==="y"?g.clientHeight||0:g.clientWidth||0:0,b=v/2-h/2,x=p[f],w=y-d[s]-p[m],C=y/2-d[s]/2+b,O=a_(x,C,w),E=u;n.modifiersData[r]=(t={},t[E]=O,t.centerOffset=O-C,t)}}function aW(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||aT(t.elements.popper,o)&&(t.elements.arrow=o))}var az={name:"arrow",enabled:!0,phase:"main",fn:aV,effect:aW,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function aH(e){return e.split("-")[1]}var aK={top:"auto",right:"auto",bottom:"auto",left:"auto"};function aU(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ax(n*o)/o||0,y:ax(r*o)/o||0}}function aX(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,s=e.roundOffsets,p=e.isFixed,d=a.x,f=d===void 0?0:d,m=a.y,v=m===void 0?0:m,h=typeof s=="function"?s({x:f,y:v}):{x:f,y:v};f=h.x,v=h.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=i$,x=iG,w=window;if(c){var C=aP(n),O="clientHeight",E="clientWidth";if(C===as(n)&&(C=aM(n),ak(C).position!=="static"&&l==="absolute"&&(O="scrollHeight",E="scrollWidth")),C=C,o===iG||(o===i$||o===iq)&&i===i2){x=iQ;var T=p&&C===w&&w.visualViewport?w.visualViewport.height:C[O];v-=T-r.height,v*=u?1:-1}if(o===i$||(o===iG||o===iQ)&&i===i2){b=iq;var k=p&&C===w&&w.visualViewport?w.visualViewport.width:C[E];f-=k-r.width,f*=u?1:-1}}var R=Object.assign({position:l},c&&aK),M=s===!0?aU({x:f,y:v},as(n)):{x:f,y:v};if(f=M.x,v=M.y,u){var S;return Object.assign({},R,(S={},S[x]=y?"0":"",S[b]=g?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",S))}return Object.assign({},R,(t={},t[x]=y?v+"px":"",t[b]=g?f+"px":"",t.transform="",t))}function aY(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,u=l===void 0?!0:l,c={placement:ag(t.placement),variation:aH(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,aX(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,aX(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})}var aZ={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:aY,data:{}};var aG={passive:!0};function aQ(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,u=as(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,aG)}),l&&u.addEventListener("resize",n.update,aG),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,aG)}),l&&u.removeEventListener("resize",n.update,aG)}}var aq={name:"eventListeners",enabled:!0,phase:"write",fn:function e(){},effect:aQ,data:{}};var a$={left:"right",right:"left",bottom:"top",top:"bottom"};function aJ(e){return e.replace(/left|right|bottom|top/g,function(e){return a$[e]})}var a0={start:"end",end:"start"};function a1(e){return e.replace(/start|end/g,function(e){return a0[e]})}function a2(e){var t=as(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function a5(e){return aO(aM(e)).left+a2(e).scrollLeft}function a3(e,t){var n=as(e),r=aM(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,u=0;if(o){i=o.width,a=o.height;var c=aC();(c||!c&&t==="fixed")&&(l=o.offsetLeft,u=o.offsetTop)}return{width:i,height:a,x:l+a5(e),y:u}}function a4(e){var t,n=aM(e),r=a2(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ay(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ay(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+a5(e),u=-r.scrollTop;return ak(o||n).direction==="rtl"&&(l+=ay(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:u}}function a6(e){var t=ak(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function a7(e){return["html","body","#document"].indexOf(ac(e))>=0?e.ownerDocument.body:ad(e)&&a6(e)?e:a7(aS(e))}function a8(e,t){var n;t===void 0&&(t=[]);var r=a7(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=as(r),a=o?[i].concat(i.visualViewport||[],a6(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(a8(aS(a)))}function a9(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function le(e,t){var n=aO(e,!1,t==="fixed");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}function lt(e,t,n){return t===i3?a9(a3(e,n)):ap(t)?le(t,n):a9(a4(aM(e)))}function ln(e){var t=a8(aS(e)),n=["absolute","fixed"].indexOf(ak(e).position)>=0,r=n&&ad(e)?aP(e):e;return ap(r)?t.filter(function(e){return ap(e)&&aT(e,r)&&ac(e)!=="body"}):[]}function lr(e,t,n,r){var o=t==="clippingParents"?ln(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(t,n){var o=lt(e,n,r);return t.top=ay(o.top,t.top),t.right=ab(o.right,t.right),t.bottom=ab(o.bottom,t.bottom),t.left=ay(o.left,t.left),t},lt(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function lo(e){var t=e.reference,n=e.element,r=e.placement,o=r?ag(r):null,i=r?aH(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,u;switch(o){case iG:u={x:a,y:t.y-n.height};break;case iQ:u={x:a,y:t.y+t.height};break;case iq:u={x:t.x+t.width,y:l};break;case i$:u={x:t.x-n.width,y:l};break;default:u={x:t.x,y:t.y}}var c=o?aL(o):null;if(c!=null){var s=c==="y"?"height":"width";switch(i){case i1:u[c]=u[c]-(t[s]/2-n[s]/2);break;case i2:u[c]=u[c]+(t[s]/2-n[s]/2);break;default:}}return u}function li(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,l=n.boundary,u=l===void 0?i5:l,c=n.rootBoundary,s=c===void 0?i3:c,p=n.elementContext,d=p===void 0?i4:p,f=n.altBoundary,m=f===void 0?!1:f,v=n.padding,h=v===void 0?0:v,g=aF(typeof h!="number"?h:aD(h,i0)),y=d===i4?i6:i4,b=e.rects.popper,x=e.elements[m?y:d],w=lr(ap(x)?x:x.contextElement||aM(e.elements.popper),u,s,a),C=aO(e.elements.reference),O=lo({reference:C,element:b,strategy:"absolute",placement:o}),E=a9(Object.assign({},b,O)),T=d===i4?E:C,k={top:w.top-T.top+g.top,bottom:T.bottom-w.bottom+g.bottom,left:w.left-T.left+g.left,right:T.right-w.right+g.right},R=e.modifiersData.offset;if(d===i4&&R){var M=R[o];Object.keys(k).forEach(function(e){var t=[iq,iQ].indexOf(e)>=0?1:-1,n=[iG,iQ].indexOf(e)>=0?"y":"x";k[e]+=M[n]*t})}return k}function la(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,c=u===void 0?i8:u,s=aH(r),p=s?l?i7:i7.filter(function(e){return aH(e)===s}):i0,d=p.filter(function(e){return c.indexOf(e)>=0});d.length===0&&(d=p);var f=d.reduce(function(t,n){return t[n]=li(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ag(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}function ll(e){if(ag(e)===iJ)return[];var t=aJ(e);return[a1(e),t,a1(t)]}function lu(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,u=n.fallbackPlacements,c=n.padding,s=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,m=f===void 0?!0:f,v=n.allowedAutoPlacements,h=t.options.placement,g=ag(h),y=g===h,b=u||(y||!m?[aJ(h)]:ll(h)),x=[h].concat(b).reduce(function(e,n){return e.concat(ag(n)===iJ?la(t,{placement:n,boundary:s,rootBoundary:p,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)},[]),w=t.rects.reference,C=t.rects.popper,O=new Map,E=!0,T=x[0],k=0;k<x.length;k++){var R=x[k],M=ag(R),S=aH(R)===i1,A=[iG,iQ].indexOf(M)>=0,j=A?"width":"height",P=li(t,{placement:R,boundary:s,rootBoundary:p,altBoundary:d,padding:c}),L=A?S?iq:i$:S?iQ:iG;w[j]>C[j]&&(L=aJ(L));var _=aJ(L),B=[];if(i&&B.push(P[M]<=0),l&&B.push(P[L]<=0,P[_]<=0),B.every(function(e){return e})){T=R,E=!1;break}O.set(R,B)}if(E)for(var N=m?3:1,F=function e(e){var t=x.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return T=t,"break"},D=N;D>0;D--){var I=F(D);if(I==="break")break}t.placement!==T&&(t.modifiersData[r]._skip=!0,t.placement=T,t.reset=!0)}}var lc={name:"flip",enabled:!0,phase:"main",fn:lu,requiresIfExists:["offset"],data:{_skip:!1}};function ls(e,t,n){return n===void 0&&(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 lp(e){return[iG,iq,iQ,i$].some(function(t){return e[t]>=0})}function ld(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=li(t,{elementContext:"reference"}),l=li(t,{altBoundary:!0}),u=ls(a,r),c=ls(l,o,i),s=lp(u),p=lp(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":p})}var lf={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ld};function lm(e,t,n){var r=ag(e),o=[i$,iG].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[i$,iq].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function lv(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=i8.reduce(function(e,n){return e[n]=lm(n,t.rects,i),e},{}),l=a[t.placement],u=l.x,c=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}var lh={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:lv};function lg(e){var t=e.state,n=e.name;t.modifiersData[n]=lo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var ly={name:"popperOffsets",enabled:!0,phase:"read",fn:lg,data:{}};function lb(e){return e==="x"?"y":"x"}function lx(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,u=n.boundary,c=n.rootBoundary,s=n.altBoundary,p=n.padding,d=n.tether,f=d===void 0?!0:d,m=n.tetherOffset,v=m===void 0?0:m,h=li(t,{boundary:u,rootBoundary:c,padding:p,altBoundary:s}),g=ag(t.placement),y=aH(t.placement),b=!y,x=aL(g),w=lb(x),C=t.modifiersData.popperOffsets,O=t.rects.reference,E=t.rects.popper,T=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,k=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(C){if(i){var S,A=x==="y"?iG:i$,j=x==="y"?iQ:iq,P=x==="y"?"height":"width",L=C[x],_=L+h[A],B=L-h[j],N=f?-E[P]/2:0,F=y===i1?O[P]:E[P],D=y===i1?-E[P]:-O[P],I=t.elements.arrow,V=f&&I?aE(I):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:aN(),z=W[A],H=W[j],K=a_(0,O[P],V[P]),U=b?O[P]/2-N-K-z-k.mainAxis:F-K-z-k.mainAxis,X=b?-O[P]/2+N+K+H+k.mainAxis:D+K+H+k.mainAxis,Y=t.elements.arrow&&aP(t.elements.arrow),Z=Y?x==="y"?Y.clientTop||0:Y.clientLeft||0:0,G=(S=R===null||R===void 0?void 0:R[x])!=null?S:0,Q=L+U-G-Z,q=L+X-G,$=a_(f?ab(_,Q):_,L,f?ay(B,q):B);C[x]=$,M[x]=$-L}if(l){var J,ee=x==="x"?iG:i$,et=x==="x"?iQ:iq,en=C[w],er=w==="y"?"height":"width",eo=en+h[ee],ei=en-h[et],ea=[iG,i$].indexOf(g)!==-1,el=(J=R===null||R===void 0?void 0:R[w])!=null?J:0,eu=ea?eo:en-O[er]-E[er]-el+k.altAxis,ec=ea?en+O[er]+E[er]-el-k.altAxis:ei,es=f&&ea?aB(eu,en,ec):a_(f?eu:eo,en,f?ec:ei);C[w]=es,M[w]=es-en}t.modifiersData[r]=M}}var lw={name:"preventOverflow",enabled:!0,phase:"main",fn:lx,requiresIfExists:["offset"]};function lC(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function lO(e){return e===as(e)||!ad(e)?a2(e):lC(e)}function lE(e){var t=e.getBoundingClientRect(),n=ax(t.width)/e.offsetWidth||1,r=ax(t.height)/e.offsetHeight||1;return n!==1||r!==1}function lT(e,t,n){n===void 0&&(n=!1);var r=ad(t),o=ad(t)&&lE(t),i=aM(t),a=aO(e,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((ac(t)!=="body"||a6(i))&&(l=lO(t)),ad(t)?(u=aO(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=a5(i))),{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}function lk(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function o(e){n.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||o(e)}),r}function lR(e){var t=lk(e);return au.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function lM(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function lS(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var lA={placement:"bottom",modifiers:[],strategy:"absolute"};function lj(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&typeof e.getBoundingClientRect=="function")})}function lP(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?lA:o;return function(e,t,n){n===void 0&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},lA,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,u={state:o,setOptions:function n(n){var a=typeof n=="function"?n(o.options):n;s(),o.options=Object.assign({},i,o.options,a),o.scrollParents={reference:ap(e)?a8(e):e.contextElement?a8(e.contextElement):[],popper:a8(t)};var l=lR(lS([].concat(r,o.options.modifiers)));return o.orderedModifiers=l.filter(function(e){return e.enabled}),c(),u.update()},forceUpdate:function e(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(lj(t,n)){o.rects={reference:lT(t,aP(n),o.options.strategy==="fixed"),popper:aE(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<o.orderedModifiers.length;r++){if(o.reset===!0){o.reset=!1,r=-1;continue}var i=o.orderedModifiers[r],a=i.fn,c=i.options,s=c===void 0?{}:c,p=i.name;typeof a=="function"&&(o=a({state:o,options:s,name:p,instance:u})||o)}}}},update:lM(function(){return new Promise(function(e){u.forceUpdate(),e(o)})}),destroy:function e(){s(),l=!0}};if(!lj(e,t))return u;u.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)});function c(){o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,i=e.effect;if(typeof i=="function"){var l=i({state:o,name:t,instance:u,options:r}),c=function e(){};a.push(l||c)}})}function s(){a.forEach(function(e){return e()}),a=[]}return u}}var lL=[aq,ly,aZ,ah,lh,lc,lw,az,lf],l_=lP({defaultModifiers:lL});import*as lB from"react";import*as lN from"react-dom";import{jsx as lF}from"react/jsx-runtime";function lD(e){return typeof e=="function"?e():e}var lI=lB.forwardRef(function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=o===void 0?!1:o,a=y(lB.useState(null),2),l=a[0],u=a[1],c=tl(lB.isValidElement(n)?n.ref:null,t);return e4(function(){i||u(lD(r)||document.body)},[r,i]),e4(function(){if(l&&!i)return e2(t,l),function(){e2(t,null)}},[t,l,i]),i?lB.isValidElement(n)?lB.cloneElement(n,{ref:c}):lF(lB.Fragment,{children:n}):lF(lB.Fragment,{children:l&&lN.createPortal(n,l)})});function lV(e){return tk("MuiPopper",e)}var lW=tR("MuiPopper",["root"]);import{jsx as lz}from"react/jsx-runtime";var lH=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],lK=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function lU(e,t){if(t==="ltr")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}}function lX(e){return typeof e=="function"?e():e}function lY(e){return e.nodeType!==void 0}var lZ=function(){return tx({root:["root"]},iW(lV))},lG={},lQ=iZ.forwardRef(function(e,t){var n;var r=e.anchorEl,o=e.children,i=e.direction,a=e.disablePortal,l=e.modifiers,u=e.open,c=e.placement,s=e.popperOptions,p=e.popperRef,d=e.slotProps,f=d===void 0?{}:d,m=e.slots,v=m===void 0?{}:m,h=e.TransitionProps,g=tS(e,lH),b=iZ.useRef(null),x=tl(b,t),w=iZ.useRef(null),C=tl(w,p),O=iZ.useRef(C);e4(function(){O.current=C},[C]),iZ.useImperativeHandle(p,function(){return w.current},[]);var E=lU(c,i),T=y(iZ.useState(E),2),k=T[0],R=T[1],M=y(iZ.useState(lX(r)),2),S=M[0],A=M[1];iZ.useEffect(function(){w.current&&w.current.forceUpdate()}),iZ.useEffect(function(){r&&A(lX(r))},[r]),e4(function(){if(!S||!u)return;var e=function(e){R(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(t){var n=t.state;e(n)}}];l!=null&&(t=t.concat(l)),s&&s.modifiers!=null&&(t=t.concat(s.modifiers));var n=l_(S,b.current,D({placement:E},s,{modifiers:t}));return O.current(n),function(){n.destroy(),O.current(null)}},[S,a,l,u,s,E]);var j={placement:k};h!==null&&(j.TransitionProps=h);var P=lZ(),L=(n=v.root)!=null?n:"div",_=iY({elementType:L,externalSlotProps:f.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:P.root});return lz(L,D({},_,{children:typeof o=="function"?o(j):o}))}),lq=iZ.forwardRef(function(e,t){var n=e.anchorEl,r=e.children,o=e.container,i=e.direction,a=i===void 0?"ltr":i,l=e.disablePortal,u=l===void 0?!1:l,c=e.keepMounted,s=c===void 0?!1:c,p=e.modifiers,d=e.open,f=e.placement,m=f===void 0?"bottom":f,v=e.popperOptions,h=v===void 0?lG:v,g=e.popperRef,b=e.style,x=e.transition,w=x===void 0?!1:x,C=e.slotProps,O=C===void 0?{}:C,E=e.slots,T=E===void 0?{}:E,k=tS(e,lK),R=y(iZ.useState(!0),2),M=R[0],S=R[1],A=function(){S(!1)},j=function(){S(!0)};if(!s&&!d&&(!w||M))return null;var P;if(o)P=o;else if(n){var L=lX(n);P=L&&lY(L)?e1(L).body:e1(null).body}var _=!d&&s&&(!w||M)?"none":void 0,B=w?{in:d,onEnter:A,onExited:j}:void 0;return lz(lI,{disablePortal:u,container:P,children:lz(lQ,D({anchorEl:n,direction:a,disablePortal:u,modifiers:p,ref:t,open:w?!M:d,placement:m,popperOptions:h,popperRef:g,slotProps:O,slots:T},k,{style:D({position:"fixed",top:0,left:0,display:_},b),TransitionProps:B,children:r}))})});import*as l$ from"react";import{jsx as lJ}from"react/jsx-runtime";var l0=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],l1=of(lq,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),l2=l$.forwardRef(function(e,t){var n;var r=ri(),o=os({props:e,name:"MuiPopper"}),i=o.anchorEl,a=o.component,l=o.components,u=o.componentsProps,c=o.container,s=o.disablePortal,p=o.keepMounted,d=o.modifiers,f=o.open,m=o.placement,v=o.popperOptions,h=o.popperRef,g=o.transition,y=o.slots,b=o.slotProps,x=tS(o,l0),w=(n=y===null||y===void 0?void 0:y.root)!=null?n:l===null||l===void 0?void 0:l.Root,C=D({anchorEl:i,container:c,disablePortal:s,keepMounted:p,modifiers:d,open:f,placement:m,popperOptions:v,popperRef:h,transition:g},x);return lJ(l1,D({as:a,direction:r===null||r===void 0?void 0:r.direction,slots:{root:w},slotProps:b!==null&&b!==void 0?b:u},C,{ref:t}))}),l5=l2;import*as l3 from"react";import{jsx as l4}from"react/jsx-runtime";var l6=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function l7(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var l8={entering:{opacity:1,transform:l7(1)},entered:{opacity:1,transform:"none"}},l9=(typeof navigator==="undefined"?"undefined":w(navigator))<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ue=l3.forwardRef(function(e,t){var n=e.addEndListener,r=e.appear,o=r===void 0?!0:r,i=e.children,a=e.easing,l=e.in,u=e.onEnter,c=e.onEntered,s=e.onEntering,p=e.onExit,d=e.onExited,f=e.onExiting,m=e.style,v=e.timeout,h=v===void 0?"auto":v,g=e.TransitionComponent,y=g===void 0?oB:g,b=tS(e,l6),x=l3.useRef(),w=l3.useRef(),C=oc(),O=l3.useRef(null),E=oy(O,i.ref,t),T=function(e){return function(t){if(e){var n=O.current;t===void 0?e(n):e(n,t)}}},k=T(s),R=T(function(e,t){oQ(e);var n=oq({style:m,timeout:h,easing:a},{mode:"enter"}),r=n.duration,o=n.delay,i=n.easing,l;h==="auto"?(l=C.transitions.getAutoHeightDuration(e.clientHeight),w.current=l):l=r,e.style.transition=[C.transitions.create("opacity",{duration:l,delay:o}),C.transitions.create("transform",{duration:l9?l:l*.666,delay:o,easing:i})].join(","),u&&u(e,t)}),M=T(c),S=T(f),A=T(function(e){var t=oq({style:m,timeout:h,easing:a},{mode:"exit"}),n=t.duration,r=t.delay,o=t.easing,i;h==="auto"?(i=C.transitions.getAutoHeightDuration(e.clientHeight),w.current=i):i=n,e.style.transition=[C.transitions.create("opacity",{duration:i,delay:r}),C.transitions.create("transform",{duration:l9?i:i*.666,delay:l9?r:r||i*.333,easing:o})].join(","),e.style.opacity=0,e.style.transform=l7(.75),p&&p(e)}),j=T(d),P=function(e){h==="auto"&&(x.current=setTimeout(e,w.current||0)),n&&n(O.current,e)};return l3.useEffect(function(){return function(){clearTimeout(x.current)}},[]),l4(y,D({appear:o,in:l,nodeRef:O,onEnter:R,onEntered:M,onEntering:k,onExit:A,onExited:j,onExiting:S,addEndListener:P,timeout:h==="auto"?null:h},b,{children:function(e,t){return l3.cloneElement(i,D({style:D({opacity:0,transform:l7(.75),visibility:e==="exited"&&!l?"hidden":void 0},l8[e],m,i.props.style),ref:E},t))}}))});ue.muiSupportAuto=!0;var ut=ue;import*as un from"react";function ur(e){return tk("MuiTooltip",e)}var uo=tR("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),ui=uo;import{jsx as ua}from"react/jsx-runtime";import{jsxs as ul}from"react/jsx-runtime";var uu=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function uc(e){return Math.round(e*1e5)/1e5}var us=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,o=e.touch,i=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat(om(i.split("-")[0]))],arrow:["arrow"]};return tx(a,ur,t)},up=of(l5,{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=e.theme,n=e.ownerState,r=e.open;var o;return D({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},n.arrow&&(o={},u(o,'&[data-popper-placement*="bottom"] .'.concat(ui.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),u(o,'&[data-popper-placement*="top"] .'.concat(ui.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),u(o,'&[data-popper-placement*="right"] .'.concat(ui.arrow),D({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),u(o,'&[data-popper-placement*="left"] .'.concat(ui.arrow),D({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),o))}),ud=of("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(om(n.placement.split("-")[0]))]]}})(function(e){var t=e.theme,n=e.ownerState;var r;return D({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:rN(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},n.arrow&&{position:"relative",margin:0},n.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(uc(16/14),"em"),fontWeight:t.typography.fontWeightRegular},(r={},u(r,".".concat(ui.popper,'[data-popper-placement*="left"] &'),D({transformOrigin:"right center"},n.isRtl?D({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}):D({marginRight:"14px"},n.touch&&{marginRight:"24px"}))),u(r,".".concat(ui.popper,'[data-popper-placement*="right"] &'),D({transformOrigin:"left center"},n.isRtl?D({marginRight:"14px"},n.touch&&{marginRight:"24px"}):D({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}))),u(r,".".concat(ui.popper,'[data-popper-placement*="top"] &'),D({transformOrigin:"center bottom",marginBottom:"14px"},n.touch&&{marginBottom:"24px"})),u(r,".".concat(ui.popper,'[data-popper-placement*="bottom"] &'),D({transformOrigin:"center top",marginTop:"14px"},n.touch&&{marginTop:"24px"})),r))}),uf=of("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:rN(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}}),um=!1,uv=null,uh={x:0,y:0};function ug(e,t){return function(n){t&&t(n),e(n)}}var uy=un.forwardRef(function(e,t){var n,r,o,i,a,l,u,c,s,p,d,f,m,v,h,g,b,x,w;var C=os({props:e,name:"MuiTooltip"}),O=C.arrow,E=O===void 0?!1:O,T=C.children,k=C.components,R=k===void 0?{}:k,M=C.componentsProps,S=M===void 0?{}:M,A=C.describeChild,j=A===void 0?!1:A,P=C.disableFocusListener,L=P===void 0?!1:P,_=C.disableHoverListener,B=_===void 0?!1:_,N=C.disableInteractive,F=N===void 0?!1:N,I=C.disableTouchListener,V=I===void 0?!1:I,W=C.enterDelay,z=W===void 0?100:W,H=C.enterNextDelay,K=H===void 0?0:H,U=C.enterTouchDelay,X=U===void 0?700:U,Y=C.followCursor,Z=Y===void 0?!1:Y,G=C.id,Q=C.leaveDelay,q=Q===void 0?0:Q,$=C.leaveTouchDelay,J=$===void 0?1500:$,ee=C.onClose,et=C.onOpen,en=C.open,er=C.placement,eo=er===void 0?"bottom":er,ei=C.PopperComponent,ea=C.PopperProps,el=ea===void 0?{}:ea,eu=C.slotProps,ec=eu===void 0?{}:eu,es=C.slots,ep=es===void 0?{}:es,ed=C.title,ef=C.TransitionComponent,em=ef===void 0?ut:ef,ev=C.TransitionProps,eh=tS(C,uu),eg=un.isValidElement(T)?T:ua("span",{children:T}),ey=oc(),eb=ey.direction==="rtl",ex=y(un.useState(),2),ew=ex[0],eC=ex[1],eO=y(un.useState(null),2),eE=eO[0],eT=eO[1],ek=un.useRef(!1),eR=F||Z,eM=un.useRef(),eS=un.useRef(),eA=un.useRef(),ej=un.useRef(),eP=y(oh({controlled:en,default:!1,name:"Tooltip",state:"open"}),2),eL=eP[0],e_=eP[1],eB=eL,eN=ov(G),eF=un.useRef(),eD=un.useCallback(function(){eF.current!==void 0&&(document.body.style.WebkitUserSelect=eF.current,eF.current=void 0),clearTimeout(ej.current)},[]);un.useEffect(function(){return function(){clearTimeout(eM.current),clearTimeout(eS.current),clearTimeout(eA.current),eD()}},[eD]);var eI=function(e){clearTimeout(uv),um=!0,e_(!0),et&&!eB&&et(e)},eV=og(function(e){clearTimeout(uv),uv=setTimeout(function(){um=!1},800+q),e_(!1),ee&&eB&&ee(e),clearTimeout(eM.current),eM.current=setTimeout(function(){ek.current=!1},ey.transitions.duration.shortest)}),eW=function(e){ek.current&&e.type!=="touchstart"||(ew&&ew.removeAttribute("title"),clearTimeout(eS.current),clearTimeout(eA.current),z||um&&K?eS.current=setTimeout(function(){eI(e)},um?K:z):eI(e))},ez=function(e){clearTimeout(eS.current),clearTimeout(eA.current),eA.current=setTimeout(function(){eV(e)},q)},eH=ob(),eK=eH.isFocusVisibleRef,eU=eH.onBlur,eX=eH.onFocus,eY=eH.ref,eZ=y(un.useState(!1),2),eG=eZ[1],eQ=function(e){eU(e),eK.current===!1&&(eG(!1),ez(e))},eq=function(e){ew||eC(e.currentTarget),eX(e),eK.current===!0&&(eG(!0),eW(e))},e$=function(e){ek.current=!0;var t=eg.props;t.onTouchStart&&t.onTouchStart(e)},eJ=eW,e0=ez,e1=function(e){e$(e),clearTimeout(eA.current),clearTimeout(eM.current),eD(),eF.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ej.current=setTimeout(function(){document.body.style.WebkitUserSelect=eF.current,eW(e)},X)},e2=function(e){eg.props.onTouchEnd&&eg.props.onTouchEnd(e),eD(),clearTimeout(eA.current),eA.current=setTimeout(function(){eV(e)},J)};un.useEffect(function(){var e=function e(e){(e.key==="Escape"||e.key==="Esc")&&eV(e)};if(!eB)return;return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}},[eV,eB]);var e5=oy(eg.ref,eY,eC,t);!ed&&ed!==0&&(eB=!1);var e3=un.useRef(),e4=function(e){var t=eg.props;t.onMouseMove&&t.onMouseMove(e),uh={x:e.clientX,y:e.clientY},e3.current&&e3.current.update()},e6={},e7=typeof ed=="string";j?(e6.title=!eB&&e7&&!B?ed:null,e6["aria-describedby"]=eB?eN:null):(e6["aria-label"]=e7?ed:null,e6["aria-labelledby"]=eB&&!e7?eN:null);var e8=D({},e6,eh,eg.props,{className:rp(eh.className,eg.props.className),onTouchStart:e$,ref:e5},Z?{onMouseMove:e4}:{}),e9={};V||(e8.onTouchStart=e1,e8.onTouchEnd=e2),B||(e8.onMouseOver=ug(eJ,e8.onMouseOver),e8.onMouseLeave=ug(e0,e8.onMouseLeave),eR||(e9.onMouseOver=eJ,e9.onMouseLeave=e0)),L||(e8.onFocus=ug(eq,e8.onFocus),e8.onBlur=ug(eQ,e8.onBlur),eR||(e9.onFocus=eq,e9.onBlur=eQ));var te=un.useMemo(function(){var e;var t=[{name:"arrow",enabled:!!eE,options:{element:eE,padding:4}}];return(e=el.popperOptions)!=null&&e.modifiers&&(t=t.concat(el.popperOptions.modifiers)),D({},el.popperOptions,{modifiers:t})},[eE,el]),tt=D({},C,{isRtl:eb,arrow:E,disableInteractive:eR,placement:eo,PopperComponentProp:ei,touch:ek.current}),tn=us(tt),tr=(n=(r=ep.popper)!=null?r:R.Popper)!=null?n:up,to=(o=(i=(a=ep.transition)!=null?a:R.Transition)!=null?i:em)!=null?o:ut,ti=(l=(u=ep.tooltip)!=null?u:R.Tooltip)!=null?l:ud,ta=(c=(s=ep.arrow)!=null?s:R.Arrow)!=null?c:uf,tl=iN(tr,D({},el,(p=ec.popper)!=null?p:S.popper,{className:rp(tn.popper,el===null||el===void 0?void 0:el.className,(d=(f=ec.popper)!=null?f:S.popper)==null?void 0:d.className)}),tt),tu=iN(to,D({},ev,(m=ec.transition)!=null?m:S.transition),tt),tc=iN(ti,D({},(v=ec.tooltip)!=null?v:S.tooltip,{className:rp(tn.tooltip,(h=(g=ec.tooltip)!=null?g:S.tooltip)==null?void 0:h.className)}),tt),ts=iN(ta,D({},(b=ec.arrow)!=null?b:S.arrow,{className:rp(tn.arrow,(x=(w=ec.arrow)!=null?w:S.arrow)==null?void 0:x.className)}),tt);return ul(un.Fragment,{children:[un.cloneElement(eg,e8),ua(tr,D({as:ei!==null&&ei!==void 0?ei:l5,placement:eo,anchorEl:Z?{getBoundingClientRect:function(){return{top:uh.y,left:uh.x,right:uh.x,bottom:uh.y,width:0,height:0}}}:ew,popperRef:e3,open:ew?eB:!1,id:eN,transition:!0},e9,tl,{popperOptions:te,children:function(e){var t=e.TransitionProps;return ua(to,D({timeout:ey.transitions.duration.shorter},t,tu,{children:ul(ti,D({},tc,{children:[ed,E?ua(ta,D({},ts,{ref:eT})):null]}))}))}}))]})}),ub=uy;import{Fragment as ux,jsx as uw,jsxs as uC}from"react/jsx-runtime";var uO=/*#__PURE__*/function(e){"use strict";s(t,e);function t(e){i(this,t);return o(this,t,[e])}l(t,[{key:"render",value:function e(){var e,t;var n=this.props,r=n.value,o=n.voucherValue,i=n.maxMonths,a=n.notQualifyForRewardThisMonth,l=n.amountShow,u=n.translationConfig,c=u===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:"",estimateDisclaimer:""}:u,s=n.storeConfig,p=s===void 0?{tiers:[{consecutive_months:0,min_spend:0,max_spend:0,promo_code:""},{consecutive_months:0,min_spend:0,promo_code:""}]}:s,d=n.currencyAbbreviate,f=d===void 0?!1:d,m=n.currencyFormat,v=m===void 0?function(){}:m,h=v(o||0,!0,f),g=c.currentlyTrack.replace("%currency_symbol%%currency_amount%","".concat(h)),y=eg(c.approximateTotal,{currency_symbol:"",projected_month_spend:""}),b=parseFloat(String(p===null||p===void 0?void 0:(t=p.tiers)===null||t===void 0?void 0:(e=t[0])===null||e===void 0?void 0:e.min_spend))||0,x=v(b,!0,f),w=c.callToAction.replace("%currency_symbol%%current_spend_target%","".concat(x)),C=eg(c.approximateMonthly,{currency_symbol:"",estimated_running_subscription_spend:""}),O=v(l!==null&&l!==void 0?l:0,!1,!1);return uC($,{children:[uw(J,{children:a?uC(ux,{children:[uw(ee,{children:uw(eM,{className:"loyalty-warning-icon",color:"#4A6987"})}),uw(eS,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#293A4A",noSpacing:!0,children:c.notQualify})]}):uC(ux,{children:[uw(eS,{variant:"body-s",weight:"normal",colorOverride:"#252525",className:"reward-subtitle",component:"span",noSpacing:!0,children:C}),"\xa0",uw(eS,{weight:"bold",className:"button-price",variant:"body-s",component:"span",children:"".concat(O)}),uw(ee,{children:uw(ub,{slotProps:{tooltip:{sx:{color:"#FFFFFF",backgroundColor:"#252525",fontFamily:"Inter",fontWeight:400,fontSize:"14px",lineHeight:"20px","& .MuiTooltip-arrow":{color:"#252525"}}}},title:c.estimateDisclaimer,arrow:!0,placement:"top",children:uw("span",{className:"info-icon",children:uw(i_,{children:uw(eL,{})})})})})]})}),r===i?"":a?uC(eS,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#252525",component:"div",children:[y,"\xa0",uw(eS,{component:"span",className:"button-price",variant:"body-s",weight:"bold",children:"".concat(O)})]}):o!=null||o!=null?uw(eS,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:g}):uw(eS,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:w})]})}}]);return t}(eR.Component),uE=uO;import{useState as uT}from"react";import{FaExclamationTriangle as uk}from"react-icons/fa";import{NsTypography as uR}from"@nuskin/foundation-ui-components";import{CircularProgressbarWithChildren as uM,buildStyles as uS}from"react-circular-progressbar";import{Fragment as uA,jsx as uj,jsxs as uP}from"react/jsx-runtime";var uL=function(e){var t,n;var r=y(uT(!1),2),o=r[0],i=r[1],a=function(){i(!o)},l=e.handleOpenSubscriptionRewardPopup,u=l===void 0?function(){}:l,c=e.notQualifyForRewardThisMonth,s=c===void 0?!1:c,p=e.value,d=p===void 0?0:p,f=e.voucherValue,m=f===void 0?0:f,v=e.amountShow,h=e.maxMonths,g=h===void 0?0:h,b=e.translationConfig,x=b===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:"",estimateDisclaimer:""}:b,w=e.learnMoreConfig,C=w===void 0?{tagLine:"",cardOneDescription:"",cardOneVoucherAmount:"",cardTwoDescription:"",cardTwoVoucherAmount:"",header:"",loyaltyLogoWhite:"",loyaltyBanner:"",learnMore:""}:w,O=e.storeConfig,E=O===void 0?{tiers:[{consecutive_months:"",min_spend:"",max_spend:"",promo_code:""},{consecutive_months:"",min_spend:"",promo_code:""}]}:O,T=e.currencyAbbreviate,k=T===void 0?!1:T,R=e.currencyFormat,M=R===void 0?function(){}:R,S="";m===50&&!s?S=x.learn3xMore:m===150||s?S=C.learnMore:m==null&&(S=x.learnMore);var A=eg(x.monthsComplete,{completed_months:d,total_months:g}),j=M(m||0,!0,k),P=x.voucherEarned.replace("%currency_symbol%%currency_amount%","".concat(j)),L=x.currentlyTrack.replace("%currency_symbol%%currency_amount%","".concat(j)),_=eg(x.approximateTotal,{currency_symbol:"",projected_month_spend:""}),B=parseFloat(String(E===null||E===void 0?void 0:(n=E.tiers)===null||n===void 0?void 0:(t=n[0])===null||t===void 0?void 0:t.min_spend))||0,N=M(B,!0,k),F=x.callToAction.replace("%currency_symbol%%current_spend_target%","".concat(N)),D=eg(x.approximateMonthly,{currency_symbol:"",estimated_running_subscription_spend:""}),I=eg(x.voucherTargetAmount,{currency_symbol:"",voucher_amount:""}),V=M(v!==null&&v!==void 0?v:0,!1,!1);return uP(Z,{children:[uj(G,{children:uj("img",{className:"reward-logo",src:x.loyaltyLogoBlack,alt:"Rewards Logo"})}),uj("div",{className:"reward-progress",children:uP(uM,{value:d/g*100,strokeWidth:12,background:!0,styles:uS({rotation:.5,strokeLinecap:"butt",backgroundColor:d===g&&!s?"rgb(195 240 194)":"#fff",pathColor:"#6BC56A",trailColor:"#E0E0E0"}),children:[uj(ea,{count:g}),d===g&&!s?uj(ep,{}):s?uj(ee,{children:uj(uk,{className:"outline-exclamation-icon",color:"#91ACC8"})}):m!=null||m!=null?uP(q,{children:[uj(uR,{component:"div",className:"center-value-progress-bar-price",variant:"title-l",weight:"bold",children:"".concat(j)}),uj(uR,{variant:"label-s",weight:"bold",component:"div",className:"center-value-progress-bar-voucher",children:I})]}):uj(q,{children:uj(ev,{})})]})}),uj(G,{children:d===g&&v!==void 0&&v>B?uj("div",{className:"info-item",children:P}):uj("div",{className:"info-item",children:A})}),uP($,{children:[d===g?"":s?uP(uR,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#252525",component:"div",children:[_," ",uj(uR,{component:"span",className:"button-price",variant:"body-s",weight:"bold",children:"".concat(V)})]}):m!=null||m!=null?uj(uR,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:L}):uj(uR,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:F}),uj(J,{children:s?uP(uA,{children:[uj(ee,{children:uj(uk,{className:"loyalty-warning-icon",color:"#4A6987"})}),uj(uR,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#293A4A",noSpacing:!0,children:x.notQualify})]}):uP(uA,{children:[uP(uR,{variant:"body-s",weight:"normal",colorOverride:"#252525",className:"reward-subtitle",component:"span",noSpacing:!0,children:[D," "]}),"\xa0",uj(uR,{weight:"bold",className:"button-price",variant:"body-s",component:"span",children:"".concat(V)}),uj(ee,{children:uj(ub,{slotProps:{tooltip:{sx:{color:"#FFFFFF",backgroundColor:"#252525",fontFamily:"Inter",fontWeight:400,fontSize:"14px",lineHeight:"20px","& .MuiTooltip-arrow":{color:"#252525"}}}},title:x.estimateDisclaimer,arrow:!0,placement:"top",open:o,onClose:function(){return i(!1)},children:uj("span",{className:"info-icon",children:uj(i_,{onClick:a,children:uj(eL,{})})})})})]})})]}),uj(G,{children:uj(Q,{onClick:u,children:uj("u",{children:S})})})]})},u_=uL;var uB=(typeof window==="undefined"?"undefined":w(window))=="object",uN=/*#__PURE__*/function(){"use strict";function e(){i(this,e);this.width=uB?window.innerWidth:0;this.scroll={vertical:uB?window.scrollY:0,horizontal:uB?window.scrollX:0,direction:"none"}}l(e,[{key:"isMobile",get:function e(){return this.isPhone}},{key:"isPhone",get:function e(){return uB?window.innerWidth<768:this.width<768}}]);return e}(),uF=new uN;var uD=function(e,t,n,r,o,i,a,l,u){if(e){var c,s,p;var d,f;var m=e===null||e===void 0?void 0:(c=e.csmMonthlySubsOrderTotal)===null||c===void 0?void 0:c.sort(function(e,t){return e.year===t.year?t.month-e.month:t.year-e.year}),v=m===null||m===void 0?void 0:m.some(function(e){return e.month===u.getMonth()+1&&e.year===u.getFullYear()}),h=m===null||m===void 0?void 0:m.filter(function(e){return e.month===u.getMonth()+1&&e.year===u.getFullYear()}),g=(d=h===null||h===void 0?void 0:(s=h.map(function(e){return e.totalAmount}))===null||s===void 0?void 0:s[0])!==null&&d!==void 0?d:0,y=parseInt((f=e===null||e===void 0?void 0:(p=e.approximateMonthlyTotalResponse)===null||p===void 0?void 0:p.currentMonthTotal)!==null&&f!==void 0?f:"0"),b=0;y>n?b=n:b=t;var x=h===null||h===void 0?void 0:h.some(function(e){return e.totalAmount>=b}),w=v&&x?new Date(u.getFullYear(),u.getMonth()-(l-1),1):new Date(u.getFullYear(),u.getMonth()-l,1),C=m===null||m===void 0?void 0:m.filter(function(e){return new Date(e.year,e.month-1)>=w});C=C===null||C===void 0?void 0:C.filter(function(e){return e.promocode===null||e.promocode===void 0||e.promocode===""}),x||(C=C===null||C===void 0?void 0:C.filter(function(e){return!(e.month===u.getMonth()+1&&e.year===u.getFullYear())}));var O=C===null||C===void 0?void 0:C.slice(0,l),E=O===null||O===void 0?void 0:O.every(function(e){return e.totalAmount>=n}),T=O===null||O===void 0?void 0:O.map(function(e){return e===null||e===void 0?void 0:e.promocode}),k=!(T===null||T===void 0?void 0:T.some(function(e){return e===void 0}))?!1:T===null||T===void 0?void 0:T.every(function(e){return e===T[0]}),R=x?u.getMonth():u.getMonth()-1,M=2;if(O!=null&&T!=null)for(var S=0;S<(O===null||O===void 0?void 0:O.length);S++){var A,j,P;var L=(A=O[S])===null||A===void 0?void 0:A.totalAmount,_=u.getFullYear();if(((j=O[S])===null||j===void 0?void 0:j.month)&&((P=O[S])===null||P===void 0?void 0:P.month)!==new Date(_,R-S).getMonth()+1)return{monthCompletionValue:a,voucherValue:i};if(k&&(T[S]!==void 0||T[S]!==""||T[S]!==null))return{monthCompletionValue:0,voucherValue:i};if(L>=t&&(!T[S]||T[S]===void 0||T[S]===""||T[S]===null))a=a+1,E||M===2&&L>=n?i=o:(i=r,M=1);else if(L<t)return{monthCompletionValue:a,voucherValue:i}}(!v||!x)&&i!==r&&(y>=n?i=o:i=r),!x&&i===r&&a<l&&g>=t&&(a=a+1)}return{monthCompletionValue:a,voucherValue:i}};import{Fragment as uI,jsx as uV,jsxs as uW}from"react/jsx-runtime";var uz=function(e){var t,n,r,o,i,a,l,u,c;var s,p,d;var f=e.title,m=e.subscriptionData,v=e.translationConfig,h=e.learnMoreConfig,g=e.storeConfig,b=e.currencyFormat,x=2,w=(s=g===null||g===void 0?void 0:(n=g.tiers)===null||n===void 0?void 0:(t=n[0])===null||t===void 0?void 0:t.max_spend)!==null&&s!==void 0?s:0,C=(p=g===null||g===void 0?void 0:(o=g.tiers)===null||o===void 0?void 0:(r=o[0])===null||r===void 0?void 0:r.min_spend)!==null&&p!==void 0?p:0,O=(d=g===null||g===void 0?void 0:(a=g.tiers)===null||a===void 0?void 0:(i=a[0])===null||i===void 0?void 0:i.consecutive_months)!==null&&d!==void 0?d:0,E=y(H(!1),2),T=E[0],k=E[1],R=function(){return k(!0)},M=function(){return k(!1)},S=m,A=0,j=0,P=0;g===null||g===void 0?void 0:(l=g.tiers)===null||l===void 0?void 0:l.map(function(e){e.min_spend<C&&(C=e.min_spend),"max_spend"in e&&e.max_spend>w&&(w=e.max_spend)}),g===null||g===void 0?void 0:(u=g.tiers)===null||u===void 0?void 0:u.map(function(e){if(e.min_spend===C){var t,n;var r=e.promo_code;r=r===null||r===void 0?void 0:(n=r.split("-"))===null||n===void 0?void 0:(t=n[0])===null||t===void 0?void 0:t.replace("NSR",""),A=parseInt(r)}if(e.min_spend===w){var o,i;var a=e.promo_code;a=a===null||a===void 0?void 0:(i=a.split("-"))===null||i===void 0?void 0:(o=i[0])===null||o===void 0?void 0:o.replace("NSR",""),j=parseInt(a)}});var L;var _=0,B=parseFloat((L=S===null||S===void 0?void 0:(c=S.approximateMonthlyTotalResponse)===null||c===void 0?void 0:c.currentMonthTotal)!==null&&L!==void 0?L:"0");B<C||B<w?_=A:B>w?_=j:_=0;var N=B<C&&_!==0&&x!==O,F=uD(S,C,w,A,j,_,P,O,new Date),D=F.monthCompletionValue,I=F.voucherValue;return x=D,_=I,uW(Y,{children:[uF.isMobile?uV(u_,{value:x,title:f,voucherValue:_,maxMonths:O,handleOpenSubscriptionRewardPopup:R,storeConfig:g,amountShow:B,notQualifyForRewardThisMonth:N,translationConfig:v,learnMoreConfig:h,currencyAbbreviate:g===null||g===void 0?void 0:g.currencyAbbreviate,currencyFormat:b}):uW(uI,{children:[uV(ek,{value:x,title:f,notQualifyForRewardThisMonth:N,monthCompletionValue:P,storeConfig:g,maxMonths:O,voucherValue:_,handleOpenSubscriptionRewardPopup:R,translationConfig:v,learnMoreConfig:h,currencyAbbreviate:g===null||g===void 0?void 0:g.currencyAbbreviate,currencyFormat:b}),uV(uE,{notQualifyForRewardThisMonth:N,value:x,voucherValue:_,maxMonths:O,title:f,monthCompletionValue:P,storeConfig:g,translationConfig:v,learnMoreConfig:h,handleOpenSubscriptionRewardPopup:R,amountShow:B,currencyAbbreviate:g===null||g===void 0?void 0:g.currencyAbbreviate,currencyFormat:b})]}),uV(z,{show:T,close:M,amountShow:B,learnMoreConfig:h,translationConfig:v})]})},uH=uz;export{uH as SubscriptionReward};/*! Bundled license information:
1
+ function e(e,t){if(t==null||t>e.length)t=e.length;for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function t(e){if(Array.isArray(e))return e}function n(t){if(Array.isArray(t))return e(t)}function r(e){if(e===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return e}function o(e,t,n){t=s(t);return h(e,C()?Reflect.construct(t,n||[],s(e).constructor):t.apply(e,n))}function i(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,r.key,r)}}function l(e,t,n){if(t)a(e.prototype,t);if(n)a(e,n);return e}function c(e,t,n){if(t in e){Object.defineProperty(e,t,{value:n,enumerable:true,configurable:true,writable:true})}else{e[t]=n}return e}function s(e){s=Object.setPrototypeOf?Object.getPrototypeOf:function e(e){return e.__proto__||Object.getPrototypeOf(e)};return s(e)}function u(e,t){if(typeof t!=="function"&&t!==null){throw new TypeError("Super expression must either be null or a function")}e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:true,configurable:true}});if(t)g(e,t)}function p(e,t){if(t!=null&&typeof Symbol!=="undefined"&&t[Symbol.hasInstance]){return!!t[Symbol.hasInstance](e)}else{return e instanceof t}}function d(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function f(e,t){var n=e==null?null:typeof Symbol!=="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n==null)return;var r=[];var o=true;var i=false;var a,l;try{for(n=n.call(e);!(o=(a=n.next()).done);o=true){r.push(a.value);if(t&&r.length===t)break}}catch(e){i=true;l=e}finally{try{if(!o&&n["return"]!=null)n["return"]()}finally{if(i)throw l}}return r}function m(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){if(t&&(w(t)==="object"||typeof t==="function")){return t}return r(e)}function g(e,t){g=Object.setPrototypeOf||function e(e,t){e.__proto__=t;return e};return g(e,t)}function y(e,n){return t(e)||f(e,n)||k(e,n)||m()}function b(e,t){if(!t){t=e.slice(0)}return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function x(e){return n(e)||d(e)||k(e)||v()}function w(e){"@swc/helpers - typeof";return e&&typeof Symbol!=="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k(t,n){if(!t)return;if(typeof t==="string")return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor)r=t.constructor.name;if(r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}function O(){var e=b(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n align-content: center;\n background-color: #f5f5f5;\n border: 1px solid #e0e0e0;\n border-radius: 10px;\n padding: 1.5rem;\n margin-bottom: 20px;\n height: 50%;\n margin: auto;\n\n @media (max-width: 950px) {\n flex-direction: column;\n }\n"]);O=function t(){return e};return e}function E(){var e=b(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n align-content: center;\n\n .reward-logo {\n width: 200px;\n margin-bottom: 12px;\n }\n\n .reward-progress {\n height: 150px;\n width: 150px;\n }\n .progress-bar {\n background-color: #e0e0e0;\n height: 100%;\n }\n\n @media (max-width: 950px) {\n flex-direction: column;\n\n .info-container {\n margin-left: 0px;\n align-items: center;\n }\n .reward-progress-total-div {\n margin-top: 10px;\n }\n }\n"]);E=function t(){return e};return e}function S(){var e=b(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-left: 16px;\n\n .info-item {\n margin: 5px 0;\n font-weight: 600;\n }\n"]);S=function t(){return e};return e}function T(){var e=b(["\n font-size: 12px;\n font-weight: 600;\n cursor: pointer;\n"]);T=function t(){return e};return e}function R(){var e=b(["\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n text-align: center;\n color: black;\n\n .center-value-progress-bar-price {\n margin: 0;\n }\n .center-value-progress-bar-voucher {\n margin: 0;\n letter-spacing: 0.01em;\n }\n"]);R=function t(){return e};return e}function M(){var e=b(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n .total-button {\n display: flex;\n align-items: center;\n background-color: #e5edf6;\n border-radius: 20px;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n }\n .reward-subtitle {\n letter-spacing: 0;\n display: flex;\n }\n\n @media (max-width: 950px) {\n .reward-subtitle {\n letter-spacing: 0;\n display: flex;\n text-align: center;\n }\n margin-top: 10px;\n }\n"]);M=function t(){return e};return e}function A(){var e=b(["\n display: flex;\n align-items: center;\n background-color: #e5edf6;\n border-radius: 20px;\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n padding: 1rem;\n margin-bottom: 14px;\n\n @media (max-width: 950px) {\n margin-top: 14px;\n }\n"]);A=function t(){return e};return e}function P(){var e=b(["\n .info-icon {\n margin-left: 6px !important;\n }\n .loyalty-icon {\n height: 19px !important;\n width: 19px !important;\n margin-left: 6px !important;\n }\n .loyalty-warning-icon {\n height: 19px !important;\n width: 19px !important;\n margin-right: 6px !important;\n }\n .outline-exclamation-icon {\n height: 48px !important;\n width: 48px !important;\n }\n"]);P=function t(){return e};return e}function j(){var e=b(["\n position: absolute;\n height: 100%;\n"]);j=function t(){return e};return e}function _(){var e=b(["\n background: #fff;\n width: 6px;\n height: 17%;\n"]);_=function t(){return e};return e}function L(){var e=b(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]);L=function t(){return e};return e}function N(){var e=b(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]);N=function t(){return e};return e}function F(){var e=b(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]);F=function t(){return e};return e}function B(){var e=b(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]);B=function t(){return e};return e}import{a as I,b as D,c as z}from"../chunk-4FHSDUA7.mjs";var W=I(function(e){"use strict";var t=function e(e){if((typeof e==="undefined"?"undefined":w(e))=="object"&&e!==null){var t=e.$$typeof;switch(t){case o:switch(e=e.type,e){case p:case d:case a:case c:case l:case m:return e;default:switch(e=e&&e.$$typeof,e){case u:case f:case g:case h:case s:return e;default:return t}}case i:return t}}};var n=function e(e){return t(e)===d};var r=typeof Symbol=="function"&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,l=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,s=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;e.AsyncMode=p;e.ConcurrentMode=d;e.ContextConsumer=u;e.ContextProvider=s;e.Element=o;e.ForwardRef=f;e.Fragment=a;e.Lazy=g;e.Memo=h;e.Portal=i;e.Profiler=c;e.StrictMode=l;e.Suspense=m;e.isAsyncMode=function(e){return n(e)||t(e)===p};e.isConcurrentMode=n;e.isContextConsumer=function(e){return t(e)===u};e.isContextProvider=function(e){return t(e)===s};e.isElement=function(e){return(typeof e==="undefined"?"undefined":w(e))=="object"&&e!==null&&e.$$typeof===o};e.isForwardRef=function(e){return t(e)===f};e.isFragment=function(e){return t(e)===a};e.isLazy=function(e){return t(e)===g};e.isMemo=function(e){return t(e)===h};e.isPortal=function(e){return t(e)===i};e.isProfiler=function(e){return t(e)===c};e.isStrictMode=function(e){return t(e)===l};e.isSuspense=function(e){return t(e)===m};e.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===a||e===d||e===c||e===l||e===m||e===v||(typeof e==="undefined"?"undefined":w(e))=="object"&&e!==null&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===x||e.$$typeof===k||e.$$typeof===y)};e.typeOf=t});var V=I(function(e,t){"use strict";t.exports=W()});var $=I(function(e,t){"use strict";var n=function e(e){return r.isMemo(e)?l:c[e.$$typeof]||o};var r=V(),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=a;c[r.Memo]=l;var s=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;function v(e,t,r){if(typeof t!="string"){if(m){var o=f(t);o&&o!==m&&v(e,o,r)}var a=u(t);p&&(a=a.concat(p(t)));for(var l=n(e),c=n(t),h=0;h<a.length;++h){var g=a[h];if(!i[g]&&!(r&&r[g])&&!(c&&c[g])&&!(l&&l[g])){var y=d(t,g);try{s(e,g,y)}catch(e){}}}}return e}t.exports=v});import{useState as H}from"react";import U from"react";import{CircularProgressbarWithChildren as K,buildStyles as X}from"react-circular-progressbar";import{styled as G}from"@nuskin/foundation-theme";var Y=G.div(O()),q=G.div(E()),Z=G.div(S()),Q=G.div(T()),J=G.div(R()),ee=G.div(M()),et=G.div(A()),en=G.span(P()),er=G.div(j()),eo=G.div(_());import{jsx as ei}from"react/jsx-runtime";function ea(e){return ei(er,{style:{transform:"rotate(".concat(e.turns,"turn)")},children:ei(eo,{})})}function el(e){var t=1/e.count;return Array(e.count).fill(null).map(function(e,n){return ei(ea,{turns:n*t+.5},n)})}var ec=el;import{FaExclamationTriangle as es}from"react-icons/fa";import{jsx as eu,jsxs as ep}from"react/jsx-runtime";function ed(){return ep("svg",{width:"71",height:"42",viewBox:"0 0 71 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[eu("path",{d:"M5.32847 36.176C3.52571 36.176 2.06348 34.7138 2.06348 32.911L2.15695 28.3574L4.8277 28.4108L4.73422 32.9378C4.73422 33.2382 5.0013 33.5053 5.32847 33.5053H30.7606L34.0056 33.3584L34.1258 36.0291L30.8207 36.1827H5.32847V36.176Z",fill:"#405E50"}),eu("path",{d:"M68.3914 12.9147H65.7207V9.1156C65.7207 8.78843 65.4536 8.52136 65.1264 8.52136L36.3491 8.48129V5.81055L65.1264 5.85061C66.9225 5.85061 68.3914 7.31284 68.3914 9.1156V12.9147Z",fill:"#405E50"}),eu("path",{d:"M62.3222 41.6454C62.1152 41.6454 61.9082 41.6253 61.7012 41.5853L2.99822 30.2079C2.14358 30.041 1.40245 29.5536 0.915037 28.8325C0.427626 28.1114 0.24735 27.2434 0.414272 26.3821L4.94119 3.0197C5.10811 2.16506 5.59552 1.42393 6.31662 0.936522C7.03772 0.44911 7.90572 0.268835 8.76703 0.435756L67.47 11.8131C69.2394 12.1537 70.3945 13.8696 70.054 15.639L65.5271 39.0013C65.2199 40.5637 63.8512 41.6454 62.3222 41.6454ZM62.2087 38.968C62.5225 39.028 62.843 38.8211 62.9031 38.5006L67.43 15.1382C67.4901 14.8177 67.2831 14.5039 66.9626 14.4438L8.25291 3.05977C8.04593 3.0197 7.88569 3.09983 7.80556 3.15324C7.73212 3.20666 7.59858 3.32016 7.55184 3.53382L3.02493 26.8962C2.96484 27.2167 3.17182 27.5305 3.49231 27.5906L62.2087 38.968Z",fill:"#405E50"}),eu("path",{d:"M13.5344 22.0957C13.1405 22.0957 12.7398 22.0556 12.3392 21.9822C8.95406 21.3279 6.73066 18.0362 7.385 14.651C7.70549 13.0085 8.64025 11.593 10.029 10.6582C11.4178 9.72348 13.0804 9.38296 14.7229 9.70345C16.3654 10.0239 17.7809 10.9587 18.7156 12.3475C19.6504 13.7363 19.9909 15.3988 19.6704 17.0413C19.0895 20.0125 16.4655 22.0957 13.5344 22.0957ZM13.521 12.254C12.8133 12.254 12.1189 12.461 11.5247 12.8683C10.7301 13.4024 10.196 14.217 10.009 15.1584C9.6351 17.1014 10.9037 18.9843 12.8467 19.3582C14.7896 19.7321 16.6725 18.4635 17.0464 16.5205C17.2267 15.5791 17.0331 14.6243 16.4989 13.8298C15.9648 13.0352 15.1502 12.5011 14.2088 12.3141C13.9817 12.274 13.7481 12.254 13.521 12.254Z",fill:"#405E50"}),eu("path",{d:"M23.9338 15.4855L23.4255 18.1074L59.9361 25.1845L60.4443 22.5626L23.9338 15.4855Z",fill:"#405E50"}),eu("path",{d:"M22.8916 19.7002L22.3838 22.3223L58.8956 29.393L59.4034 26.771L22.8916 19.7002Z",fill:"#405E50"})]})}var ef=ed;import{jsx as em,jsxs as ev}from"react/jsx-runtime";function eh(){return ev("svg",{width:"71",height:"42",viewBox:"0 0 71 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[em("path",{d:"M5.32847 36.176C3.52571 36.176 2.06348 34.7138 2.06348 32.911L2.15695 28.3574L4.8277 28.4108L4.73422 32.9378C4.73422 33.2382 5.0013 33.5053 5.32847 33.5053H30.7606L34.0056 33.3584L34.1258 36.0291L30.8207 36.1827H5.32847V36.176Z",fill:"#B0B0B0"}),em("path",{d:"M68.3914 12.9147H65.7207V9.1156C65.7207 8.78843 65.4536 8.52136 65.1264 8.52136L36.3491 8.48129V5.81055L65.1264 5.85061C66.9225 5.85061 68.3914 7.31284 68.3914 9.1156V12.9147Z",fill:"#B0B0B0"}),em("path",{d:"M62.3222 41.6454C62.1152 41.6454 61.9082 41.6253 61.7012 41.5853L2.99822 30.2079C2.14358 30.041 1.40245 29.5536 0.915037 28.8325C0.427626 28.1114 0.24735 27.2434 0.414272 26.3821L4.94119 3.0197C5.10811 2.16506 5.59552 1.42393 6.31662 0.936522C7.03772 0.44911 7.90572 0.268835 8.76703 0.435756L67.47 11.8131C69.2394 12.1537 70.3945 13.8696 70.054 15.639L65.5271 39.0013C65.2199 40.5637 63.8512 41.6454 62.3222 41.6454ZM62.2087 38.968C62.5225 39.028 62.843 38.8211 62.9031 38.5006L67.43 15.1382C67.4901 14.8177 67.2831 14.5039 66.9626 14.4438L8.25291 3.05977C8.04593 3.0197 7.88569 3.09983 7.80556 3.15324C7.73212 3.20666 7.59858 3.32016 7.55184 3.53382L3.02493 26.8962C2.96484 27.2167 3.17182 27.5305 3.49231 27.5906L62.2087 38.968Z",fill:"#B0B0B0"}),em("path",{d:"M13.5344 22.0957C13.1405 22.0957 12.7398 22.0556 12.3392 21.9822C8.95406 21.3279 6.73066 18.0362 7.385 14.651C7.70549 13.0085 8.64025 11.593 10.029 10.6582C11.4178 9.72348 13.0804 9.38296 14.7229 9.70345C16.3654 10.0239 17.7809 10.9587 18.7156 12.3475C19.6504 13.7363 19.9909 15.3988 19.6704 17.0413C19.0895 20.0125 16.4655 22.0957 13.5344 22.0957ZM13.521 12.254C12.8133 12.254 12.1189 12.461 11.5247 12.8683C10.7301 13.4024 10.196 14.217 10.009 15.1584C9.6351 17.1014 10.9037 18.9843 12.8467 19.3582C14.7896 19.7321 16.6725 18.4635 17.0464 16.5205C17.2267 15.5791 17.0331 14.6243 16.4989 13.8298C15.9648 13.0352 15.1502 12.5011 14.2088 12.3141C13.9817 12.274 13.7481 12.254 13.521 12.254Z",fill:"#B0B0B0"}),em("path",{d:"M23.9338 15.4855L23.4255 18.1074L59.9361 25.1845L60.4443 22.5626L23.9338 15.4855Z",fill:"#B0B0B0"}),em("path",{d:"M22.8916 19.7002L22.3838 22.3223L58.8956 29.393L59.4034 26.771L22.8916 19.7002Z",fill:"#B0B0B0"})]})}var eg=eh;import ey from"react";var eb=function(e,t){return Object.keys(t).reduce(function(e,n){var r;var o=(r=t[n])!==null&&r!==void 0?r:"";return e.replace(new RegExp("%".concat(n,"%"),"g"),String(o))},e)};import{jsx as ex,jsxs as ew}from"react/jsx-runtime";var ek=/*#__PURE__*/function(e){"use strict";u(t,e);function t(e){i(this,t);return o(this,t,[e])}l(t,[{key:"render",value:function e(){var e=this.props,t=e.value,n=e.voucherValue,r=e.maxMonths,o=e.handleOpenSubscriptionRewardPopup,i=e.notQualifyForRewardThisMonth,a=e.translationConfig,l=a===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:""}:a,c=e.learnMoreConfig,s=c===void 0?{tagLine:"",cardOneDescription:"",cardOneVoucherAmount:"",cardTwoDescription:"",cardTwoVoucherAmount:"",header:"",loyaltyLogoWhite:"",loyaltyBanner:"",learnMore:""}:c,u=e.currencyAbbreviate,p=u===void 0?!1:u,d=e.currencyFormat,f=d===void 0?function(){}:d,m="";n===50&&!i?m=l.learn3xMore:n===150||i?m=s.learnMore:n==null&&(m=l.learnMore);var v=eb(l.monthsComplete,{completed_months:t,total_months:r}),h=f(n||0,!0,p),g=l.voucherEarned.replace("%currency_symbol%%currency_amount%","".concat(h));return ew(Z,{children:[ex("img",{className:"reward-logo",src:l.loyaltyLogoBlack,alt:"Rewards Logo"}),t===r?ex("div",{className:"info-item",children:g}):ex("div",{className:"info-item",children:v}),ex(Q,{id:"learnMore",onClick:o,children:ex("u",{children:m})})]})}}]);return t}(ey.Component),eC=ek;import{NsTypography as eO}from"@nuskin/foundation-ui-components";import{jsx as eE,jsxs as eS}from"react/jsx-runtime";var eT=/*#__PURE__*/function(e){"use strict";u(t,e);function t(e){i(this,t);return o(this,t,[e])}l(t,[{key:"render",value:function e(){var e=this.props,t=e.value,n=t===void 0?0:t,r=e.voucherValue,o=r===void 0?0:r,i=e.maxMonths,a=i===void 0?0:i,l=e.handleOpenSubscriptionRewardPopup,c=l===void 0?function(){}:l,s=e.notQualifyForRewardThisMonth,u=s===void 0?!1:s,p=e.translationConfig,d=p===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:""}:p,f=e.learnMoreConfig,m=f===void 0?{tagLine:"",cardOneDescription:"",cardOneVoucherAmount:"",cardTwoDescription:"",cardTwoVoucherAmount:"",header:"",loyaltyLogoWhite:"",loyaltyBanner:"",learnMore:""}:f,v=e.currencyAbbreviate,h=v===void 0?!1:v,g=e.currencyFormat,y=g===void 0?function(){}:g,b=eb(d.voucherTargetAmount,{currency_symbol:"",voucher_amount:""}),x=y(o||0,!0,h);return eS(q,{children:[eE("div",{className:"reward-progress",children:eS(K,{value:n/a*100,strokeWidth:12,background:!0,styles:X({rotation:.5,strokeLinecap:"butt",backgroundColor:n===a&&!u?"rgb(195 240 194)":"#fff",pathColor:"#6BC56A",trailColor:"#E0E0E0"}),children:[eE(ec,{count:a}),n===a&&!u?eE(ef,{}):u?eE(en,{children:eE(es,{className:"outline-exclamation-icon",color:"#91ACC8"})}):o!=null||o!=null?eS(J,{children:[eE(eO,{component:"div",className:"center-value-progress-bar-price",variant:"title-l",weight:"bold",children:"".concat(x)}),eE(eO,{variant:"label-s",weight:"bold",component:"div",className:"center-value-progress-bar-voucher",children:b})]}):eE(J,{children:eE(eg,{})})]})}),eE(eC,{value:n,voucherValue:o,notQualifyForRewardThisMonth:u,handleOpenSubscriptionRewardPopup:c,maxMonths:a,translationConfig:d,learnMoreConfig:m,currencyAbbreviate:h,currencyFormat:y})]})}}]);return t}(U.Component),eR=eT;import eM from"react";import{FaExclamationTriangle as eA}from"react-icons/fa";import{NsTypography as eP}from"@nuskin/foundation-ui-components";import{jsx as ej,jsxs as e_}from"react/jsx-runtime";function eL(){return e_("svg",{width:"19",height:"19",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[ej("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.833344 9.99967C0.833344 4.93706 4.9374 0.833008 10 0.833008C15.0626 0.833008 19.1667 4.93706 19.1667 9.99967C19.1667 15.0623 15.0626 19.1663 10 19.1663C4.9374 19.1663 0.833344 15.0623 0.833344 9.99967ZM10 2.49967C5.85787 2.49967 2.50001 5.85754 2.50001 9.99967C2.50001 14.1418 5.85787 17.4997 10 17.4997C14.1421 17.4997 17.5 14.1418 17.5 9.99967C17.5 5.85754 14.1421 2.49967 10 2.49967Z",fill:"#4A6987"}),ej("line",{x1:"10.1667",y1:"9.375",x2:"10.1667",y2:"14.7917",stroke:"#4A6987",strokeWidth:"2"}),ej("path",{d:"M10.0052 7.75009C10.6338 7.75009 11.1718 7.22807 11.1771 6.57821C11.1718 5.93901 10.6338 5.41699 10.0052 5.41699C9.35537 5.41699 8.82803 5.93901 8.83335 6.57821C8.82803 7.22807 9.35537 7.75009 10.0052 7.75009Z",fill:"#4A6987"})]})}var eN=eL;var eF={black:"#000",white:"#fff"},eB=eF;var eI={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"},eD=eI;var ez={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"},eW=ez;var eV={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"},e$=eV;var eH={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"},eU=eH;var eK={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"},eX=eK;var eG={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"},eY=eG;var eq={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"},eZ=eq;function eQ(){return eQ=Object.assign?Object.assign.bind():function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eQ.apply(null,arguments)}function eJ(e){return e!==null&&(typeof e==="undefined"?"undefined":w(e))=="object"&&e.constructor===Object}function e0(e){if(!eJ(e))return e;var t={};return Object.keys(e).forEach(function(n){t[n]=e0(e[n])}),t}function e1(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0};var r=n.clone?eQ({},e):e;return eJ(e)&&eJ(t)&&Object.keys(t).forEach(function(o){o!=="__proto__"&&(eJ(t[o])&&o in e&&eJ(e[o])?r[o]=e1(e[o],t[o],n):n.clone?r[o]=eJ(t[o])?e0(t[o]):t[o]:r[o]=t[o])}),r}function e2(e){var t="https://mui.com/production-error/?code="+e;for(var n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function e5(e){if(typeof e!="string")throw new Error(e2(7));return e.charAt(0).toUpperCase()+e.slice(1)}function e3(e){return e&&e.ownerDocument||document}function e4(e,t){typeof e=="function"?e(t):e&&(e.current=t)}import*as e6 from"react";var e9=(typeof window==="undefined"?"undefined":w(window))<"u"?e6.useLayoutEffect:e6.useEffect,e7=e9;import*as e8 from"react";var te=0;function tt(e){var t=y(e8.useState(e),2),n=t[0],r=t[1],o=e||n;return e8.useEffect(function(){n==null&&(te+=1,r("mui-".concat(te)))},[n]),o}var tn=e8.useId;function tr(e){if(tn!==void 0){var t=tn();return e!==null&&e!==void 0?e:t}return tt(e)}import*as to from"react";function ti(e){var t=e.controlled,n=e.default,r=e.name,o=e.state,i=o===void 0?"value":o;var a=to.useRef(t!==void 0),l=a.current,c=y(to.useState(n),2),s=c[0],u=c[1],p=l?t:s,d=to.useCallback(function(e){l||u(e)},[]);return[p,d]}import*as ta from"react";function tl(e){var t=this;var n=ta.useRef(e);return e7(function(){n.current=e}),ta.useRef(function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++){r[o]=arguments[o]}return(0,n.current).apply(t,x(r))}).current}var tc=tl;import*as ts from"react";function tu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return ts.useMemo(function(){return t.every(function(e){return e==null})?null:function(e){t.forEach(function(t){e4(t,e)})}},t)}import*as tp from"react";var td=!0,tf=!1,tm,tv={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function th(e){var t=e.type,n=e.tagName;return!!(n==="INPUT"&&tv[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function tg(e){e.metaKey||e.altKey||e.ctrlKey||(td=!0)}function ty(){td=!1}function tb(){this.visibilityState==="hidden"&&tf&&(td=!0)}function tx(e){e.addEventListener("keydown",tg,!0),e.addEventListener("mousedown",ty,!0),e.addEventListener("pointerdown",ty,!0),e.addEventListener("touchstart",ty,!0),e.addEventListener("visibilitychange",tb,!0)}function tw(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return td||th(t)}function tk(){var e=tp.useCallback(function(e){e!=null&&tx(e.ownerDocument)},[]),t=tp.useRef(!1);function n(){return t.current?(tf=!0,window.clearTimeout(tm),tm=window.setTimeout(function(){tf=!1},100),t.current=!1,!0):!1}function r(e){return tw(e)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function tC(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r={};return Object.keys(e).forEach(function(o){r[o]=e[o].reduce(function(e,r){if(r){var o=t(r);o!==""&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}var tO=function(e){return e},tE=function(){var e=tO;return{configure:function t(t){e=t},generate:function t(t){return e(t)},reset:function t(){e=tO}}},tS=tE(),tT=tS;var tR={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 tM(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Mui";var r=tR[t];return r?"".concat(n,"-").concat(r):"".concat(tT.generate(e),"-").concat(t)}function tA(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Mui";var r={};return t.forEach(function(t){r[t]=tM(e,t,n)}),r}var tP="$$material";function tj(e,t){if(e==null)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function t_(e){var t="https://mui.com/production-error/?code="+e;for(var n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}import*as tL from"react";import{useContext as tN,forwardRef as tF}from"react";var tB=!1;function tI(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function tD(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var tz=function(){function e(e){var t=this;this._insertTag=function(e){var n;t.tags.length===0?t.insertionPoint?n=t.insertionPoint.nextSibling:t.prepend?n=t.container.firstChild:n=t.before:n=t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0?!tB:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(tD(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=tI(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return(t=e.parentNode)==null?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}();var tW="-ms-",tV="-moz-",t$="-webkit-",tH="comm",tU="rule",tK="decl";var tX="@import";var tG="@keyframes";var tY="@layer";var tq=Math.abs,tZ=String.fromCharCode,tQ=Object.assign;function tJ(e,t){return t3(e,0)^45?(((t<<2^t3(e,0))<<2^t3(e,1))<<2^t3(e,2))<<2^t3(e,3):0}function t0(e){return e.trim()}function t1(e,t){return(e=t.exec(e))?e[0]:e}function t2(e,t,n){return e.replace(t,n)}function t5(e,t){return e.indexOf(t)}function t3(e,t){return e.charCodeAt(t)|0}function t4(e,t,n){return e.slice(t,n)}function t6(e){return e.length}function t9(e){return e.length}function t7(e,t){return t.push(e),e}function t8(e,t){return e.map(t).join("")}var ne=1,nt=1,nn=0,nr=0,no=0,ni="";function na(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:ne,column:nt,length:a,return:""}}function nl(e,t){return tQ(na("",null,null,"",null,null,0),e,{length:-e.length},t)}function nc(){return no}function ns(){return no=nr>0?t3(ni,--nr):0,nt--,no===10&&(nt=1,ne--),no}function nu(){return no=nr<nn?t3(ni,nr++):0,nt++,no===10&&(nt=1,ne++),no}function np(){return t3(ni,nr)}function nd(){return nr}function nf(e,t){return t4(ni,e,t)}function nm(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nv(e){return ne=nt=1,nn=t6(ni=e),nr=0,[]}function nh(e){return ni="",e}function ng(e){return t0(nf(nr-1,nx(e===91?e+2:e===40?e+1:e)))}function ny(e){for(;(no=np())&&no<33;)nu();return nm(e)>2||nm(no)>3?"":" "}function nb(e,t){for(;--t&&nu()&&!(no<48||no>102||no>57&&no<65||no>70&&no<97););return nf(e,nd()+(t<6&&np()==32&&nu()==32))}function nx(e){for(;nu();)switch(no){case e:return nr;case 34:case 39:e!==34&&e!==39&&nx(no);break;case 40:e===41&&nx(e);break;case 92:nu();break}return nr}function nw(e,t){for(;nu()&&e+no!==57;)if(e+no===84&&np()===47)break;return"/*"+nf(t,nr-1)+"*"+tZ(e===47?e:nu())}function nk(e){for(;!nm(np());)nu();return nf(e,nr)}function nC(e){return nh(nO("",null,null,null,[""],e=nv(e),0,[0],e))}function nO(e,t,n,r,o,i,a,l,c){for(var s=0,u=0,p=a,d=0,f=0,m=0,v=1,h=1,g=1,y=0,b="",x=o,w=i,k=r,C=b;h;)switch(m=y,y=nu()){case 40:if(m!=108&&t3(C,p-1)==58){t5(C+=t2(ng(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:C+=ng(y);break;case 9:case 10:case 13:case 32:C+=ny(m);break;case 92:C+=nb(nd()-1,7);continue;case 47:switch(np()){case 42:case 47:t7(nS(nw(nu(),nd()),t,n),c);break;default:C+="/"}break;case 123*v:l[s++]=t6(C)*g;case 125*v:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:g==-1&&(C=t2(C,/\f/g,"")),f>0&&t6(C)-p&&t7(f>32?nT(C+";",r,n,p-1):nT(t2(C," ","")+";",r,n,p-2),c);break;case 59:C+=";";default:if(t7(k=nE(C,t,n,s,u,o,l,b,x=[],w=[],p),i),y===123)if(u===0)nO(C,t,k,k,x,i,p,l,w);else switch(d===99&&t3(C,3)===110?100:d){case 100:case 108:case 109:case 115:nO(e,k,k,r&&t7(nE(e,k,k,0,0,o,l,b,o,x=[],p),w),o,w,p,l,r?x:w);break;default:nO(C,k,k,k,[""],w,0,l,w)}}s=u=f=0,v=g=1,b=C="",p=a;break;case 58:p=1+t6(C),f=m;default:if(v<1){if(y==123)--v;else if(y==125&&v++==0&&ns()==125)continue}switch(C+=tZ(y),y*v){case 38:g=u>0?1:(C+="\f",-1);break;case 44:l[s++]=(t6(C)-1)*g,g=1;break;case 64:np()===45&&(C+=ng(nu())),d=np(),u=p=t6(b=C+=nk(nd())),y++;break;case 45:m===45&&t6(C)==2&&(v=0)}}return i}function nE(e,t,n,r,o,i,a,l,c,s,u){for(var p=o-1,d=o===0?i:[""],f=t9(d),m=0,v=0,h=0;m<r;++m)for(var g=0,y=t4(e,p+1,p=tq(v=a[m])),b=e;g<f;++g)(b=t0(v>0?d[g]+" "+y:t2(y,/&\f/g,d[g])))&&(c[h++]=b);return na(e,t,n,o===0?tU:l,c,s,u)}function nS(e,t,n){return na(e,t,n,tH,tZ(nc()),t4(e,2,-2),0)}function nT(e,t,n,r){return na(e,t,n,tK,t4(e,0,r),t4(e,r+1,-1),r)}function nR(e,t){for(var n="",r=t9(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function nM(e,t,n,r){switch(e.type){case tY:if(e.children.length)break;case tX:case tK:return e.return=e.return||e.value;case tH:return"";case tG:return e.return=e.value+"{"+nR(e.children,r)+"}";case tU:e.value=e.props.join(",")}return t6(n=nR(e.children,r))?e.return=e.value+"{"+n+"}":""}function nA(e){var t=t9(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function nP(e){return function(t){t.root||(t=t.return)&&e(t)}}function nj(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var n_=function e(e,t,n){for(var r=0,o=0;r=o,o=np(),r===38&&o===12&&(t[n]=1),!nm(o);)nu();return nf(e,nr)},nL=function e(e,t){var n=-1,r=44;do switch(nm(r)){case 0:r===38&&np()===12&&(t[n]=1),e[n]+=n_(nr-1,t,n);break;case 2:e[n]+=ng(r);break;case 4:if(r===44){e[++n]=np()===58?"&\f":"",t[n]=e[n].length;break}default:e[n]+=tZ(r)}while(r=nu());return e},nN=function e(e,t){return nh(nL(nv(e),t))},nF=new WeakMap,nB=function e(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!nF.get(n))&&!r){nF.set(e,!0);for(var o=[],i=nN(t,o),a=n.props,l=0,c=0;l<i.length;l++)for(var s=0;s<a.length;s++,c++)e.props[c]=o[l]?i[l].replace(/&\f/g,a[s]):a[s]+" "+i[l]}}},nI=function e(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function nD(e,t){switch(tJ(e,t)){case 5103:return t$+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return t$+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return t$+e+tV+e+tW+e+e;case 6828:case 4268:return t$+e+tW+e+e;case 6165:return t$+e+tW+"flex-"+e+e;case 5187:return t$+e+t2(e,/(\w+).+(:[^]+)/,t$+"box-$1$2"+tW+"flex-$1$2")+e;case 5443:return t$+e+tW+"flex-item-"+t2(e,/flex-|-self/,"")+e;case 4675:return t$+e+tW+"flex-line-pack"+t2(e,/align-content|flex-|-self/,"")+e;case 5548:return t$+e+tW+t2(e,"shrink","negative")+e;case 5292:return t$+e+tW+t2(e,"basis","preferred-size")+e;case 6060:return t$+"box-"+t2(e,"-grow","")+t$+e+tW+t2(e,"grow","positive")+e;case 4554:return t$+t2(e,/([^-])(transform)/g,"$1"+t$+"$2")+e;case 6187:return t2(t2(t2(e,/(zoom-|grab)/,t$+"$1"),/(image-set)/,t$+"$1"),e,"")+e;case 5495:case 3959:return t2(e,/(image-set\([^]*)/,t$+"$1$`$1");case 4968:return t2(t2(e,/(.+:)(flex-)?(.*)/,t$+"box-pack:$3"+tW+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+t$+e+e;case 4095:case 3583:case 4068:case 2532:return t2(e,/(.+)-inline(.+)/,t$+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(t6(e)-1-t>6)switch(t3(e,t+1)){case 109:if(t3(e,t+4)!==45)break;case 102:return t2(e,/(.+:)(.+)-([^]+)/,"$1"+t$+"$2-$3$1"+tV+(t3(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~t5(e,"stretch")?nD(t2(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(t3(e,t+1)!==115)break;case 6444:switch(t3(e,t6(e)-3-(~t5(e,"!important")&&10))){case 107:return t2(e,":",":"+t$)+e;case 101:return t2(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+t$+(t3(e,14)===45?"inline-":"")+"box$3$1"+t$+"$2$3$1"+tW+"$2box$3")+e}break;case 5936:switch(t3(e,t+11)){case 114:return t$+e+tW+t2(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return t$+e+tW+t2(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return t$+e+tW+t2(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return t$+e+tW+e+e}return e}var nz=function e(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case tK:e.return=nD(e.value,e.length);break;case tG:return nR([nl(e,{value:t2(e.value,"@","@"+t$)})],r);case tU:if(e.length)return t8(e.props,function(t){switch(t1(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return nR([nl(e,{props:[t2(t,/:(read-\w+)/,":"+tV+"$1")]})],r);case"::placeholder":return nR([nl(e,{props:[t2(t,/:(plac\w+)/,":"+t$+"input-$1")]}),nl(e,{props:[t2(t,/:(plac\w+)/,":"+tV+"$1")]}),nl(e,{props:[t2(t,/:(plac\w+)/,tW+"input-$1")]})],r)}return""})}},nW=[nz],nV=function e(e){var t=e.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){var t=e.getAttribute("data-emotion");t.indexOf(" ")!==-1&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r=e.stylisPlugins||nW,o={},i,a=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)o[t[n]]=!0;a.push(e)});var l,c=[nB,nI];{var s,u=[nM,nP(function(e){s.insert(e)})],p=nA(c.concat(r,u)),d=function e(e){return nR(nC(e),p)};l=function e(e,t,n,r){s=n,d(e?e+"{"+t.styles+"}":t.styles),r&&(f.inserted[t.name]=!0)}}var f={key:t,sheet:new tz({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return f.sheet.hydrate(a),f};var n$=!0;function nH(e,t,n){var r="";return n.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var nU=function e(e,t,n){var r=e.key+"-"+t.name;(n===!1||n$===!1)&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},nK=function e(e,t,n){nU(e,t,n);var r=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var o=t;do e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function nX(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*0x5bd1e995+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*0x5bd1e995+((n>>>16)*59797<<16)^(t&65535)*0x5bd1e995+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*0x5bd1e995+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*0x5bd1e995+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var nG={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var nY=!1,nq=/[A-Z]|^ms/g,nZ=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nQ=function e(e){return e.charCodeAt(1)===45},nJ=function e(e){return e!=null&&typeof e!="boolean"},n0=nj(function(e){return nQ(e)?e:e.replace(nq,"-$&").toLowerCase()}),n1=function e(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(nZ,function(e,t,n){return n6={name:t,styles:n,next:n6},t})}return nG[e]!==1&&!nQ(e)&&typeof t=="number"&&t!==0?t+"px":t},n2="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function n5(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n==="undefined"?"undefined":w(n)){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return n6={name:o.name,styles:o.styles,next:n6},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)n6={name:a.name,styles:a.styles,next:n6},a=a.next;var l=i.styles+";";return l}return n3(e,t,n)}case"function":{if(e!==void 0){var c=n6,s=n(e);return n6=c,n5(e,t,s)}break}}var u=n;if(t==null)return u;var p=t[u];return p!==void 0?p:u}function n3(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=n5(e,t,n[o])+";";else for(var i in n){var a=n[i];if((typeof a==="undefined"?"undefined":w(a))!="object"){var l=a;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":nJ(l)&&(r+=n0(i)+":"+n1(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&nY)throw new Error(n2);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)nJ(a[c])&&(r+=n0(i)+":"+n1(i,a[c])+";");else{var s=n5(e,t,a);switch(i){case"animation":case"animationName":{r+=n0(i)+":"+s+";";break}default:r+=i+"{"+s+"}"}}}}return r}var n4=/label:\s*([^\s;{]+)\s*(;|$)/g,n6;function n9(e,t,n){if(e.length===1&&w(e[0])=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";n6=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=n5(n,t,i);else{var a=i;o+=a[0]}for(var l=1;l<e.length;l++)if(o+=n5(n,t,e[l]),r){var c=i;o+=c[l]}n4.lastIndex=0;for(var s="",u;(u=n4.exec(o))!==null;)s+="-"+u[1];var p=nX(o)+s;return{name:p,styles:o,next:n6}}import*as n7 from"react";var n8=function e(e){return e()},re=n7.useInsertionEffect?n7.useInsertionEffect:!1,rt=re||n8;var rn=!1,rr=tL.createContext((typeof HTMLElement==="undefined"?"undefined":w(HTMLElement))<"u"?nV({key:"css"}):null),ro=rr.Provider;var ri=function e(e){return tF(function(t,n){var r=tN(rr);return e(t,r,n)})},ra=tL.createContext({});var rl={}.hasOwnProperty,rc="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",rs=function e(e,t){var n={};for(var r in t)rl.call(t,r)&&(n[r]=t[r]);return n[rc]=e,n},ru=function e(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return nU(t,n,r),rt(function(){return nK(t,n,r)}),null},rp=ri(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[rc],i=[r],a="";typeof e.className=="string"?a=nH(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var l=n9(i,void 0,tL.useContext(ra));a+=t.key+"-"+l.name;var c={};for(var s in e)rl.call(e,s)&&s!=="css"&&s!==rc&&!rn&&(c[s]=e[s]);return c.className=a,n&&(c.ref=n),tL.createElement(tL.Fragment,null,tL.createElement(ru,{cache:t,serialized:l,isStringTag:typeof o=="string"}),tL.createElement(o,c))}),rd=rp;import*as rf from"react";var rm=D($()),rv=function e(e,t){var n=arguments;if(t==null||!rl.call(t,"css"))return rf.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=rd,o[1]=rs(e,t);for(var i=2;i<r;i++)o[i]=n[i];return rf.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(rv||(rv={}));function rh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return n9(t)}function rg(){var e=rh.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function e(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}import*as ry from"react";var rb=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,rx=nj(function(e){return rb.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});var rw=!1,rk=rx,rC=function e(e){return e!=="theme"},rO=function e(e){return typeof e=="string"&&e.charCodeAt(0)>96?rk:rC},rE=function e(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function t(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return typeof r!="function"&&n&&(r=e.__emotion_forwardProp),r},rS=function e(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return nU(t,n,r),rt(function(){return nK(t,n,r)}),null},rT=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var l=rE(t,n,r),c=l||rO(o),s=!c("as");return function(){var u=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),u[0]==null||u[0].raw===void 0)p.push.apply(p,u);else{var d=u[0];p.push(d[0]);for(var f=u.length,m=1;m<f;m++)p.push(u[m],d[m])}var v=ri(function(e,t,n){var r=s&&e.as||o,i="",u=[],d=e;if(e.theme==null){d={};for(var f in e)d[f]=e[f];d.theme=ry.useContext(ra)}typeof e.className=="string"?i=nH(t.registered,u,e.className):e.className!=null&&(i=e.className+" ");var m=n9(p.concat(u),t.registered,d);i+=t.key+"-"+m.name,a!==void 0&&(i+=" "+a);var v=s&&l===void 0?rO(r):c,h={};for(var g in e)s&&g==="as"||v(g)&&(h[g]=e[g]);return h.className=i,n&&(h.ref=n),ry.createElement(ry.Fragment,null,ry.createElement(rS,{cache:t,serialized:m,isStringTag:typeof r=="string"}),ry.createElement(r,h))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=p,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:function e(){return a===void 0&&rw?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(t,r){var o=e(t,eQ({},n,r,{shouldForwardProp:rE(v,r,!0)}));return o.apply(void 0,p)},v}};import"react";var rR=["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"],rM=rT.bind(null);rR.forEach(function(e){rM[e]=rM(e)});function rA(e,t){return rM(e,t)}var rP=function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};import*as rj from"react";function r_(e){if((typeof e==="undefined"?"undefined":w(e))!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function rL(e){if(rj.isValidElement(e)||!r_(e))return e;var t={};return Object.keys(e).forEach(function(n){t[n]=rL(e[n])}),t}function rN(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{clone:!0};var r=n.clone?eQ({},e):e;return r_(e)&&r_(t)&&Object.keys(t).forEach(function(o){rj.isValidElement(t[o])?r[o]=t[o]:r_(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&r_(e[o])?r[o]=rN(e[o],t[o],n):n.clone?r[o]=r_(t[o])?rL(t[o]):t[o]:r[o]=t[o]}),r}var rF=["values","unit","step"];var rB=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 eQ({},e,c({},t.key,t.val))},{})};function rI(e){var t=e.values,n=t===void 0?{xs:0,sm:600,md:900,lg:1200,xl:1536}:t,r=e.unit,o=r===void 0?"px":r,i=e.step,a=i===void 0?5:i,l=tj(e,rF),c=rB(n),s=Object.keys(c);function u(e){return"@media (min-width:".concat(typeof n[e]=="number"?n[e]:e).concat(o,")")}function p(e){return"@media (max-width:".concat((typeof n[e]=="number"?n[e]:e)-a/100).concat(o,")")}function d(e,t){var r=s.indexOf(t);return"@media (min-width:".concat(typeof n[e]=="number"?n[e]:e).concat(o,") and (max-width:").concat((r!==-1&&typeof n[s[r]]=="number"?n[s[r]]:t)-a/100).concat(o,")")}function f(e){return s.indexOf(e)+1<s.length?d(e,s[s.indexOf(e)+1]):u(e)}function m(e){var t=s.indexOf(e);return t===0?u(s[1]):t===s.length-1?p(s[t]):d(e,s[s.indexOf(e)+1]).replace("@media","@media not all and")}return eQ({keys:s,values:c,up:u,down:p,between:d,only:f,not:m,unit:o},l)}var rD={borderRadius:4},rz=rD;function rW(e,t){return t?rN(e,t,{clone:!1}):e}var rV=rW;var r$={xs:0,sm:600,md:900,lg:1200,xl:1536},rH={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(r$[e],"px)")}};function rU(e,t,n){var r=e.theme||{};if(Array.isArray(t)){var o=r.breakpoints||rH;return t.reduce(function(e,r,i){return e[o.up(o.keys[i])]=n(t[i]),e},{})}if((typeof t==="undefined"?"undefined":w(t))=="object"){var i=r.breakpoints||rH;return Object.keys(t).reduce(function(e,r){if(Object.keys(i.values||r$).indexOf(r)!==-1){var o=i.up(r);e[o]=n(t[r],r)}else{var a=r;e[a]=t[a]}return e},{})}return n(t)}function rK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var t;return((t=e.keys)==null?void 0:t.reduce(function(t,n){var r=e.up(n);return t[r]={},t},{}))||{}}function rX(e,t){return e.reduce(function(e,t){var n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function rG(e){if(typeof e!="string")throw new Error(t_(7));return e.charAt(0).toUpperCase()+e.slice(1)}function rY(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!t||typeof t!="string")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(r!=null)return r}return t.split(".").reduce(function(e,t){return e&&e[t]!=null?e[t]:null},e)}function rq(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:n;var o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=rY(e,n)||r,t&&(o=t(o,r,e)),o}function rZ(e){var t=e.prop,n=e.cssProperty,r=n===void 0?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(e[t]==null)return null;var n=e[t],a=e.theme,l=rY(a,o)||{};return rU(e,n,function(e){var n=rq(l,i,e);return e===n&&typeof e=="string"&&(n=rq(l,i,"".concat(t).concat(e==="default"?"":rG(e)),e)),r===!1?n:c({},r,n)})};return a.propTypes={},a.filterProps=[t],a}var rQ=rZ;function rJ(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var r0={m:"margin",p:"padding"},r1={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},r2={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},r5=rJ(function(e){if(e.length>2)if(r2[e])e=r2[e];else return[e];var t=y(e.split(""),2),n=t[0],r=t[1],o=r0[n],i=r1[r]||"";return Array.isArray(i)?i.map(function(e){return o+e}):[o+i]}),r3=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],r4=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],r6=x(r3).concat(x(r4));function r9(e,t,n,r){var o;var i=(o=rY(e,t,!1))!=null?o:n;return typeof i=="number"?function(e){return typeof e=="string"?e:i*e}:Array.isArray(i)?function(e){return typeof e=="string"?e:i[e]}:typeof i=="function"?i:function(){}}function r7(e){return r9(e,"spacing",8,"spacing")}function r8(e,t){if(typeof t=="string"||t==null)return t;var n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:"-".concat(r)}function oe(e,t){return function(n){return e.reduce(function(e,r){return e[r]=r8(t,n),e},{})}}function ot(e,t,n,r){if(t.indexOf(n)===-1)return null;var o=r5(n),i=oe(o,r),a=e[n];return rU(e,a,i)}function on(e,t){var n=r7(e.theme);return Object.keys(e).map(function(r){return ot(e,t,r,n)}).reduce(rV,{})}function or(e){return on(e,r3)}or.propTypes={};or.filterProps=r3;function oo(e){return on(e,r4)}oo.propTypes={};oo.filterProps=r4;function oi(e){return on(e,r6)}oi.propTypes={};oi.filterProps=r6;function oa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:8;if(e.mui)return e;var t=r7({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++){n[r]=arguments[r]}return(n.length===0?[1]:n).map(function(e){var n=t(e);return typeof n=="number"?"".concat(n,"px"):n}).join(" ")};return n.mui=!0,n}function ol(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r=t.reduce(function(e,t){return t.filterProps.forEach(function(n){e[n]=t}),e},{}),o=function(e){return Object.keys(e).reduce(function(t,n){return r[n]?rV(t,r[n](e)):t},{})};return o.propTypes={},o.filterProps=t.reduce(function(e,t){return e.concat(t.filterProps)},[]),o}var oc=ol;function os(e){return typeof e!="number"?e:"".concat(e,"px solid")}function ou(e,t){return rQ({prop:e,themeKey:"borders",transform:t})}var op=ou("border",os),od=ou("borderTop",os),of=ou("borderRight",os),om=ou("borderBottom",os),ov=ou("borderLeft",os),oh=ou("borderColor"),og=ou("borderTopColor"),oy=ou("borderRightColor"),ob=ou("borderBottomColor"),ox=ou("borderLeftColor"),ow=ou("outline",os),ok=ou("outlineColor"),oC=function(e){if(e.borderRadius!==void 0&&e.borderRadius!==null){var t=r9(e.theme,"shape.borderRadius",4,"borderRadius"),n=function(e){return{borderRadius:r8(t,e)}};return rU(e,e.borderRadius,n)}return null};oC.propTypes={};oC.filterProps=["borderRadius"];var oO=oc(op,od,of,om,ov,oh,og,oy,ob,ox,oC,ow,ok);var oE=function(e){if(e.gap!==void 0&&e.gap!==null){var t=r9(e.theme,"spacing",8,"gap"),n=function(e){return{gap:r8(t,e)}};return rU(e,e.gap,n)}return null};oE.propTypes={};oE.filterProps=["gap"];var oS=function(e){if(e.columnGap!==void 0&&e.columnGap!==null){var t=r9(e.theme,"spacing",8,"columnGap"),n=function(e){return{columnGap:r8(t,e)}};return rU(e,e.columnGap,n)}return null};oS.propTypes={};oS.filterProps=["columnGap"];var oT=function(e){if(e.rowGap!==void 0&&e.rowGap!==null){var t=r9(e.theme,"spacing",8,"rowGap"),n=function(e){return{rowGap:r8(t,e)}};return rU(e,e.rowGap,n)}return null};oT.propTypes={};oT.filterProps=["rowGap"];var oR=rQ({prop:"gridColumn"}),oM=rQ({prop:"gridRow"}),oA=rQ({prop:"gridAutoFlow"}),oP=rQ({prop:"gridAutoColumns"}),oj=rQ({prop:"gridAutoRows"}),o_=rQ({prop:"gridTemplateColumns"}),oL=rQ({prop:"gridTemplateRows"}),oN=rQ({prop:"gridTemplateAreas"}),oF=rQ({prop:"gridArea"}),oB=oc(oE,oS,oT,oR,oM,oA,oP,oj,o_,oL,oN,oF);function oI(e,t){return t==="grey"?t:e}var oD=rQ({prop:"color",themeKey:"palette",transform:oI}),oz=rQ({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:oI}),oW=rQ({prop:"backgroundColor",themeKey:"palette",transform:oI}),oV=oc(oD,oz,oW);function o$(e){return e<=1&&e!==0?"".concat(e*100,"%"):e}var oH=rQ({prop:"width",transform:o$}),oU=function(e){if(e.maxWidth!==void 0&&e.maxWidth!==null){var t=function(t){var n,r;var o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[t])||r$[t];return o?((r=e.theme)==null||(r=r.breakpoints)==null?void 0:r.unit)!=="px"?{maxWidth:"".concat(o).concat(e.theme.breakpoints.unit)}:{maxWidth:o}:{maxWidth:o$(t)}};return rU(e,e.maxWidth,t)}return null};oU.filterProps=["maxWidth"];var oK=rQ({prop:"minWidth",transform:o$}),oX=rQ({prop:"height",transform:o$}),oG=rQ({prop:"maxHeight",transform:o$}),oY=rQ({prop:"minHeight",transform:o$}),oq=rQ({prop:"size",cssProperty:"width",transform:o$}),oZ=rQ({prop:"size",cssProperty:"height",transform:o$}),oQ=rQ({prop:"boxSizing"}),oJ=oc(oH,oU,oK,oX,oG,oY,oQ);var o0={border:{themeKey:"borders",transform:os},borderTop:{themeKey:"borders",transform:os},borderRight:{themeKey:"borders",transform:os},borderBottom:{themeKey:"borders",transform:os},borderLeft:{themeKey:"borders",transform:os},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:os},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:oC},color:{themeKey:"palette",transform:oI},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:oI},backgroundColor:{themeKey:"palette",transform:oI},p:{style:oo},pt:{style:oo},pr:{style:oo},pb:{style:oo},pl:{style:oo},px:{style:oo},py:{style:oo},padding:{style:oo},paddingTop:{style:oo},paddingRight:{style:oo},paddingBottom:{style:oo},paddingLeft:{style:oo},paddingX:{style:oo},paddingY:{style:oo},paddingInline:{style:oo},paddingInlineStart:{style:oo},paddingInlineEnd:{style:oo},paddingBlock:{style:oo},paddingBlockStart:{style:oo},paddingBlockEnd:{style:oo},m:{style:or},mt:{style:or},mr:{style:or},mb:{style:or},ml:{style:or},mx:{style:or},my:{style:or},margin:{style:or},marginTop:{style:or},marginRight:{style:or},marginBottom:{style:or},marginLeft:{style:or},marginX:{style:or},marginY:{style:or},marginInline:{style:or},marginInlineStart:{style:or},marginInlineEnd:{style:or},marginBlock:{style:or},marginBlockStart:{style:or},marginBlockEnd:{style:or},displayPrint:{cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:oE},rowGap:{style:oT},columnGap:{style:oS},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:o$},maxWidth:{style:oU},minWidth:{transform:o$},height:{transform:o$},maxHeight:{transform:o$},minHeight:{transform:o$},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},o1=o0;function o2(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}var r=t.reduce(function(e,t){return e.concat(Object.keys(t))},[]),o=new Set(r);return t.every(function(e){return o.size===Object.keys(e).length})}function o5(e,t){return typeof e=="function"?e(t):e}function o3(){function e(e,t,n,r){var o;var i=(o={},c(o,e,t),c(o,"theme",n),o),a=r[e];if(!a)return c({},e,t);var l=a.cssProperty,s=l===void 0?e:l,u=a.themeKey,p=a.transform,d=a.style;if(t==null)return null;if(u==="typography"&&t==="inherit")return c({},e,t);var f=rY(n,u)||{};return d?d(i):rU(i,t,function(t){var n=rq(f,p,t);return t===n&&typeof t=="string"&&(n=rq(f,p,"".concat(e).concat(t==="default"?"":rG(t)),t)),s===!1?n:c({},s,n)})}function t(n){var r;var o=n||{},i=o.sx,a=o.theme,l=a===void 0?{}:a;if(!i)return null;var s=(r=l.unstable_sxConfig)!=null?r:o1;function u(n){var r=n;if(typeof n=="function")r=n(l);else if((typeof n==="undefined"?"undefined":w(n))!="object")return n;if(!r)return null;var o=rK(l.breakpoints),i=Object.keys(o),a=o;return Object.keys(r).forEach(function(n){var o=o5(r[n],l);if(o!=null)if((typeof o==="undefined"?"undefined":w(o))=="object")if(s[n])a=rV(a,e(n,o,l,s));else{var i=rU({theme:l},o,function(e){return c({},n,e)});o2(i,o)?a[n]=t({sx:o,theme:l}):a=rV(a,i)}else a=rV(a,e(n,o,l,s))}),rX(i,a)}return Array.isArray(i)?i.map(u):u(i)}return t}var o4=o3();o4.filterProps=["sx"];var o6=o4;function o9(e,t){var n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?c({},n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)"),t):n.palette.mode===e?t:{}}var o7=["breakpoints","palette","spacing","shape"];function o8(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++){n[r-1]=arguments[r]}var o=e.breakpoints,i=o===void 0?{}:o,a=e.palette,l=a===void 0?{}:a,c=e.spacing,s=e.shape,u=s===void 0?{}:s,p=tj(e,o7),d=rI(i),f=oa(c),m=rN({breakpoints:d,direction:"ltr",components:{},palette:eQ({mode:"light"},l),spacing:f,shape:eQ({},rz,u)},p);return m.applyStyles=o9,m=n.reduce(function(e,t){return rN(e,t)},m),m.unstable_sxConfig=eQ({},o1,p===null||p===void 0?void 0:p.unstable_sxConfig),m.unstable_sx=function(e){return o6({sx:e,theme:this})},m}var ie=o8;import*as it from"react";function ir(e){return Object.keys(e).length===0}function io(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;var t=it.useContext(ra);return!t||ir(t)?e:t}var ii=io;var ia=ie();function il(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ia;return ii(e)}var ic=il;function is(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if((typeof e==="undefined"?"undefined":w(e))=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=is(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function iu(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=is(e))&&(r&&(r+=" "),r+=t);return r}var ip=iu;var id=["ownerState"],im=["variants"],iv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function ih(e){return Object.keys(e).length===0}function ig(e){return typeof e=="string"&&e.charCodeAt(0)>96}function iy(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var ib=ie(),ix=function(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)};function iw(e){var t=e.defaultTheme,n=e.theme,r=e.themeId;return ih(n)?t:n[r]||n}function ik(e){return e?function(t,n){return n[e]}:null}function iC(e,t){var n=t.ownerState,r=tj(t,id),o=typeof e=="function"?e(eQ({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(function(e){return iC(e,eQ({ownerState:n},r))});if(o&&(typeof o==="undefined"?"undefined":w(o))=="object"&&Array.isArray(o.variants)){var i=o.variants,a=i===void 0?[]:i,l=tj(o,im);return a.forEach(function(e){var t=!0;typeof e.props=="function"?t=e.props(eQ({ownerState:n},r,n)):Object.keys(e.props).forEach(function(o){(n===null||n===void 0?void 0:n[o])!==e.props[o]&&r[o]!==e.props[o]&&(t=!1)}),t&&(Array.isArray(l)||(l=[l]),l.push(typeof e.style=="function"?e.style(eQ({ownerState:n},r,n)):e.style))}),l}return o}function iO(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};var t=e.themeId,n=e.defaultTheme,r=n===void 0?ib:n,o=e.rootShouldForwardProp,i=o===void 0?iy:o,a=e.slotShouldForwardProp,l=a===void 0?iy:a,c=function(e){return o6(eQ({},e,{theme:iw(eQ({},e,{defaultTheme:r,themeId:t}))}))};return c.__mui_systemSx=!0,function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};rP(e,function(e){return e.filter(function(e){return!(e!=null&&e.__mui_systemSx)})});var o=n.name,a=n.slot,s=n.skipVariantsResolver,u=n.skipSx,p=n.overridesResolver,d=p===void 0?ik(ix(a)):p,f=tj(n,iv),m=s!==void 0?s:a&&a!=="Root"&&a!=="root"||!1,v=u||!1,h,g=iy;a==="Root"||a==="root"?g=i:a?g=l:ig(e)&&(g=void 0);var b=rA(e,eQ({shouldForwardProp:g,label:h},f)),w=function(e){return typeof e=="function"&&e.__emotion_real!==e||r_(e)?function(n){return iC(e,eQ({},n,{theme:iw({theme:n.theme,defaultTheme:r,themeId:t})}))}:e},k=function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),l=1;l<i;l++){a[l-1]=arguments[l]}var s=w(n),u=a?a.map(w):[];o&&d&&u.push(function(e){var n=iw(eQ({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[o]||!n.components[o].styleOverrides)return null;var i=n.components[o].styleOverrides,a={};return Object.entries(i).forEach(function(t){var r=y(t,2),o=r[0],i=r[1];a[o]=iC(i,eQ({},e,{theme:n}))}),d(e,a)}),o&&!m&&u.push(function(e){var n;var i=iw(eQ({},e,{defaultTheme:r,themeId:t})),a=i==null||(n=i.components)==null||(n=n[o])==null?void 0:n.variants;return iC({variants:a},eQ({},e,{theme:i}))}),v||u.push(c);var p=u.length-a.length;if(Array.isArray(n)&&p>0){var f=new Array(p).fill("");s=x(n).concat(x(f)),s.raw=x(n.raw).concat(x(f))}var h=b.apply(void 0,[s].concat(x(u)));return e.muiName&&(h.muiName=e.muiName),h};return b.withConfig&&(k.withConfig=b.withConfig),k}}function iE(e,t){var n=eQ({},t);return Object.keys(e).forEach(function(r){if(r.toString().match(/^(components|slots)$/))n[r]=eQ({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){var o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=eQ({},i),Object.keys(o).forEach(function(e){n[r][e]=iE(o[e],i[e])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function iS(e){var t=e.theme,n=e.name,r=e.props;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:iE(t.components[n].defaultProps,r)}function iT(e){var t=e.props,n=e.name,r=e.defaultTheme,o=e.themeId;var i=ic(r);return o&&(i=i[o]||i),iS({theme:i,name:n,props:t})}function iR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.MIN_SAFE_INTEGER,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.MAX_SAFE_INTEGER;return Math.max(t,Math.min(e,n))}var iM=iR;function iA(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return iM(e,t,n)}function iP(e){e=e.slice(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&n[0].length===1&&(n=n.map(function(e){return e+e})),n?"rgb".concat(n.length===4?"a":"","(").concat(n.map(function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3}).join(", "),")"):""}function ij(e){if(e.type)return e;if(e.charAt(0)==="#")return ij(iP(e));var t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(t_(9,e));var r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(t_(10,o))}else r=r.split(",");return r=r.map(function(e){return parseFloat(e)}),{type:n,values:r,colorSpace:o}}function i_(e){var t=e.type,n=e.colorSpace,r=e.values;return t.indexOf("rgb")!==-1?r=r.map(function(e,t){return t<3?parseInt(e,10):e}):t.indexOf("hsl")!==-1&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),t.indexOf("color")!==-1?r="".concat(n," ").concat(r.join(" ")):r="".concat(r.join(", ")),"".concat(t,"(").concat(r,")")}function iL(e){e=ij(e);var t=e.values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",c=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",c.push(t[3])),i_({type:l,values:c})}function iN(e){e=ij(e);var t=e.type==="hsl"||e.type==="hsla"?ij(iL(e)).values:e.values;return t=t.map(function(t){return e.type!=="color"&&(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 iF(e,t){var n=iN(e),r=iN(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function iB(e,t){return e=ij(e),t=iA(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]="/".concat(t):e.values[3]=t,i_(e)}function iI(e,t){if(e=ij(e),t=iA(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(var n=0;n<3;n+=1)e.values[n]*=1-t;return i_(e)}function iD(e,t){if(e=ij(e),t=iA(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(var r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return i_(e)}function iz(e,t){var n;return eQ({toolbar:(n={minHeight:56},c(n,e.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),c(n,e.up("sm"),{minHeight:64}),n)},t)}var iW=["mode","contrastThreshold","tonalOffset"],iV={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:eB.white,default:eB.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}},i$={text:{primary:eB.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:eB.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 iH(e,t,n,r){var o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=iD(e.main,o):t==="dark"&&(e.dark=iI(e.main,i)))}function iU(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:e$[200],light:e$[50],dark:e$[400]}:{main:e$[700],light:e$[400],dark:e$[800]}}function iK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eW[200],light:eW[50],dark:eW[400]}:{main:eW[500],light:eW[300],dark:eW[700]}}function iX(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eD[500],light:eD[300],dark:eD[700]}:{main:eD[700],light:eD[400],dark:eD[800]}}function iG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eU[400],light:eU[300],dark:eU[700]}:{main:eU[700],light:eU[500],dark:eU[900]}}function iY(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eX[400],light:eX[300],dark:eX[700]}:{main:eX[800],light:eX[500],dark:eX[900]}}function iq(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"light";return e==="dark"?{main:eY[400],light:eY[300],dark:eY[700]}:{main:"#ed6c02",light:eY[500],dark:eY[900]}}function iZ(e){var t=e.mode,n=t===void 0?"light":t,r=e.contrastThreshold,o=r===void 0?3:r,i=e.tonalOffset,a=i===void 0?.2:i,l=tj(e,iW),c=e.primary||iU(n),s=e.secondary||iK(n),u=e.error||iX(n),p=e.info||iG(n),d=e.success||iY(n),f=e.warning||iq(n);function m(e){return iF(e,i$.text.primary)>=o?i$.text.primary:iV.text.primary}var v=function(e){var t=e.color,n=e.name,r=e.mainShade,o=r===void 0?500:r,i=e.lightShade,l=i===void 0?300:i,c=e.darkShade,s=c===void 0?700:c;if(t=eQ({},t),!t.main&&t[o]&&(t.main=t[o]),!t.hasOwnProperty("main"))throw new Error(e2(11,n?" (".concat(n,")"):"",o));if(typeof t.main!="string")throw new Error(e2(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return iH(t,"light",l,a),iH(t,"dark",s,a),t.contrastText||(t.contrastText=m(t.main)),t},h={dark:i$,light:iV};return e1(eQ({common:eQ({},eB),mode:n,primary:v({color:c,name:"primary"}),secondary:v({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:v({color:u,name:"error"}),warning:v({color:f,name:"warning"}),info:v({color:p,name:"info"}),success:v({color:d,name:"success"}),grey:eZ,contrastThreshold:o,getContrastText:m,augmentColor:v,tonalOffset:a},h[n]),l)}var iQ=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function iJ(e){return Math.round(e*1e5)/1e5}var i0={textTransform:"uppercase"},i1='"Roboto", "Helvetica", "Arial", sans-serif';function i2(e,t){var n=typeof t=="function"?t(e):t,r=n.fontFamily,o=r===void 0?i1:r,i=n.fontSize,a=i===void 0?14:i,l=n.fontWeightLight,c=l===void 0?300:l,s=n.fontWeightRegular,u=s===void 0?400:s,p=n.fontWeightMedium,d=p===void 0?500:p,f=n.fontWeightBold,m=f===void 0?700:f,v=n.htmlFontSize,h=v===void 0?16:v,g=n.allVariants,y=n.pxToRem,b=tj(n,iQ),x=a/14,w=y||function(e){return"".concat(e/h*x,"rem")},k=function(e,t,n,r,i){return eQ({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===i1?{letterSpacing:"".concat(iJ(r/t),"em")}:{},i,g)},C={h1:k(c,96,1.167,-1.5),h2:k(c,60,1.2,-.5),h3:k(u,48,1.167,0),h4:k(u,34,1.235,.25),h5:k(u,24,1.334,0),h6:k(d,20,1.6,.15),subtitle1:k(u,16,1.75,.15),subtitle2:k(d,14,1.57,.1),body1:k(u,16,1.5,.15),body2:k(u,14,1.43,.15),button:k(d,14,1.75,.4,i0),caption:k(u,12,1.66,.4),overline:k(u,12,2.66,1,i0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return e1(eQ({htmlFontSize:h,pxToRem:w,fontFamily:o,fontSize:a,fontWeightLight:c,fontWeightRegular:u,fontWeightMedium:d,fontWeightBold:m},C),b,{clone:!1})}function i5(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++){t[n]=arguments[n]}return["".concat(t[0],"px ").concat(t[1],"px ").concat(t[2],"px ").concat(t[3],"px rgba(0,0,0,",.2,")"),"".concat(t[4],"px ").concat(t[5],"px ").concat(t[6],"px ").concat(t[7],"px rgba(0,0,0,",.14,")"),"".concat(t[8],"px ").concat(t[9],"px ").concat(t[10],"px ").concat(t[11],"px rgba(0,0,0,",.12,")")].join(",")}var i3=["none",i5(0,2,1,-1,0,1,1,0,0,1,3,0),i5(0,3,1,-2,0,2,2,0,0,1,5,0),i5(0,3,3,-2,0,3,4,0,0,1,8,0),i5(0,2,4,-1,0,4,5,0,0,1,10,0),i5(0,3,5,-1,0,5,8,0,0,1,14,0),i5(0,3,5,-1,0,6,10,0,0,1,18,0),i5(0,4,5,-2,0,7,10,1,0,2,16,1),i5(0,5,5,-3,0,8,10,1,0,3,14,2),i5(0,5,6,-3,0,9,12,1,0,3,16,2),i5(0,6,6,-3,0,10,14,1,0,4,18,3),i5(0,6,7,-4,0,11,15,1,0,4,20,3),i5(0,7,8,-4,0,12,17,2,0,5,22,4),i5(0,7,8,-4,0,13,19,2,0,5,24,4),i5(0,7,9,-4,0,14,21,2,0,5,26,4),i5(0,8,9,-5,0,15,22,2,0,6,28,5),i5(0,8,10,-5,0,16,24,2,0,6,30,5),i5(0,8,11,-5,0,17,26,2,0,6,32,5),i5(0,9,11,-5,0,18,28,2,0,7,34,6),i5(0,9,12,-6,0,19,29,2,0,7,36,6),i5(0,10,13,-6,0,20,31,3,0,8,38,7),i5(0,10,13,-6,0,21,33,3,0,8,40,7),i5(0,10,14,-6,0,22,35,3,0,8,42,7),i5(0,11,14,-7,0,23,36,3,0,9,44,8),i5(0,11,15,-7,0,24,38,3,0,9,46,8)],i4=i3;var i6=["duration","easing","delay"],i9={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)"},i7={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function i8(e){return"".concat(Math.round(e),"ms")}function ae(e){if(!e)return 0;var t=e/36;return Math.round((4+15*Math.pow(t,.25)+t/5)*10)}function at(e){var t=eQ({},i9,e.easing),n=eQ({},i7,e.duration);return eQ({getAutoHeightDuration:ae,create:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["all"],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var o=r.duration,i=o===void 0?n.standard:o,a=r.easing,l=a===void 0?t.easeInOut:a,c=r.delay,s=c===void 0?0:c,u=tj(r,i6);return(Array.isArray(e)?e:[e]).map(function(e){return"".concat(e," ").concat(typeof i=="string"?i:i8(i)," ").concat(l," ").concat(typeof s=="string"?s:i8(s))}).join(",")}},e,{easing:t,duration:n})}var an={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ar=an;var ao=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ai(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++){n[r-1]=arguments[r]}var o=e.mixins,i=o===void 0?{}:o,a=e.palette,l=a===void 0?{}:a,c=e.transitions,s=c===void 0?{}:c,u=e.typography,p=u===void 0?{}:u,d=tj(e,ao);if(e.vars)throw new Error(e2(18));var f=iZ(l),m=ie(e),v=e1(m,{mixins:iz(m.breakpoints,i),palette:f,shadows:i4.slice(),typography:i2(f,p),transitions:at(s),zIndex:eQ({},ar)});return v=e1(v,d),v=n.reduce(function(e,t){return e1(e,t)},v),v.unstable_sxConfig=eQ({},o1,d===null||d===void 0?void 0:d.unstable_sxConfig),v.unstable_sx=function(e){return o6({sx:e,theme:this})},v}var aa=ai;import*as al from"react";var ac=aa(),as=ac;function au(){var e=ic(as);return e[tP]||e}function ap(e){var t=e.props,n=e.name;return iT({props:t,name:n,defaultTheme:as,themeId:tP})}var ad=function(e){return iy(e)&&e!=="classes"};var af=iO({themeId:tP,defaultTheme:as,rootShouldForwardProp:ad}),am=af;var av=e5;var ah=tr;var ag=ti;var ay=tc;var ab=tu;var ax=tk;function aw(e,t){return aw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(e,t){return e.__proto__=t,e},aw(e,t)}function ak(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,aw(e,t)}import aC from"react";import aO from"react-dom";var aE={disabled:!1};import aS from"react";var aT=aS.createContext(null);var aR=function e(e){return e.scrollTop};var aM="unmounted",aA="exited",aP="entering",aj="entered",a_="exiting",aL=function(e){ak(t,e);function t(t,n){var r;r=e.call(this,t,n)||this;var o=n,i=o&&!o.isMounting?t.enter:t.appear,a;return r.appearStatus=null,t.in?i?(a=aA,r.appearStatus=aP):a=aj:t.unmountOnExit||t.mountOnEnter?a=aM:a=aA,r.state={status:a},r.nextCallback=null,r}t.getDerivedStateFromProps=function(e,t){var n=e.in;return n&&t.status===aM?{status:aA}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==aP&&n!==aj&&(t=aP):(n===aP||n===aj)&&(t=a_)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t,n,r;return t=n=r=e,e!=null&&typeof e!="number"&&(t=e.exit,n=e.enter,r=e.appear!==void 0?e.appear:n),{exit:t,enter:n,appear:r}},n.updateStatus=function(e,t){if(e===void 0&&(e=!1),t!==null)if(this.cancelNextCallback(),t===aP){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:aO.findDOMNode(this);n&&aR(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===aA&&this.setState({status:aM})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[aO.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),c=r?l.appear:l.enter;if(!e&&!n||aE.disabled){this.safeSetState({status:aj},function(){t.props.onEntered(i)});return}this.props.onEnter(i,a),this.safeSetState({status:aP},function(){t.props.onEntering(i,a),t.onTransitionEnd(c,function(){t.safeSetState({status:aj},function(){t.props.onEntered(i,a)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:aO.findDOMNode(this);if(!t||aE.disabled){this.safeSetState({status:aA},function(){e.props.onExited(r)});return}this.props.onExit(r),this.safeSetState({status:a_},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:aA},function(){e.props.onExited(r)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:aO.findDOMNode(this),r=e==null&&!this.props.addEndListener;if(!n||r){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}e!=null&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===aM)return null;var t=this.props,n=t.children,r=t.in,o=t.mountOnEnter,i=t.unmountOnExit,a=t.appear,l=t.enter,c=t.exit,s=t.timeout,u=t.addEndListener,p=t.onEnter,d=t.onEntering,f=t.onEntered,m=t.onExit,v=t.onExiting,h=t.onExited,g=t.nodeRef,y=tj(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return aC.createElement(aT.Provider,{value:null},typeof n=="function"?n(e,y):aC.cloneElement(aC.Children.only(n),y))},t}(aC.Component);aL.contextType=aT;aL.propTypes={};function aN(){}aL.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:aN,onEntering:aN,onEntered:aN,onExit:aN,onExiting:aN,onExited:aN};aL.UNMOUNTED=aM;aL.EXITED=aA;aL.ENTERING=aP;aL.ENTERED=aj;aL.EXITING=a_;var aF=aL;function aB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}import aI from"react";import{Children as aD,cloneElement as az,isValidElement as aW}from"react";function aV(e,t){var n=function e(e){return t&&aW(e)?t(e):e},r=Object.create(null);return e&&aD.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function a$(e,t){e=e||{},t=t||{};function n(n){return n in t?t[n]:e[n]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var c in t){if(r[c])for(a=0;a<r[c].length;a++){var s=r[c][a];l[r[c][a]]=n(s)}l[c]=n(c)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}function aH(e,t,n){return n[t]!=null?n[t]:e.props[t]}function aU(e,t){return aV(e.children,function(n){return az(n,{onExited:t.bind(null,n),in:!0,appear:aH(n,"appear",e),enter:aH(n,"enter",e),exit:aH(n,"exit",e)})})}function aK(e,t,n){var r=aV(e.children),o=a$(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if(aW(a)){var l=i in t,c=i in r,s=t[i],u=aW(s)&&!s.props.in;c&&(!l||u)?o[i]=az(a,{onExited:n.bind(null,a),in:!0,exit:aH(a,"exit",e),enter:aH(a,"enter",e)}):!c&&l&&!u?o[i]=az(a,{in:!1}):c&&l&&aW(s)&&(o[i]=az(a,{onExited:n.bind(null,a),in:s.props.in,exit:aH(a,"exit",e),enter:aH(a,"enter",e)}))}}),o}var aX=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},aG={component:"div",childFactory:function e(e){return e}},aY=function(e){ak(t,e);function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(aB(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited,o=t.firstRender;return{children:o?aU(e,r):aK(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=aV(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=eQ({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=tj(e,["component","childFactory"]),o=this.state.contextValue,i=aX(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,t===null?aI.createElement(aT.Provider,{value:o},i):aI.createElement(aT.Provider,{value:o},aI.createElement(t,r,i))},t}(aI.Component);aY.propTypes={};aY.defaultProps=aG;var aq=aY;var aZ=function(e){return e.scrollTop};function aQ(e,t){var n,r;var o=e.timeout,i=e.easing,a=e.style,l=a===void 0?{}:a;return{duration:(n=l.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=l.transitionTimingFunction)!=null?r:(typeof i==="undefined"?"undefined":w(i))=="object"?i[t.mode]:i,delay:l.transitionDelay}}import*as aJ from"react";import*as a0 from"react";import*as a1 from"react";import{jsx as a2}from"react/jsx-runtime";function a5(e){var t=e.className,n=e.classes,r=e.pulsate,o=r===void 0?!1:r,i=e.rippleX,a=e.rippleY,l=e.rippleSize,c=e.in,s=e.onExited,u=e.timeout,p=y(a1.useState(!1),2),d=p[0],f=p[1],m=ip(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),v={width:l,height:l,top:-(l/2)+a,left:-(l/2)+i},h=ip(n.child,d&&n.childLeaving,o&&n.childPulsate);return!c&&!d&&f(!0),a1.useEffect(function(){if(!c&&s!=null){var e=setTimeout(s,u);return function(){clearTimeout(e)}}},[s,c,u]),a2("span",{className:m,style:v,children:a2("span",{className:h})})}var a3=a5;var a4=tA("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),a6=a4;import{jsx as a9}from"react/jsx-runtime";var a7=["center","classes","className"],a8=function(e){return e},le,lt,ln,lr,lo=550,li=80,la=rg(le||(le=a8(L()))),ll=rg(lt||(lt=a8(N()))),lc=rg(ln||(ln=a8(F()))),ls=am("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),lu=am(a3,{name:"MuiTouchRipple",slot:"Ripple"})(lr||(lr=a8(B(),0,0,0,0,0,0,0,0,0,0,0,0,0,0)),a6.rippleVisible,la,lo,function(e){var t=e.theme;return t.transitions.easing.easeInOut},a6.ripplePulsate,function(e){var t=e.theme;return t.transitions.duration.shorter},a6.child,a6.childLeaving,ll,lo,function(e){var t=e.theme;return t.transitions.easing.easeInOut},a6.childPulsate,lc,function(e){var t=e.theme;return t.transitions.easing.easeInOut}),lp=a0.forwardRef(function(e,t){var n=ap({props:e,name:"MuiTouchRipple"}),r=n.center,o=r===void 0?!1:r,i=n.classes,a=i===void 0?{}:i,l=n.className,c=tj(n,a7),s=y(a0.useState([]),2),u=s[0],p=s[1],d=a0.useRef(0),f=a0.useRef(null);a0.useEffect(function(){f.current&&(f.current(),f.current=null)},[u]);var m=a0.useRef(!1),v=a0.useRef(0),h=a0.useRef(null),g=a0.useRef(null);a0.useEffect(function(){return function(){v.current&&clearTimeout(v.current)}},[]);var b=a0.useCallback(function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,o=e.rippleSize,i=e.cb;p(function(e){return x(e).concat([a9(lu,{classes:{ripple:ip(a.ripple,a6.ripple),rippleVisible:ip(a.rippleVisible,a6.rippleVisible),ripplePulsate:ip(a.ripplePulsate,a6.ripplePulsate),child:ip(a.child,a6.child),childLeaving:ip(a.childLeaving,a6.childLeaving),childPulsate:ip(a.childPulsate,a6.childPulsate)},timeout:lo,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},d.current)])}),d.current+=1,f.current=i},[a]),w=a0.useCallback(function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){};var r=t.pulsate,i=r===void 0?!1:r,a=t.center,l=a===void 0?o||t.pulsate:a,c=t.fakeElement,s=c===void 0?!1:c;if((e===null||e===void 0?void 0:e.type)==="mousedown"&&m.current){m.current=!1;return}(e===null||e===void 0?void 0:e.type)==="touchstart"&&(m.current=!0);var u=s?null:g.current,p=u?u.getBoundingClientRect():{width:0,height:0,left:0,top:0},d,f,y;if(l||e===void 0||e.clientX===0&&e.clientY===0||!e.clientX&&!e.touches)d=Math.round(p.width/2),f=Math.round(p.height/2);else{var x=e.touches&&e.touches.length>0?e.touches[0]:e,w=x.clientX,k=x.clientY;d=Math.round(w-p.left),f=Math.round(k-p.top)}if(l)y=Math.sqrt((2*Math.pow(p.width,2)+Math.pow(p.height,2))/3),y%2===0&&(y+=1);else{var C=Math.max(Math.abs((u?u.clientWidth:0)-d),d)*2+2,O=Math.max(Math.abs((u?u.clientHeight:0)-f),f)*2+2;y=Math.sqrt(Math.pow(C,2)+Math.pow(O,2))}e!=null&&e.touches?h.current===null&&(h.current=function(){b({pulsate:i,rippleX:d,rippleY:f,rippleSize:y,cb:n})},v.current=setTimeout(function(){h.current&&(h.current(),h.current=null)},li)):b({pulsate:i,rippleX:d,rippleY:f,rippleSize:y,cb:n})},[o,b]),k=a0.useCallback(function(){w({},{pulsate:!0})},[w]),C=a0.useCallback(function(e,t){if(clearTimeout(v.current),(e===null||e===void 0?void 0:e.type)==="touchend"&&h.current){h.current(),h.current=null,v.current=setTimeout(function(){C(e,t)});return}h.current=null,p(function(e){return e.length>0?e.slice(1):e}),f.current=t},[]);return a0.useImperativeHandle(t,function(){return{pulsate:k,start:w,stop:C}},[k,w,C]),a9(ls,eQ({className:ip(a6.root,a.root,l),ref:g},c,{children:a9(aq,{component:null,exit:!0,children:u})}))}),ld=lp;function lf(e){return tM("MuiButtonBase",e)}var lm=tA("MuiButtonBase",["root","disabled","focusVisible"]),lv=lm;import{jsx as lh}from"react/jsx-runtime";import{jsxs as lg}from"react/jsx-runtime";var ly;var lb=["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"],lx=function(e){var t=e.disabled,n=e.focusVisible,r=e.focusVisibleClassName,o=e.classes,i=tC({root:["root",t&&"disabled",n&&"focusVisible"]},lf,o);return n&&r&&(i.root+=" ".concat(r)),i},lw=am("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(e,t){return t.root}})((ly={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"}},c(ly,"&.".concat(lv.disabled),{pointerEvents:"none",cursor:"default"}),c(ly,"@media print",{colorAdjust:"exact"}),ly)),lk=aJ.forwardRef(function(e,t){var n=ap({props:e,name:"MuiButtonBase"}),r=n.action,o=n.centerRipple,i=o===void 0?!1:o,a=n.children,l=n.className,c=n.component,s=c===void 0?"button":c,u=n.disabled,p=u===void 0?!1:u,d=n.disableRipple,f=d===void 0?!1:d,m=n.disableTouchRipple,v=m===void 0?!1:m,h=n.focusRipple,g=h===void 0?!1:h,b=n.LinkComponent,x=b===void 0?"a":b,w=n.onBlur,k=n.onClick,C=n.onContextMenu,O=n.onDragLeave,E=n.onFocus,S=n.onFocusVisible,T=n.onKeyDown,R=n.onKeyUp,M=n.onMouseDown,A=n.onMouseLeave,P=n.onMouseUp,j=n.onTouchEnd,_=n.onTouchMove,L=n.onTouchStart,N=n.tabIndex,F=N===void 0?0:N,B=n.TouchRippleProps,I=n.touchRippleRef,D=n.type,z=tj(n,lb),W=aJ.useRef(null),V=aJ.useRef(null),$=ab(V,I),H=ax(),U=H.isFocusVisibleRef,K=H.onFocus,X=H.onBlur,G=H.ref,Y=y(aJ.useState(!1),2),q=Y[0],Z=Y[1];p&&q&&Z(!1),aJ.useImperativeHandle(r,function(){return{focusVisible:function(){Z(!0),W.current.focus()}}},[]);var Q=y(aJ.useState(!1),2),J=Q[0],ee=Q[1];aJ.useEffect(function(){ee(!0)},[]);var et=J&&!f&&!p;aJ.useEffect(function(){q&&g&&!f&&J&&V.current.pulsate()},[f,g,q,J]);function en(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:v;return ay(function(r){return t&&t(r),!n&&V.current&&V.current[e](r),!0})}var er=en("start",M),eo=en("stop",C),ei=en("stop",O),ea=en("stop",P),el=en("stop",function(e){q&&e.preventDefault(),A&&A(e)}),ec=en("start",L),es=en("stop",j),eu=en("stop",_),ep=en("stop",function(e){X(e),U.current===!1&&Z(!1),w&&w(e)},!1),ed=ay(function(e){W.current||(W.current=e.currentTarget),K(e),U.current===!0&&(Z(!0),S&&S(e)),E&&E(e)}),ef=function(){var e=W.current;return s&&s!=="button"&&!(e.tagName==="A"&&e.href)},em=aJ.useRef(!1),ev=ay(function(e){g&&!em.current&&q&&V.current&&e.key===" "&&(em.current=!0,V.current.stop(e,function(){V.current.start(e)})),e.target===e.currentTarget&&ef()&&e.key===" "&&e.preventDefault(),T&&T(e),e.target===e.currentTarget&&ef()&&e.key==="Enter"&&!p&&(e.preventDefault(),k&&k(e))}),eh=ay(function(e){g&&e.key===" "&&V.current&&q&&!e.defaultPrevented&&(em.current=!1,V.current.stop(e,function(){V.current.pulsate(e)})),R&&R(e),k&&e.target===e.currentTarget&&ef()&&e.key===" "&&!e.defaultPrevented&&k(e)}),eg=s;eg==="button"&&(z.href||z.to)&&(eg=x);var ey={};eg==="button"?(ey.type=D===void 0?"button":D,ey.disabled=p):(!z.href&&!z.to&&(ey.role="button"),p&&(ey["aria-disabled"]=p));var eb=ab(t,G,W),ex=eQ({},n,{centerRipple:i,component:s,disabled:p,disableRipple:f,disableTouchRipple:v,focusRipple:g,tabIndex:F,focusVisible:q}),ew=lx(ex);return lg(lw,eQ({as:eg,className:ip(ew.root,l),ownerState:ex,onBlur:ep,onClick:k,onContextMenu:eo,onFocus:ed,onKeyDown:ev,onKeyUp:eh,onMouseDown:er,onMouseLeave:el,onMouseUp:ea,onDragLeave:ei,onTouchEnd:es,onTouchMove:eu,onTouchStart:ec,ref:eb,tabIndex:p?-1:F,type:D},ey,z,{children:[a,et?lh(ld,eQ({ref:$,center:i},B)):null]}))}),lC=lk;import*as lO from"react";function lE(e){return tM("MuiIconButton",e)}var lS=tA("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),lT=lS;import{jsx as lR}from"react/jsx-runtime";var lM=["edge","children","className","color","disabled","disableFocusRipple","size"],lA=function(e){var t=e.classes,n=e.disabled,r=e.color,o=e.edge,i=e.size,a={root:["root",n&&"disabled",r!=="default"&&"color".concat(av(r)),o&&"edge".concat(av(o)),"size".concat(av(i))]};return tC(a,lE,t)},lP=am(lC,{name:"MuiIconButton",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.color!=="default"&&t["color".concat(av(n.color))],n.edge&&t["edge".concat(av(n.edge))],t["size".concat(av(n.size))]]}})(function(e){var t=e.theme,n=e.ownerState;return eQ({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,")"):iB(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},n.edge==="start"&&{marginLeft:n.size==="small"?-3:-12},n.edge==="end"&&{marginRight:n.size==="small"?-3:-12})},function(e){var t=e.theme,n=e.ownerState;var r;var o=(r=(t.vars||t).palette)==null?void 0:r[n.color];return eQ({},n.color==="inherit"&&{color:"inherit"},n.color!=="inherit"&&n.color!=="default"&&eQ({color:o===null||o===void 0?void 0:o.main},!n.disableRipple&&{"&:hover":eQ({},o&&{backgroundColor:t.vars?"rgba(".concat(o.mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):iB(o.main,t.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),n.size==="small"&&{padding:5,fontSize:t.typography.pxToRem(18)},n.size==="large"&&{padding:12,fontSize:t.typography.pxToRem(28)},c({},"&.".concat(lT.disabled),{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled}))}),lj=lO.forwardRef(function(e,t){var n=ap({props:e,name:"MuiIconButton"}),r=n.edge,o=r===void 0?!1:r,i=n.children,a=n.className,l=n.color,c=l===void 0?"default":l,s=n.disabled,u=s===void 0?!1:s,p=n.disableFocusRipple,d=p===void 0?!1:p,f=n.size,m=f===void 0?"medium":f,v=tj(n,lM),h=eQ({},n,{edge:o,color:c,disabled:u,disableFocusRipple:d,size:m}),g=lA(h);return lR(lP,eQ({className:ip(g.root,a),centerRipple:!0,focusRipple:!d,disabled:u,ref:t,ownerState:h},v,{children:i}))}),l_=lj;function lL(e){return typeof e=="string"}function lN(e,t,n){return e===void 0||lL(e)?t:eQ({},t,{ownerState:eQ({},t.ownerState,n)})}import*as lF from"react";import{jsx as lB}from"react/jsx-runtime";var lI={disableDefaultClasses:!1},lD=lF.createContext(lI);function lz(e){var t=lF.useContext(lD),n=t.disableDefaultClasses;return function(t){return n?"":e(t)}}function lW(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(e===void 0)return{};var n={};return Object.keys(e).filter(function(n){return n.match(/^on[A-Z]/)&&typeof e[n]=="function"&&!t.includes(n)}).forEach(function(t){n[t]=e[t]}),n}function lV(e,t,n){return typeof e=="function"?e(t,n):e}function l$(e){if(e===void 0)return{};var t={};return Object.keys(e).filter(function(t){return!(t.match(/^on[A-Z]/)&&typeof e[t]=="function")}).forEach(function(n){t[n]=e[n]}),t}function lH(e){var t=e.getSlotProps,n=e.additionalProps,r=e.externalSlotProps,o=e.externalForwardedProps,i=e.className;if(!t){var a=ip(n===null||n===void 0?void 0:n.className,i,o===null||o===void 0?void 0:o.className,r===null||r===void 0?void 0:r.className),l=eQ({},n===null||n===void 0?void 0:n.style,o===null||o===void 0?void 0:o.style,r===null||r===void 0?void 0:r.style),c=eQ({},n,o,r);return a.length>0&&(c.className=a),Object.keys(l).length>0&&(c.style=l),{props:c,internalRef:void 0}}var s=lW(eQ({},o,r)),u=l$(r),p=l$(o),d=t(s),f=ip(d===null||d===void 0?void 0:d.className,n===null||n===void 0?void 0:n.className,i,o===null||o===void 0?void 0:o.className,r===null||r===void 0?void 0:r.className),m=eQ({},d===null||d===void 0?void 0:d.style,n===null||n===void 0?void 0:n.style,o===null||o===void 0?void 0:o.style,r===null||r===void 0?void 0:r.style),v=eQ({},d,n,p,u);return f.length>0&&(v.className=f),Object.keys(m).length>0&&(v.style=m),{props:v,internalRef:d.ref}}var lU=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function lK(e){var t;var n=e.elementType,r=e.externalSlotProps,o=e.ownerState,i=e.skipResolvingSlotProps,a=i===void 0?!1:i,l=tj(e,lU),c=a?{}:lV(r,o),s=lH(eQ({},l,{externalSlotProps:c})),u=s.props,p=s.internalRef,d=tu(p,c===null||c===void 0?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return lN(n,eQ({},u,{ref:d}),o)}import*as lX from"react";var lG="top",lY="bottom",lq="right",lZ="left",lQ="auto",lJ=[lG,lY,lq,lZ],l0="start",l1="end",l2="clippingParents",l5="viewport",l3="popper",l4="reference",l6=lJ.reduce(function(e,t){return e.concat([t+"-"+l0,t+"-"+l1])},[]),l9=[].concat(lJ,[lQ]).reduce(function(e,t){return e.concat([t,t+"-"+l0,t+"-"+l1])},[]),l7="beforeRead",l8="read",ce="afterRead",ct="beforeMain",cn="main",cr="afterMain",co="beforeWrite",ci="write",ca="afterWrite",cl=[l7,l8,ce,ct,cn,cr,co,ci,ca];function cc(e){return e?(e.nodeName||"").toLowerCase():null}function cs(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function cu(e){var t=cs(e).Element;return p(e,t)||p(e,Element)}function cp(e){var t=cs(e).HTMLElement;return p(e,t)||p(e,HTMLElement)}function cd(e){if((typeof ShadowRoot==="undefined"?"undefined":w(ShadowRoot))>"u")return!1;var t=cs(e).ShadowRoot;return p(e,t)||p(e,ShadowRoot)}function cf(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!cp(o)||!cc(o)||(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];t===!1?o.removeAttribute(e):o.setAttribute(e,t===!0?"":t)}))})}function cm(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]),a=i.reduce(function(e,t){return e[t]="",e},{});!cp(r)||!cc(r)||(Object.assign(r.style,a),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}}var cv={name:"applyStyles",enabled:!0,phase:"write",fn:cf,effect:cm,requires:["computeStyles"]};function ch(e){return e.split("-")[0]}var cg=Math.max,cy=Math.min,cb=Math.round;function cx(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function cw(){return!/^((?!chrome|android).)*safari/i.test(cx())}function ck(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&cp(e)&&(o=e.offsetWidth>0&&cb(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&cb(r.height)/e.offsetHeight||1);var a=cu(e)?cs(e):window,l=a.visualViewport,c=!cw()&&n,s=(r.left+(c&&l?l.offsetLeft:0))/o,u=(r.top+(c&&l?l.offsetTop:0))/i,p=r.width/o,d=r.height/i;return{width:p,height:d,top:u,right:s+p,bottom:u+d,left:s,x:s,y:u}}function cC(e){var t=ck(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 cO(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&cd(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function cE(e){return cs(e).getComputedStyle(e)}function cS(e){return["table","td","th"].indexOf(cc(e))>=0}function cT(e){return((cu(e)?e.ownerDocument:e.document)||window.document).documentElement}function cR(e){return cc(e)==="html"?e:e.assignedSlot||e.parentNode||(cd(e)?e.host:null)||cT(e)}function cM(e){return!cp(e)||cE(e).position==="fixed"?null:e.offsetParent}function cA(e){var t=/firefox/i.test(cx()),n=/Trident/i.test(cx());if(n&&cp(e)){var r=cE(e);if(r.position==="fixed")return null}var o=cR(e);for(cd(o)&&(o=o.host);cp(o)&&["html","body"].indexOf(cc(o))<0;){var i=cE(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function cP(e){for(var t=cs(e),n=cM(e);n&&cS(n)&&cE(n).position==="static";)n=cM(n);return n&&(cc(n)==="html"||cc(n)==="body"&&cE(n).position==="static")?t:n||cA(e)||t}function cj(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function c_(e,t,n){return cg(e,cy(t,n))}function cL(e,t,n){var r=c_(e,t,n);return r>n?n:r}function cN(){return{top:0,right:0,bottom:0,left:0}}function cF(e){return Object.assign({},cN(),e)}function cB(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var cI=function e(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,cF(typeof e!="number"?e:cB(e,lJ))};function cD(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=ch(n.placement),c=cj(l),s=[lZ,lq].indexOf(l)>=0,u=s?"height":"width";if(!(!i||!a)){var p=cI(o.padding,n),d=cC(i),f=c==="y"?lG:lZ,m=c==="y"?lY:lq,v=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],h=a[c]-n.rects.reference[c],g=cP(i),y=g?c==="y"?g.clientHeight||0:g.clientWidth||0:0,b=v/2-h/2,x=p[f],w=y-d[u]-p[m],k=y/2-d[u]/2+b,C=c_(x,k,w),O=c;n.modifiersData[r]=(t={},t[O]=C,t.centerOffset=C-k,t)}}function cz(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||cO(t.elements.popper,o)&&(t.elements.arrow=o))}var cW={name:"arrow",enabled:!0,phase:"main",fn:cD,effect:cz,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function cV(e){return e.split("-")[1]}var c$={top:"auto",right:"auto",bottom:"auto",left:"auto"};function cH(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:cb(n*o)/o||0,y:cb(r*o)/o||0}}function cU(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,l=e.position,c=e.gpuAcceleration,s=e.adaptive,u=e.roundOffsets,p=e.isFixed,d=a.x,f=d===void 0?0:d,m=a.y,v=m===void 0?0:m,h=typeof u=="function"?u({x:f,y:v}):{x:f,y:v};f=h.x,v=h.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),b=lZ,x=lG,w=window;if(s){var k=cP(n),C="clientHeight",O="clientWidth";if(k===cs(n)&&(k=cT(n),cE(k).position!=="static"&&l==="absolute"&&(C="scrollHeight",O="scrollWidth")),k=k,o===lG||(o===lZ||o===lq)&&i===l1){x=lY;var E=p&&k===w&&w.visualViewport?w.visualViewport.height:k[C];v-=E-r.height,v*=c?1:-1}if(o===lZ||(o===lG||o===lY)&&i===l1){b=lq;var S=p&&k===w&&w.visualViewport?w.visualViewport.width:k[O];f-=S-r.width,f*=c?1:-1}}var T=Object.assign({position:l},s&&c$),R=u===!0?cH({x:f,y:v},cs(n)):{x:f,y:v};if(f=R.x,v=R.y,c){var M;return Object.assign({},T,(M={},M[x]=y?"0":"",M[b]=g?"0":"",M.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",M))}return Object.assign({},T,(t={},t[x]=y?v+"px":"",t[b]=g?f+"px":"",t.transform="",t))}function cK(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,a=i===void 0?!0:i,l=n.roundOffsets,c=l===void 0?!0:l,s={placement:ch(t.placement),variation:cV(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,cU(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,cU(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var cX={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cK,data:{}};var cG={passive:!0};function cY(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,a=r.resize,l=a===void 0?!0:a,c=cs(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&s.forEach(function(e){e.addEventListener("scroll",n.update,cG)}),l&&c.addEventListener("resize",n.update,cG),function(){i&&s.forEach(function(e){e.removeEventListener("scroll",n.update,cG)}),l&&c.removeEventListener("resize",n.update,cG)}}var cq={name:"eventListeners",enabled:!0,phase:"write",fn:function e(){},effect:cY,data:{}};var cZ={left:"right",right:"left",bottom:"top",top:"bottom"};function cQ(e){return e.replace(/left|right|bottom|top/g,function(e){return cZ[e]})}var cJ={start:"end",end:"start"};function c0(e){return e.replace(/start|end/g,function(e){return cJ[e]})}function c1(e){var t=cs(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function c2(e){return ck(cT(e)).left+c1(e).scrollLeft}function c5(e,t){var n=cs(e),r=cT(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;var s=cw();(s||!s&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l+c2(e),y:c}}function c3(e){var t,n=cT(e),r=c1(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=cg(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=cg(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+c2(e),c=-r.scrollTop;return cE(o||n).direction==="rtl"&&(l+=cg(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:c}}function c4(e){var t=cE(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function c6(e){return["html","body","#document"].indexOf(cc(e))>=0?e.ownerDocument.body:cp(e)&&c4(e)?e:c6(cR(e))}function c9(e,t){var n;t===void 0&&(t=[]);var r=c6(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=cs(r),a=o?[i].concat(i.visualViewport||[],c4(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(c9(cR(a)))}function c7(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function c8(e,t){var n=ck(e,!1,t==="fixed");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}function se(e,t,n){return t===l5?c7(c5(e,n)):cu(t)?c8(t,n):c7(c3(cT(e)))}function st(e){var t=c9(cR(e)),n=["absolute","fixed"].indexOf(cE(e).position)>=0,r=n&&cp(e)?cP(e):e;return cu(r)?t.filter(function(e){return cu(e)&&cO(e,r)&&cc(e)!=="body"}):[]}function sn(e,t,n,r){var o=t==="clippingParents"?st(e):[].concat(t),i=[].concat(o,[n]),a=i[0],l=i.reduce(function(t,n){var o=se(e,n,r);return t.top=cg(o.top,t.top),t.right=cy(o.right,t.right),t.bottom=cy(o.bottom,t.bottom),t.left=cg(o.left,t.left),t},se(e,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function sr(e){var t=e.reference,n=e.element,r=e.placement,o=r?ch(r):null,i=r?cV(r):null,a=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,c;switch(o){case lG:c={x:a,y:t.y-n.height};break;case lY:c={x:a,y:t.y+t.height};break;case lq:c={x:t.x+t.width,y:l};break;case lZ:c={x:t.x-n.width,y:l};break;default:c={x:t.x,y:t.y}}var s=o?cj(o):null;if(s!=null){var u=s==="y"?"height":"width";switch(i){case l0:c[s]=c[s]-(t[u]/2-n[u]/2);break;case l1:c[s]=c[s]+(t[u]/2-n[u]/2);break;default:}}return c}function so(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,a=i===void 0?e.strategy:i,l=n.boundary,c=l===void 0?l2:l,s=n.rootBoundary,u=s===void 0?l5:s,p=n.elementContext,d=p===void 0?l3:p,f=n.altBoundary,m=f===void 0?!1:f,v=n.padding,h=v===void 0?0:v,g=cF(typeof h!="number"?h:cB(h,lJ)),y=d===l3?l4:l3,b=e.rects.popper,x=e.elements[m?y:d],w=sn(cu(x)?x:x.contextElement||cT(e.elements.popper),c,u,a),k=ck(e.elements.reference),C=sr({reference:k,element:b,strategy:"absolute",placement:o}),O=c7(Object.assign({},b,C)),E=d===l3?O:k,S={top:w.top-E.top+g.top,bottom:E.bottom-w.bottom+g.bottom,left:w.left-E.left+g.left,right:E.right-w.right+g.right},T=e.modifiersData.offset;if(d===l3&&T){var R=T[o];Object.keys(S).forEach(function(e){var t=[lq,lY].indexOf(e)>=0?1:-1,n=[lG,lY].indexOf(e)>=0?"y":"x";S[e]+=R[n]*t})}return S}function si(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,c=n.allowedAutoPlacements,s=c===void 0?l9:c,u=cV(r),p=u?l?l6:l6.filter(function(e){return cV(e)===u}):lJ,d=p.filter(function(e){return s.indexOf(e)>=0});d.length===0&&(d=p);var f=d.reduce(function(t,n){return t[n]=so(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ch(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}function sa(e){if(ch(e)===lQ)return[];var t=cQ(e);return[c0(e),t,c0(t)]}function sl(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!0:a,c=n.fallbackPlacements,s=n.padding,u=n.boundary,p=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,m=f===void 0?!0:f,v=n.allowedAutoPlacements,h=t.options.placement,g=ch(h),y=g===h,b=c||(y||!m?[cQ(h)]:sa(h)),x=[h].concat(b).reduce(function(e,n){return e.concat(ch(n)===lQ?si(t,{placement:n,boundary:u,rootBoundary:p,padding:s,flipVariations:m,allowedAutoPlacements:v}):n)},[]),w=t.rects.reference,k=t.rects.popper,C=new Map,O=!0,E=x[0],S=0;S<x.length;S++){var T=x[S],R=ch(T),M=cV(T)===l0,A=[lG,lY].indexOf(R)>=0,P=A?"width":"height",j=so(t,{placement:T,boundary:u,rootBoundary:p,altBoundary:d,padding:s}),_=A?M?lq:lZ:M?lY:lG;w[P]>k[P]&&(_=cQ(_));var L=cQ(_),N=[];if(i&&N.push(j[R]<=0),l&&N.push(j[_]<=0,j[L]<=0),N.every(function(e){return e})){E=T,O=!1;break}C.set(T,N)}if(O)for(var F=m?3:1,B=function e(e){var t=x.find(function(t){var n=C.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},I=F;I>0;I--){var D=B(I);if(D==="break")break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}}var sc={name:"flip",enabled:!0,phase:"main",fn:sl,requiresIfExists:["offset"],data:{_skip:!1}};function ss(e,t,n){return n===void 0&&(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 su(e){return[lG,lq,lY,lZ].some(function(t){return e[t]>=0})}function sp(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=so(t,{elementContext:"reference"}),l=so(t,{altBoundary:!0}),c=ss(a,r),s=ss(l,o,i),u=su(c),p=su(s);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:s,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}var sd={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:sp};function sf(e,t,n){var r=ch(e),o=[lZ,lG].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[lZ,lq].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function sm(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,a=l9.reduce(function(e,n){return e[n]=sf(n,t.rects,i),e},{}),l=a[t.placement],c=l.x,s=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=s),t.modifiersData[r]=a}var sv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:sm};function sh(e){var t=e.state,n=e.name;t.modifiersData[n]=sr({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var sg={name:"popperOffsets",enabled:!0,phase:"read",fn:sh,data:{}};function sy(e){return e==="x"?"y":"x"}function sb(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,a=n.altAxis,l=a===void 0?!1:a,c=n.boundary,s=n.rootBoundary,u=n.altBoundary,p=n.padding,d=n.tether,f=d===void 0?!0:d,m=n.tetherOffset,v=m===void 0?0:m,h=so(t,{boundary:c,rootBoundary:s,padding:p,altBoundary:u}),g=ch(t.placement),y=cV(t.placement),b=!y,x=cj(g),w=sy(x),k=t.modifiersData.popperOffsets,C=t.rects.reference,O=t.rects.popper,E=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,S=typeof E=="number"?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(k){if(i){var M,A=x==="y"?lG:lZ,P=x==="y"?lY:lq,j=x==="y"?"height":"width",_=k[x],L=_+h[A],N=_-h[P],F=f?-O[j]/2:0,B=y===l0?C[j]:O[j],I=y===l0?-O[j]:-C[j],D=t.elements.arrow,z=f&&D?cC(D):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:cN(),V=W[A],$=W[P],H=c_(0,C[j],z[j]),U=b?C[j]/2-F-H-V-S.mainAxis:B-H-V-S.mainAxis,K=b?-C[j]/2+F+H+$+S.mainAxis:I+H+$+S.mainAxis,X=t.elements.arrow&&cP(t.elements.arrow),G=X?x==="y"?X.clientTop||0:X.clientLeft||0:0,Y=(M=T===null||T===void 0?void 0:T[x])!=null?M:0,q=_+U-Y-G,Z=_+K-Y,Q=c_(f?cy(L,q):L,_,f?cg(N,Z):N);k[x]=Q,R[x]=Q-_}if(l){var J,ee=x==="x"?lG:lZ,et=x==="x"?lY:lq,en=k[w],er=w==="y"?"height":"width",eo=en+h[ee],ei=en-h[et],ea=[lG,lZ].indexOf(g)!==-1,el=(J=T===null||T===void 0?void 0:T[w])!=null?J:0,ec=ea?eo:en-C[er]-O[er]-el+S.altAxis,es=ea?en+C[er]+O[er]-el-S.altAxis:ei,eu=f&&ea?cL(ec,en,es):c_(f?ec:eo,en,f?es:ei);k[w]=eu,R[w]=eu-en}t.modifiersData[r]=R}}var sx={name:"preventOverflow",enabled:!0,phase:"main",fn:sb,requiresIfExists:["offset"]};function sw(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sk(e){return e===cs(e)||!cp(e)?c1(e):sw(e)}function sC(e){var t=e.getBoundingClientRect(),n=cb(t.width)/e.offsetWidth||1,r=cb(t.height)/e.offsetHeight||1;return n!==1||r!==1}function sO(e,t,n){n===void 0&&(n=!1);var r=cp(t),o=cp(t)&&sC(t),i=cT(t),a=ck(e,o,n),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!n)&&((cc(t)!=="body"||c4(i))&&(l=sk(t)),cp(t)?(c=ck(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=c2(i))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function sE(e){var t=new Map,n=new Set,r=[];e.forEach(function(e){t.set(e.name,e)});function o(e){n.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){n.has(e.name)||o(e)}),r}function sS(e){var t=sE(e);return cl.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}function sT(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function sR(e){var t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var sM={placement:"bottom",modifiers:[],strategy:"absolute"};function sA(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&typeof e.getBoundingClientRect=="function")})}function sP(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?sM:o;return function(e,t,n){n===void 0&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},sM,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,c={state:o,setOptions:function n(n){var a=typeof n=="function"?n(o.options):n;u(),o.options=Object.assign({},i,o.options,a),o.scrollParents={reference:cu(e)?c9(e):e.contextElement?c9(e.contextElement):[],popper:c9(t)};var l=sS(sR([].concat(r,o.options.modifiers)));return o.orderedModifiers=l.filter(function(e){return e.enabled}),s(),c.update()},forceUpdate:function e(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(sA(t,n)){o.rects={reference:sO(t,cP(n),o.options.strategy==="fixed"),popper:cC(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<o.orderedModifiers.length;r++){if(o.reset===!0){o.reset=!1,r=-1;continue}var i=o.orderedModifiers[r],a=i.fn,s=i.options,u=s===void 0?{}:s,p=i.name;typeof a=="function"&&(o=a({state:o,options:u,name:p,instance:c})||o)}}}},update:sT(function(){return new Promise(function(e){c.forceUpdate(),e(o)})}),destroy:function e(){u(),l=!0}};if(!sA(e,t))return c;c.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)});function s(){o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=n===void 0?{}:n,i=e.effect;if(typeof i=="function"){var l=i({state:o,name:t,instance:c,options:r}),s=function e(){};a.push(l||s)}})}function u(){a.forEach(function(e){return e()}),a=[]}return c}}var sj=[cq,sg,cX,cv,sv,sc,sx,cW,sd],s_=sP({defaultModifiers:sj});import*as sL from"react";import*as sN from"react-dom";import{jsx as sF}from"react/jsx-runtime";function sB(e){return typeof e=="function"?e():e}var sI=sL.forwardRef(function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=o===void 0?!1:o,a=y(sL.useState(null),2),l=a[0],c=a[1],s=tu(sL.isValidElement(n)?n.ref:null,t);return e7(function(){i||c(sB(r)||document.body)},[r,i]),e7(function(){if(l&&!i)return e4(t,l),function(){e4(t,null)}},[t,l,i]),i?sL.isValidElement(n)?sL.cloneElement(n,{ref:s}):sF(sL.Fragment,{children:n}):sF(sL.Fragment,{children:l&&sN.createPortal(n,l)})});function sD(e){return tM("MuiPopper",e)}var sz=tA("MuiPopper",["root"]);import{jsx as sW}from"react/jsx-runtime";var sV=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],s$=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function sH(e,t){if(t==="ltr")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}}function sU(e){return typeof e=="function"?e():e}function sK(e){return e.nodeType!==void 0}var sX=function(){return tC({root:["root"]},lz(sD))},sG={},sY=lX.forwardRef(function(e,t){var n;var r=e.anchorEl,o=e.children,i=e.direction,a=e.disablePortal,l=e.modifiers,c=e.open,s=e.placement,u=e.popperOptions,p=e.popperRef,d=e.slotProps,f=d===void 0?{}:d,m=e.slots,v=m===void 0?{}:m,h=e.TransitionProps,g=tj(e,sV),b=lX.useRef(null),x=tu(b,t),w=lX.useRef(null),k=tu(w,p),C=lX.useRef(k);e7(function(){C.current=k},[k]),lX.useImperativeHandle(p,function(){return w.current},[]);var O=sH(s,i),E=y(lX.useState(O),2),S=E[0],T=E[1],R=y(lX.useState(sU(r)),2),M=R[0],A=R[1];lX.useEffect(function(){w.current&&w.current.forceUpdate()}),lX.useEffect(function(){r&&A(sU(r))},[r]),e7(function(){if(!M||!c)return;var e=function(e){T(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:a}},{name:"flip",options:{altBoundary:a}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(t){var n=t.state;e(n)}}];l!=null&&(t=t.concat(l)),u&&u.modifiers!=null&&(t=t.concat(u.modifiers));var n=s_(M,b.current,eQ({placement:O},u,{modifiers:t}));return C.current(n),function(){n.destroy(),C.current(null)}},[M,a,l,c,u,O]);var P={placement:S};h!==null&&(P.TransitionProps=h);var j=sX(),_=(n=v.root)!=null?n:"div",L=lK({elementType:_,externalSlotProps:f.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:j.root});return sW(_,eQ({},L,{children:typeof o=="function"?o(P):o}))}),sq=lX.forwardRef(function(e,t){var n=e.anchorEl,r=e.children,o=e.container,i=e.direction,a=i===void 0?"ltr":i,l=e.disablePortal,c=l===void 0?!1:l,s=e.keepMounted,u=s===void 0?!1:s,p=e.modifiers,d=e.open,f=e.placement,m=f===void 0?"bottom":f,v=e.popperOptions,h=v===void 0?sG:v,g=e.popperRef,b=e.style,x=e.transition,w=x===void 0?!1:x,k=e.slotProps,C=k===void 0?{}:k,O=e.slots,E=O===void 0?{}:O,S=tj(e,s$),T=y(lX.useState(!0),2),R=T[0],M=T[1],A=function(){M(!1)},P=function(){M(!0)};if(!u&&!d&&(!w||R))return null;var j;if(o)j=o;else if(n){var _=sU(n);j=_&&sK(_)?e3(_).body:e3(null).body}var L=!d&&u&&(!w||R)?"none":void 0,N=w?{in:d,onEnter:A,onExited:P}:void 0;return sW(sI,{disablePortal:c,container:j,children:sW(sY,eQ({anchorEl:n,direction:a,disablePortal:c,modifiers:p,ref:t,open:w?!R:d,placement:m,popperOptions:h,popperRef:g,slotProps:C,slots:E},S,{style:eQ({position:"fixed",top:0,left:0,display:L},b),TransitionProps:N,children:r}))})});import*as sZ from"react";import{jsx as sQ}from"react/jsx-runtime";var sJ=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],s0=am(sq,{name:"MuiPopper",slot:"Root",overridesResolver:function(e,t){return t.root}})({}),s1=sZ.forwardRef(function(e,t){var n;var r=ii(),o=ap({props:e,name:"MuiPopper"}),i=o.anchorEl,a=o.component,l=o.components,c=o.componentsProps,s=o.container,u=o.disablePortal,p=o.keepMounted,d=o.modifiers,f=o.open,m=o.placement,v=o.popperOptions,h=o.popperRef,g=o.transition,y=o.slots,b=o.slotProps,x=tj(o,sJ),w=(n=y===null||y===void 0?void 0:y.root)!=null?n:l===null||l===void 0?void 0:l.Root,k=eQ({anchorEl:i,container:s,disablePortal:u,keepMounted:p,modifiers:d,open:f,placement:m,popperOptions:v,popperRef:h,transition:g},x);return sQ(s0,eQ({as:a,direction:r===null||r===void 0?void 0:r.direction,slots:{root:w},slotProps:b!==null&&b!==void 0?b:c},k,{ref:t}))}),s2=s1;import*as s5 from"react";import{jsx as s3}from"react/jsx-runtime";var s4=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function s6(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var s9={entering:{opacity:1,transform:s6(1)},entered:{opacity:1,transform:"none"}},s7=(typeof navigator==="undefined"?"undefined":w(navigator))<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),s8=s5.forwardRef(function(e,t){var n=e.addEndListener,r=e.appear,o=r===void 0?!0:r,i=e.children,a=e.easing,l=e.in,c=e.onEnter,s=e.onEntered,u=e.onEntering,p=e.onExit,d=e.onExited,f=e.onExiting,m=e.style,v=e.timeout,h=v===void 0?"auto":v,g=e.TransitionComponent,y=g===void 0?aF:g,b=tj(e,s4),x=s5.useRef(),w=s5.useRef(),k=au(),C=s5.useRef(null),O=ab(C,i.ref,t),E=function(e){return function(t){if(e){var n=C.current;t===void 0?e(n):e(n,t)}}},S=E(u),T=E(function(e,t){aZ(e);var n=aQ({style:m,timeout:h,easing:a},{mode:"enter"}),r=n.duration,o=n.delay,i=n.easing,l;h==="auto"?(l=k.transitions.getAutoHeightDuration(e.clientHeight),w.current=l):l=r,e.style.transition=[k.transitions.create("opacity",{duration:l,delay:o}),k.transitions.create("transform",{duration:s7?l:l*.666,delay:o,easing:i})].join(","),c&&c(e,t)}),R=E(s),M=E(f),A=E(function(e){var t=aQ({style:m,timeout:h,easing:a},{mode:"exit"}),n=t.duration,r=t.delay,o=t.easing,i;h==="auto"?(i=k.transitions.getAutoHeightDuration(e.clientHeight),w.current=i):i=n,e.style.transition=[k.transitions.create("opacity",{duration:i,delay:r}),k.transitions.create("transform",{duration:s7?i:i*.666,delay:s7?r:r||i*.333,easing:o})].join(","),e.style.opacity=0,e.style.transform=s6(.75),p&&p(e)}),P=E(d),j=function(e){h==="auto"&&(x.current=setTimeout(e,w.current||0)),n&&n(C.current,e)};return s5.useEffect(function(){return function(){clearTimeout(x.current)}},[]),s3(y,eQ({appear:o,in:l,nodeRef:C,onEnter:T,onEntered:R,onEntering:S,onExit:A,onExited:P,onExiting:M,addEndListener:j,timeout:h==="auto"?null:h},b,{children:function(e,t){return s5.cloneElement(i,eQ({style:eQ({opacity:0,transform:s6(.75),visibility:e==="exited"&&!l?"hidden":void 0},s9[e],m,i.props.style),ref:O},t))}}))});s8.muiSupportAuto=!0;var ue=s8;import*as ut from"react";function un(e){return tM("MuiTooltip",e)}var ur=tA("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),uo=ur;import{jsx as ui}from"react/jsx-runtime";import{jsxs as ua}from"react/jsx-runtime";var ul=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function uc(e){return Math.round(e*1e5)/1e5}var us=function(e){var t=e.classes,n=e.disableInteractive,r=e.arrow,o=e.touch,i=e.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat(av(i.split("-")[0]))],arrow:["arrow"]};return tC(a,un,t)},uu=am(s2,{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=e.theme,n=e.ownerState,r=e.open;var o;return eQ({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!n.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},n.arrow&&(o={},c(o,'&[data-popper-placement*="bottom"] .'.concat(uo.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),c(o,'&[data-popper-placement*="top"] .'.concat(uo.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),c(o,'&[data-popper-placement*="right"] .'.concat(uo.arrow),eQ({},n.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),c(o,'&[data-popper-placement*="left"] .'.concat(uo.arrow),eQ({},n.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),o))}),up=am("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(av(n.placement.split("-")[0]))]]}})(function(e){var t=e.theme,n=e.ownerState;var r;return eQ({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:iB(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},n.arrow&&{position:"relative",margin:0},n.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(uc(16/14),"em"),fontWeight:t.typography.fontWeightRegular},(r={},c(r,".".concat(uo.popper,'[data-popper-placement*="left"] &'),eQ({transformOrigin:"right center"},n.isRtl?eQ({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}):eQ({marginRight:"14px"},n.touch&&{marginRight:"24px"}))),c(r,".".concat(uo.popper,'[data-popper-placement*="right"] &'),eQ({transformOrigin:"left center"},n.isRtl?eQ({marginRight:"14px"},n.touch&&{marginRight:"24px"}):eQ({marginLeft:"14px"},n.touch&&{marginLeft:"24px"}))),c(r,".".concat(uo.popper,'[data-popper-placement*="top"] &'),eQ({transformOrigin:"center bottom",marginBottom:"14px"},n.touch&&{marginBottom:"24px"})),c(r,".".concat(uo.popper,'[data-popper-placement*="bottom"] &'),eQ({transformOrigin:"center top",marginTop:"14px"},n.touch&&{marginTop:"24px"})),r))}),ud=am("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:iB(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}}),uf=!1,um=null,uv={x:0,y:0};function uh(e,t){return function(n){t&&t(n),e(n)}}var ug=ut.forwardRef(function(e,t){var n,r,o,i,a,l,c,s,u,p,d,f,m,v,h,g,b,x,w;var k=ap({props:e,name:"MuiTooltip"}),C=k.arrow,O=C===void 0?!1:C,E=k.children,S=k.components,T=S===void 0?{}:S,R=k.componentsProps,M=R===void 0?{}:R,A=k.describeChild,P=A===void 0?!1:A,j=k.disableFocusListener,_=j===void 0?!1:j,L=k.disableHoverListener,N=L===void 0?!1:L,F=k.disableInteractive,B=F===void 0?!1:F,I=k.disableTouchListener,D=I===void 0?!1:I,z=k.enterDelay,W=z===void 0?100:z,V=k.enterNextDelay,$=V===void 0?0:V,H=k.enterTouchDelay,U=H===void 0?700:H,K=k.followCursor,X=K===void 0?!1:K,G=k.id,Y=k.leaveDelay,q=Y===void 0?0:Y,Z=k.leaveTouchDelay,Q=Z===void 0?1500:Z,J=k.onClose,ee=k.onOpen,et=k.open,en=k.placement,er=en===void 0?"bottom":en,eo=k.PopperComponent,ei=k.PopperProps,ea=ei===void 0?{}:ei,el=k.slotProps,ec=el===void 0?{}:el,es=k.slots,eu=es===void 0?{}:es,ep=k.title,ed=k.TransitionComponent,ef=ed===void 0?ue:ed,em=k.TransitionProps,ev=tj(k,ul),eh=ut.isValidElement(E)?E:ui("span",{children:E}),eg=au(),ey=eg.direction==="rtl",eb=y(ut.useState(),2),ex=eb[0],ew=eb[1],ek=y(ut.useState(null),2),eC=ek[0],eO=ek[1],eE=ut.useRef(!1),eS=B||X,eT=ut.useRef(),eR=ut.useRef(),eM=ut.useRef(),eA=ut.useRef(),eP=y(ag({controlled:et,default:!1,name:"Tooltip",state:"open"}),2),ej=eP[0],e_=eP[1],eL=ej,eN=ah(G),eF=ut.useRef(),eB=ut.useCallback(function(){eF.current!==void 0&&(document.body.style.WebkitUserSelect=eF.current,eF.current=void 0),clearTimeout(eA.current)},[]);ut.useEffect(function(){return function(){clearTimeout(eT.current),clearTimeout(eR.current),clearTimeout(eM.current),eB()}},[eB]);var eI=function(e){clearTimeout(um),uf=!0,e_(!0),ee&&!eL&&ee(e)},eD=ay(function(e){clearTimeout(um),um=setTimeout(function(){uf=!1},800+q),e_(!1),J&&eL&&J(e),clearTimeout(eT.current),eT.current=setTimeout(function(){eE.current=!1},eg.transitions.duration.shortest)}),ez=function(e){eE.current&&e.type!=="touchstart"||(ex&&ex.removeAttribute("title"),clearTimeout(eR.current),clearTimeout(eM.current),W||uf&&$?eR.current=setTimeout(function(){eI(e)},uf?$:W):eI(e))},eW=function(e){clearTimeout(eR.current),clearTimeout(eM.current),eM.current=setTimeout(function(){eD(e)},q)},eV=ax(),e$=eV.isFocusVisibleRef,eH=eV.onBlur,eU=eV.onFocus,eK=eV.ref,eX=y(ut.useState(!1),2),eG=eX[1],eY=function(e){eH(e),e$.current===!1&&(eG(!1),eW(e))},eq=function(e){ex||ew(e.currentTarget),eU(e),e$.current===!0&&(eG(!0),ez(e))},eZ=function(e){eE.current=!0;var t=eh.props;t.onTouchStart&&t.onTouchStart(e)},eJ=ez,e0=eW,e1=function(e){eZ(e),clearTimeout(eM.current),clearTimeout(eT.current),eB(),eF.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",eA.current=setTimeout(function(){document.body.style.WebkitUserSelect=eF.current,ez(e)},U)},e2=function(e){eh.props.onTouchEnd&&eh.props.onTouchEnd(e),eB(),clearTimeout(eM.current),eM.current=setTimeout(function(){eD(e)},Q)};ut.useEffect(function(){var e=function e(e){(e.key==="Escape"||e.key==="Esc")&&eD(e)};if(!eL)return;return document.addEventListener("keydown",e),function(){document.removeEventListener("keydown",e)}},[eD,eL]);var e5=ab(eh.ref,eK,ew,t);!ep&&ep!==0&&(eL=!1);var e3=ut.useRef(),e4=function(e){var t=eh.props;t.onMouseMove&&t.onMouseMove(e),uv={x:e.clientX,y:e.clientY},e3.current&&e3.current.update()},e6={},e9=typeof ep=="string";P?(e6.title=!eL&&e9&&!N?ep:null,e6["aria-describedby"]=eL?eN:null):(e6["aria-label"]=e9?ep:null,e6["aria-labelledby"]=eL&&!e9?eN:null);var e7=eQ({},e6,ev,eh.props,{className:ip(ev.className,eh.props.className),onTouchStart:eZ,ref:e5},X?{onMouseMove:e4}:{}),e8={};D||(e7.onTouchStart=e1,e7.onTouchEnd=e2),N||(e7.onMouseOver=uh(eJ,e7.onMouseOver),e7.onMouseLeave=uh(e0,e7.onMouseLeave),eS||(e8.onMouseOver=eJ,e8.onMouseLeave=e0)),_||(e7.onFocus=uh(eq,e7.onFocus),e7.onBlur=uh(eY,e7.onBlur),eS||(e8.onFocus=eq,e8.onBlur=eY));var te=ut.useMemo(function(){var e;var t=[{name:"arrow",enabled:!!eC,options:{element:eC,padding:4}}];return(e=ea.popperOptions)!=null&&e.modifiers&&(t=t.concat(ea.popperOptions.modifiers)),eQ({},ea.popperOptions,{modifiers:t})},[eC,ea]),tt=eQ({},k,{isRtl:ey,arrow:O,disableInteractive:eS,placement:er,PopperComponentProp:eo,touch:eE.current}),tn=us(tt),tr=(n=(r=eu.popper)!=null?r:T.Popper)!=null?n:uu,to=(o=(i=(a=eu.transition)!=null?a:T.Transition)!=null?i:ef)!=null?o:ue,ti=(l=(c=eu.tooltip)!=null?c:T.Tooltip)!=null?l:up,ta=(s=(u=eu.arrow)!=null?u:T.Arrow)!=null?s:ud,tl=lN(tr,eQ({},ea,(p=ec.popper)!=null?p:M.popper,{className:ip(tn.popper,ea===null||ea===void 0?void 0:ea.className,(d=(f=ec.popper)!=null?f:M.popper)==null?void 0:d.className)}),tt),tc=lN(to,eQ({},em,(m=ec.transition)!=null?m:M.transition),tt),ts=lN(ti,eQ({},(v=ec.tooltip)!=null?v:M.tooltip,{className:ip(tn.tooltip,(h=(g=ec.tooltip)!=null?g:M.tooltip)==null?void 0:h.className)}),tt),tu=lN(ta,eQ({},(b=ec.arrow)!=null?b:M.arrow,{className:ip(tn.arrow,(x=(w=ec.arrow)!=null?w:M.arrow)==null?void 0:x.className)}),tt);return ua(ut.Fragment,{children:[ut.cloneElement(eh,e7),ui(tr,eQ({as:eo!==null&&eo!==void 0?eo:s2,placement:er,anchorEl:X?{getBoundingClientRect:function(){return{top:uv.y,left:uv.x,right:uv.x,bottom:uv.y,width:0,height:0}}}:ex,popperRef:e3,open:ex?eL:!1,id:eN,transition:!0},e8,tl,{popperOptions:te,children:function(e){var t=e.TransitionProps;return ui(to,eQ({timeout:eg.transitions.duration.shorter},t,tc,{children:ua(ti,eQ({},ts,{children:[ep,O?ui(ta,eQ({},tu,{ref:eO})):null]}))}))}}))]})}),uy=ug;import{Fragment as ub,jsx as ux,jsxs as uw}from"react/jsx-runtime";var uk=/*#__PURE__*/function(e){"use strict";u(t,e);function t(e){i(this,t);return o(this,t,[e])}l(t,[{key:"render",value:function e(){var e,t;var n=this.props,r=n.value,o=n.voucherValue,i=n.maxMonths,a=n.notQualifyForRewardThisMonth,l=n.amountShow,c=n.translationConfig,s=c===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:"",estimateDisclaimer:""}:c,u=n.storeConfig,p=u===void 0?{tiers:[{consecutive_months:0,min_spend:0,max_spend:0,promo_code:""},{consecutive_months:0,min_spend:0,promo_code:""}]}:u,d=n.currencyAbbreviate,f=d===void 0?!1:d,m=n.currencyFormat,v=m===void 0?function(){}:m,h=v(o||0,!0,f),g=s.currentlyTrack.replace("%currency_symbol%%currency_amount%","".concat(h)),y=eb(s.approximateTotal,{currency_symbol:"",projected_month_spend:""}),b=parseFloat(String(p===null||p===void 0?void 0:(t=p.tiers)===null||t===void 0?void 0:(e=t[0])===null||e===void 0?void 0:e.min_spend))||0,x=v(b,!0,f),w=s.callToAction.replace("%currency_symbol%%current_spend_target%","".concat(x)),k=eb(s.approximateMonthly,{currency_symbol:"",estimated_running_subscription_spend:""}),C=v(l!==null&&l!==void 0?l:0,!1,!1);return uw(ee,{children:[ux(et,{children:a?uw(ub,{children:[ux(en,{children:ux(eA,{className:"loyalty-warning-icon",color:"#4A6987"})}),ux(eP,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#293A4A",noSpacing:!0,children:s.notQualify})]}):uw(ub,{children:[ux(eP,{variant:"body-s",weight:"normal",colorOverride:"#252525",className:"reward-subtitle",component:"span",noSpacing:!0,children:k}),"\xa0",ux(eP,{weight:"bold",className:"button-price",variant:"body-s",component:"span",children:"".concat(C)}),ux(en,{children:ux(uy,{slotProps:{tooltip:{sx:{color:"#FFFFFF",backgroundColor:"#252525",fontFamily:"Inter",fontWeight:400,fontSize:"14px",lineHeight:"20px","& .MuiTooltip-arrow":{color:"#252525"}}}},title:s.estimateDisclaimer,arrow:!0,placement:"top",children:ux("span",{className:"info-icon",children:ux(l_,{children:ux(eN,{})})})})})]})}),r===i?"":a?uw(eP,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#252525",component:"div",children:[y,"\xa0",ux(eP,{component:"span",className:"button-price",variant:"body-s",weight:"bold",children:"".concat(C)})]}):o!=null||o!=null?ux(eP,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:g}):ux(eP,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:w})]})}}]);return t}(eM.Component),uC=uk;import{useState as uO}from"react";import{FaExclamationTriangle as uE}from"react-icons/fa";import{NsTypography as uS}from"@nuskin/foundation-ui-components";import{CircularProgressbarWithChildren as uT,buildStyles as uR}from"react-circular-progressbar";import{Fragment as uM,jsx as uA,jsxs as uP}from"react/jsx-runtime";var uj=function(e){var t,n;var r=y(uO(!1),2),o=r[0],i=r[1],a=function(){i(!o)},l=e.handleOpenSubscriptionRewardPopup,c=l===void 0?function(){}:l,s=e.notQualifyForRewardThisMonth,u=s===void 0?!1:s,p=e.value,d=p===void 0?0:p,f=e.voucherValue,m=f===void 0?0:f,v=e.amountShow,h=e.maxMonths,g=h===void 0?0:h,b=e.translationConfig,x=b===void 0?{voucherTargetAmount:"",monthsComplete:"",voucherEarned:"",learnMore:"",learn3xMore:"",callToAction:"",notQualify:"",approximateMonthly:"",approximateTotal:"",currentlyTrack:"",loyaltyLogoBlack:"",estimateDisclaimer:""}:b,w=e.learnMoreConfig,k=w===void 0?{tagLine:"",cardOneDescription:"",cardOneVoucherAmount:"",cardTwoDescription:"",cardTwoVoucherAmount:"",header:"",loyaltyLogoWhite:"",loyaltyBanner:"",learnMore:""}:w,C=e.storeConfig,O=C===void 0?{tiers:[{consecutive_months:"",min_spend:"",max_spend:"",promo_code:""},{consecutive_months:"",min_spend:"",promo_code:""}]}:C,E=e.currencyAbbreviate,S=E===void 0?!1:E,T=e.currencyFormat,R=T===void 0?function(){}:T,M="";m===50&&!u?M=x.learn3xMore:m===150||u?M=k.learnMore:m==null&&(M=x.learnMore);var A=eb(x.monthsComplete,{completed_months:d,total_months:g}),P=R(m||0,!0,S),j=x.voucherEarned.replace("%currency_symbol%%currency_amount%","".concat(P)),_=x.currentlyTrack.replace("%currency_symbol%%currency_amount%","".concat(P)),L=eb(x.approximateTotal,{currency_symbol:"",projected_month_spend:""}),N=parseFloat(String(O===null||O===void 0?void 0:(n=O.tiers)===null||n===void 0?void 0:(t=n[0])===null||t===void 0?void 0:t.min_spend))||0,F=R(N,!0,S),B=x.callToAction.replace("%currency_symbol%%current_spend_target%","".concat(F)),I=eb(x.approximateMonthly,{currency_symbol:"",estimated_running_subscription_spend:""}),D=eb(x.voucherTargetAmount,{currency_symbol:"",voucher_amount:""}),z=R(v!==null&&v!==void 0?v:0,!1,!1);return uP(q,{children:[uA(Z,{children:uA("img",{className:"reward-logo",src:x.loyaltyLogoBlack,alt:"Rewards Logo"})}),uA("div",{className:"reward-progress",children:uP(uT,{value:d/g*100,strokeWidth:12,background:!0,styles:uR({rotation:.5,strokeLinecap:"butt",backgroundColor:d===g&&!u?"rgb(195 240 194)":"#fff",pathColor:"#6BC56A",trailColor:"#E0E0E0"}),children:[uA(ec,{count:g}),d===g&&!u?uA(ef,{}):u?uA(en,{children:uA(uE,{className:"outline-exclamation-icon",color:"#91ACC8"})}):m!=null||m!=null?uP(J,{children:[uA(uS,{component:"div",className:"center-value-progress-bar-price",variant:"title-l",weight:"bold",children:"".concat(P)}),uA(uS,{variant:"label-s",weight:"bold",component:"div",className:"center-value-progress-bar-voucher",children:D})]}):uA(J,{children:uA(eg,{})})]})}),uA(Z,{children:d===g&&v!==void 0&&v>N?uA("div",{className:"info-item",children:j}):uA("div",{className:"info-item",children:A})}),uP(ee,{children:[d===g?"":u?uP(uS,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#252525",component:"div",children:[L," ",uA(uS,{component:"span",className:"button-price",variant:"body-s",weight:"bold",children:"".concat(z)})]}):m!=null||m!=null?uA(uS,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:_}):uA(uS,{variant:"body-s",weight:"bold",className:"reward-subtitle",colorOverride:"#252525",children:B}),uA(et,{children:u?uP(uM,{children:[uA(en,{children:uA(uE,{className:"loyalty-warning-icon",color:"#4A6987"})}),uA(uS,{variant:"body-s",weight:"normal",className:"reward-subtitle",colorOverride:"#293A4A",noSpacing:!0,children:x.notQualify})]}):uP(uM,{children:[uP(uS,{variant:"body-s",weight:"normal",colorOverride:"#252525",className:"reward-subtitle",component:"span",noSpacing:!0,children:[I," "]}),"\xa0",uA(uS,{weight:"bold",className:"button-price",variant:"body-s",component:"span",children:"".concat(z)}),uA(en,{children:uA(uy,{slotProps:{tooltip:{sx:{color:"#FFFFFF",backgroundColor:"#252525",fontFamily:"Inter",fontWeight:400,fontSize:"14px",lineHeight:"20px","& .MuiTooltip-arrow":{color:"#252525"}}}},title:x.estimateDisclaimer,arrow:!0,placement:"top",open:o,onClose:function(){return i(!1)},children:uA("span",{className:"info-icon",children:uA(l_,{onClick:a,children:uA(eN,{})})})})})]})})]}),uA(Z,{children:uA(Q,{onClick:c,children:uA("u",{children:M})})})]})},u_=uj;var uL=(typeof window==="undefined"?"undefined":w(window))=="object",uN=/*#__PURE__*/function(){"use strict";function e(){i(this,e);this.width=uL?window.innerWidth:0;this.scroll={vertical:uL?window.scrollY:0,horizontal:uL?window.scrollX:0,direction:"none"}}l(e,[{key:"isMobile",get:function e(){return this.isPhone}},{key:"isPhone",get:function e(){return uL?window.innerWidth<768:this.width<768}}]);return e}(),uF=new uN;var uB=function(e,t,n,r,o,i,a,l,c){if(e){var s,u,p;var d,f;var m=e===null||e===void 0?void 0:(s=e.csmMonthlySubsOrderTotal)===null||s===void 0?void 0:s.sort(function(e,t){return e.year===t.year?t.month-e.month:t.year-e.year}),v=m===null||m===void 0?void 0:m.some(function(e){return e.month===c.getMonth()+1&&e.year===c.getFullYear()}),h=m===null||m===void 0?void 0:m.filter(function(e){return e.month===c.getMonth()+1&&e.year===c.getFullYear()}),g=(d=h===null||h===void 0?void 0:(u=h.map(function(e){return e.totalAmount}))===null||u===void 0?void 0:u[0])!==null&&d!==void 0?d:0,y=parseInt((f=e===null||e===void 0?void 0:(p=e.approximateMonthlyTotalResponse)===null||p===void 0?void 0:p.currentMonthTotal)!==null&&f!==void 0?f:"0"),b=0;y>n?b=n:b=t;var x=h===null||h===void 0?void 0:h.some(function(e){return e.totalAmount>=b}),w=v&&x?new Date(c.getFullYear(),c.getMonth()-(l-1),1):new Date(c.getFullYear(),c.getMonth()-l,1),k=m===null||m===void 0?void 0:m.filter(function(e){return new Date(e.year,e.month-1)>=w});k=k===null||k===void 0?void 0:k.filter(function(e){return e.promocode===null||e.promocode===void 0||e.promocode===""}),x||(k=k===null||k===void 0?void 0:k.filter(function(e){return!(e.month===c.getMonth()+1&&e.year===c.getFullYear())}));var C=k===null||k===void 0?void 0:k.slice(0,l),O=C===null||C===void 0?void 0:C.every(function(e){return e.totalAmount>=n}),E=C===null||C===void 0?void 0:C.map(function(e){return e===null||e===void 0?void 0:e.promocode}),S=!(E===null||E===void 0?void 0:E.some(function(e){return e===void 0}))?!1:E===null||E===void 0?void 0:E.every(function(e){return e===E[0]}),T=x?c.getMonth():c.getMonth()-1,R=2;if(C!=null&&E!=null)for(var M=0;M<(C===null||C===void 0?void 0:C.length);M++){var A,P,j;var _=(A=C[M])===null||A===void 0?void 0:A.totalAmount,L=c.getFullYear();if(((P=C[M])===null||P===void 0?void 0:P.month)&&((j=C[M])===null||j===void 0?void 0:j.month)!==new Date(L,T-M).getMonth()+1)return{monthCompletionValue:a,voucherValue:i};if(S&&(E[M]!==void 0||E[M]!==""||E[M]!==null))return{monthCompletionValue:0,voucherValue:i};if(_>=t&&(!E[M]||E[M]===void 0||E[M]===""||E[M]===null))a=a+1,O||R===2&&_>=n?i=o:(i=r,R=1);else if(_<t)return{monthCompletionValue:a,voucherValue:i}}(!v||!x)&&i!==r&&(y>=n?i=o:i=r),!x&&i===r&&a<l&&g>=t&&(a=a+1)}return{monthCompletionValue:a,voucherValue:i}};import{Fragment as uI,jsx as uD,jsxs as uz}from"react/jsx-runtime";var uW=function(e){var t,n,r,o,i,a,l,c,s;var u,p,d;var f=e.title,m=e.subscriptionData,v=e.translationConfig,h=e.learnMoreConfig,g=e.storeConfig,b=e.currencyFormat,x=2,w=(u=g===null||g===void 0?void 0:(n=g.tiers)===null||n===void 0?void 0:(t=n[0])===null||t===void 0?void 0:t.max_spend)!==null&&u!==void 0?u:0,k=(p=g===null||g===void 0?void 0:(o=g.tiers)===null||o===void 0?void 0:(r=o[0])===null||r===void 0?void 0:r.min_spend)!==null&&p!==void 0?p:0,C=(d=g===null||g===void 0?void 0:(a=g.tiers)===null||a===void 0?void 0:(i=a[0])===null||i===void 0?void 0:i.consecutive_months)!==null&&d!==void 0?d:0,O=y(H(!1),2),E=O[0],S=O[1],T=function(){return S(!0)},R=function(){return S(!1)},M=m,A=0,P=0,j=0;g===null||g===void 0?void 0:(l=g.tiers)===null||l===void 0?void 0:l.map(function(e){e.min_spend<k&&(k=e.min_spend),"max_spend"in e&&e.max_spend>w&&(w=e.max_spend)}),g===null||g===void 0?void 0:(c=g.tiers)===null||c===void 0?void 0:c.map(function(e){if(e.min_spend===k){var t,n;var r=e.promo_code;r=r===null||r===void 0?void 0:(n=r.split("-"))===null||n===void 0?void 0:(t=n[0])===null||t===void 0?void 0:t.replace("NSR",""),A=parseInt(r)}if(e.min_spend===w){var o,i;var a=e.promo_code;a=a===null||a===void 0?void 0:(i=a.split("-"))===null||i===void 0?void 0:(o=i[0])===null||o===void 0?void 0:o.replace("NSR",""),P=parseInt(a)}});var _;var L=0,N=parseFloat((_=M===null||M===void 0?void 0:(s=M.approximateMonthlyTotalResponse)===null||s===void 0?void 0:s.currentMonthTotal)!==null&&_!==void 0?_:"0");N<k||N<w?L=A:N>w?L=P:L=0;var F=N<k&&L!==0&&x!==C,B=uB(M,k,w,A,P,L,j,C,new Date),I=B.monthCompletionValue,D=B.voucherValue;return x=I,L=D,uz(Y,{children:[uF.isMobile?uD(u_,{value:x,title:f,voucherValue:L,maxMonths:C,handleOpenSubscriptionRewardPopup:T,storeConfig:g,amountShow:N,notQualifyForRewardThisMonth:F,translationConfig:v,learnMoreConfig:h,currencyAbbreviate:g===null||g===void 0?void 0:g.currencyAbbreviate,currencyFormat:b}):uz(uI,{children:[uD(eR,{value:x,title:f,notQualifyForRewardThisMonth:F,monthCompletionValue:j,storeConfig:g,maxMonths:C,voucherValue:L,handleOpenSubscriptionRewardPopup:T,translationConfig:v,learnMoreConfig:h,currencyAbbreviate:g===null||g===void 0?void 0:g.currencyAbbreviate,currencyFormat:b}),uD(uC,{notQualifyForRewardThisMonth:F,value:x,voucherValue:L,maxMonths:C,title:f,monthCompletionValue:j,storeConfig:g,translationConfig:v,learnMoreConfig:h,handleOpenSubscriptionRewardPopup:T,amountShow:N,currencyAbbreviate:g===null||g===void 0?void 0:g.currencyAbbreviate,currencyFormat:b})]}),uD(z,{show:E,close:R,amountShow:N,learnMoreConfig:h,translationConfig:v})]})},uV=uW;export{uV as SubscriptionReward};/*! Bundled license information:
2
+
3
+ react-is/cjs/react-is.production.min.js:
4
+ (** @license React v16.13.1
5
+ * react-is.production.min.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ *)
2
12
 
3
13
  @mui/styled-engine/index.js:
4
14
  (**