Plugin Directory

Changeset 3241354


Ignore:
Timestamp:
02/16/2025 02:09:08 PM (12 months ago)
Author:
yooanalytics
Message:

Release 0.1.0

Location:
yooanalytics/trunk
Files:
328 added
12 edited

Legend:

Unmodified
Added
Removed
  • yooanalytics/trunk/build/index-rtl.css

    r3241192 r3241354  
    11@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);
    2 :root{--growth-green:#e8f5e9;--growth-red:#ffebee}body,span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-right:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;height:93vh;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;height:100%;overflow-y:auto;position:relative;width:250px}.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-left:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;overflow-y:auto;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-left:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;right:7px;position:absolute;left:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-right:3px}.yoo-menu-item .yoo-coming-soon-chip{float:left;margin-left:25px}.yoo-stats-box{border:1px solid #eaeae8;border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:40px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{right:50%;position:absolute;text-align:center;top:50%;transform:translate(50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-search-engines-card img{margin-left:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:left}.yoo-search-engines-card tr{line-height:25px}
     2:root{--growth-green:#e8f5e9;--growth-red:#ffebee}#wpbody,#wpbody span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-right:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;bottom:7px;overflow-y:auto;position:fixed;top:40px;width:250px}.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-left:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;margin-right:250px;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-left:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;right:7px;position:absolute;left:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-right:3px}.yoo-menu-item .yoo-coming-soon-chip{float:left;margin-left:25px}.yoo-stats-box{border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{right:50%;position:absolute;text-align:center;top:50%;transform:translate(50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-top-referers-card{min-height:253px}.yoo-search-engines-card img{margin-left:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:left}.yoo-search-engines-card tr,.yoo-top-referers-card tr{line-height:25px}.yoo-toast-notification{margin-top:25px}.yoo-dashboard-cards.yoo-dashboard-stats{background:#fafafa;border-radius:7px;height:641px;width:100%}.yoo-dashboard-stats-tooltip{cursor:pointer}
    33@keyframes react-loading-skeleton{to{transform:translateX(-100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:var(
    44    --custom-highlight-background,linear-gradient(-90deg,var(--base-color) 0,var(--highlight-color) 50%,var(--base-color) 100%)
  • yooanalytics/trunk/build/index.asset.php

    r3241192 r3241354  
    1 <?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => '9e531090fffff707d5f2');
     1<?php return array('dependencies' => array('react', 'react-dom', 'react-jsx-runtime', 'wp-components', 'wp-dom-ready', 'wp-element', 'wp-i18n'), 'version' => 'df121e1e11131c7ac47b');
  • yooanalytics/trunk/build/index.css

    r3241192 r3241354  
    11@import url(https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap);
    2 :root{--growth-green:#e8f5e9;--growth-red:#ffebee}body,span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-left:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;height:93vh;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;height:100%;overflow-y:auto;position:relative;width:250px}.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-right:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;overflow-y:auto;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-right:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;left:7px;position:absolute;right:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-left:3px}.yoo-menu-item .yoo-coming-soon-chip{float:right;margin-right:25px}.yoo-stats-box{border:1px solid #eaeae8;border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:40px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-search-engines-card img{margin-right:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:right}.yoo-search-engines-card tr{line-height:25px}
     2:root{--growth-green:#e8f5e9;--growth-red:#ffebee}#wpbody,#wpbody span{font-family:Figtree,serif!important}:root{--primary-color:#0073aa;--secondary-color:#2f3133;--tertiary-color:#808489}a:focus{box-shadow:none}.clearfix{clear:both}body{background:#fff;height:100%;margin:0;padding:0}#wpcontent{padding-left:0}#wpbody-content{padding-bottom:0}#wpfooter{display:none}.yoo-dashboard{display:flex;margin:10px}.yoo-menu{background:#fafafa;border-radius:6px;bottom:7px;overflow-y:auto;position:fixed;top:40px;width:250px}.yoo-menu-items-container{margin:0 auto;width:95%}.yoo-menu-item{border-radius:4px;color:#808489;display:block;margin:5px 0;padding:10px;text-decoration:none;transition:background-color .2s ease,color .2s ease}.yoo-menu-item.disabled{opacity:.5}.yoo-menu-icon{font-size:1.5rem;margin-right:10px}.yoo-menu-icon,.yoo-menu-text{transition:color .2s ease;vertical-align:middle}.yoo-menu-text{font-size:13px;font-weight:600}.yoo-menu-item.active,.yoo-menu-item:hover{background-color:#e8f2ff;color:#1a7efb}.yoo-menu-item.yoo-get-pro{background:#1a7efb;color:#fff}.yoo-body{background:#fff;flex:1;float:none;margin-left:250px;padding:20px}.yoo-menu .yoo-logo{display:flex;margin:20px 0}.yoo-menu-pro img{margin-right:10px;vertical-align:middle;width:24px}.yoo-menu-pro{bottom:10px;left:7px;position:absolute;right:7px}.yoo-coming-soon-chip{font-size:10px;height:20px;margin-left:3px}.yoo-menu-item .yoo-coming-soon-chip{float:right;margin-right:25px}.yoo-stats-box{border-radius:7px;padding:15px;width:100%}.yoo-stats-box h3{margin:0}.yoo-stats{align-items:center;display:flex;gap:10px;justify-content:space-between;margin-top:10px}.yoo-stats-up{background-color:var(--growth-green)}.yoo-stats-down{background-color:var(--growth-red)}.yoo-stats img{height:auto;-o-object-fit:contain;object-fit:contain;width:50px}.yoo-header p,.yoo-stats-text{color:#5f5f5f}.yoo-dashboard-logs{padding-top:20px}.yoo-dashboard-cards{position:relative}.yoo-dashboard-card-no-results{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%)}.yoo-dashboard-cards .components-card__body,.yoo-dashboard-cards .components-card__header{padding:15px}.yoo-dashboard-cards .components-card__body ul,.yoo-dashboard-cards .components-card__header h2{margin:0}.yoo-search-engines-card{height:253px}.yoo-top-referers-card{min-height:253px}.yoo-search-engines-card img{margin-right:10px;vertical-align:text-top;width:14px}.yoo-search-engines-card tr{cursor:pointer}.yoo-search-engines-card td:nth-child(2){text-align:right}.yoo-search-engines-card tr,.yoo-top-referers-card tr{line-height:25px}.yoo-toast-notification{margin-top:25px}.yoo-dashboard-cards.yoo-dashboard-stats{background:#fafafa;border-radius:7px;height:641px;width:100%}.yoo-dashboard-stats-tooltip{cursor:pointer}
    33@keyframes react-loading-skeleton{to{transform:translateX(100%)}}.react-loading-skeleton{--base-color:#ebebeb;--highlight-color:#f5f5f5;--animation-duration:1.5s;--animation-direction:normal;--pseudo-element-display:block;background-color:var(--base-color);border-radius:.25rem;display:inline-flex;line-height:1;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-loading-skeleton:after{animation-direction:var(--animation-direction);animation-duration:var(--animation-duration);animation-iteration-count:infinite;animation-name:react-loading-skeleton;animation-timing-function:ease-in-out;background-image:var(
    44    --custom-highlight-background,linear-gradient(90deg,var(--base-color) 0,var(--highlight-color) 50%,var(--base-color) 100%)
  • yooanalytics/trunk/build/index.js

    r3241192 r3241354  
    1 (()=>{"use strict";var e={774:(e,t)=>{Symbol.for("react.transitional.element"),Symbol.for("react.portal");var r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h=Symbol.for("react.client.reference");t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===n||e===l||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===i||e.$$typeof===a||e.$$typeof===s||e.$$typeof===h||void 0!==e.getModuleId)}},146:(e,t,r)=>{var n=r(404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?i:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var o=h(r);o&&o!==f&&e(t,o,n)}var i=u(r);d&&(i=i.concat(d(r)));for(var s=l(t),m=l(r),y=0;y<i.length;++y){var g=i[y];if(!(a[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=p(r,g);try{c(t,g,v)}catch(e){}}}}return t}},72:(e,t)=>{var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,g=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case i:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case y:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=y,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=h,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===y},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===g)},t.typeOf=w},404:(e,t,r)=>{e.exports=r(72)},69:(e,t)=>{Object.prototype.toString}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=window.wp.domReady;var o=r.n(n);const a=window.wp.element,i=window.React;var s=r.n(i);function l(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=l(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const c=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=l(e))&&(n&&(n+=" "),n+=t);return n};function u(e,t,r=void 0){const n={};for(const o in e){const a=e[o];let i="",s=!0;for(let e=0;e<a.length;e+=1){const n=a[e];n&&(i+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(i+=" "+r[n]))}n[o]=i}return n}function d(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach((e=>r.searchParams.append("args[]",e))),`Minified MUI error #${e}; visit ${r} for the full message.`}function p(e){if("string"!=typeof e)throw new Error(d(7));return e.charAt(0).toUpperCase()+e.slice(1)}const h=p;function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(null,arguments)}var m=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),y=Math.abs,g=String.fromCharCode,v=Object.assign;function b(e){return e.trim()}function x(e,t,r){return e.replace(t,r)}function w(e,t){return e.indexOf(t)}function S(e,t){return 0|e.charCodeAt(t)}function C(e,t,r){return e.slice(t,r)}function k(e){return e.length}function $(e){return e.length}function j(e,t){return t.push(e),e}var R=1,A=1,E=0,T=0,P=0,O="";function _(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:R,column:A,length:i,return:""}}function N(e,t){return v(_("",null,null,"",null,null,0),e,{length:-e.length},t)}function M(){return P=T>0?S(O,--T):0,A--,10===P&&(A=1,R--),P}function I(){return P=T<E?S(O,T++):0,A++,10===P&&(A=1,R++),P}function L(){return S(O,T)}function B(){return T}function F(e,t){return C(O,e,t)}function z(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 D(e){return R=A=1,E=k(O=e),T=0,[]}function W(e){return O="",e}function V(e){return b(F(T-1,U(91===e?e+2:40===e?e+1:e)))}function H(e){for(;(P=L())&&P<33;)I();return z(e)>2||z(P)>3?"":" "}function Y(e,t){for(;--t&&I()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return F(e,B()+(t<6&&32==L()&&32==I()))}function U(e){for(;I();)switch(P){case e:return T;case 34:case 39:34!==e&&39!==e&&U(P);break;case 40:41===e&&U(e);break;case 92:I()}return T}function K(e,t){for(;I()&&e+P!==57&&(e+P!==84||47!==L()););return"/*"+F(t,T-1)+"*"+g(47===e?e:I())}function G(e){for(;!z(L());)I();return F(e,T)}var X="-ms-",q="-moz-",J="-webkit-",Q="comm",Z="rule",ee="decl",te="@keyframes";function re(e,t){for(var r="",n=$(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function ne(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ee:return e.return=e.return||e.value;case Q:return"";case te:return e.return=e.value+"{"+re(e.children,n)+"}";case Z:e.value=e.props.join(",")}return k(r=re(e.children,n))?e.return=e.value+"{"+r+"}":""}function oe(e){return W(ae("",null,null,null,[""],e=D(e),0,[0],e))}function ae(e,t,r,n,o,a,i,s,l){for(var c=0,u=0,d=i,p=0,h=0,f=0,m=1,y=1,v=1,b=0,C="",$=o,R=a,A=n,E=C;y;)switch(f=b,b=I()){case 40:if(108!=f&&58==S(E,d-1)){-1!=w(E+=x(V(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:E+=V(b);break;case 9:case 10:case 13:case 32:E+=H(f);break;case 92:E+=Y(B()-1,7);continue;case 47:switch(L()){case 42:case 47:j(se(K(I(),B()),t,r),l);break;default:E+="/"}break;case 123*m:s[c++]=k(E)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+u:-1==v&&(E=x(E,/\f/g,"")),h>0&&k(E)-d&&j(h>32?le(E+";",n,r,d-1):le(x(E," ","")+";",n,r,d-2),l);break;case 59:E+=";";default:if(j(A=ie(E,t,r,c,u,o,s,C,$=[],R=[],d),a),123===b)if(0===u)ae(E,t,A,A,$,a,d,s,R);else switch(99===p&&110===S(E,3)?100:p){case 100:case 108:case 109:case 115:ae(e,A,A,n&&j(ie(e,A,A,0,0,o,s,C,o,$=[],d),R),o,R,d,s,n?$:R);break;default:ae(E,A,A,A,[""],R,0,s,R)}}c=u=h=0,m=v=1,C=E="",d=i;break;case 58:d=1+k(E),h=f;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==M())continue;switch(E+=g(b),b*m){case 38:v=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(k(E)-1)*v,v=1;break;case 64:45===L()&&(E+=V(I())),p=L(),u=d=k(C=E+=G(B())),b++;break;case 45:45===f&&2==k(E)&&(m=0)}}return a}function ie(e,t,r,n,o,a,i,s,l,c,u){for(var d=o-1,p=0===o?a:[""],h=$(p),f=0,m=0,g=0;f<n;++f)for(var v=0,w=C(e,d+1,d=y(m=i[f])),S=e;v<h;++v)(S=b(m>0?p[v]+" "+w:x(w,/&\f/g,p[v])))&&(l[g++]=S);return _(e,t,r,0===o?Z:s,l,c,u)}function se(e,t,r){return _(e,t,r,Q,g(P),C(e,2,-2),0)}function le(e,t,r,n){return _(e,t,r,ee,C(e,0,n),C(e,n+1,-1),n)}var ce=function(e,t,r){for(var n=0,o=0;n=o,o=L(),38===n&&12===o&&(t[r]=1),!z(o);)I();return F(e,T)},ue=new WeakMap,de=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ue.get(r))&&!n){ue.set(e,!0);for(var o=[],a=function(e,t){return W(function(e,t){var r=-1,n=44;do{switch(z(n)){case 0:38===n&&12===L()&&(t[r]=1),e[r]+=ce(T-1,t,r);break;case 2:e[r]+=V(n);break;case 4:if(44===n){e[++r]=58===L()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=g(n)}}while(n=I());return e}(D(e),t))}(t,o),i=r.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},pe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function he(e,t){switch(function(e,t){return 45^S(e,0)?(((t<<2^S(e,0))<<2^S(e,1))<<2^S(e,2))<<2^S(e,3):0}(e,t)){case 5103:return J+"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 J+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return J+e+q+e+X+e+e;case 6828:case 4268:return J+e+X+e+e;case 6165:return J+e+X+"flex-"+e+e;case 5187:return J+e+x(e,/(\w+).+(:[^]+)/,J+"box-$1$2"+X+"flex-$1$2")+e;case 5443:return J+e+X+"flex-item-"+x(e,/flex-|-self/,"")+e;case 4675:return J+e+X+"flex-line-pack"+x(e,/align-content|flex-|-self/,"")+e;case 5548:return J+e+X+x(e,"shrink","negative")+e;case 5292:return J+e+X+x(e,"basis","preferred-size")+e;case 6060:return J+"box-"+x(e,"-grow","")+J+e+X+x(e,"grow","positive")+e;case 4554:return J+x(e,/([^-])(transform)/g,"$1"+J+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+X+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+e+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,J+"$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(k(e)-1-t>6)switch(S(e,t+1)){case 109:if(45!==S(e,t+4))break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+q+(108==S(e,t+3)?"$3":"$2-$3"))+e;case 115:return~w(e,"stretch")?he(x(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==S(e,t+1))break;case 6444:switch(S(e,k(e)-3-(~w(e,"!important")&&10))){case 107:return x(e,":",":"+J)+e;case 101:return x(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(45===S(e,14)?"inline-":"")+"box$3$1"+J+"$2$3$1"+X+"$2box$3")+e}break;case 5936:switch(S(e,t+11)){case 114:return J+e+X+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return J+e+X+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return J+e+X+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return J+e+X+e+e}return e}var fe=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ee:e.return=he(e.value,e.length);break;case te:return re([N(e,{value:x(e.value,"@","@"+J)})],n);case Z:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return re([N(e,{props:[x(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return re([N(e,{props:[x(t,/:(plac\w+)/,":"+J+"input-$1")]}),N(e,{props:[x(t,/:(plac\w+)/,":-moz-$1")]}),N(e,{props:[x(t,/:(plac\w+)/,X+"input-$1")]})],n)}return""}))}}],me=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n,o,a=e.stylisPlugins||fe,i={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)i[t[r]]=!0;s.push(e)}));var l,c,u,d,p=[ne,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[de,pe].concat(a,p),u=$(c),function(e,t,r,n){for(var o="",a=0;a<u;a++)o+=c[a](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,re(oe(e?e+"{"+t.styles+"}":t.styles),h),n&&(f.inserted[t.name]=!0)};var f={key:t,sheet:new m({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return f.sheet.hydrate(s),f};function ye(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var ge=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},ve=function(e,t,r){ge(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},be={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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};function xe(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var we=/[A-Z]|^ms/g,Se=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ce=function(e){return 45===e.charCodeAt(1)},ke=function(e){return null!=e&&"boolean"!=typeof e},$e=xe((function(e){return Ce(e)?e:e.replace(we,"-$&").toLowerCase()})),je=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Se,(function(e,t,r){return Ae={name:t,styles:r,next:Ae},t}))}return 1===be[e]||Ce(e)||"number"!=typeof t||0===t?t:t+"px"};function Re(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return Ae={name:o.name,styles:o.styles,next:Ae},o.name;var a=r;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)Ae={name:i.name,styles:i.styles,next:Ae},i=i.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Re(e,t,r[o])+";";else for(var a in r){var i=r[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?n+=a+"{"+t[s]+"}":ke(s)&&(n+=$e(a)+":"+je(a,s)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Re(e,t,i);switch(a){case"animation":case"animationName":n+=$e(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}else for(var c=0;c<i.length;c++)ke(i[c])&&(n+=$e(a)+":"+je(a,i[c])+";")}return n}(e,t,r);case"function":if(void 0!==e){var s=Ae,l=r(e);return Ae=s,Re(e,t,l)}}var c=r;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Ae,Ee=/label:\s*([^\s;{]+)\s*(;|$)/g;function Te(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";Ae=void 0;var a=e[0];null==a||void 0===a.raw?(n=!1,o+=Re(r,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Re(r,t,e[i]),n&&(o+=a[i]);Ee.lastIndex=0;for(var s,l="";null!==(s=Ee.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Ae}}var Pe=!!i.useInsertionEffect&&i.useInsertionEffect,Oe=Pe||function(e){return e()},_e=(Pe||i.useLayoutEffect,i.createContext("undefined"!=typeof HTMLElement?me({key:"css"}):null)),Ne=(_e.Provider,function(e){return(0,i.forwardRef)((function(t,r){var n=(0,i.useContext)(_e);return e(t,n,r)}))}),Me=i.createContext({}),Ie={}.hasOwnProperty,Le="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Be=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ge(t,r,n),Oe((function(){return ve(t,r,n)})),null},Fe=Ne((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[Le],a=[n],s="";"string"==typeof e.className?s=ye(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Te(a,void 0,i.useContext(Me));s+=t.key+"-"+l.name;var c={};for(var u in e)Ie.call(e,u)&&"css"!==u&&u!==Le&&(c[u]=e[u]);return c.className=s,r&&(c.ref=r),i.createElement(i.Fragment,null,i.createElement(Be,{cache:t,serialized:l,isStringTag:"string"==typeof o}),i.createElement(o,c))})),ze=/^((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)-.*))$/,De=xe((function(e){return ze.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),We=function(e){return"theme"!==e},Ve=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?De:We},He=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},Ye=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ge(t,r,n),Oe((function(){return ve(t,r,n)})),null},Ue=function e(t,r){var n,o,a=t.__emotion_real===t,s=a&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var l=He(t,r,a),c=l||Ve(s),u=!c("as");return function(){var d=arguments,p=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&p.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)p.push.apply(p,d);else{var h=d[0];p.push(h[0]);for(var m=d.length,y=1;y<m;y++)p.push(d[y],h[y])}var g=Ne((function(e,t,r){var n=u&&e.as||s,a="",d=[],h=e;if(null==e.theme){for(var f in h={},e)h[f]=e[f];h.theme=i.useContext(Me)}"string"==typeof e.className?a=ye(t.registered,d,e.className):null!=e.className&&(a=e.className+" ");var m=Te(p.concat(d),t.registered,h);a+=t.key+"-"+m.name,void 0!==o&&(a+=" "+o);var y=u&&void 0===l?Ve(n):c,g={};for(var v in e)u&&"as"===v||y(v)&&(g[v]=e[v]);return g.className=a,r&&(g.ref=r),i.createElement(i.Fragment,null,i.createElement(Ye,{cache:t,serialized:m,isStringTag:"string"==typeof n}),i.createElement(n,g))}));return g.displayName=void 0!==n?n:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=p,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,n){return e(t,f({},r,n,{shouldForwardProp:He(g,n,!0)})).apply(void 0,p)},g}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ue[e]=Ue(e)}));const Ke=[];function Ge(e){return Ke[0]=e,Te(Ke)}var Xe=r(774);function qe(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Je(e){if(i.isValidElement(e)||(0,Xe.Hy)(e)||!qe(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=Je(e[r])})),t}function Qe(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return qe(e)&&qe(t)&&Object.keys(t).forEach((o=>{i.isValidElement(t[o])||(0,Xe.Hy)(t[o])?n[o]=t[o]:qe(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&qe(e[o])?n[o]=Qe(e[o],t[o],r):r.clone?n[o]=qe(t[o])?Je(t[o]):t[o]:n[o]=t[o]})),n}function Ze(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...o}=e,a=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>({...e,[t.key]:t.val})),{})})(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-n/100}${r})`}return{keys:i,values:a,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:r,...o}}const et={borderRadius:4},tt={xs:0,sm:600,md:900,lg:1200,xl:1536},rt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${tt[e]}px)`},nt={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:tt[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function ot(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||rt;return t.reduce(((n,o,a)=>(n[e.up(e.keys[a])]=r(t[a]),n)),{})}if("object"==typeof t){const e=n.breakpoints||rt;return Object.keys(t).reduce(((o,a)=>{if(i=e.keys,"@"===(s=a)||s.startsWith("@")&&(i.some((e=>s.startsWith(`@${e}`)))||s.match(/^@\d/))){const e=function(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,o]=r,a=Number.isNaN(+n)?n||0:+n;return e.containerQueries(o).up(a)}(n.containerQueries?n:nt,a);e&&(o[e]=r(t[a],a))}else if(Object.keys(e.values||tt).includes(a))o[e.up(a)]=r(t[a],a);else{const e=a;o[e]=t[e]}var i,s;return o}),{})}return r(t)}function at(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function it(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:at(e,r)||n,t&&(o=t(o,n,e)),o}const st=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=at(e.theme,n)||{};return ot(e,a,(e=>{let n=it(i,o,e);return e===n&&"string"==typeof e&&(n=it(i,o,`${t}${"default"===e?"":p(e)}`,e)),!1===r?n:{[r]:n}}))};return a.propTypes={},a.filterProps=[t],a},lt=function(e,t){return t?Qe(e,t,{clone:!1}):e},ct={m:"margin",p:"padding"},ut={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},dt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},pt=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!dt[e])return[e];e=dt[e]}const[t,r]=e.split(""),n=ct[t],o=ut[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})(t)),e[t])}(),ht=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ft=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],mt=[...ht,...ft];function yt(e,t,r,n){const o=at(e,t,!0)??r;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),r=o[t];return e>=0?r:"number"==typeof r?-r:`-${r}`}:"function"==typeof o?o:()=>{}}function gt(e){return yt(e,"spacing",8)}function vt(e,t){return"string"==typeof t||null==t?t:e(t)}function bt(e,t){const r=gt(e.theme);return Object.keys(e).map((n=>function(e,t,r,n){if(!t.includes(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=vt(t,r),e)),{})}(pt(r),n);return ot(e,e[r],o)}(e,t,n,r))).reduce(lt,{})}function xt(e){return bt(e,ht)}function wt(e){return bt(e,ft)}function St(e){return bt(e,mt)}function Ct(e=8,t=gt({spacing:e})){if(e.mui)return e;const r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}xt.propTypes={},xt.filterProps=ht,wt.propTypes={},wt.filterProps=ft,St.propTypes={},St.filterProps=mt;const kt=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?lt(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r};function $t(e){return"number"!=typeof e?e:`${e}px solid`}function jt(e,t){return st({prop:e,themeKey:"borders",transform:t})}const Rt=jt("border",$t),At=jt("borderTop",$t),Et=jt("borderRight",$t),Tt=jt("borderBottom",$t),Pt=jt("borderLeft",$t),Ot=jt("borderColor"),_t=jt("borderTopColor"),Nt=jt("borderRightColor"),Mt=jt("borderBottomColor"),It=jt("borderLeftColor"),Lt=jt("outline",$t),Bt=jt("outlineColor"),Ft=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=yt(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:vt(t,e)});return ot(e,e.borderRadius,r)}return null};Ft.propTypes={},Ft.filterProps=["borderRadius"],kt(Rt,At,Et,Tt,Pt,Ot,_t,Nt,Mt,It,Ft,Lt,Bt);const zt=e=>{if(void 0!==e.gap&&null!==e.gap){const t=yt(e.theme,"spacing",8),r=e=>({gap:vt(t,e)});return ot(e,e.gap,r)}return null};zt.propTypes={},zt.filterProps=["gap"];const Dt=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=yt(e.theme,"spacing",8),r=e=>({columnGap:vt(t,e)});return ot(e,e.columnGap,r)}return null};Dt.propTypes={},Dt.filterProps=["columnGap"];const Wt=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=yt(e.theme,"spacing",8),r=e=>({rowGap:vt(t,e)});return ot(e,e.rowGap,r)}return null};function Vt(e,t){return"grey"===t?t:e}function Ht(e){return e<=1&&0!==e?100*e+"%":e}Wt.propTypes={},Wt.filterProps=["rowGap"],kt(zt,Dt,Wt,st({prop:"gridColumn"}),st({prop:"gridRow"}),st({prop:"gridAutoFlow"}),st({prop:"gridAutoColumns"}),st({prop:"gridAutoRows"}),st({prop:"gridTemplateColumns"}),st({prop:"gridTemplateRows"}),st({prop:"gridTemplateAreas"}),st({prop:"gridArea"})),kt(st({prop:"color",themeKey:"palette",transform:Vt}),st({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Vt}),st({prop:"backgroundColor",themeKey:"palette",transform:Vt}));const Yt=st({prop:"width",transform:Ht}),Ut=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const r=e.theme?.breakpoints?.values?.[t]||tt[t];return r?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Ht(t)}};return ot(e,e.maxWidth,t)}return null};Ut.filterProps=["maxWidth"];const Kt=st({prop:"minWidth",transform:Ht}),Gt=st({prop:"height",transform:Ht}),Xt=st({prop:"maxHeight",transform:Ht}),qt=st({prop:"minHeight",transform:Ht}),Jt=(st({prop:"size",cssProperty:"width",transform:Ht}),st({prop:"size",cssProperty:"height",transform:Ht}),kt(Yt,Ut,Kt,Gt,Xt,qt,st({prop:"boxSizing"})),{border:{themeKey:"borders",transform:$t},borderTop:{themeKey:"borders",transform:$t},borderRight:{themeKey:"borders",transform:$t},borderBottom:{themeKey:"borders",transform:$t},borderLeft:{themeKey:"borders",transform:$t},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:$t},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ft},color:{themeKey:"palette",transform:Vt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Vt},backgroundColor:{themeKey:"palette",transform:Vt},p:{style:wt},pt:{style:wt},pr:{style:wt},pb:{style:wt},pl:{style:wt},px:{style:wt},py:{style:wt},padding:{style:wt},paddingTop:{style:wt},paddingRight:{style:wt},paddingBottom:{style:wt},paddingLeft:{style:wt},paddingX:{style:wt},paddingY:{style:wt},paddingInline:{style:wt},paddingInlineStart:{style:wt},paddingInlineEnd:{style:wt},paddingBlock:{style:wt},paddingBlockStart:{style:wt},paddingBlockEnd:{style:wt},m:{style:xt},mt:{style:xt},mr:{style:xt},mb:{style:xt},ml:{style:xt},mx:{style:xt},my:{style:xt},margin:{style:xt},marginTop:{style:xt},marginRight:{style:xt},marginBottom:{style:xt},marginLeft:{style:xt},marginX:{style:xt},marginY:{style:xt},marginInline:{style:xt},marginInlineStart:{style:xt},marginInlineEnd:{style:xt},marginBlock:{style:xt},marginBlockStart:{style:xt},marginBlockEnd:{style:xt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:zt},rowGap:{style:Wt},columnGap:{style:Dt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ht},maxWidth:{style:Ut},minWidth:{transform:Ht},height:{transform:Ht},maxHeight:{transform:Ht},minHeight:{transform:Ht},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),Qt=function(){function e(e,t,r,n){const o={[e]:t,theme:r},a=n[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=a;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=at(r,s)||{};return c?c(o):ot(o,t,(t=>{let r=it(u,l,t);return t===r&&"string"==typeof t&&(r=it(u,l,`${e}${"default"===t?"":p(t)}`,t)),!1===i?r:{[i]:r}}))}return function t(r){const{sx:n,theme:o={}}=r||{};if(!n)return null;const a=o.unstable_sxConfig??Jt;function i(r){let n=r;if("function"==typeof r)n=r(o);else if("object"!=typeof r)return r;if(!n)return null;const i=function(e={}){const t=e.keys?.reduce(((t,r)=>(t[e.up(r)]={},t)),{});return t||{}}(o.breakpoints),s=Object.keys(i);let l=i;return Object.keys(n).forEach((r=>{const i=function(e,t){return"function"==typeof e?e(t):e}(n[r],o);if(null!=i)if("object"==typeof i)if(a[r])l=lt(l,e(r,i,o,a));else{const e=ot({theme:o},i,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,i)?l=lt(l,e):l[r]=t({sx:i,theme:o})}else l=lt(l,e(r,i,o,a))})),function(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const r=/min-width:\s*([0-9.]+)/;return+(e.match(r)?.[1]||0)-+(t.match(r)?.[1]||0)}));return r.length?r.reduce(((e,r)=>{const n=t[r];return delete e[r],e[r]=n,e}),{...t}):t}(o,(c=l,s.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),c)));var c}return Array.isArray(n)?n.map(i):i(n)}}();Qt.filterProps=["sx"];const Zt=Qt;function er(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}const tr=function(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={},...i}=e;let s=Qe({breakpoints:Ze(r),direction:"ltr",components:{},palette:{mode:"light",...n},spacing:Ct(o),shape:{...et,...a}},i);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{const o=t(e.breakpoints.not(...r),n);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const n={},o=e=>(r(n,e),n);return r(o),{...e,containerQueries:o}}(s),s.applyStyles=er,s=t.reduce(((e,t)=>Qe(e,t)),s),s.unstable_sxConfig={...Jt,...i?.unstable_sxConfig},s.unstable_sx=function(e){return Zt({sx:e,theme:this})},s};function rr(e){const{variants:t,...r}=e,n={variants:t,style:Ge(r),isProcessed:!0};return n.style===r||t&&t.forEach((e=>{"function"!=typeof e.style&&(e.style=Ge(e.style))})),n}const nr=tr();function or(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function ar(e){return e?(t,r)=>r[e]:null}function ir(e,t){const r="function"==typeof t?t(e):t;if(Array.isArray(r))return r.flatMap((t=>ir(e,t)));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=r.style;else{const{variants:e,...n}=r;t=n}return sr(e,r.variants,[t])}return r?.isProcessed?r.style:r}function sr(e,t,r=[]){let n;e:for(let o=0;o<t.length;o+=1){const a=t[o];if("function"==typeof a.props){if(n??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(n))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(n??={...e,...e.ownerState,ownerState:e.ownerState},r.push(a.style(n))):r.push(a.style)}return r}function lr(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function cr(e,t=0,r=1){return function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}(e,t,r)}function ur(e){if(e.type)return e;if("#"===e.charAt(0))return ur(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(d(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(n))throw new Error(d(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}const dr=(e,t)=>{try{return(e=>{const t=ur(e);return t.values.slice(0,3).map(((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e)).join(" ")})(e)}catch(t){return e}};function pr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function hr(e){e=ur(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),pr({type:s,values:l})}function fr(e){let t="hsl"===(e=ur(e)).type||"hsla"===e.type?ur(hr(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function mr(e,t){return e=ur(e),t=cr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,pr(e)}function yr(e,t,r){try{return mr(e,t)}catch(t){return e}}function gr(e,t){if(e=ur(e),t=cr(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return pr(e)}function vr(e,t,r){try{return gr(e,t)}catch(t){return e}}function br(e,t){if(e=ur(e),t=cr(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return pr(e)}function xr(e,t,r){try{return br(e,t)}catch(t){return e}}function wr(e,t,r){try{return function(e,t=.15){return fr(e)>.5?gr(e,t):br(e,t)}(e,t)}catch(t){return e}}const Sr={black:"#000",white:"#fff"},Cr={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"},kr="#f3e5f5",$r="#ce93d8",jr="#ba68c8",Rr="#ab47bc",Ar="#9c27b0",Er="#7b1fa2",Tr="#e57373",Pr="#ef5350",Or="#f44336",_r="#d32f2f",Nr="#c62828",Mr="#ffb74d",Ir="#ffa726",Lr="#ff9800",Br="#f57c00",Fr="#e65100",zr="#e3f2fd",Dr="#90caf9",Wr="#42a5f5",Vr="#1976d2",Hr="#1565c0",Yr="#4fc3f7",Ur="#29b6f6",Kr="#03a9f4",Gr="#0288d1",Xr="#01579b",qr="#81c784",Jr="#66bb6a",Qr="#4caf50",Zr="#388e3c",en="#2e7d32",tn="#1b5e20";function rn(){return{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:Sr.white,default:Sr.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}}}const nn=rn();function on(){return{text:{primary:Sr.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:Sr.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}}}const an=on();function sn(e,t,r,n){const o=n.light||n,a=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=br(e.main,o):"dark"===t&&(e.dark=gr(e.main,a)))}function ln(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2,...o}=e,a=e.primary||function(e="light"){return"dark"===e?{main:Dr,light:zr,dark:Wr}:{main:Vr,light:Wr,dark:Hr}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:$r,light:kr,dark:Rr}:{main:Ar,light:jr,dark:Er}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Or,light:Tr,dark:_r}:{main:_r,light:Pr,dark:Nr}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Ur,light:Yr,dark:Gr}:{main:Gr,light:Kr,dark:Xr}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Jr,light:qr,dark:Zr}:{main:en,light:Qr,dark:tn}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Ir,light:Mr,dark:Br}:{main:"#ed6c02",light:Lr,dark:Fr}}(t);function p(e){const t=function(e,t){const r=fr(e),n=fr(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}(e,an.text.primary)>=r?an.text.primary:nn.text.primary;return t}const h=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(d(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(d(12,t?` (${t})`:"",JSON.stringify(e.main)));return sn(e,"light",o,n),sn(e,"dark",a,n),e.contrastText||(e.contrastText=p(e.main)),e};let f;return"light"===t?f=rn():"dark"===t&&(f=on()),Qe({common:{...Sr},mode:t,primary:h({color:a,name:"primary"}),secondary:h({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:u,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:c,name:"success"}),grey:Cr,contrastThreshold:r,getContrastText:p,augmentColor:h,tonalOffset:n,...f},o)}function cn(e=""){function t(...r){if(!r.length)return"";const n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}function un(e){const t={};return Object.entries(e).forEach((e=>{const[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)})),t}const dn=(e,t,r,n=[])=>{let o=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=r:o&&"object"==typeof o&&(o[e]=r):o&&"object"==typeof o&&(o[e]||(o[e]=n.includes(e)?[]:{}),o=o[e])}))};function pn(e,t){const{prefix:r,shouldSkipGeneratingVar:n}=t||{},o={},a={},i={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||n&&n(e,t))){const n=`--${r?`${r}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t)))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[n]:l}),dn(a,e,`var(${n})`,s),dn(i,e,`var(${n}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,r=[],n=[]){Object.entries(t).forEach((([t,o])=>{(!l||l&&!l([...r,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...r,t],Array.isArray(o)?[...n,t]:n):s([...r,t],o,n))}))}(e),{css:o,vars:a,varsWithDefaults:i}}const hn={textTransform:"uppercase"},fn='"Roboto", "Helvetica", "Arial", sans-serif';function mn(e,t){const{fontFamily:r=fn,fontSize:n=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t,p=n/14,h=u||(e=>e/l*p+"rem"),f=(e,t,n,o,a)=>{return{fontFamily:r,fontWeight:e,fontSize:h(t),lineHeight:n,...r===fn?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5+"em")}:{},...a,...c};var i},m={h1:f(o,96,1.167,-1.5),h2:f(o,60,1.2,-.5),h3:f(a,48,1.167,0),h4:f(a,34,1.235,.25),h5:f(a,24,1.334,0),h6:f(i,20,1.6,.15),subtitle1:f(a,16,1.75,.15),subtitle2:f(i,14,1.57,.1),body1:f(a,16,1.5,.15),body2:f(a,14,1.43,.15),button:f(i,14,1.75,.4,hn),caption:f(a,12,1.66,.4),overline:f(a,12,2.66,1,hn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Qe({htmlFontSize:l,pxToRem:h,fontFamily:r,fontSize:n,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...m},d,{clone:!1})}function yn(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const gn=["none",yn(0,2,1,-1,0,1,1,0,0,1,3,0),yn(0,3,1,-2,0,2,2,0,0,1,5,0),yn(0,3,3,-2,0,3,4,0,0,1,8,0),yn(0,2,4,-1,0,4,5,0,0,1,10,0),yn(0,3,5,-1,0,5,8,0,0,1,14,0),yn(0,3,5,-1,0,6,10,0,0,1,18,0),yn(0,4,5,-2,0,7,10,1,0,2,16,1),yn(0,5,5,-3,0,8,10,1,0,3,14,2),yn(0,5,6,-3,0,9,12,1,0,3,16,2),yn(0,6,6,-3,0,10,14,1,0,4,18,3),yn(0,6,7,-4,0,11,15,1,0,4,20,3),yn(0,7,8,-4,0,12,17,2,0,5,22,4),yn(0,7,8,-4,0,13,19,2,0,5,24,4),yn(0,7,9,-4,0,14,21,2,0,5,26,4),yn(0,8,9,-5,0,15,22,2,0,6,28,5),yn(0,8,10,-5,0,16,24,2,0,6,30,5),yn(0,8,11,-5,0,17,26,2,0,6,32,5),yn(0,9,11,-5,0,18,28,2,0,7,34,6),yn(0,9,12,-6,0,19,29,2,0,7,36,6),yn(0,10,13,-6,0,20,31,3,0,8,38,7),yn(0,10,13,-6,0,21,33,3,0,8,40,7),yn(0,10,14,-6,0,22,35,3,0,8,42,7),yn(0,11,14,-7,0,23,36,3,0,9,44,8),yn(0,11,15,-7,0,24,38,3,0,9,46,8)],vn={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)"},bn={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function xn(e){return`${Math.round(e)}ms`}function wn(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function Sn(e){const t={...vn,...e.easing},r={...bn,...e.duration};return{getAutoHeightDuration:wn,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:a=t.easeInOut,delay:i=0,...s}=n;return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:xn(o)} ${a} ${"string"==typeof i?i:xn(i)}`)).join(",")},...e,easing:t,duration:r}}const Cn={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function kn(e={}){const t={...e};return function e(t){const r=Object.entries(t);for(let o=0;o<r.length;o++){const[a,i]=r[o];!qe(n=i)&&void 0!==n&&"string"!=typeof n&&"boolean"!=typeof n&&"number"!=typeof n&&!Array.isArray(n)||a.startsWith("unstable_")?delete t[a]:qe(i)&&(t[a]={...i},e(t[a]))}var n}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}const $n=function(e={},...t){const{breakpoints:r,mixins:n={},spacing:o,palette:a={},transitions:i={},typography:s={},shape:l,...c}=e;if(e.vars)throw new Error(d(20));const u=ln(a),p=tr(e);let h=Qe(p,{mixins:(f=p.breakpoints,m=n,{toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}},...m}),palette:u,shadows:gn.slice(),typography:mn(u,s),transitions:Sn(i),zIndex:{...Cn}});var f,m;return h=Qe(h,c),h=t.reduce(((e,t)=>Qe(e,t)),h),h.unstable_sxConfig={...Jt,...c?.unstable_sxConfig},h.unstable_sx=function(e){return Zt({sx:e,theme:this})},h.toRuntimeSource=kn,h},jn=[...Array(25)].map(((e,t)=>{if(0===t)return"none";const r=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`}));function Rn(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function An(e){return"dark"===e?jn:[]}function En(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Tn=e=>(t,r)=>{const n=e.rootSelector||":root",o=e.colorSchemeSelector;let a=o;if("class"===o&&(a=".%s"),"data"===o&&(a="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(a=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(i=e.cssVarPrefix,[...[...Array(25)].map(((e,t)=>`--${i?`${i}-`:""}overlays-${t}`)),`--${i?`${i}-`:""}palette-AppBar-darkBg`,`--${i?`${i}-`:""}palette-AppBar-darkColor`]).forEach((e=>{o[e]=r[e],delete r[e]})),"media"===a?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:o}}:a?{[a.replace("%s",t)]:o,[`${n}, ${a.replace("%s",t)}`]:r}:{[n]:{...r,...o}}}if(a&&"media"!==a)return`${n}, ${a.replace("%s",String(t))}`}else if(t){if("media"===a)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[n]:r}};if(a)return a.replace("%s",String(t))}var i;return n};function Pn(e,t,r){!e[t]&&r&&(e[t]=r)}function On(e){return"string"==typeof e&&e.startsWith("hsl")?hr(e):e}function Nn(e,t){`${t}Channel`in e||(e[`${t}Channel`]=dr(On(e[t])))}const Mn=e=>{try{return e()}catch(e){}};function In(e,t,r,n){if(!t)return;t=!0===t?{}:t;const o="dark"===n?"dark":"light";if(!r)return void(e[n]=function(e){const{palette:t={mode:"light"},opacity:r,overlays:n,...o}=e,a=ln(t);return{palette:a,opacity:{...Rn(a.mode),...r},overlays:n||An(a.mode),...o}}({...t,palette:{mode:o,...t?.palette}}));const{palette:a,...i}=$n({...r,palette:{mode:o,...t?.palette}});return e[n]={...t,palette:a,opacity:{...Rn(o),...t?.opacity},overlays:t?.overlays||An(o)},i}function Ln(e={},...t){const{colorSchemes:r={light:!0},defaultColorScheme:n,disableCssColorScheme:o=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:i=En,colorSchemeSelector:s=(r.light&&r.dark?"media":void 0),rootSelector:l=":root",...c}=e,u=Object.keys(r)[0],p=n||(r.light&&"light"!==u?"light":u),h=((e="mui")=>cn(e))(a),{[p]:f,light:m,dark:y,...g}=r,v={...g};let b=f;if(("dark"===p&&!("dark"in r)||"light"===p&&!("light"in r))&&(b=!0),!b)throw new Error(d(21,p));const x=In(v,b,c,p);m&&!v.light&&In(v,m,void 0,"light"),y&&!v.dark&&In(v,y,void 0,"dark");let w={defaultColorScheme:p,...x,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:l,getCssVar:h,colorSchemes:v,font:{...un(x.typography),...x.font},spacing:(S=c.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(w.colorSchemes).forEach((e=>{const t=w.colorSchemes[e].palette,r=e=>{const r=e.split("-"),n=r[1],o=r[2];return h(e,t[n][o])};var n;if("light"===t.mode&&(Pn(t.common,"background","#fff"),Pn(t.common,"onBackground","#000")),"dark"===t.mode&&(Pn(t.common,"background","#000"),Pn(t.common,"onBackground","#fff")),n=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{n[e]||(n[e]={})})),"light"===t.mode){Pn(t.Alert,"errorColor",vr(t.error.light,.6)),Pn(t.Alert,"infoColor",vr(t.info.light,.6)),Pn(t.Alert,"successColor",vr(t.success.light,.6)),Pn(t.Alert,"warningColor",vr(t.warning.light,.6)),Pn(t.Alert,"errorFilledBg",r("palette-error-main")),Pn(t.Alert,"infoFilledBg",r("palette-info-main")),Pn(t.Alert,"successFilledBg",r("palette-success-main")),Pn(t.Alert,"warningFilledBg",r("palette-warning-main")),Pn(t.Alert,"errorFilledColor",Mn((()=>t.getContrastText(t.error.main)))),Pn(t.Alert,"infoFilledColor",Mn((()=>t.getContrastText(t.info.main)))),Pn(t.Alert,"successFilledColor",Mn((()=>t.getContrastText(t.success.main)))),Pn(t.Alert,"warningFilledColor",Mn((()=>t.getContrastText(t.warning.main)))),Pn(t.Alert,"errorStandardBg",xr(t.error.light,.9)),Pn(t.Alert,"infoStandardBg",xr(t.info.light,.9)),Pn(t.Alert,"successStandardBg",xr(t.success.light,.9)),Pn(t.Alert,"warningStandardBg",xr(t.warning.light,.9)),Pn(t.Alert,"errorIconColor",r("palette-error-main")),Pn(t.Alert,"infoIconColor",r("palette-info-main")),Pn(t.Alert,"successIconColor",r("palette-success-main")),Pn(t.Alert,"warningIconColor",r("palette-warning-main")),Pn(t.AppBar,"defaultBg",r("palette-grey-100")),Pn(t.Avatar,"defaultBg",r("palette-grey-400")),Pn(t.Button,"inheritContainedBg",r("palette-grey-300")),Pn(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),Pn(t.Chip,"defaultBorder",r("palette-grey-400")),Pn(t.Chip,"defaultAvatarColor",r("palette-grey-700")),Pn(t.Chip,"defaultIconColor",r("palette-grey-700")),Pn(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Pn(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Pn(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Pn(t.LinearProgress,"primaryBg",xr(t.primary.main,.62)),Pn(t.LinearProgress,"secondaryBg",xr(t.secondary.main,.62)),Pn(t.LinearProgress,"errorBg",xr(t.error.main,.62)),Pn(t.LinearProgress,"infoBg",xr(t.info.main,.62)),Pn(t.LinearProgress,"successBg",xr(t.success.main,.62)),Pn(t.LinearProgress,"warningBg",xr(t.warning.main,.62)),Pn(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.11)`),Pn(t.Slider,"primaryTrack",xr(t.primary.main,.62)),Pn(t.Slider,"secondaryTrack",xr(t.secondary.main,.62)),Pn(t.Slider,"errorTrack",xr(t.error.main,.62)),Pn(t.Slider,"infoTrack",xr(t.info.main,.62)),Pn(t.Slider,"successTrack",xr(t.success.main,.62)),Pn(t.Slider,"warningTrack",xr(t.warning.main,.62));const e=wr(t.background.default,.8);Pn(t.SnackbarContent,"bg",e),Pn(t.SnackbarContent,"color",Mn((()=>t.getContrastText(e)))),Pn(t.SpeedDialAction,"fabHoverBg",wr(t.background.paper,.15)),Pn(t.StepConnector,"border",r("palette-grey-400")),Pn(t.StepContent,"border",r("palette-grey-400")),Pn(t.Switch,"defaultColor",r("palette-common-white")),Pn(t.Switch,"defaultDisabledColor",r("palette-grey-100")),Pn(t.Switch,"primaryDisabledColor",xr(t.primary.main,.62)),Pn(t.Switch,"secondaryDisabledColor",xr(t.secondary.main,.62)),Pn(t.Switch,"errorDisabledColor",xr(t.error.main,.62)),Pn(t.Switch,"infoDisabledColor",xr(t.info.main,.62)),Pn(t.Switch,"successDisabledColor",xr(t.success.main,.62)),Pn(t.Switch,"warningDisabledColor",xr(t.warning.main,.62)),Pn(t.TableCell,"border",xr(yr(t.divider,1),.88)),Pn(t.Tooltip,"bg",yr(t.grey[700],.92))}if("dark"===t.mode){Pn(t.Alert,"errorColor",xr(t.error.light,.6)),Pn(t.Alert,"infoColor",xr(t.info.light,.6)),Pn(t.Alert,"successColor",xr(t.success.light,.6)),Pn(t.Alert,"warningColor",xr(t.warning.light,.6)),Pn(t.Alert,"errorFilledBg",r("palette-error-dark")),Pn(t.Alert,"infoFilledBg",r("palette-info-dark")),Pn(t.Alert,"successFilledBg",r("palette-success-dark")),Pn(t.Alert,"warningFilledBg",r("palette-warning-dark")),Pn(t.Alert,"errorFilledColor",Mn((()=>t.getContrastText(t.error.dark)))),Pn(t.Alert,"infoFilledColor",Mn((()=>t.getContrastText(t.info.dark)))),Pn(t.Alert,"successFilledColor",Mn((()=>t.getContrastText(t.success.dark)))),Pn(t.Alert,"warningFilledColor",Mn((()=>t.getContrastText(t.warning.dark)))),Pn(t.Alert,"errorStandardBg",vr(t.error.light,.9)),Pn(t.Alert,"infoStandardBg",vr(t.info.light,.9)),Pn(t.Alert,"successStandardBg",vr(t.success.light,.9)),Pn(t.Alert,"warningStandardBg",vr(t.warning.light,.9)),Pn(t.Alert,"errorIconColor",r("palette-error-main")),Pn(t.Alert,"infoIconColor",r("palette-info-main")),Pn(t.Alert,"successIconColor",r("palette-success-main")),Pn(t.Alert,"warningIconColor",r("palette-warning-main")),Pn(t.AppBar,"defaultBg",r("palette-grey-900")),Pn(t.AppBar,"darkBg",r("palette-background-paper")),Pn(t.AppBar,"darkColor",r("palette-text-primary")),Pn(t.Avatar,"defaultBg",r("palette-grey-600")),Pn(t.Button,"inheritContainedBg",r("palette-grey-800")),Pn(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),Pn(t.Chip,"defaultBorder",r("palette-grey-700")),Pn(t.Chip,"defaultAvatarColor",r("palette-grey-300")),Pn(t.Chip,"defaultIconColor",r("palette-grey-300")),Pn(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Pn(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Pn(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Pn(t.LinearProgress,"primaryBg",vr(t.primary.main,.5)),Pn(t.LinearProgress,"secondaryBg",vr(t.secondary.main,.5)),Pn(t.LinearProgress,"errorBg",vr(t.error.main,.5)),Pn(t.LinearProgress,"infoBg",vr(t.info.main,.5)),Pn(t.LinearProgress,"successBg",vr(t.success.main,.5)),Pn(t.LinearProgress,"warningBg",vr(t.warning.main,.5)),Pn(t.Skeleton,"bg",`rgba(${r("palette-text-primaryChannel")} / 0.13)`),Pn(t.Slider,"primaryTrack",vr(t.primary.main,.5)),Pn(t.Slider,"secondaryTrack",vr(t.secondary.main,.5)),Pn(t.Slider,"errorTrack",vr(t.error.main,.5)),Pn(t.Slider,"infoTrack",vr(t.info.main,.5)),Pn(t.Slider,"successTrack",vr(t.success.main,.5)),Pn(t.Slider,"warningTrack",vr(t.warning.main,.5));const e=wr(t.background.default,.98);Pn(t.SnackbarContent,"bg",e),Pn(t.SnackbarContent,"color",Mn((()=>t.getContrastText(e)))),Pn(t.SpeedDialAction,"fabHoverBg",wr(t.background.paper,.15)),Pn(t.StepConnector,"border",r("palette-grey-600")),Pn(t.StepContent,"border",r("palette-grey-600")),Pn(t.Switch,"defaultColor",r("palette-grey-300")),Pn(t.Switch,"defaultDisabledColor",r("palette-grey-600")),Pn(t.Switch,"primaryDisabledColor",vr(t.primary.main,.55)),Pn(t.Switch,"secondaryDisabledColor",vr(t.secondary.main,.55)),Pn(t.Switch,"errorDisabledColor",vr(t.error.main,.55)),Pn(t.Switch,"infoDisabledColor",vr(t.info.main,.55)),Pn(t.Switch,"successDisabledColor",vr(t.success.main,.55)),Pn(t.Switch,"warningDisabledColor",vr(t.warning.main,.55)),Pn(t.TableCell,"border",vr(yr(t.divider,1),.68)),Pn(t.Tooltip,"bg",yr(t.grey[700],.92))}Nn(t.background,"default"),Nn(t.background,"paper"),Nn(t.common,"background"),Nn(t.common,"onBackground"),Nn(t,"divider"),Object.keys(t).forEach((e=>{const r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&Pn(t[e],"mainChannel",dr(On(r.main))),r.light&&Pn(t[e],"lightChannel",dr(On(r.light))),r.dark&&Pn(t[e],"darkChannel",dr(On(r.dark))),r.contrastText&&Pn(t[e],"contrastTextChannel",dr(On(r.contrastText))),"text"===e&&(Nn(t[e],"primary"),Nn(t[e],"secondary")),"action"===e&&(r.active&&Nn(t[e],"active"),r.selected&&Nn(t[e],"selected")))}))})),w=t.reduce(((e,t)=>Qe(e,t)),w);const C={prefix:a,disableCssColorScheme:o,shouldSkipGeneratingVar:i,getSelector:Tn(w)},{vars:k,generateThemeVars:$,generateStyleSheets:j}=function(e,t={}){const{getSelector:r=y,disableCssColorScheme:n,colorSchemeSelector:o}=t,{colorSchemes:a={},components:i,defaultColorScheme:s="light",...l}=e,{vars:c,css:u,varsWithDefaults:d}=pn(l,t);let p=d;const h={},{[s]:f,...m}=a;if(Object.entries(m||{}).forEach((([e,r])=>{const{vars:n,css:o,varsWithDefaults:a}=pn(r,t);p=Qe(p,a),h[e]={css:o,vars:n}})),f){const{css:e,vars:r,varsWithDefaults:n}=pn(f,t);p=Qe(p,n),h[s]={css:e,vars:r}}function y(t,r){let n=o;if("class"===o&&(n=".%s"),"data"===o&&(n="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(n=`[${o}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";const n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(h).forEach((([,{vars:t}])=>{e=Qe(e,t)})),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function i(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}i(r(void 0,{...u}),u);const{[o]:s,...l}=h;if(s){const{css:e}=s,t=a[o]?.palette?.mode,l=!n&&t?{colorScheme:t,...e}:{...e};i(r(o,{...l}),l)}return Object.entries(l).forEach((([e,{css:t}])=>{const o=a[e]?.palette?.mode,s=!n&&o?{colorScheme:o,...t}:{...t};i(r(e,{...s}),s)})),t}}}(w,C);return w.vars=k,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach((([e,t])=>{w[e]=t})),w.generateThemeVars=$,w.generateStyleSheets=j,w.generateSpacing=function(){return Ct(c.spacing,gt(this))},w.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=i,w.unstable_sxConfig={...Jt,...c?.unstable_sxConfig},w.unstable_sx=function(e){return Zt({sx:e,theme:this})},w.toRuntimeSource=kn,w}function Bn(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:ln({...!0===r?{}:r.palette,mode:t})})}const Fn=function(e={},...t){const{palette:r,cssVariables:n=!1,colorSchemes:o=(r?void 0:{light:!0}),defaultColorScheme:a=r?.mode,...i}=e,s=a||"light",l=o?.[s],c={...o,...r?{[s]:{..."boolean"!=typeof l&&l,palette:r}}:void 0};if(!1===n){if(!("colorSchemes"in e))return $n(e,...t);let n=r;"palette"in e||c[s]&&(!0!==c[s]?n=c[s].palette:"dark"===s&&(n={mode:"dark"}));const o=$n({...e,palette:n},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},Bn(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},Bn(o,"light",c.light)),o}return r||"light"in c||"light"!==s||(c.light=!0),Ln({...i,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof n&&n},...t)}(),zn=function(e={}){const{themeId:t,defaultTheme:r=nr,rootShouldForwardProp:n=or,slotShouldForwardProp:o=or}=e;function a(e){!function(e,t,r){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?r:e.theme[t]||e.theme}(e,t,r)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=e.__emotion_styles.filter((e=>e!==Zt)))}(e);const{name:r,slot:i,skipVariantsResolver:s,skipSx:l,overridesResolver:c=ar(lr(i)),...u}=t,d=void 0!==s?s:i&&"Root"!==i&&"root"!==i||!1,p=l||!1;let h=or;"Root"===i||"root"===i?h=n:i?h=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(h=void 0);const f=function(e,t){return Ue(e,t)}(e,{shouldForwardProp:h,label:void 0,...u}),m=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return ir(t,e)};if(qe(e)){const t=rr(e);return t.variants?function(e){return ir(e,t)}:t.style}return e},y=(...t)=>{const n=[],o=t.map(m),i=[];if(n.push(a),r&&c&&i.push((function(e){const t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;const o={};for(const t in n)o[t]=ir(e,n[t]);return c(e,o)})),r&&!d&&i.push((function(e){const t=e.theme,n=t?.components?.[r]?.variants;return n?sr(e,n):null})),p||i.push(Zt),Array.isArray(o[0])){const e=o.shift(),t=new Array(n.length).fill(""),r=new Array(i.length).fill("");let a;a=[...t,...e,...r],a.raw=[...t,...e.raw,...r],n.unshift(a)}const s=[...n,...o,...i],l=f(...s);return e.muiName&&(l.muiName=e.muiName),l};return f.withConfig&&(y.withConfig=f.withConfig),y}}({themeId:"$$material",defaultTheme:Fn,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e}),Dn=zn,Wn={theme:void 0},Vn=function(e){let t,r;return function(n){let o=t;return void 0!==o&&n.theme===r||(Wn.theme=n.theme,o=rr(e(Wn)),t=o,r=n.theme),o}};function Hn(e,t){const r={...t};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const o=n;if("components"===o||"slots"===o)r[o]={...e[o],...r[o]};else if("componentsProps"===o||"slotProps"===o){const n=e[o],a=t[o];if(a)if(n){r[o]={...a};for(const e in n)if(Object.prototype.hasOwnProperty.call(n,e)){const t=e;r[o][t]=Hn(n[t],a[t])}}else r[o]=a;else r[o]=n||{}}else void 0===r[o]&&(r[o]=e[o])}return r}const Yn=window.ReactJSXRuntime,Un=i.createContext(void 0);function Kn(e){return function({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?Hn(o.defaultProps,n):o.styleOverrides||o.variants?n:Hn(o,n)}({props:e,name:t,theme:{components:i.useContext(Un)}})}(e)}const Gn=e=>e,Xn=(()=>{let e=Gn;return{configure(t){e=t},generate:t=>e(t),reset(){e=Gn}}})(),qn={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 Jn(e,t,r="Mui"){const n=qn[t];return n?`${r}-${n}`:`${Xn.generate(e)}-${t}`}function Qn(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Jn(e,t,r)})),n}function Zn(e){return Jn("MuiSvgIcon",e)}Qn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const eo=Dn("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${h(r.color)}`],t[`fontSize${h(r.fontSize)}`]]}})(Vn((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),to=i.forwardRef((function(e,t){const r=Kn({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:d,inheritViewBox:p=!1,titleAccess:f,viewBox:m="0 0 24 24",...y}=r,g=i.isValidElement(n)&&"svg"===n.type,v={...r,color:a,component:s,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:g},b={};p||(b.viewBox=m);const x=(e=>{const{color:t,fontSize:r,classes:n}=e;return u({root:["root","inherit"!==t&&`color${h(t)}`,`fontSize${h(r)}`]},Zn,n)})(v);return(0,Yn.jsxs)(eo,{as:s,className:c(x.root,o),focusable:"false",color:d,"aria-hidden":!f||void 0,role:f?"img":void 0,ref:t,...b,...y,...g&&n.props,ownerState:v,children:[g?n.props.children:n,f?(0,Yn.jsx)("title",{children:f}):null]})}));to.muiName="SvgIcon";const ro=to;function no(e,t){function r(r,n){return(0,Yn.jsx)(ro,{"data-testid":`${t}Icon`,ref:n,...r,children:e})}return r.muiName=ro.muiName,i.memo(i.forwardRef(r))}const oo=no((0,Yn.jsx)("path",{d:"M4 13h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1m0 8h6c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1m10 0h6c.55 0 1-.45 1-1v-8c0-.55-.45-1-1-1h-6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1M13 4v4c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1h-6c-.55 0-1 .45-1 1"}),"DashboardRounded"),ao=no((0,Yn.jsx)("path",{d:"M6 20c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2s-2 .9-2 2v7c0 1.1.9 2 2 2m10-5v3c0 1.1.9 2 2 2s2-.9 2-2v-3c0-1.1-.9-2-2-2s-2 .9-2 2m-4 5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2s-2 .9-2 2v12c0 1.1.9 2 2 2"}),"BarChartRounded"),io=no((0,Yn.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"PublicRounded"),so=no((0,Yn.jsx)("path",{d:"M19.5 12c0-.23-.01-.45-.03-.68l1.86-1.41c.4-.3.51-.86.26-1.3l-1.87-3.23c-.25-.44-.79-.62-1.25-.42l-2.15.91c-.37-.26-.76-.49-1.17-.68l-.29-2.31c-.06-.5-.49-.88-.99-.88h-3.73c-.51 0-.94.38-1 .88l-.29 2.31c-.41.19-.8.42-1.17.68l-2.15-.91c-.46-.2-1-.02-1.25.42L2.41 8.62c-.25.44-.14.99.26 1.3l1.86 1.41c-.02.22-.03.44-.03.67s.01.45.03.68l-1.86 1.41c-.4.3-.51.86-.26 1.3l1.87 3.23c.25.44.79.62 1.25.42l2.15-.91c.37.26.76.49 1.17.68l.29 2.31c.06.5.49.88.99.88h3.73c.5 0 .93-.38.99-.88l.29-2.31c.41-.19.8-.42 1.17-.68l2.15.91c.46.2 1 .02 1.25-.42l1.87-3.23c.25-.44.14-.99-.26-1.3l-1.86-1.41c.03-.23.04-.45.04-.68m-7.46 3.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5"}),"SettingsRounded"),lo=no([(0,Yn.jsx)("path",{d:"M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2 .55 0 1-.45 1-1v-4.81c0-3.83 2.95-7.18 6.78-7.29 3.96-.12 7.22 3.06 7.22 7V19h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c1.1 0 2-.9 2-2v-1.22c.59-.31 1-.92 1-1.64v-2.3c0-.7-.41-1.31-1-1.62"},"0"),(0,Yn.jsx)("circle",{cx:"9",cy:"13",r:"1"},"1"),(0,Yn.jsx)("circle",{cx:"15",cy:"13",r:"1"},"2"),(0,Yn.jsx)("path",{d:"M18 11.03C17.52 8.18 15.04 6 12.05 6c-3.03 0-6.29 2.51-6.03 6.45 2.47-1.01 4.33-3.21 4.86-5.89 1.31 2.63 4 4.44 7.12 4.47"},"3")],"SupportAgentRounded"),co=no((0,Yn.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1m1-8h-2V7h2z"}),"InfoRounded"),uo=no((0,Yn.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),po=function(...e){return i.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)};function ho(e){try{return e.matches(":focus-visible")}catch(e){}return!1}const fo="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,mo=function(e){const t=i.useRef(e);return fo((()=>{t.current=e})),i.useRef(((...e)=>(0,t.current)(...e))).current},yo={};function go(e,t){const r=i.useRef(yo);return r.current===yo&&(r.current=e(t)),r}class vo{static create(){return new vo}static use(){const e=go(vo.create).current,[t,r]=i.useState(!1);return e.shouldMount=t,e.setShouldMount=r,i.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const r=new Promise(((r,n)=>{e=r,t=n}));return r.resolve=e,r.reject=t,r}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then((()=>this.ref.current?.start(...e)))}stop(...e){this.mount().then((()=>this.ref.current?.stop(...e)))}pulsate(...e){this.mount().then((()=>this.ref.current?.pulsate(...e)))}}function bo(e,t){return bo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bo(e,t)}const xo=s().createContext(null);function wo(e,t){var r=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),r}function So(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Co(e,t,r){var n=wo(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<a.length;n++)s[a[n]]=r(a[n]);return s}(t,n);return Object.keys(o).forEach((function(a){var s=o[a];if((0,i.isValidElement)(s)){var l=a in t,c=a in n,u=t[a],d=(0,i.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,i.isValidElement)(u)&&(o[a]=(0,i.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:So(s,"exit",e),enter:So(s,"enter",e)})):o[a]=(0,i.cloneElement)(s,{in:!1}):o[a]=(0,i.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:So(s,"exit",e),enter:So(s,"enter",e)})}})),o}var ko=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},$o=function(e){var t,r;function n(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,bo(t,r);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,a=t.handleExited;return{children:t.firstRender?(r=e,n=a,wo(r.children,(function(e){return(0,i.cloneElement)(e,{onExited:n.bind(null,e),in:!0,appear:So(e,"appear",r),enter:So(e,"enter",r),exit:So(e,"exit",r)})}))):Co(e,o,a),firstRender:!1}},o.handleExited=function(e,t){var r=wo(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=f({},t.children);return delete r[e.key],{children:r}})))},o.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}(e,["component","childFactory"]),o=this.state.contextValue,a=ko(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?s().createElement(xo.Provider,{value:o},a):s().createElement(xo.Provider,{value:o},s().createElement(t,n,a))},n}(s().Component);$o.propTypes={},$o.defaultProps={component:"div",childFactory:function(e){return e}};const jo=$o,Ro=[];class Ao{static create(){return new Ao}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}r(146);var Eo,To,Po=function(e,t){var r=arguments;if(null==t||!Ie.call(t,"css"))return i.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=Fe,o[1]=function(e,t){var r={};for(var n in t)Ie.call(t,n)&&(r[n]=t[n]);return r[Le]=e,r}(e,t);for(var a=2;a<n;a++)o[a]=r[a];return i.createElement.apply(null,o)};function Oo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Te(t)}function _o(){var e=Oo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}Eo=Po||(Po={}),To||(To=Eo.JSX||(Eo.JSX={}));const No=Qn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Mo=_o`
     1(()=>{var e={774:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal");var n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler");Symbol.for("react.provider");var a=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),f=Symbol.for("react.client.reference");t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===l||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===i||e.$$typeof===a||e.$$typeof===s||e.$$typeof===f||void 0!==e.getModuleId)}},146:(e,t,n)=>{"use strict";var r=n(404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||r&&r[y]||m&&m[y]||s&&s[y])){var b=p(n,y);try{c(t,y,b)}catch(e){}}}}return t}},72:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function S(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return S(e)||w(e)===u},t.isConcurrentMode=S,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===b||e.$$typeof===v||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},404:(e,t,n)=>{"use strict";e.exports=n(72)},757:(e,t,n)=>{"use strict";var r=n(609),o=n(250);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,s=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}(r),l=a(r),c=a(o);function u(e,t){return e[t]}function d(e=[],t,n=0){return[...e.slice(0,n),t,...e.slice(n)]}function p(e=[],t,n="id"){const r=e.slice(),o=u(t,n);return o?r.splice(r.findIndex((e=>u(e,n)===o)),1):r.splice(r.findIndex((e=>e===t)),1),r}function f(e){return e.map(((e,t)=>{const n=Object.assign(Object.assign({},e),{sortable:e.sortable||!!e.sortFunction||void 0});return e.id||(n.id=t+1),n}))}function h(e,t){return Math.ceil(e/t)}function m(e,t){return Math.min(e,t)}!function(e){e.ASC="asc",e.DESC="desc"}(i||(i={}));const g=()=>null;function y(e,t=[],n=[]){let r={},o=[...n];return t.length&&t.forEach((t=>{if(!t.when||"function"!=typeof t.when)throw new Error('"when" must be defined in the conditional style object and must be function');t.when(e)&&(r=t.style||{},t.classNames&&(o=[...o,...t.classNames]),"function"==typeof t.style&&(r=t.style(e)||{}))})),{conditionalStyle:r,classNames:o.join(" ")}}function b(e,t=[],n="id"){const r=u(e,n);return r?t.some((e=>u(e,n)===r)):t.some((t=>t===e))}function v(e,t){return t?e.findIndex((e=>x(e.id,t))):-1}function x(e,t){return e==t}function w(e,t){const n=!e.toggleOnSelectedRowsChange;switch(t.type){case"SELECT_ALL_ROWS":{const{keyField:n,rows:r,rowCount:o,mergeSelections:a}=t,i=!e.allSelected,s=!e.toggleOnSelectedRowsChange;if(a){const t=i?[...e.selectedRows,...r.filter((t=>!b(t,e.selectedRows,n)))]:e.selectedRows.filter((e=>!b(e,r,n)));return Object.assign(Object.assign({},e),{allSelected:i,selectedCount:t.length,selectedRows:t,toggleOnSelectedRowsChange:s})}return Object.assign(Object.assign({},e),{allSelected:i,selectedCount:i?o:0,selectedRows:i?r:[],toggleOnSelectedRowsChange:s})}case"SELECT_SINGLE_ROW":{const{keyField:r,row:o,isSelected:a,rowCount:i,singleSelect:s}=t;return s?a?Object.assign(Object.assign({},e),{selectedCount:0,allSelected:!1,selectedRows:[],toggleOnSelectedRowsChange:n}):Object.assign(Object.assign({},e),{selectedCount:1,allSelected:!1,selectedRows:[o],toggleOnSelectedRowsChange:n}):a?Object.assign(Object.assign({},e),{selectedCount:e.selectedRows.length>0?e.selectedRows.length-1:0,allSelected:!1,selectedRows:p(e.selectedRows,o,r),toggleOnSelectedRowsChange:n}):Object.assign(Object.assign({},e),{selectedCount:e.selectedRows.length+1,allSelected:e.selectedRows.length+1===i,selectedRows:d(e.selectedRows,o),toggleOnSelectedRowsChange:n})}case"SELECT_MULTIPLE_ROWS":{const{keyField:r,selectedRows:o,totalRows:a,mergeSelections:i}=t;if(i){const t=[...e.selectedRows,...o.filter((t=>!b(t,e.selectedRows,r)))];return Object.assign(Object.assign({},e),{selectedCount:t.length,allSelected:!1,selectedRows:t,toggleOnSelectedRowsChange:n})}return Object.assign(Object.assign({},e),{selectedCount:o.length,allSelected:o.length===a,selectedRows:o,toggleOnSelectedRowsChange:n})}case"CLEAR_SELECTED_ROWS":{const{selectedRowsFlag:n}=t;return Object.assign(Object.assign({},e),{allSelected:!1,selectedCount:0,selectedRows:[],selectedRowsFlag:n})}case"SORT_CHANGE":{const{sortDirection:r,selectedColumn:o,clearSelectedOnSort:a}=t;return Object.assign(Object.assign(Object.assign({},e),{selectedColumn:o,sortDirection:r,currentPage:1}),a&&{allSelected:!1,selectedCount:0,selectedRows:[],toggleOnSelectedRowsChange:n})}case"CHANGE_PAGE":{const{page:r,paginationServer:o,visibleOnly:a,persistSelectedOnPageChange:i}=t,s=o&&i,l=o&&!i||a;return Object.assign(Object.assign(Object.assign(Object.assign({},e),{currentPage:r}),s&&{allSelected:!1}),l&&{allSelected:!1,selectedCount:0,selectedRows:[],toggleOnSelectedRowsChange:n})}case"CHANGE_ROWS_PER_PAGE":{const{rowsPerPage:n,page:r}=t;return Object.assign(Object.assign({},e),{currentPage:r,rowsPerPage:n})}}}const S=o.css`
     2    pointer-events: none;
     3    opacity: 0.4;
     4`,C=c.default.div`
     5    position: relative;
     6    box-sizing: border-box;
     7    display: flex;
     8    flex-direction: column;
     9    width: 100%;
     10    height: 100%;
     11    max-width: 100%;
     12    ${({disabled:e})=>e&&S};
     13    ${({theme:e})=>e.table.style};
     14`,k=o.css`
     15    position: sticky;
     16    position: -webkit-sticky; /* Safari */
     17    top: 0;
     18    z-index: 1;
     19`,E=c.default.div`
     20    display: flex;
     21    width: 100%;
     22    ${({$fixedHeader:e})=>e&&k};
     23    ${({theme:e})=>e.head.style};
     24`,R=c.default.div`
     25    display: flex;
     26    align-items: stretch;
     27    width: 100%;
     28    ${({theme:e})=>e.headRow.style};
     29    ${({$dense:e,theme:t})=>e&&t.headRow.denseStyle};
     30`,$=(e,...t)=>o.css`
     31        @media screen and (max-width: ${599}px) {
     32            ${o.css(e,...t)}
     33        }
     34    `,O=(e,...t)=>o.css`
     35        @media screen and (max-width: ${959}px) {
     36            ${o.css(e,...t)}
     37        }
     38    `,P=(e,...t)=>o.css`
     39        @media screen and (max-width: ${1280}px) {
     40            ${o.css(e,...t)}
     41        }
     42    `,j=c.default.div`
     43    position: relative;
     44    display: flex;
     45    align-items: center;
     46    box-sizing: border-box;
     47    line-height: normal;
     48    ${({theme:e,$headCell:t})=>e[t?"headCells":"cells"].style};
     49    ${({$noPadding:e})=>e&&"padding: 0"};
     50`,A=c.default(j)`
     51    flex-grow: ${({button:e,grow:t})=>0===t||e?0:t||1};
     52    flex-shrink: 0;
     53    flex-basis: 0;
     54    max-width: ${({maxWidth:e})=>e||"100%"};
     55    min-width: ${({minWidth:e})=>e||"100px"};
     56    ${({width:e})=>e&&o.css`
     57            min-width: ${e};
     58            max-width: ${e};
     59        `};
     60    ${({right:e})=>e&&"justify-content: flex-end"};
     61    ${({button:e,center:t})=>(t||e)&&"justify-content: center"};
     62    ${({compact:e,button:t})=>(e||t)&&"padding: 0"};
     63
     64    /* handle hiding cells */
     65    ${({hide:e})=>e&&"sm"===e&&$`
     66    display: none;
     67  `};
     68    ${({hide:e})=>e&&"md"===e&&O`
     69    display: none;
     70  `};
     71    ${({hide:e})=>e&&"lg"===e&&P`
     72    display: none;
     73  `};
     74    ${({hide:e})=>e&&Number.isInteger(e)&&(e=>(t,...n)=>o.css`
     75            @media screen and (max-width: ${e}px) {
     76                ${o.css(t,...n)}
     77            }
     78        `)(e)`
     79    display: none;
     80  `};
     81`,T=o.css`
     82    div:first-child {
     83        white-space: ${({$wrapCell:e})=>e?"normal":"nowrap"};
     84        overflow: ${({$allowOverflow:e})=>e?"visible":"hidden"};
     85        text-overflow: ellipsis;
     86    }
     87`,I=c.default(A).attrs((e=>({style:e.style})))`
     88    ${({$renderAsCell:e})=>!e&&T};
     89    ${({theme:e,$isDragging:t})=>t&&e.cells.draggingStyle};
     90    ${({$cellStyle:e})=>e};
     91`;var N=s.memo((function({id:e,column:t,row:n,rowIndex:r,dataTag:o,isDragging:a,onDragStart:i,onDragOver:l,onDragEnd:c,onDragEnter:u,onDragLeave:d}){const{conditionalStyle:p,classNames:f}=y(n,t.conditionalCellStyles,["rdt_TableCell"]);return s.createElement(I,{id:e,"data-column-id":t.id,role:"cell",className:f,"data-tag":o,$cellStyle:t.style,$renderAsCell:!!t.cell,$allowOverflow:t.allowOverflow,button:t.button,center:t.center,compact:t.compact,grow:t.grow,hide:t.hide,maxWidth:t.maxWidth,minWidth:t.minWidth,right:t.right,width:t.width,$wrapCell:t.wrap,style:p,$isDragging:a,onDragStart:i,onDragOver:l,onDragEnd:c,onDragEnter:u,onDragLeave:d},!t.cell&&s.createElement("div",{"data-tag":o},function(e,t,n,r){return t?n&&"function"==typeof n?n(e,r):t(e,r):null}(n,t.selector,t.format,r)),t.cell&&t.cell(n,r,t,e))}));const _="input";var M=s.memo((function({name:e,component:t=_,componentOptions:n={style:{}},indeterminate:r=!1,checked:o=!1,disabled:a=!1,onClick:i=g}){const l=t,c=l!==_?n.style:(e=>Object.assign(Object.assign({fontSize:"18px"},!e&&{cursor:"pointer"}),{padding:0,marginTop:"1px",verticalAlign:"middle",position:"relative"}))(a),u=s.useMemo((()=>function(e,...t){let n;return Object.keys(e).map((t=>e[t])).forEach(((r,o)=>{const a=e;"function"==typeof r&&(n=Object.assign(Object.assign({},a),{[Object.keys(e)[o]]:r(...t)}))})),n||e}(n,r)),[n,r]);return s.createElement(l,Object.assign({type:"checkbox",ref:e=>{e&&(e.indeterminate=r)},style:c,onClick:a?g:i,name:e,"aria-label":e,checked:o,disabled:a},u,{onChange:g}))}));const D=c.default(j)`
     92    flex: 0 0 48px;
     93    min-width: 48px;
     94    justify-content: center;
     95    align-items: center;
     96    user-select: none;
     97    white-space: nowrap;
     98`;function L({name:e,keyField:t,row:n,rowCount:r,selected:o,selectableRowsComponent:a,selectableRowsComponentProps:i,selectableRowsSingle:l,selectableRowDisabled:c,onSelectedRow:u}){const d=!(!c||!c(n));return s.createElement(D,{onClick:e=>e.stopPropagation(),className:"rdt_TableCell",$noPadding:!0},s.createElement(M,{name:e,component:a,componentOptions:i,checked:o,"aria-checked":o,onClick:()=>{u({type:"SELECT_SINGLE_ROW",row:n,isSelected:o,keyField:t,rowCount:r,singleSelect:l})},disabled:d}))}const F=c.default.button`
     99    display: inline-flex;
     100    align-items: center;
     101    user-select: none;
     102    white-space: nowrap;
     103    border: none;
     104    background-color: transparent;
     105    ${({theme:e})=>e.expanderButton.style};
     106`;function B({disabled:e=!1,expanded:t=!1,expandableIcon:n,id:r,row:o,onToggled:a}){const i=t?n.expanded:n.collapsed;return s.createElement(F,{"aria-disabled":e,onClick:()=>a&&a(o),"data-testid":`expander-button-${r}`,disabled:e,"aria-label":t?"Collapse Row":"Expand Row",role:"button",type:"button"},i)}const H=c.default(j)`
     107    white-space: nowrap;
     108    font-weight: 400;
     109    min-width: 48px;
     110    ${({theme:e})=>e.expanderCell.style};
     111`;function z({row:e,expanded:t=!1,expandableIcon:n,id:r,onToggled:o,disabled:a=!1}){return s.createElement(H,{onClick:e=>e.stopPropagation(),$noPadding:!0},s.createElement(B,{id:r,row:e,expanded:t,expandableIcon:n,disabled:a,onToggled:o}))}const W=c.default.div`
     112    width: 100%;
     113    box-sizing: border-box;
     114    ${({theme:e})=>e.expanderRow.style};
     115    ${({$extendedRowStyle:e})=>e};
     116`;var V=s.memo((function({data:e,ExpanderComponent:t,expanderComponentProps:n,extendedRowStyle:r,extendedClassNames:o}){const a=["rdt_ExpanderRow",...o.split(" ").filter((e=>"rdt_TableRow"!==e))].join(" ");return s.createElement(W,{className:a,$extendedRowStyle:r},s.createElement(t,Object.assign({data:e},n)))}));const U="allowRowEvents";var G,Y,K;t.OP=void 0,(G=t.OP||(t.OP={})).LTR="ltr",G.RTL="rtl",G.AUTO="auto",t.C1=void 0,(Y=t.C1||(t.C1={})).LEFT="left",Y.RIGHT="right",Y.CENTER="center",t.$U=void 0,(K=t.$U||(t.$U={})).SM="sm",K.MD="md",K.LG="lg";const q=o.css`
     117    &:hover {
     118        ${({$highlightOnHover:e,theme:t})=>e&&t.rows.highlightOnHoverStyle};
     119    }
     120`,X=o.css`
     121    &:hover {
     122        cursor: pointer;
     123    }
     124`,J=c.default.div.attrs((e=>({style:e.style})))`
     125    display: flex;
     126    align-items: stretch;
     127    align-content: stretch;
     128    width: 100%;
     129    box-sizing: border-box;
     130    ${({theme:e})=>e.rows.style};
     131    ${({$dense:e,theme:t})=>e&&t.rows.denseStyle};
     132    ${({$striped:e,theme:t})=>e&&t.rows.stripedStyle};
     133    ${({$highlightOnHover:e})=>e&&q};
     134    ${({$pointerOnHover:e})=>e&&X};
     135    ${({$selected:e,theme:t})=>e&&t.rows.selectedHighlightStyle};
     136    ${({$conditionalStyle:e})=>e};
     137`;function Q({columns:e=[],conditionalRowStyles:t=[],defaultExpanded:n=!1,defaultExpanderDisabled:r=!1,dense:o=!1,expandableIcon:a,expandableRows:i=!1,expandableRowsComponent:l,expandableRowsComponentProps:c,expandableRowsHideExpander:d,expandOnRowClicked:p=!1,expandOnRowDoubleClicked:f=!1,highlightOnHover:h=!1,id:m,expandableInheritConditionalStyles:b,keyField:v,onRowClicked:w=g,onRowDoubleClicked:S=g,onRowMouseEnter:C=g,onRowMouseLeave:k=g,onRowExpandToggled:E=g,onSelectedRow:R=g,pointerOnHover:$=!1,row:O,rowCount:P,rowIndex:j,selectableRowDisabled:A=null,selectableRows:T=!1,selectableRowsComponent:I,selectableRowsComponentProps:_,selectableRowsHighlight:M=!1,selectableRowsSingle:D=!1,selected:F,striped:B=!1,draggingColumnId:H,onDragStart:W,onDragOver:G,onDragEnd:Y,onDragEnter:K,onDragLeave:q}){const[X,Q]=s.useState(n);s.useEffect((()=>{Q(n)}),[n]);const Z=s.useCallback((()=>{Q(!X),E(!X,O)}),[X,E,O]),ee=$||i&&(p||f),te=s.useCallback((e=>{e.target.getAttribute("data-tag")===U&&(w(O,e),!r&&i&&p&&Z())}),[r,p,i,Z,w,O]),ne=s.useCallback((e=>{e.target.getAttribute("data-tag")===U&&(S(O,e),!r&&i&&f&&Z())}),[r,f,i,Z,S,O]),re=s.useCallback((e=>{C(O,e)}),[C,O]),oe=s.useCallback((e=>{k(O,e)}),[k,O]),ae=u(O,v),{conditionalStyle:ie,classNames:se}=y(O,t,["rdt_TableRow"]),le=M&&F,ce=b?ie:{},ue=B&&j%2==0;return s.createElement(s.Fragment,null,s.createElement(J,{id:`row-${m}`,role:"row",$striped:ue,$highlightOnHover:h,$pointerOnHover:!r&&ee,$dense:o,onClick:te,onDoubleClick:ne,onMouseEnter:re,onMouseLeave:oe,className:se,$selected:le,$conditionalStyle:ie},T&&s.createElement(L,{name:`select-row-${ae}`,keyField:v,row:O,rowCount:P,selected:F,selectableRowsComponent:I,selectableRowsComponentProps:_,selectableRowDisabled:A,selectableRowsSingle:D,onSelectedRow:R}),i&&!d&&s.createElement(z,{id:ae,expandableIcon:a,expanded:X,row:O,onToggled:Z,disabled:r}),e.map((e=>e.omit?null:s.createElement(N,{id:`cell-${e.id}-${ae}`,key:`cell-${e.id}-${ae}`,dataTag:e.ignoreRowClick||e.button?null:U,column:e,row:O,rowIndex:j,isDragging:x(H,e.id),onDragStart:W,onDragOver:G,onDragEnd:Y,onDragEnter:K,onDragLeave:q})))),i&&X&&s.createElement(V,{key:`expander-${ae}`,data:O,extendedRowStyle:ce,extendedClassNames:se,ExpanderComponent:l,expanderComponentProps:c}))}const Z=c.default.span`
     138    padding: 2px;
     139    color: inherit;
     140    flex-grow: 0;
     141    flex-shrink: 0;
     142    ${({$sortActive:e})=>e?"opacity: 1":"opacity: 0"};
     143    ${({$sortDirection:e})=>"desc"===e&&"transform: rotate(180deg)"};
     144`,ee=({sortActive:e,sortDirection:t})=>l.default.createElement(Z,{$sortActive:e,$sortDirection:t},"▲"),te=c.default(A)`
     145    ${({button:e})=>e&&"text-align: center"};
     146    ${({theme:e,$isDragging:t})=>t&&e.headCells.draggingStyle};
     147`,ne=o.css`
     148    cursor: pointer;
     149    span.__rdt_custom_sort_icon__ {
     150        i,
     151        svg {
     152            transform: 'translate3d(0, 0, 0)';
     153            ${({$sortActive:e})=>e?"opacity: 1":"opacity: 0"};
     154            color: inherit;
     155            font-size: 18px;
     156            height: 18px;
     157            width: 18px;
     158            backface-visibility: hidden;
     159            transform-style: preserve-3d;
     160            transition-duration: 95ms;
     161            transition-property: transform;
     162        }
     163
     164        &.asc i,
     165        &.asc svg {
     166            transform: rotate(180deg);
     167        }
     168    }
     169
     170    ${({$sortActive:e})=>!e&&o.css`
     171            &:hover,
     172            &:focus {
     173                opacity: 0.7;
     174
     175                span,
     176                span.__rdt_custom_sort_icon__ * {
     177                    opacity: 0.7;
     178                }
     179            }
     180        `};
     181`,re=c.default.div`
     182    display: inline-flex;
     183    align-items: center;
     184    justify-content: inherit;
     185    height: 100%;
     186    width: 100%;
     187    outline: none;
     188    user-select: none;
     189    overflow: hidden;
     190    ${({disabled:e})=>!e&&ne};
     191`,oe=c.default.div`
     192    overflow: hidden;
     193    white-space: nowrap;
     194    text-overflow: ellipsis;
     195`;var ae=s.memo((function({column:e,disabled:t,draggingColumnId:n,selectedColumn:r={},sortDirection:o,sortIcon:a,sortServer:l,pagination:c,paginationServer:u,persistSelectedOnSort:d,selectableRowsVisibleOnly:p,onSort:f,onDragStart:h,onDragOver:m,onDragEnd:g,onDragEnter:y,onDragLeave:b}){s.useEffect((()=>{"string"==typeof e.selector&&console.error(`Warning: ${e.selector} is a string based column selector which has been deprecated as of v7 and will be removed in v8. Instead, use a selector function e.g. row => row[field]...`)}),[]);const[v,w]=s.useState(!1),S=s.useRef(null);if(s.useEffect((()=>{S.current&&w(S.current.scrollWidth>S.current.clientWidth)}),[v]),e.omit)return null;const C=()=>{if(!e.sortable&&!e.selector)return;let t=o;x(r.id,e.id)&&(t=o===i.ASC?i.DESC:i.ASC),f({type:"SORT_CHANGE",sortDirection:t,selectedColumn:e,clearSelectedOnSort:c&&u&&!d||l||p})},k=e=>s.createElement(ee,{sortActive:e,sortDirection:o}),E=()=>s.createElement("span",{className:[o,"__rdt_custom_sort_icon__"].join(" ")},a),R=!(!e.sortable||!x(r.id,e.id)),$=!e.sortable||t,O=e.sortable&&!a&&!e.right,P=e.sortable&&!a&&e.right,j=e.sortable&&a&&!e.right,A=e.sortable&&a&&e.right;return s.createElement(te,{"data-column-id":e.id,className:"rdt_TableCol",$headCell:!0,allowOverflow:e.allowOverflow,button:e.button,compact:e.compact,grow:e.grow,hide:e.hide,maxWidth:e.maxWidth,minWidth:e.minWidth,right:e.right,center:e.center,width:e.width,draggable:e.reorder,$isDragging:x(e.id,n),onDragStart:h,onDragOver:m,onDragEnd:g,onDragEnter:y,onDragLeave:b},e.name&&s.createElement(re,{"data-column-id":e.id,"data-sort-id":e.id,role:"columnheader",tabIndex:0,className:"rdt_TableCol_Sortable",onClick:$?void 0:C,onKeyPress:$?void 0:e=>{"Enter"===e.key&&C()},$sortActive:!$&&R,disabled:$},!$&&A&&E(),!$&&P&&k(R),"string"==typeof e.name?s.createElement(oe,{title:v?e.name:void 0,ref:S,"data-column-id":e.id},e.name):e.name,!$&&j&&E(),!$&&O&&k(R)))}));const ie=c.default(j)`
     196    flex: 0 0 48px;
     197    justify-content: center;
     198    align-items: center;
     199    user-select: none;
     200    white-space: nowrap;
     201    font-size: unset;
     202`;function se({headCell:e=!0,rowData:t,keyField:n,allSelected:r,mergeSelections:o,selectedRows:a,selectableRowsComponent:i,selectableRowsComponentProps:l,selectableRowDisabled:c,onSelectAllRows:u}){const d=a.length>0&&!r,p=c?t.filter((e=>!c(e))):t,f=0===p.length,h=Math.min(t.length,p.length);return s.createElement(ie,{className:"rdt_TableCol",$headCell:e,$noPadding:!0},s.createElement(M,{name:"select-all-rows",component:i,componentOptions:l,onClick:()=>{u({type:"SELECT_ALL_ROWS",rows:p,rowCount:h,mergeSelections:o,keyField:n})},checked:r,indeterminate:d,disabled:f}))}function le(e=t.OP.AUTO){const n="object"==typeof window,[r,o]=s.useState(!1);return s.useEffect((()=>{if(n)if("auto"!==e)o("rtl"===e);else{const e=!(!window.document||!window.document.createElement),t=document.getElementsByTagName("BODY")[0],n=document.getElementsByTagName("HTML")[0],r="rtl"===t.dir||"rtl"===n.dir;o(e&&r)}}),[e,n]),r}const ce=c.default.div`
     203    display: flex;
     204    align-items: center;
     205    flex: 1 0 auto;
     206    height: 100%;
     207    color: ${({theme:e})=>e.contextMenu.fontColor};
     208    font-size: ${({theme:e})=>e.contextMenu.fontSize};
     209    font-weight: 400;
     210`,ue=c.default.div`
     211    display: flex;
     212    align-items: center;
     213    justify-content: flex-end;
     214    flex-wrap: wrap;
     215`,de=c.default.div`
     216    position: absolute;
     217    top: 0;
     218    left: 0;
     219    width: 100%;
     220    height: 100%;
     221    box-sizing: inherit;
     222    z-index: 1;
     223    align-items: center;
     224    justify-content: space-between;
     225    display: flex;
     226    ${({$rtl:e})=>e&&"direction: rtl"};
     227    ${({theme:e})=>e.contextMenu.style};
     228    ${({theme:e,$visible:t})=>t&&e.contextMenu.activeStyle};
     229`;function pe({contextMessage:e,contextActions:t,contextComponent:n,selectedCount:r,direction:o}){const a=le(o),i=r>0;return n?s.createElement(de,{$visible:i},s.cloneElement(n,{selectedCount:r})):s.createElement(de,{$visible:i,$rtl:a},s.createElement(ce,null,((e,t,n)=>{if(0===t)return null;const r=1===t?e.singular:e.plural;return n?`${t} ${e.message||""} ${r}`:`${t} ${r} ${e.message||""}`})(e,r,a)),s.createElement(ue,null,t))}const fe=c.default.div`
     230    position: relative;
     231    box-sizing: border-box;
     232    overflow: hidden;
     233    display: flex;
     234    flex: 1 1 auto;
     235    align-items: center;
     236    justify-content: space-between;
     237    width: 100%;
     238    flex-wrap: wrap;
     239    ${({theme:e})=>e.header.style}
     240`,he=c.default.div`
     241    flex: 1 0 auto;
     242    color: ${({theme:e})=>e.header.fontColor};
     243    font-size: ${({theme:e})=>e.header.fontSize};
     244    font-weight: 400;
     245`,me=c.default.div`
     246    flex: 1 0 auto;
     247    display: flex;
     248    align-items: center;
     249    justify-content: flex-end;
     250
     251    > * {
     252        margin-left: 5px;
     253    }
     254`,ge=({title:e,actions:t=null,contextMessage:n,contextActions:r,contextComponent:o,selectedCount:a,direction:i,showMenu:l=!0})=>s.createElement(fe,{className:"rdt_TableHeader",role:"heading","aria-level":1},s.createElement(he,null,e),t&&s.createElement(me,null,t),l&&s.createElement(pe,{contextMessage:n,contextActions:r,contextComponent:o,direction:i,selectedCount:a}));function ye(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;const be={left:"flex-start",right:"flex-end",center:"center"},ve=c.default.header`
     255    position: relative;
     256    display: flex;
     257    flex: 1 1 auto;
     258    box-sizing: border-box;
     259    align-items: center;
     260    padding: 4px 16px 4px 24px;
     261    width: 100%;
     262    justify-content: ${({align:e})=>be[e]};
     263    flex-wrap: ${({$wrapContent:e})=>e?"wrap":"nowrap"};
     264    ${({theme:e})=>e.subHeader.style}
     265`,xe=e=>{var{align:t="right",wrapContent:n=!0}=e,r=ye(e,["align","wrapContent"]);return s.createElement(ve,Object.assign({align:t,$wrapContent:n},r))},we=c.default.div`
     266    display: flex;
     267    flex-direction: column;
     268`,Se=c.default.div`
     269    position: relative;
     270    width: 100%;
     271    border-radius: inherit;
     272    ${({$responsive:e,$fixedHeader:t})=>e&&o.css`
     273            overflow-x: auto;
     274
     275            // hidden prevents vertical scrolling in firefox when fixedHeader is disabled
     276            overflow-y: ${t?"auto":"hidden"};
     277            min-height: 0;
     278        `};
     279
     280    ${({$fixedHeader:e=!1,$fixedHeaderScrollHeight:t="100vh"})=>e&&o.css`
     281            max-height: ${t};
     282            -webkit-overflow-scrolling: touch;
     283        `};
     284
     285    ${({theme:e})=>e.responsiveWrapper.style};
     286`,Ce=c.default.div`
     287    position: relative;
     288    box-sizing: border-box;
     289    width: 100%;
     290    height: 100%;
     291    ${e=>e.theme.progress.style};
     292`,ke=c.default.div`
     293    position: relative;
     294    width: 100%;
     295    ${({theme:e})=>e.tableWrapper.style};
     296`,Ee=c.default(j)`
     297    white-space: nowrap;
     298    ${({theme:e})=>e.expanderCell.style};
     299`,Re=c.default.div`
     300    box-sizing: border-box;
     301    width: 100%;
     302    height: 100%;
     303    ${({theme:e})=>e.noData.style};
     304`,$e=()=>l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.default.createElement("path",{d:"M7 10l5 5 5-5z"}),l.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),Oe=c.default.select`
     305    cursor: pointer;
     306    height: 24px;
     307    max-width: 100%;
     308    user-select: none;
     309    padding-left: 8px;
     310    padding-right: 24px;
     311    box-sizing: content-box;
     312    font-size: inherit;
     313    color: inherit;
     314    border: none;
     315    background-color: transparent;
     316    appearance: none;
     317    direction: ltr;
     318    flex-shrink: 0;
     319
     320    &::-ms-expand {
     321        display: none;
     322    }
     323
     324    &:disabled::-ms-expand {
     325        background: #f60;
     326    }
     327
     328    option {
     329        color: initial;
     330    }
     331`,Pe=c.default.div`
     332    position: relative;
     333    flex-shrink: 0;
     334    font-size: inherit;
     335    color: inherit;
     336    margin-top: 1px;
     337
     338    svg {
     339        top: 0;
     340        right: 0;
     341        color: inherit;
     342        position: absolute;
     343        fill: currentColor;
     344        width: 24px;
     345        height: 24px;
     346        display: inline-block;
     347        user-select: none;
     348        pointer-events: none;
     349    }
     350`,je=e=>{var{defaultValue:t,onChange:n}=e,r=ye(e,["defaultValue","onChange"]);return s.createElement(Pe,null,s.createElement(Oe,Object.assign({onChange:n,defaultValue:t},r)),s.createElement($e,null))},Ae={columns:[],data:[],title:"",keyField:"id",selectableRows:!1,selectableRowsHighlight:!1,selectableRowsNoSelectAll:!1,selectableRowSelected:null,selectableRowDisabled:null,selectableRowsComponent:"input",selectableRowsComponentProps:{},selectableRowsVisibleOnly:!1,selectableRowsSingle:!1,clearSelectedRows:!1,expandableRows:!1,expandableRowDisabled:null,expandableRowExpanded:null,expandOnRowClicked:!1,expandableRowsHideExpander:!1,expandOnRowDoubleClicked:!1,expandableInheritConditionalStyles:!1,expandableRowsComponent:function(){return l.default.createElement("div",null,"To add an expander pass in a component instance via ",l.default.createElement("strong",null,"expandableRowsComponent"),". You can then access props.data from this component.")},expandableIcon:{collapsed:l.default.createElement((()=>l.default.createElement("svg",{fill:"currentColor",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},l.default.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),l.default.createElement("path",{d:"M0-.25h24v24H0z",fill:"none"}))),null),expanded:l.default.createElement((()=>l.default.createElement("svg",{fill:"currentColor",height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},l.default.createElement("path",{d:"M7.41 7.84L12 12.42l4.59-4.58L18 9.25l-6 6-6-6z"}),l.default.createElement("path",{d:"M0-.75h24v24H0z",fill:"none"}))),null)},expandableRowsComponentProps:{},progressPending:!1,progressComponent:l.default.createElement("div",{style:{fontSize:"24px",fontWeight:700,padding:"24px"}},"Loading..."),persistTableHead:!1,sortIcon:null,sortFunction:null,sortServer:!1,striped:!1,highlightOnHover:!1,pointerOnHover:!1,noContextMenu:!1,contextMessage:{singular:"item",plural:"items",message:"selected"},actions:null,contextActions:null,contextComponent:null,defaultSortFieldId:null,defaultSortAsc:!0,responsive:!0,noDataComponent:l.default.createElement("div",{style:{padding:"24px"}},"There are no records to display"),disabled:!1,noTableHead:!1,noHeader:!1,subHeader:!1,subHeaderAlign:t.C1.RIGHT,subHeaderWrap:!0,subHeaderComponent:null,fixedHeader:!1,fixedHeaderScrollHeight:"100vh",pagination:!1,paginationServer:!1,paginationServerOptions:{persistSelectedOnSort:!1,persistSelectedOnPageChange:!1},paginationDefaultPage:1,paginationResetDefaultPage:!1,paginationTotalRows:0,paginationPerPage:10,paginationRowsPerPageOptions:[10,15,20,25,30],paginationComponent:null,paginationComponentOptions:{},paginationIconFirstPage:l.default.createElement((()=>l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},l.default.createElement("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),l.default.createElement("path",{fill:"none",d:"M24 24H0V0h24v24z"}))),null),paginationIconLastPage:l.default.createElement((()=>l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},l.default.createElement("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),l.default.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}))),null),paginationIconNext:l.default.createElement((()=>l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},l.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),l.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))),null),paginationIconPrevious:l.default.createElement((()=>l.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24","aria-hidden":"true",role:"presentation"},l.default.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),l.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))),null),dense:!1,conditionalRowStyles:[],theme:"default",customStyles:{},direction:t.OP.AUTO,onChangePage:g,onChangeRowsPerPage:g,onRowClicked:g,onRowDoubleClicked:g,onRowMouseEnter:g,onRowMouseLeave:g,onRowExpandToggled:g,onSelectedRowsChange:g,onSort:g,onColumnOrderChange:g},Te={rowsPerPageText:"Rows per page:",rangeSeparatorText:"of",noRowsPerPage:!1,selectAllRowsItem:!1,selectAllRowsItemText:"All"},Ie=c.default.nav`
     351    display: flex;
     352    flex: 1 1 auto;
     353    justify-content: flex-end;
     354    align-items: center;
     355    box-sizing: border-box;
     356    padding-right: 8px;
     357    padding-left: 8px;
     358    width: 100%;
     359    ${({theme:e})=>e.pagination.style};
     360`,Ne=c.default.button`
     361    position: relative;
     362    display: block;
     363    user-select: none;
     364    border: none;
     365    ${({theme:e})=>e.pagination.pageButtonsStyle};
     366    ${({$isRTL:e})=>e&&"transform: scale(-1, -1)"};
     367`,_e=c.default.div`
     368    display: flex;
     369    align-items: center;
     370    border-radius: 4px;
     371    white-space: nowrap;
     372    ${$`
     373    width: 100%;
     374    justify-content: space-around;
     375  `};
     376`,Me=c.default.span`
     377    flex-shrink: 1;
     378    user-select: none;
     379`,De=c.default(Me)`
     380    margin: 0 24px;
     381`,Le=c.default(Me)`
     382    margin: 0 4px;
     383`;var Fe=s.memo((function({rowsPerPage:e,rowCount:t,currentPage:n,direction:r=Ae.direction,paginationRowsPerPageOptions:o=Ae.paginationRowsPerPageOptions,paginationIconLastPage:a=Ae.paginationIconLastPage,paginationIconFirstPage:i=Ae.paginationIconFirstPage,paginationIconNext:l=Ae.paginationIconNext,paginationIconPrevious:c=Ae.paginationIconPrevious,paginationComponentOptions:u=Ae.paginationComponentOptions,onChangeRowsPerPage:d=Ae.onChangeRowsPerPage,onChangePage:p=Ae.onChangePage}){const f=(()=>{const e="object"==typeof window;function t(){return{width:e?window.innerWidth:void 0,height:e?window.innerHeight:void 0}}const[n,r]=s.useState(t);return s.useEffect((()=>{if(!e)return()=>null;function n(){r(t())}return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),n})(),m=le(r),g=f.width&&f.width>599,y=h(t,e),b=n*e,v=b-e+1,x=1===n,w=n===y,S=Object.assign(Object.assign({},Te),u),C=n===y?`${v}-${t} ${S.rangeSeparatorText} ${t}`:`${v}-${b} ${S.rangeSeparatorText} ${t}`,k=s.useCallback((()=>p(n-1)),[n,p]),E=s.useCallback((()=>p(n+1)),[n,p]),R=s.useCallback((()=>p(1)),[p]),$=s.useCallback((()=>p(h(t,e))),[p,t,e]),O=s.useCallback((e=>d(Number(e.target.value),n)),[n,d]),P=o.map((e=>s.createElement("option",{key:e,value:e},e)));S.selectAllRowsItem&&P.push(s.createElement("option",{key:-1,value:t},S.selectAllRowsItemText));const j=s.createElement(je,{onChange:O,defaultValue:e,"aria-label":S.rowsPerPageText},P);return s.createElement(Ie,{className:"rdt_Pagination"},!S.noRowsPerPage&&g&&s.createElement(s.Fragment,null,s.createElement(Le,null,S.rowsPerPageText),j),g&&s.createElement(De,null,C),s.createElement(_e,null,s.createElement(Ne,{id:"pagination-first-page",type:"button","aria-label":"First Page","aria-disabled":x,onClick:R,disabled:x,$isRTL:m},i),s.createElement(Ne,{id:"pagination-previous-page",type:"button","aria-label":"Previous Page","aria-disabled":x,onClick:k,disabled:x,$isRTL:m},c),!S.noRowsPerPage&&!g&&j,s.createElement(Ne,{id:"pagination-next-page",type:"button","aria-label":"Next Page","aria-disabled":w,onClick:E,disabled:w,$isRTL:m},l),s.createElement(Ne,{id:"pagination-last-page",type:"button","aria-label":"Last Page","aria-disabled":w,onClick:$,disabled:w,$isRTL:m},a)))}));const Be=(e,t)=>{const n=s.useRef(!0);s.useEffect((()=>{n.current?n.current=!1:e()}),t)};var He=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===ze}(e)}(e)},ze="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function We(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Ye((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Ve(e,t,n){return e.concat(t).map((function(e){return We(e,n)}))}function Ue(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Ge(e,t){try{return t in e}catch(e){return!1}}function Ye(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Ve,n.isMergeableObject=n.isMergeableObject||He,n.cloneUnlessOtherwiseSpecified=We;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Ue(e).forEach((function(t){r[t]=We(e[t],n)})),Ue(t).forEach((function(o){(function(e,t){return Ge(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(Ge(e,o)&&n.isMergeableObject(t[o])?r[o]=function(e,t){if(!t.customMerge)return Ye;var n=t.customMerge(e);return"function"==typeof n?n:Ye}(o,n)(e[o],t[o],n):r[o]=We(t[o],n))})),r}(e,t,n):We(t,n)}Ye.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Ye(e,n,t)}),{})};var Ke=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Ye);const qe={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)"},background:{default:"#FFFFFF"},context:{background:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},divider:{default:"rgba(0,0,0,.12)"},button:{default:"rgba(0,0,0,.54)",focus:"rgba(0,0,0,.12)",hover:"rgba(0,0,0,.12)",disabled:"rgba(0, 0, 0, .18)"},selected:{default:"#e3f2fd",text:"rgba(0, 0, 0, 0.87)"},highlightOnHover:{default:"#EEEEEE",text:"rgba(0, 0, 0, 0.87)"},striped:{default:"#FAFAFA",text:"rgba(0, 0, 0, 0.87)"}},Xe={default:qe,light:qe,dark:{text:{primary:"#FFFFFF",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(0,0,0,.12)"},background:{default:"#424242"},context:{background:"#E91E63",text:"#FFFFFF"},divider:{default:"rgba(81, 81, 81, 1)"},button:{default:"#FFFFFF",focus:"rgba(255, 255, 255, .54)",hover:"rgba(255, 255, 255, .12)",disabled:"rgba(255, 255, 255, .18)"},selected:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},highlightOnHover:{default:"rgba(0, 0, 0, .7)",text:"#FFFFFF"},striped:{default:"rgba(0, 0, 0, .87)",text:"#FFFFFF"}}};function Je(e,t,n,r){const[o,a]=s.useState((()=>f(e))),[l,c]=s.useState(""),u=s.useRef("");Be((()=>{a(f(e))}),[e]);const d=s.useCallback((e=>{var t,n,r;const{attributes:a}=e.target,i=null===(t=a.getNamedItem("data-column-id"))||void 0===t?void 0:t.value;i&&(u.current=(null===(r=null===(n=o[v(o,i)])||void 0===n?void 0:n.id)||void 0===r?void 0:r.toString())||"",c(u.current))}),[o]),p=s.useCallback((e=>{var n;const{attributes:r}=e.target,i=null===(n=r.getNamedItem("data-column-id"))||void 0===n?void 0:n.value;if(i&&u.current&&i!==u.current){const e=v(o,u.current),n=v(o,i),r=[...o];r[e]=o[n],r[n]=o[e],a(r),t(r)}}),[t,o]),h=s.useCallback((e=>{e.preventDefault()}),[]),m=s.useCallback((e=>{e.preventDefault()}),[]),g=s.useCallback((e=>{e.preventDefault(),u.current="",c("")}),[]),y=function(e=!1){return e?i.ASC:i.DESC}(r),b=s.useMemo((()=>o[v(o,null==n?void 0:n.toString())]||{}),[n,o]);return{tableColumns:o,draggingColumnId:l,handleDragStart:d,handleDragEnter:p,handleDragOver:h,handleDragLeave:m,handleDragEnd:g,defaultSortDirection:y,defaultSortColumn:b}}var Qe=s.memo((function(e){const{data:t=Ae.data,columns:n=Ae.columns,title:r=Ae.title,actions:a=Ae.actions,keyField:l=Ae.keyField,striped:c=Ae.striped,highlightOnHover:d=Ae.highlightOnHover,pointerOnHover:p=Ae.pointerOnHover,dense:f=Ae.dense,selectableRows:g=Ae.selectableRows,selectableRowsSingle:y=Ae.selectableRowsSingle,selectableRowsHighlight:v=Ae.selectableRowsHighlight,selectableRowsNoSelectAll:x=Ae.selectableRowsNoSelectAll,selectableRowsVisibleOnly:S=Ae.selectableRowsVisibleOnly,selectableRowSelected:k=Ae.selectableRowSelected,selectableRowDisabled:$=Ae.selectableRowDisabled,selectableRowsComponent:O=Ae.selectableRowsComponent,selectableRowsComponentProps:P=Ae.selectableRowsComponentProps,onRowExpandToggled:A=Ae.onRowExpandToggled,onSelectedRowsChange:T=Ae.onSelectedRowsChange,expandableIcon:I=Ae.expandableIcon,onChangeRowsPerPage:N=Ae.onChangeRowsPerPage,onChangePage:_=Ae.onChangePage,paginationServer:M=Ae.paginationServer,paginationServerOptions:D=Ae.paginationServerOptions,paginationTotalRows:L=Ae.paginationTotalRows,paginationDefaultPage:F=Ae.paginationDefaultPage,paginationResetDefaultPage:B=Ae.paginationResetDefaultPage,paginationPerPage:H=Ae.paginationPerPage,paginationRowsPerPageOptions:z=Ae.paginationRowsPerPageOptions,paginationIconLastPage:W=Ae.paginationIconLastPage,paginationIconFirstPage:V=Ae.paginationIconFirstPage,paginationIconNext:U=Ae.paginationIconNext,paginationIconPrevious:G=Ae.paginationIconPrevious,paginationComponent:Y=Ae.paginationComponent,paginationComponentOptions:K=Ae.paginationComponentOptions,responsive:q=Ae.responsive,progressPending:X=Ae.progressPending,progressComponent:J=Ae.progressComponent,persistTableHead:Z=Ae.persistTableHead,noDataComponent:ee=Ae.noDataComponent,disabled:te=Ae.disabled,noTableHead:ne=Ae.noTableHead,noHeader:re=Ae.noHeader,fixedHeader:oe=Ae.fixedHeader,fixedHeaderScrollHeight:ie=Ae.fixedHeaderScrollHeight,pagination:le=Ae.pagination,subHeader:ce=Ae.subHeader,subHeaderAlign:ue=Ae.subHeaderAlign,subHeaderWrap:de=Ae.subHeaderWrap,subHeaderComponent:pe=Ae.subHeaderComponent,noContextMenu:fe=Ae.noContextMenu,contextMessage:he=Ae.contextMessage,contextActions:me=Ae.contextActions,contextComponent:ye=Ae.contextComponent,expandableRows:be=Ae.expandableRows,onRowClicked:ve=Ae.onRowClicked,onRowDoubleClicked:$e=Ae.onRowDoubleClicked,onRowMouseEnter:Oe=Ae.onRowMouseEnter,onRowMouseLeave:Pe=Ae.onRowMouseLeave,sortIcon:je=Ae.sortIcon,onSort:Te=Ae.onSort,sortFunction:Ie=Ae.sortFunction,sortServer:Ne=Ae.sortServer,expandableRowsComponent:_e=Ae.expandableRowsComponent,expandableRowsComponentProps:Me=Ae.expandableRowsComponentProps,expandableRowDisabled:De=Ae.expandableRowDisabled,expandableRowsHideExpander:Le=Ae.expandableRowsHideExpander,expandOnRowClicked:He=Ae.expandOnRowClicked,expandOnRowDoubleClicked:ze=Ae.expandOnRowDoubleClicked,expandableRowExpanded:We=Ae.expandableRowExpanded,expandableInheritConditionalStyles:Ve=Ae.expandableInheritConditionalStyles,defaultSortFieldId:Ue=Ae.defaultSortFieldId,defaultSortAsc:Ge=Ae.defaultSortAsc,clearSelectedRows:Ye=Ae.clearSelectedRows,conditionalRowStyles:qe=Ae.conditionalRowStyles,theme:Qe=Ae.theme,customStyles:Ze=Ae.customStyles,direction:et=Ae.direction,onColumnOrderChange:tt=Ae.onColumnOrderChange,className:nt}=e,{tableColumns:rt,draggingColumnId:ot,handleDragStart:at,handleDragEnter:it,handleDragOver:st,handleDragLeave:lt,handleDragEnd:ct,defaultSortDirection:ut,defaultSortColumn:dt}=Je(n,tt,Ue,Ge),[{rowsPerPage:pt,currentPage:ft,selectedRows:ht,allSelected:mt,selectedCount:gt,selectedColumn:yt,sortDirection:bt,toggleOnSelectedRowsChange:vt},xt]=s.useReducer(w,{allSelected:!1,selectedCount:0,selectedRows:[],selectedColumn:dt,toggleOnSelectedRowsChange:!1,sortDirection:ut,currentPage:F,rowsPerPage:H,selectedRowsFlag:!1,contextMessage:Ae.contextMessage}),{persistSelectedOnSort:wt=!1,persistSelectedOnPageChange:St=!1}=D,Ct=!(!M||!St&&!wt),kt=le&&!X&&t.length>0,Et=Y||Fe,Rt=s.useMemo((()=>((e={},t="default",n="default")=>{return Ke({table:{style:{color:(r=Xe[Xe[t]?t:n]).text.primary,backgroundColor:r.background.default}},tableWrapper:{style:{display:"table"}},responsiveWrapper:{style:{}},header:{style:{fontSize:"22px",color:r.text.primary,backgroundColor:r.background.default,minHeight:"56px",paddingLeft:"16px",paddingRight:"8px"}},subHeader:{style:{backgroundColor:r.background.default,minHeight:"52px"}},head:{style:{color:r.text.primary,fontSize:"12px",fontWeight:500}},headRow:{style:{backgroundColor:r.background.default,minHeight:"52px",borderBottomWidth:"1px",borderBottomColor:r.divider.default,borderBottomStyle:"solid"},denseStyle:{minHeight:"32px"}},headCells:{style:{paddingLeft:"16px",paddingRight:"16px"},draggingStyle:{cursor:"move"}},contextMenu:{style:{backgroundColor:r.context.background,fontSize:"18px",fontWeight:400,color:r.context.text,paddingLeft:"16px",paddingRight:"8px",transform:"translate3d(0, -100%, 0)",transitionDuration:"125ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",willChange:"transform"},activeStyle:{transform:"translate3d(0, 0, 0)"}},cells:{style:{paddingLeft:"16px",paddingRight:"16px",wordBreak:"break-word"},draggingStyle:{}},rows:{style:{fontSize:"13px",fontWeight:400,color:r.text.primary,backgroundColor:r.background.default,minHeight:"48px","&:not(:last-of-type)":{borderBottomStyle:"solid",borderBottomWidth:"1px",borderBottomColor:r.divider.default}},denseStyle:{minHeight:"32px"},selectedHighlightStyle:{"&:nth-of-type(n)":{color:r.selected.text,backgroundColor:r.selected.default,borderBottomColor:r.background.default}},highlightOnHoverStyle:{color:r.highlightOnHover.text,backgroundColor:r.highlightOnHover.default,transitionDuration:"0.15s",transitionProperty:"background-color",borderBottomColor:r.background.default,outlineStyle:"solid",outlineWidth:"1px",outlineColor:r.background.default},stripedStyle:{color:r.striped.text,backgroundColor:r.striped.default}},expanderRow:{style:{color:r.text.primary,backgroundColor:r.background.default}},expanderCell:{style:{flex:"0 0 48px"}},expanderButton:{style:{color:r.button.default,fill:r.button.default,backgroundColor:"transparent",borderRadius:"2px",transition:"0.25s",height:"100%",width:"100%","&:hover:enabled":{cursor:"pointer"},"&:disabled":{color:r.button.disabled},"&:hover:not(:disabled)":{cursor:"pointer",backgroundColor:r.button.hover},"&:focus":{outline:"none",backgroundColor:r.button.focus},svg:{margin:"auto"}}},pagination:{style:{color:r.text.secondary,fontSize:"13px",minHeight:"56px",backgroundColor:r.background.default,borderTopStyle:"solid",borderTopWidth:"1px",borderTopColor:r.divider.default},pageButtonsStyle:{borderRadius:"50%",height:"40px",width:"40px",padding:"8px",margin:"px",cursor:"pointer",transition:"0.4s",color:r.button.default,fill:r.button.default,backgroundColor:"transparent","&:disabled":{cursor:"unset",color:r.button.disabled,fill:r.button.disabled},"&:hover:not(:disabled)":{backgroundColor:r.button.hover},"&:focus":{outline:"none",backgroundColor:r.button.focus}}},noData:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:r.text.primary,backgroundColor:r.background.default}},progress:{style:{display:"flex",alignItems:"center",justifyContent:"center",color:r.text.primary,backgroundColor:r.background.default}}},e);var r})(Ze,Qe)),[Ze,Qe]),$t=s.useMemo((()=>Object.assign({},"auto"!==et&&{dir:et})),[et]),Ot=s.useMemo((()=>{if(Ne)return t;if((null==yt?void 0:yt.sortFunction)&&"function"==typeof yt.sortFunction){const e=yt.sortFunction,n=bt===i.ASC?e:(t,n)=>-1*e(t,n);return[...t].sort(n)}return function(e,t,n,r){return t?r&&"function"==typeof r?r(e.slice(0),t,n):e.slice(0).sort(((e,r)=>{const o=t(e),a=t(r);if("asc"===n){if(o<a)return-1;if(o>a)return 1}if("desc"===n){if(o>a)return-1;if(o<a)return 1}return 0})):e}(t,null==yt?void 0:yt.selector,bt,Ie)}),[Ne,yt,bt,t,Ie]),Pt=s.useMemo((()=>{if(le&&!M){const e=ft*pt,t=e-pt;return Ot.slice(t,e)}return Ot}),[ft,le,M,pt,Ot]),jt=s.useCallback((e=>{xt(e)}),[]),At=s.useCallback((e=>{xt(e)}),[]),Tt=s.useCallback((e=>{xt(e)}),[]),It=s.useCallback(((e,t)=>ve(e,t)),[ve]),Nt=s.useCallback(((e,t)=>$e(e,t)),[$e]),_t=s.useCallback(((e,t)=>Oe(e,t)),[Oe]),Mt=s.useCallback(((e,t)=>Pe(e,t)),[Pe]),Dt=s.useCallback((e=>xt({type:"CHANGE_PAGE",page:e,paginationServer:M,visibleOnly:S,persistSelectedOnPageChange:St})),[M,St,S]),Lt=s.useCallback((e=>{const t=h(L||Pt.length,e),n=m(ft,t);M||Dt(n),xt({type:"CHANGE_ROWS_PER_PAGE",page:n,rowsPerPage:e})}),[ft,Dt,M,L,Pt.length]);if(le&&!M&&Ot.length>0&&0===Pt.length){const e=h(Ot.length,pt),t=m(ft,e);Dt(t)}Be((()=>{T({allSelected:mt,selectedCount:gt,selectedRows:ht.slice(0)})}),[vt]),Be((()=>{Te(yt,bt,Ot.slice(0))}),[yt,bt]),Be((()=>{_(ft,L||Ot.length)}),[ft]),Be((()=>{N(pt,ft)}),[pt]),Be((()=>{Dt(F)}),[F,B]),Be((()=>{if(le&&M&&L>0){const e=h(L,pt),t=m(ft,e);ft!==t&&Dt(t)}}),[L]),s.useEffect((()=>{xt({type:"CLEAR_SELECTED_ROWS",selectedRowsFlag:Ye})}),[y,Ye]),s.useEffect((()=>{if(!k)return;const e=Ot.filter((e=>k(e))),t=y?e.slice(0,1):e;xt({type:"SELECT_MULTIPLE_ROWS",keyField:l,selectedRows:t,totalRows:Ot.length,mergeSelections:Ct})}),[t,k]);const Ft=S?Pt:Ot,Bt=St||y||x;return s.createElement(o.ThemeProvider,{theme:Rt},!re&&(!!r||!!a)&&s.createElement(ge,{title:r,actions:a,showMenu:!fe,selectedCount:gt,direction:et,contextActions:me,contextComponent:ye,contextMessage:he}),ce&&s.createElement(xe,{align:ue,wrapContent:de},pe),s.createElement(Se,Object.assign({$responsive:q,$fixedHeader:oe,$fixedHeaderScrollHeight:ie,className:nt},$t),s.createElement(ke,null,X&&!Z&&s.createElement(Ce,null,J),s.createElement(C,{disabled:te,className:"rdt_Table",role:"table"},!ne&&(!!Z||Ot.length>0&&!X)&&s.createElement(E,{className:"rdt_TableHead",role:"rowgroup",$fixedHeader:oe},s.createElement(R,{className:"rdt_TableHeadRow",role:"row",$dense:f},g&&(Bt?s.createElement(j,{style:{flex:"0 0 48px"}}):s.createElement(se,{allSelected:mt,selectedRows:ht,selectableRowsComponent:O,selectableRowsComponentProps:P,selectableRowDisabled:$,rowData:Ft,keyField:l,mergeSelections:Ct,onSelectAllRows:At})),be&&!Le&&s.createElement(Ee,null),rt.map((e=>s.createElement(ae,{key:e.id,column:e,selectedColumn:yt,disabled:X||0===Ot.length,pagination:le,paginationServer:M,persistSelectedOnSort:wt,selectableRowsVisibleOnly:S,sortDirection:bt,sortIcon:je,sortServer:Ne,onSort:jt,onDragStart:at,onDragOver:st,onDragEnd:ct,onDragEnter:it,onDragLeave:lt,draggingColumnId:ot}))))),!Ot.length&&!X&&s.createElement(Re,null,ee),X&&Z&&s.createElement(Ce,null,J),!X&&Ot.length>0&&s.createElement(we,{className:"rdt_TableBody",role:"rowgroup"},Pt.map(((e,t)=>{const n=u(e,l),r=function(e=""){return"number"!=typeof e&&(!e||0===e.length)}(n)?t:n,o=b(e,ht,l),a=!!(be&&We&&We(e)),i=!!(be&&De&&De(e));return s.createElement(Q,{id:r,key:r,keyField:l,"data-row-id":r,columns:rt,row:e,rowCount:Ot.length,rowIndex:t,selectableRows:g,expandableRows:be,expandableIcon:I,highlightOnHover:d,pointerOnHover:p,dense:f,expandOnRowClicked:He,expandOnRowDoubleClicked:ze,expandableRowsComponent:_e,expandableRowsComponentProps:Me,expandableRowsHideExpander:Le,defaultExpanderDisabled:i,defaultExpanded:a,expandableInheritConditionalStyles:Ve,conditionalRowStyles:qe,selected:o,selectableRowsHighlight:v,selectableRowsComponent:O,selectableRowsComponentProps:P,selectableRowDisabled:$,selectableRowsSingle:y,striped:c,onRowExpandToggled:A,onRowClicked:It,onRowDoubleClicked:Nt,onRowMouseEnter:_t,onRowMouseLeave:Mt,onSelectedRow:Tt,draggingColumnId:ot,onDragStart:at,onDragOver:st,onDragEnd:ct,onDragEnter:it,onDragLeave:lt})})))))),kt&&s.createElement("div",null,s.createElement(Et,{onChangePage:Dt,onChangeRowsPerPage:Lt,rowCount:L||Ot.length,currentPage:ft,rowsPerPage:pt,direction:et,paginationRowsPerPageOptions:z,paginationIconLastPage:W,paginationIconFirstPage:V,paginationIconNext:U,paginationIconPrevious:G,paginationComponentOptions:K})))}));t.Ay=Qe},69:(e,t)=>{"use strict";Object.prototype.toString},833:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},250:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ServerStyleSheet:()=>on,StyleSheetConsumer:()=>Pt,StyleSheetContext:()=>Ot,StyleSheetManager:()=>Tt,ThemeConsumer:()=>Wt,ThemeContext:()=>zt,ThemeProvider:()=>Ut,__PRIVATE__:()=>an,createGlobalStyle:()=>tn,css:()=>Xt,default:()=>Zt,isStyledComponent:()=>Xe,keyframes:()=>nn,styled:()=>Zt,useTheme:()=>Vt,version:()=>de,withTheme:()=>rn});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var a=n(609),i=n.n(a),s=n(833),l=n.n(s),c="-ms-",u="-moz-",d="-webkit-",p="comm",f="rule",h="decl",m="@import",g="@keyframes",y="@layer",b=Math.abs,v=String.fromCharCode,x=Object.assign;function w(e){return e.trim()}function S(e,t){return(e=t.exec(e))?e[0]:e}function C(e,t,n){return e.replace(t,n)}function k(e,t,n){return e.indexOf(t,n)}function E(e,t){return 0|e.charCodeAt(t)}function R(e,t,n){return e.slice(t,n)}function $(e){return e.length}function O(e){return e.length}function P(e,t){return t.push(e),e}function j(e,t){return e.filter((function(e){return!S(e,t)}))}var A=1,T=1,I=0,N=0,_=0,M="";function D(e,t,n,r,o,a,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:A,column:T,length:i,return:"",siblings:s}}function L(e,t){return x(D("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function F(e){for(;e.root;)e=L(e.root,{children:[e]});P(e,e.siblings)}function B(){return _=N>0?E(M,--N):0,T--,10===_&&(T=1,A--),_}function H(){return _=N<I?E(M,N++):0,T++,10===_&&(T=1,A++),_}function z(){return E(M,N)}function W(){return N}function V(e,t){return R(M,e,t)}function U(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 G(e){return w(V(N-1,q(91===e?e+2:40===e?e+1:e)))}function Y(e){for(;(_=z())&&_<33;)H();return U(e)>2||U(_)>3?"":" "}function K(e,t){for(;--t&&H()&&!(_<48||_>102||_>57&&_<65||_>70&&_<97););return V(e,W()+(t<6&&32==z()&&32==H()))}function q(e){for(;H();)switch(_){case e:return N;case 34:case 39:34!==e&&39!==e&&q(_);break;case 40:41===e&&q(e);break;case 92:H()}return N}function X(e,t){for(;H()&&e+_!==57&&(e+_!==84||47!==z()););return"/*"+V(t,N-1)+"*"+v(47===e?e:H())}function J(e){for(;!U(z());)H();return V(e,N)}function Q(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Z(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case m:case h:return e.return=e.return||e.value;case p:return"";case g:return e.return=e.value+"{"+Q(e.children,r)+"}";case f:if(!$(e.value=e.props.join(",")))return""}return $(n=Q(e.children,r))?e.return=e.value+"{"+n+"}":""}function ee(e,t,n){switch(function(e,t){return 45^E(e,0)?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}(e,t)){case 5103:return d+"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 d+e+e;case 4789:return u+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return d+e+u+e+c+e+e;case 5936:switch(E(e,t+11)){case 114:return d+e+c+C(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d+e+c+C(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d+e+c+C(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return d+e+c+e+e;case 6165:return d+e+c+"flex-"+e+e;case 5187:return d+e+C(e,/(\w+).+(:[^]+)/,d+"box-$1$2"+c+"flex-$1$2")+e;case 5443:return d+e+c+"flex-item-"+C(e,/flex-|-self/g,"")+(S(e,/flex-|baseline/)?"":c+"grid-row-"+C(e,/flex-|-self/g,""))+e;case 4675:return d+e+c+"flex-line-pack"+C(e,/align-content|flex-|-self/g,"")+e;case 5548:return d+e+c+C(e,"shrink","negative")+e;case 5292:return d+e+c+C(e,"basis","preferred-size")+e;case 6060:return d+"box-"+C(e,"-grow","")+d+e+c+C(e,"grow","positive")+e;case 4554:return d+C(e,/([^-])(transform)/g,"$1"+d+"$2")+e;case 6187:return C(C(C(e,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),e,"")+e;case 5495:case 3959:return C(e,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return C(C(e,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+c+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+e+e;case 4200:if(!S(e,/flex-|baseline/))return c+"grid-column-align"+R(e,t)+e;break;case 2592:case 3360:return c+C(e,"template-","")+e;case 4384:case 3616:return n&&n.some((function(e,n){return t=n,S(e.props,/grid-\w+-end/)}))?~k(e+(n=n[t].value),"span",0)?e:c+C(e,"-start","")+e+c+"grid-row-span:"+(~k(n,"span",0)?S(n,/\d+/):+S(n,/\d+/)-+S(e,/\d+/))+";":c+C(e,"-start","")+e;case 4896:case 4128:return n&&n.some((function(e){return S(e.props,/grid-\w+-start/)}))?e:c+C(C(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return C(e,/(.+)-inline(.+)/,d+"$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($(e)-1-t>6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return C(e,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+u+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~k(e,"stretch",0)?ee(C(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return C(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,o,a,i,s){return c+n+":"+r+s+(o?c+n+"-span:"+(a?i:+i-+r)+s:"")+e}));case 4949:if(121===E(e,t+6))return C(e,":",":"+d)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return C(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(45===E(e,14)?"inline-":"")+"box$3$1"+d+"$2$3$1"+c+"$2box$3")+e;case 100:return C(e,":",":"+c)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return C(e,"scroll-","scroll-snap-")+e}return e}function te(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case h:return void(e.return=ee(e.value,e.length,n));case g:return Q([L(e,{value:C(e.value,"@","@"+d)})],r);case f:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(S(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":F(L(e,{props:[C(t,/:(read-\w+)/,":"+u+"$1")]})),F(L(e,{props:[t]})),x(e,{props:j(n,r)});break;case"::placeholder":F(L(e,{props:[C(t,/:(plac\w+)/,":"+d+"input-$1")]})),F(L(e,{props:[C(t,/:(plac\w+)/,":"+u+"$1")]})),F(L(e,{props:[C(t,/:(plac\w+)/,c+"input-$1")]})),F(L(e,{props:[t]})),x(e,{props:j(n,r)})}return""}))}}function ne(e){return function(e){return M="",e}(re("",null,null,null,[""],e=function(e){return A=T=1,I=$(M=e),N=0,[]}(e),0,[0],e))}function re(e,t,n,r,o,a,i,s,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,m=1,g=1,y=1,x=0,w="",S=o,R=a,O=r,j=w;g;)switch(h=x,x=H()){case 40:if(108!=h&&58==E(j,d-1)){-1!=k(j+=C(G(x),"&","&\f"),"&\f",b(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:j+=G(x);break;case 9:case 10:case 13:case 32:j+=Y(h);break;case 92:j+=K(W()-1,7);continue;case 47:switch(z()){case 42:case 47:P(ae(X(H(),W()),t,n,l),l);break;default:j+="/"}break;case 123*m:s[c++]=$(j)*y;case 125*m:case 59:case 0:switch(x){case 0:case 125:g=0;case 59+u:-1==y&&(j=C(j,/\f/g,"")),f>0&&$(j)-d&&P(f>32?ie(j+";",r,n,d-1,l):ie(C(j," ","")+";",r,n,d-2,l),l);break;case 59:j+=";";default:if(P(O=oe(j,t,n,c,u,o,s,w,S=[],R=[],d,a),a),123===x)if(0===u)re(j,t,O,O,S,a,d,s,R);else switch(99===p&&110===E(j,3)?100:p){case 100:case 108:case 109:case 115:re(e,O,O,r&&P(oe(e,O,O,0,0,o,s,w,o,S=[],d,R),R),o,R,d,s,r?S:R);break;default:re(j,O,O,O,[""],R,0,s,R)}}c=u=f=0,m=y=1,w=j="",d=i;break;case 58:d=1+$(j),f=h;default:if(m<1)if(123==x)--m;else if(125==x&&0==m++&&125==B())continue;switch(j+=v(x),x*m){case 38:y=u>0?1:(j+="\f",-1);break;case 44:s[c++]=($(j)-1)*y,y=1;break;case 64:45===z()&&(j+=G(H())),p=z(),u=d=$(w=j+=J(W())),x++;break;case 45:45===h&&2==$(j)&&(m=0)}}return a}function oe(e,t,n,r,o,a,i,s,l,c,u,d){for(var p=o-1,h=0===o?a:[""],m=O(h),g=0,y=0,v=0;g<r;++g)for(var x=0,S=R(e,p+1,p=b(y=i[g])),k=e;x<m;++x)(k=w(y>0?h[x]+" "+S:C(S,/&\f/g,h[x])))&&(l[v++]=k);return D(e,t,n,0===o?f:s,l,c,u,d)}function ae(e,t,n,r){return D(e,t,n,p,v(_),R(e,2,-2),0,r)}function ie(e,t,n,r,o){return D(e,t,n,h,R(e,0,r),R(e,r+1,-1),r,o)}var se={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},le="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ce="active",ue="data-styled-version",de="6.1.15",pe="/*!sc*/\n",fe="undefined"!=typeof window&&"HTMLElement"in window,he=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),me={},ge=(new Set,Object.freeze([])),ye=Object.freeze({});function be(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var ve=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),xe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,we=/(^-|-$)/g;function Se(e){return e.replace(xe,"-").replace(we,"")}var Ce=/(a)(d)/gi,ke=52,Ee=function(e){return String.fromCharCode(e+(e>25?39:97))};function Re(e){var t,n="";for(t=Math.abs(e);t>ke;t=t/ke|0)n=Ee(t%ke)+n;return(Ee(t%ke)+n).replace(Ce,"$1-$2")}var $e,Oe=5381,Pe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},je=function(e){return Pe(Oe,e)};function Ae(e){return Re(je(e)>>>0)}function Te(e){return e.displayName||e.name||"Component"}function Ie(e){return"string"==typeof e&&!0}var Ne="function"==typeof Symbol&&Symbol.for,_e=Ne?Symbol.for("react.memo"):60115,Me=Ne?Symbol.for("react.forward_ref"):60112,De={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Le={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Be=(($e={})[Me]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$e[_e]=Fe,$e);function He(e){return("type"in(t=e)&&t.type.$$typeof)===_e?Fe:"$$typeof"in e?Be[e.$$typeof]:De;var t}var ze=Object.defineProperty,We=Object.getOwnPropertyNames,Ve=Object.getOwnPropertySymbols,Ue=Object.getOwnPropertyDescriptor,Ge=Object.getPrototypeOf,Ye=Object.prototype;function Ke(e,t,n){if("string"!=typeof t){if(Ye){var r=Ge(t);r&&r!==Ye&&Ke(e,r,n)}var o=We(t);Ve&&(o=o.concat(Ve(t)));for(var a=He(e),i=He(t),s=0;s<o.length;++s){var l=o[s];if(!(l in Le||n&&n[l]||i&&l in i||a&&l in a)){var c=Ue(t,l);try{ze(e,l,c)}catch(e){}}}}return e}function qe(e){return"function"==typeof e}function Xe(e){return"object"==typeof e&&"styledComponentId"in e}function Je(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Qe(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function Ze(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function et(e,t,n){if(void 0===n&&(n=!1),!n&&!Ze(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=et(e[r],t[r]);else if(Ze(t))for(var r in t)e[r]=et(e[r],t[r]);return e}function tt(e,t){Object.defineProperty(e,"toString",{value:t})}function nt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var rt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw nt(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var a=r;a<o;a++)this.groupSizes[a]=0}for(var i=this.indexOfGroup(e+1),s=(a=0,t.length);a<s;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,a=r;a<o;a++)t+="".concat(this.tag.getRule(a)).concat(pe);return t},e}(),ot=new Map,at=new Map,it=1,st=function(e){if(ot.has(e))return ot.get(e);for(;at.has(it);)it++;var t=it++;return ot.set(e,t),at.set(t,e),t},lt=function(e,t){it=t+1,ot.set(e,t),at.set(t,e)},ct="style[".concat(le,"][").concat(ue,'="').concat(de,'"]'),ut=new RegExp("^".concat(le,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),dt=function(e,t,n){for(var r,o=n.split(","),a=0,i=o.length;a<i;a++)(r=o[a])&&e.registerName(t,r)},pt=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(pe),o=[],a=0,i=r.length;a<i;a++){var s=r[a].trim();if(s){var l=s.match(ut);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(lt(u,c),dt(e,u,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(s)}}},ft=function(e){for(var t=document.querySelectorAll(ct),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(le)!==ce&&(pt(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function ht(){return n.nc}var mt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(le,"]")));return t[t.length-1]}(n),a=void 0!==o?o.nextSibling:null;r.setAttribute(le,ce),r.setAttribute(ue,de);var i=ht();return i&&r.setAttribute("nonce",i),n.insertBefore(r,a),r},gt=function(){function e(e){this.element=mt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw nt(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),yt=function(){function e(e){this.element=mt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),bt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),vt=fe,xt={isServer:!fe,useCSSOMInjection:!he},wt=function(){function e(e,t,n){void 0===e&&(e=ye),void 0===t&&(t={});var o=this;this.options=r(r({},xt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&fe&&vt&&(vt=!1,ft(this)),tt(this,(function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return at.get(e)}(n);if(void 0===o)return"continue";var a=e.names.get(o),i=t.getGroup(n);if(void 0===a||!a.size||0===i.length)return"continue";var s="".concat(le,".g").concat(n,'[id="').concat(o,'"]'),l="";void 0!==a&&a.forEach((function(e){e.length>0&&(l+="".concat(e,","))})),r+="".concat(i).concat(s,'{content:"').concat(l,'"}').concat(pe)},a=0;a<n;a++)o(a);return r}(o)}))}return e.registerId=function(e){return st(e)},e.prototype.rehydrate=function(){!this.server&&fe&&ft(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new bt(n):t?new gt(n):new yt(n)}(this.options),new rt(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(st(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(st(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(st(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),St=/&/g,Ct=/^\s*\/\/.*$/gm;function kt(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=kt(e.children,t)),e}))}function Et(e){var t,n,r,o=void 0===e?ye:e,a=o.options,i=void 0===a?ye:a,s=o.plugins,l=void 0===s?ge:s,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push((function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(St,n).replace(r,c))})),i.prefix&&u.push(te),u.push(Z);var d=function(e,o,a,s){void 0===o&&(o=""),void 0===a&&(a=""),void 0===s&&(s="&"),t=s,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Ct,""),c=ne(a||o?"".concat(a," ").concat(o," { ").concat(l," }"):l);i.namespace&&(c=kt(c,i.namespace));var d,p,f,h=[];return Q(c,(d=u.concat((f=function(e){return h.push(e)},function(e){e.root||(e=e.return)&&f(e)})),p=O(d),function(e,t,n,r){for(var o="",a=0;a<p;a++)o+=d[a](e,t,n,r)||"";return o})),h};return d.hash=l.length?l.reduce((function(e,t){return t.name||nt(15),Pe(e,t.name)}),Oe).toString():"",d}var Rt=new wt,$t=Et(),Ot=i().createContext({shouldForwardProp:void 0,styleSheet:Rt,stylis:$t}),Pt=Ot.Consumer,jt=i().createContext(void 0);function At(){return(0,a.useContext)(Ot)}function Tt(e){var t=(0,a.useState)(e.stylisPlugins),n=t[0],r=t[1],o=At().styleSheet,s=(0,a.useMemo)((function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,o]),c=(0,a.useMemo)((function(){return Et({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})}),[e.enableVendorPrefixes,e.namespace,n]);(0,a.useEffect)((function(){l()(n,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var u=(0,a.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:c}}),[e.shouldForwardProp,s,c]);return i().createElement(Ot.Provider,{value:u},i().createElement(jt.Provider,{value:c},e.children))}var It=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=$t);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,tt(this,(function(){throw nt(12,String(n.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=$t),this.name+e.hash},e}(),Nt=function(e){return e>="A"&&e<="Z"};function _t(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;Nt(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Mt=function(e){return null==e||!1===e||""===e},Dt=function(e){var t,n,r=[];for(var a in e){var i=e[a];e.hasOwnProperty(a)&&!Mt(i)&&(Array.isArray(i)&&i.isCss||qe(i)?r.push("".concat(_t(a),":"),i,";"):Ze(i)?r.push.apply(r,o(o(["".concat(a," {")],Dt(i),!1),["}"],!1)):r.push("".concat(_t(a),": ").concat((t=a,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in se||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Lt(e,t,n,r){return Mt(e)?[]:Xe(e)?[".".concat(e.styledComponentId)]:qe(e)?!qe(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Lt(e(t),t,n,r):e instanceof It?n?(e.inject(n,r),[e.getName(r)]):[e]:Ze(e)?Dt(e):Array.isArray(e)?Array.prototype.concat.apply(ge,e.map((function(e){return Lt(e,t,n,r)}))):[e.toString()];var o}function Ft(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(qe(n)&&!Xe(n))return!1}return!0}var Bt=je(de),Ht=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ft(e),this.componentId=t,this.baseHash=Pe(Bt,t),this.baseStyle=n,wt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Je(r,this.staticRulesId);else{var o=Qe(Lt(this.rules,e,t,n)),a=Re(Pe(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,a)){var i=n(o,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,i)}r=Je(r,a),this.staticRulesId=a}else{for(var s=Pe(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=Qe(Lt(u,e,t,n));s=Pe(s,d+c),l+=d}}if(l){var p=Re(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=Je(r,p)}}return r},e}(),zt=i().createContext(void 0),Wt=zt.Consumer;function Vt(){var e=(0,a.useContext)(zt);if(!e)throw nt(18);return e}function Ut(e){var t=i().useContext(zt),n=(0,a.useMemo)((function(){return function(e,t){if(!e)throw nt(14);if(qe(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw nt(8);return t?r(r({},t),e):e}(e.theme,t)}),[e.theme,t]);return e.children?i().createElement(zt.Provider,{value:n},e.children):null}var Gt={};function Yt(e,t,n){var o=Xe(e),s=e,l=!Ie(e),c=t.attrs,u=void 0===c?ge:c,d=t.componentId,p=void 0===d?function(e,t){var n="string"!=typeof e?"sc":Se(e);Gt[n]=(Gt[n]||0)+1;var r="".concat(n,"-").concat(Ae(de+n+Gt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):d,f=t.displayName,h=void 0===f?function(e){return Ie(e)?"styled.".concat(e):"Styled(".concat(Te(e),")")}(e):f,m=t.displayName&&t.componentId?"".concat(Se(t.displayName),"-").concat(t.componentId):t.componentId||p,g=o&&s.attrs?s.attrs.concat(u).filter(Boolean):u,y=t.shouldForwardProp;if(o&&s.shouldForwardProp){var b=s.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;y=function(e,t){return b(e,t)&&v(e,t)}}else y=b}var x=new Ht(n,m,o?s.componentStyle:void 0);function w(e,t){return function(e,t,n){var o=e.attrs,s=e.componentStyle,l=e.defaultProps,c=e.foldedComponentIds,u=e.styledComponentId,d=e.target,p=i().useContext(zt),f=At(),h=e.shouldForwardProp||f.shouldForwardProp,m=be(t,p,l)||ye,g=function(e,t,n){for(var o,a=r(r({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var s=qe(o=e[i])?o(a):o;for(var l in s)a[l]="className"===l?Je(a[l],s[l]):"style"===l?r(r({},a[l]),s[l]):s[l]}return t.className&&(a.className=Je(a.className,t.className)),a}(o,t,m),y=g.as||d,b={};for(var v in g)void 0===g[v]||"$"===v[0]||"as"===v||"theme"===v&&g.theme===m||("forwardedAs"===v?b.as=g.forwardedAs:h&&!h(v,y)||(b[v]=g[v]));var x=function(e,t){var n=At();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(s,g),w=Je(c,u);return x&&(w+=" "+x),g.className&&(w+=" "+g.className),b[Ie(y)&&!ve.has(y)?"class":"className"]=w,n&&(b.ref=n),(0,a.createElement)(y,b)}(S,e,t)}w.displayName=h;var S=i().forwardRef(w);return S.attrs=g,S.componentStyle=x,S.displayName=h,S.shouldForwardProp=y,S.foldedComponentIds=o?Je(s.foldedComponentIds,s.styledComponentId):"",S.styledComponentId=m,S.target=o?s.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)et(e,o[r],!0);return e}({},s.defaultProps,e):e}}),tt(S,(function(){return".".concat(S.styledComponentId)})),l&&Ke(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Kt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}new Set;var qt=function(e){return Object.assign(e,{isCss:!0})};function Xt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(qe(e)||Ze(e))return qt(Lt(Kt(ge,o([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Lt(r):qt(Lt(Kt(r,t)))}function Jt(e,t,n){if(void 0===n&&(n=ye),!t)throw nt(1,t);var a=function(r){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];return e(t,n,Xt.apply(void 0,o([r],a,!1)))};return a.attrs=function(o){return Jt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},a.withConfig=function(o){return Jt(e,t,r(r({},n),o))},a}var Qt=function(e){return Jt(Yt,e)},Zt=Qt;ve.forEach((function(e){Zt[e]=Qt(e)}));var en=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ft(e),wt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(Qe(Lt(this.rules,t,n,r)),""),a=this.componentId+e;n.insertRules(a,a,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&wt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var a=Xt.apply(void 0,o([e],t,!1)),s="sc-global-".concat(Ae(JSON.stringify(a))),l=new en(a,s),c=function(e){var t=At(),n=i().useContext(zt),r=i().useRef(t.styleSheet.allocateGSInstance(s)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),i().useLayoutEffect((function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}}),[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,a){if(l.isStatic)l.renderStyles(e,me,n,a);else{var i=r(r({},t),{theme:be(t,o,c.defaultProps)});l.renderStyles(e,i,n,a)}}return i().memo(c)}function nn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Qe(Xt.apply(void 0,o([e],t,!1))),a=Ae(r);return new It(a,r)}function rn(e){var t=i().forwardRef((function(t,n){var o=be(t,i().useContext(zt),e.defaultProps);return i().createElement(e,r({},t,{theme:o,ref:n}))}));return t.displayName="WithTheme(".concat(Te(e),")"),Ke(t,e)}var on=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=ht(),r=Qe([n&&'nonce="'.concat(n,'"'),"".concat(le,'="true"'),"".concat(ue,'="').concat(de,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw nt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw nt(2);var n=e.instance.toString();if(!n)return[];var o=((t={})[le]="",t[ue]=de,t.dangerouslySetInnerHTML={__html:n},t),a=ht();return a&&(o.nonce=a),[i().createElement("style",r({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new wt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw nt(2);return i().createElement(Tt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw nt(3)},e}(),an={StyleSheet:wt,mainSheet:Rt};"__sc-".concat(le,"__")},609:e=>{"use strict";e.exports=window.React}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0,(()=>{"use strict";const e=window.wp.domReady;var t=n.n(e);const r=window.wp.element;var o=n(609),a=n.n(o);function i(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=i(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const s=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=i(e))&&(r&&(r+=" "),r+=t);return r};function l(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let e=0;e<a.length;e+=1){const r=a[e];r&&(i+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(i+=" "+n[r]))}r[o]=i}return r}function c(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach((e=>n.searchParams.append("args[]",e))),`Minified MUI error #${e}; visit ${n} for the full message.`}function u(e){if("string"!=typeof e)throw new Error(c(7));return e.charAt(0).toUpperCase()+e.slice(1)}const d=u;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(null,arguments)}var f=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{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 null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),h=Math.abs,m=String.fromCharCode,g=Object.assign;function y(e){return e.trim()}function b(e,t,n){return e.replace(t,n)}function v(e,t){return e.indexOf(t)}function x(e,t){return 0|e.charCodeAt(t)}function w(e,t,n){return e.slice(t,n)}function S(e){return e.length}function C(e){return e.length}function k(e,t){return t.push(e),e}var E=1,R=1,$=0,O=0,P=0,j="";function A(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:E,column:R,length:i,return:""}}function T(e,t){return g(A("",null,null,"",null,null,0),e,{length:-e.length},t)}function I(){return P=O>0?x(j,--O):0,R--,10===P&&(R=1,E--),P}function N(){return P=O<$?x(j,O++):0,R++,10===P&&(R=1,E++),P}function _(){return x(j,O)}function M(){return O}function D(e,t){return w(j,e,t)}function L(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 F(e){return E=R=1,$=S(j=e),O=0,[]}function B(e){return j="",e}function H(e){return y(D(O-1,V(91===e?e+2:40===e?e+1:e)))}function z(e){for(;(P=_())&&P<33;)N();return L(e)>2||L(P)>3?"":" "}function W(e,t){for(;--t&&N()&&!(P<48||P>102||P>57&&P<65||P>70&&P<97););return D(e,M()+(t<6&&32==_()&&32==N()))}function V(e){for(;N();)switch(P){case e:return O;case 34:case 39:34!==e&&39!==e&&V(P);break;case 40:41===e&&V(e);break;case 92:N()}return O}function U(e,t){for(;N()&&e+P!==57&&(e+P!==84||47!==_()););return"/*"+D(t,O-1)+"*"+m(47===e?e:N())}function G(e){for(;!L(_());)N();return D(e,O)}var Y="-ms-",K="-moz-",q="-webkit-",X="comm",J="rule",Q="decl",Z="@keyframes";function ee(e,t){for(var n="",r=C(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function te(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Q:return e.return=e.return||e.value;case X:return"";case Z:return e.return=e.value+"{"+ee(e.children,r)+"}";case J:e.value=e.props.join(",")}return S(n=ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function ne(e){return B(re("",null,null,null,[""],e=F(e),0,[0],e))}function re(e,t,n,r,o,a,i,s,l){for(var c=0,u=0,d=i,p=0,f=0,h=0,g=1,y=1,w=1,C=0,E="",R=o,$=a,O=r,P=E;y;)switch(h=C,C=N()){case 40:if(108!=h&&58==x(P,d-1)){-1!=v(P+=b(H(C),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:P+=H(C);break;case 9:case 10:case 13:case 32:P+=z(h);break;case 92:P+=W(M()-1,7);continue;case 47:switch(_()){case 42:case 47:k(ae(U(N(),M()),t,n),l);break;default:P+="/"}break;case 123*g:s[c++]=S(P)*w;case 125*g:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+u:-1==w&&(P=b(P,/\f/g,"")),f>0&&S(P)-d&&k(f>32?ie(P+";",r,n,d-1):ie(b(P," ","")+";",r,n,d-2),l);break;case 59:P+=";";default:if(k(O=oe(P,t,n,c,u,o,s,E,R=[],$=[],d),a),123===C)if(0===u)re(P,t,O,O,R,a,d,s,$);else switch(99===p&&110===x(P,3)?100:p){case 100:case 108:case 109:case 115:re(e,O,O,r&&k(oe(e,O,O,0,0,o,s,E,o,R=[],d),$),o,$,d,s,r?R:$);break;default:re(P,O,O,O,[""],$,0,s,$)}}c=u=f=0,g=w=1,E=P="",d=i;break;case 58:d=1+S(P),f=h;default:if(g<1)if(123==C)--g;else if(125==C&&0==g++&&125==I())continue;switch(P+=m(C),C*g){case 38:w=u>0?1:(P+="\f",-1);break;case 44:s[c++]=(S(P)-1)*w,w=1;break;case 64:45===_()&&(P+=H(N())),p=_(),u=d=S(E=P+=G(M())),C++;break;case 45:45===h&&2==S(P)&&(g=0)}}return a}function oe(e,t,n,r,o,a,i,s,l,c,u){for(var d=o-1,p=0===o?a:[""],f=C(p),m=0,g=0,v=0;m<r;++m)for(var x=0,S=w(e,d+1,d=h(g=i[m])),k=e;x<f;++x)(k=y(g>0?p[x]+" "+S:b(S,/&\f/g,p[x])))&&(l[v++]=k);return A(e,t,n,0===o?J:s,l,c,u)}function ae(e,t,n){return A(e,t,n,X,m(P),w(e,2,-2),0)}function ie(e,t,n,r){return A(e,t,n,Q,w(e,0,r),w(e,r+1,-1),r)}var se=function(e,t,n){for(var r=0,o=0;r=o,o=_(),38===r&&12===o&&(t[n]=1),!L(o);)N();return D(e,O)},le=new WeakMap,ce=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||le.get(n))&&!r){le.set(e,!0);for(var o=[],a=function(e,t){return B(function(e,t){var n=-1,r=44;do{switch(L(r)){case 0:38===r&&12===_()&&(t[n]=1),e[n]+=se(O-1,t,n);break;case 2:e[n]+=H(r);break;case 4:if(44===r){e[++n]=58===_()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=m(r)}}while(r=N());return e}(F(e),t))}(t,o),i=n.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},ue=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function de(e,t){switch(function(e,t){return 45^x(e,0)?(((t<<2^x(e,0))<<2^x(e,1))<<2^x(e,2))<<2^x(e,3):0}(e,t)){case 5103:return q+"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 q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return q+e+K+e+Y+e+e;case 6828:case 4268:return q+e+Y+e+e;case 6165:return q+e+Y+"flex-"+e+e;case 5187:return q+e+b(e,/(\w+).+(:[^]+)/,q+"box-$1$2"+Y+"flex-$1$2")+e;case 5443:return q+e+Y+"flex-item-"+b(e,/flex-|-self/,"")+e;case 4675:return q+e+Y+"flex-line-pack"+b(e,/align-content|flex-|-self/,"")+e;case 5548:return q+e+Y+b(e,"shrink","negative")+e;case 5292:return q+e+Y+b(e,"basis","preferred-size")+e;case 6060:return q+"box-"+b(e,"-grow","")+q+e+Y+b(e,"grow","positive")+e;case 4554:return q+b(e,/([^-])(transform)/g,"$1"+q+"$2")+e;case 6187:return b(b(b(e,/(zoom-|grab)/,q+"$1"),/(image-set)/,q+"$1"),e,"")+e;case 5495:case 3959:return b(e,/(image-set\([^]*)/,q+"$1$`$1");case 4968:return b(b(e,/(.+:)(flex-)?(.*)/,q+"box-pack:$3"+Y+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+q+e+e;case 4095:case 3583:case 4068:case 2532:return b(e,/(.+)-inline(.+)/,q+"$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(S(e)-1-t>6)switch(x(e,t+1)){case 109:if(45!==x(e,t+4))break;case 102:return b(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+K+(108==x(e,t+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch")?de(b(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==x(e,t+1))break;case 6444:switch(x(e,S(e)-3-(~v(e,"!important")&&10))){case 107:return b(e,":",":"+q)+e;case 101:return b(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(45===x(e,14)?"inline-":"")+"box$3$1"+q+"$2$3$1"+Y+"$2box$3")+e}break;case 5936:switch(x(e,t+11)){case 114:return q+e+Y+b(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Y+b(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Y+b(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Y+e+e}return e}var pe=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Q:e.return=de(e.value,e.length);break;case Z:return ee([T(e,{value:b(e.value,"@","@"+q)})],r);case J:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return ee([T(e,{props:[b(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return ee([T(e,{props:[b(t,/:(plac\w+)/,":"+q+"input-$1")]}),T(e,{props:[b(t,/:(plac\w+)/,":-moz-$1")]}),T(e,{props:[b(t,/:(plac\w+)/,Y+"input-$1")]})],r)}return""}))}}],fe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||pe,i={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;s.push(e)}));var l,c,u,d,p=[te,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],h=(c=[ce,ue].concat(a,p),u=C(c),function(e,t,n,r){for(var o="",a=0;a<u;a++)o+=c[a](e,t,n,r)||"";return o});o=function(e,t,n,r){l=n,function(e){ee(ne(e),h)}(e?e+"{"+t.styles+"}":t.styles),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new f({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return m.sheet.hydrate(s),m};function he(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var me=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},ge=function(e,t,n){me(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}},ye={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};function be(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ve=/[A-Z]|^ms/g,xe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,we=function(e){return 45===e.charCodeAt(1)},Se=function(e){return null!=e&&"boolean"!=typeof e},Ce=be((function(e){return we(e)?e:e.replace(ve,"-$&").toLowerCase()})),ke=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(xe,(function(e,t,n){return Re={name:t,styles:n,next:Re},t}))}return 1===ye[e]||we(e)||"number"!=typeof t||0===t?t:t+"px"};function Ee(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Re={name:o.name,styles:o.styles,next:Re},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)Re={name:i.name,styles:i.styles,next:Re},i=i.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ee(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?r+=a+"{"+t[s]+"}":Se(s)&&(r+=Ce(a)+":"+ke(a,s)+";")}else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=Ee(e,t,i);switch(a){case"animation":case"animationName":r+=Ce(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var c=0;c<i.length;c++)Se(i[c])&&(r+=Ce(a)+":"+ke(a,i[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=Re,l=n(e);return Re=s,Ee(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var Re,$e=/label:\s*([^\s;{]+)\s*(;|$)/g;function Oe(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Re=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=Ee(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=Ee(n,t,e[i]),r&&(o+=a[i]);$e.lastIndex=0;for(var s,l="";null!==(s=$e.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Re}}var Pe=!!o.useInsertionEffect&&o.useInsertionEffect,je=Pe||function(e){return e()},Ae=(Pe||o.useLayoutEffect,o.createContext("undefined"!=typeof HTMLElement?fe({key:"css"}):null)),Te=(Ae.Provider,function(e){return(0,o.forwardRef)((function(t,n){var r=(0,o.useContext)(Ae);return e(t,r,n)}))}),Ie=o.createContext({}),Ne={}.hasOwnProperty,_e="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Me=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return me(t,n,r),je((function(){return ge(t,n,r)})),null},De=Te((function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var a=e[_e],i=[r],s="";"string"==typeof e.className?s=he(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=Oe(i,void 0,o.useContext(Ie));s+=t.key+"-"+l.name;var c={};for(var u in e)Ne.call(e,u)&&"css"!==u&&u!==_e&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),o.createElement(o.Fragment,null,o.createElement(Me,{cache:t,serialized:l,isStringTag:"string"==typeof a}),o.createElement(a,c))})),Le=/^((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)-.*))$/,Fe=be((function(e){return Le.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Be=function(e){return"theme"!==e},He=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Fe:Be},ze=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},We=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return me(t,n,r),je((function(){return ge(t,n,r)})),null},Ve=function e(t,n){var r,a,i=t.__emotion_real===t,s=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,a=n.target);var l=ze(t,n,i),c=l||He(s),u=!c("as");return function(){var d=arguments,f=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&f.push("label:"+r+";"),null==d[0]||void 0===d[0].raw)f.push.apply(f,d);else{var h=d[0];f.push(h[0]);for(var m=d.length,g=1;g<m;g++)f.push(d[g],h[g])}var y=Te((function(e,t,n){var r=u&&e.as||s,i="",d=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=o.useContext(Ie)}"string"==typeof e.className?i=he(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var m=Oe(f.concat(d),t.registered,p);i+=t.key+"-"+m.name,void 0!==a&&(i+=" "+a);var g=u&&void 0===l?He(r):c,y={};for(var b in e)u&&"as"===b||g(b)&&(y[b]=e[b]);return y.className=i,n&&(y.ref=n),o.createElement(o.Fragment,null,o.createElement(We,{cache:t,serialized:m,isStringTag:"string"==typeof r}),o.createElement(r,y))}));return y.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=s,y.__emotion_styles=f,y.__emotion_forwardProp=l,Object.defineProperty(y,"toString",{value:function(){return"."+a}}),y.withComponent=function(t,r){return e(t,p({},n,r,{shouldForwardProp:ze(y,r,!0)})).apply(void 0,f)},y}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Ve[e]=Ve(e)}));const Ue=[];function Ge(e){return Ue[0]=e,Oe(Ue)}var Ye=n(774);function Ke(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function qe(e){if(o.isValidElement(e)||(0,Ye.Hy)(e)||!Ke(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=qe(e[n])})),t}function Xe(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Ke(e)&&Ke(t)&&Object.keys(t).forEach((a=>{o.isValidElement(t[a])||(0,Ye.Hy)(t[a])?r[a]=t[a]:Ke(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Ke(e[a])?r[a]=Xe(e[a],t[a],n):n.clone?r[a]=Ke(t[a])?qe(t[a]):t[a]:r[a]=t[a]})),r}function Je(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,a=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>({...e,[t.key]:t.val})),{})})(t),i=Object.keys(a);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,o){const a=i.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==a&&"number"==typeof t[i[a]]?t[i[a]]:o)-r/100}${n})`}return{keys:i,values:a,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...o}}const Qe={borderRadius:4},Ze={xs:0,sm:600,md:900,lg:1200,xl:1536},et={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ze[e]}px)`},tt={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:Ze[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function nt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||et;return t.reduce(((r,o,a)=>(r[e.up(e.keys[a])]=n(t[a]),r)),{})}if("object"==typeof t){const e=r.breakpoints||et;return Object.keys(t).reduce(((o,a)=>{if(i=e.keys,"@"===(s=a)||s.startsWith("@")&&(i.some((e=>s.startsWith(`@${e}`)))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}(r.containerQueries?r:tt,a);e&&(o[e]=n(t[a],a))}else if(Object.keys(e.values||Ze).includes(a))o[e.up(a)]=n(t[a],a);else{const e=a;o[e]=t[e]}var i,s;return o}),{})}return n(t)}function rt(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function ot(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:rt(e,n)||r,t&&(o=t(o,r,e)),o}const at=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=e=>{if(null==e[t])return null;const a=e[t],i=rt(e.theme,r)||{};return nt(e,a,(e=>{let r=ot(i,o,e);return e===r&&"string"==typeof e&&(r=ot(i,o,`${t}${"default"===e?"":u(e)}`,e)),!1===n?r:{[n]:r}}))};return a.propTypes={},a.filterProps=[t],a},it=function(e,t){return t?Xe(e,t,{clone:!1}):e},st={m:"margin",p:"padding"},lt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ct={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ut=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!ct[e])return[e];e=ct[e]}const[t,n]=e.split(""),r=st[t],o=lt[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})(t)),e[t])}(),dt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],pt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],ft=[...dt,...pt];function ht(e,t,n,r){const o=rt(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=o[t];return e>=0?n:"number"==typeof n?-n:`-${n}`}:"function"==typeof o?o:()=>{}}function mt(e){return ht(e,"spacing",8)}function gt(e,t){return"string"==typeof t||null==t?t:e(t)}function yt(e,t){const n=mt(e.theme);return Object.keys(e).map((r=>function(e,t,n,r){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=gt(t,n),e)),{})}(ut(n),r);return nt(e,e[n],o)}(e,t,r,n))).reduce(it,{})}function bt(e){return yt(e,dt)}function vt(e){return yt(e,pt)}function xt(e){return yt(e,ft)}function wt(e=8,t=mt({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}bt.propTypes={},bt.filterProps=dt,vt.propTypes={},vt.filterProps=pt,xt.propTypes={},xt.filterProps=ft;const St=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?it(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};function Ct(e){return"number"!=typeof e?e:`${e}px solid`}function kt(e,t){return at({prop:e,themeKey:"borders",transform:t})}const Et=kt("border",Ct),Rt=kt("borderTop",Ct),$t=kt("borderRight",Ct),Ot=kt("borderBottom",Ct),Pt=kt("borderLeft",Ct),jt=kt("borderColor"),At=kt("borderTopColor"),Tt=kt("borderRightColor"),It=kt("borderBottomColor"),Nt=kt("borderLeftColor"),_t=kt("outline",Ct),Mt=kt("outlineColor"),Dt=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=ht(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:gt(t,e)});return nt(e,e.borderRadius,n)}return null};Dt.propTypes={},Dt.filterProps=["borderRadius"],St(Et,Rt,$t,Ot,Pt,jt,At,Tt,It,Nt,Dt,_t,Mt);const Lt=e=>{if(void 0!==e.gap&&null!==e.gap){const t=ht(e.theme,"spacing",8),n=e=>({gap:gt(t,e)});return nt(e,e.gap,n)}return null};Lt.propTypes={},Lt.filterProps=["gap"];const Ft=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=ht(e.theme,"spacing",8),n=e=>({columnGap:gt(t,e)});return nt(e,e.columnGap,n)}return null};Ft.propTypes={},Ft.filterProps=["columnGap"];const Bt=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=ht(e.theme,"spacing",8),n=e=>({rowGap:gt(t,e)});return nt(e,e.rowGap,n)}return null};function Ht(e,t){return"grey"===t?t:e}function zt(e){return e<=1&&0!==e?100*e+"%":e}Bt.propTypes={},Bt.filterProps=["rowGap"],St(Lt,Ft,Bt,at({prop:"gridColumn"}),at({prop:"gridRow"}),at({prop:"gridAutoFlow"}),at({prop:"gridAutoColumns"}),at({prop:"gridAutoRows"}),at({prop:"gridTemplateColumns"}),at({prop:"gridTemplateRows"}),at({prop:"gridTemplateAreas"}),at({prop:"gridArea"})),St(at({prop:"color",themeKey:"palette",transform:Ht}),at({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ht}),at({prop:"backgroundColor",themeKey:"palette",transform:Ht}));const Wt=at({prop:"width",transform:zt}),Vt=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||Ze[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:zt(t)}};return nt(e,e.maxWidth,t)}return null};Vt.filterProps=["maxWidth"];const Ut=at({prop:"minWidth",transform:zt}),Gt=at({prop:"height",transform:zt}),Yt=at({prop:"maxHeight",transform:zt}),Kt=at({prop:"minHeight",transform:zt}),qt=(at({prop:"size",cssProperty:"width",transform:zt}),at({prop:"size",cssProperty:"height",transform:zt}),St(Wt,Vt,Ut,Gt,Yt,Kt,at({prop:"boxSizing"})),{border:{themeKey:"borders",transform:Ct},borderTop:{themeKey:"borders",transform:Ct},borderRight:{themeKey:"borders",transform:Ct},borderBottom:{themeKey:"borders",transform:Ct},borderLeft:{themeKey:"borders",transform:Ct},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Ct},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Dt},color:{themeKey:"palette",transform:Ht},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ht},backgroundColor:{themeKey:"palette",transform:Ht},p:{style:vt},pt:{style:vt},pr:{style:vt},pb:{style:vt},pl:{style:vt},px:{style:vt},py:{style:vt},padding:{style:vt},paddingTop:{style:vt},paddingRight:{style:vt},paddingBottom:{style:vt},paddingLeft:{style:vt},paddingX:{style:vt},paddingY:{style:vt},paddingInline:{style:vt},paddingInlineStart:{style:vt},paddingInlineEnd:{style:vt},paddingBlock:{style:vt},paddingBlockStart:{style:vt},paddingBlockEnd:{style:vt},m:{style:bt},mt:{style:bt},mr:{style:bt},mb:{style:bt},ml:{style:bt},mx:{style:bt},my:{style:bt},margin:{style:bt},marginTop:{style:bt},marginRight:{style:bt},marginBottom:{style:bt},marginLeft:{style:bt},marginX:{style:bt},marginY:{style:bt},marginInline:{style:bt},marginInlineStart:{style:bt},marginInlineEnd:{style:bt},marginBlock:{style:bt},marginBlockStart:{style:bt},marginBlockEnd:{style:bt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Lt},rowGap:{style:Bt},columnGap:{style:Ft},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:zt},maxWidth:{style:Vt},minWidth:{transform:zt},height:{transform:zt},maxHeight:{transform:zt},minHeight:{transform:zt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}),Xt=function(){function e(e,t,n,r){const o={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=a;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const d=rt(n,s)||{};return c?c(o):nt(o,t,(t=>{let n=ot(d,l,t);return t===n&&"string"==typeof t&&(n=ot(d,l,`${e}${"default"===t?"":u(t)}`,t)),!1===i?n:{[i]:n}}))}return function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??qt;function i(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const i=function(e={}){const t=e.keys?.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return t||{}}(o.breakpoints),s=Object.keys(i);let l=i;return Object.keys(r).forEach((n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],o);if(null!=i)if("object"==typeof i)if(a[n])l=it(l,e(n,i,o,a));else{const e=nt({theme:o},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?l=it(l,e):l[n]=t({sx:i,theme:o})}else l=it(l,e(n,i,o,a))})),function(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)}));return n.length?n.reduce(((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e}),{...t}):t}(o,(c=l,s.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),c)));var c}return Array.isArray(r)?r.map(i):i(r)}}();Xt.filterProps=["sx"];const Jt=Xt;function Qt(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}const Zt=function(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={},...i}=e;let s=Xe({breakpoints:Je(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:wt(o),shape:{...Qe,...a}},i);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const o=t(e.breakpoints.not(...n),r);return o.includes("not all and")?o.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):o}}const r={},o=e=>(n(r,e),r);return n(o),{...e,containerQueries:o}}(s),s.applyStyles=Qt,s=t.reduce(((e,t)=>Xe(e,t)),s),s.unstable_sxConfig={...qt,...i?.unstable_sxConfig},s.unstable_sx=function(e){return Jt({sx:e,theme:this})},s};function en(e){const{variants:t,...n}=e,r={variants:t,style:Ge(n),isProcessed:!0};return r.style===n||t&&t.forEach((e=>{"function"!=typeof e.style&&(e.style=Ge(e.style))})),r}const tn=Zt();function nn(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function rn(e){return e?(t,n)=>n[e]:null}function on(e,t){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap((t=>on(e,t)));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{const{variants:e,...r}=n;t=r}return an(e,n.variants,[t])}return n?.isProcessed?n.style:n}function an(e,t,n=[]){let r;e:for(let o=0;o<t.length;o+=1){const a=t[o];if("function"==typeof a.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(r))continue}else for(const t in a.props)if(e[t]!==a.props[t]&&e.ownerState?.[t]!==a.props[t])continue e;"function"==typeof a.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(a.style(r))):n.push(a.style)}return n}function sn(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}function ln(e,t=0,n=1){return function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function cn(e){if(e.type)return e;if("#"===e.charAt(0))return cn(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(c(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(c(10,r))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:r}}const un=(e,t)=>{try{return(e=>{const t=cn(e);return t.values.slice(0,3).map(((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e)).join(" ")})(e)}catch(t){return e}};function dn(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function pn(e){e=cn(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),dn({type:s,values:l})}function fn(e){let t="hsl"===(e=cn(e)).type||"hsla"===e.type?cn(pn(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function hn(e,t){return e=cn(e),t=ln(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,dn(e)}function mn(e,t,n){try{return hn(e,t)}catch(t){return e}}function gn(e,t){if(e=cn(e),t=ln(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return dn(e)}function yn(e,t,n){try{return gn(e,t)}catch(t){return e}}function bn(e,t){if(e=cn(e),t=ln(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return dn(e)}function vn(e,t,n){try{return bn(e,t)}catch(t){return e}}function xn(e,t,n){try{return function(e,t=.15){return fn(e)>.5?gn(e,t):bn(e,t)}(e,t)}catch(t){return e}}const wn={black:"#000",white:"#fff"},Sn={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"},Cn="#f3e5f5",kn="#ce93d8",En="#ba68c8",Rn="#ab47bc",$n="#9c27b0",On="#7b1fa2",Pn="#e57373",jn="#ef5350",An="#f44336",Tn="#d32f2f",In="#c62828",Nn="#ffb74d",Mn="#ffa726",Dn="#ff9800",Ln="#f57c00",Fn="#e65100",Bn="#e3f2fd",Hn="#90caf9",zn="#42a5f5",Wn="#1976d2",Vn="#1565c0",Un="#4fc3f7",Gn="#29b6f6",Yn="#03a9f4",Kn="#0288d1",qn="#01579b",Xn="#81c784",Jn="#66bb6a",Qn="#4caf50",Zn="#388e3c",er="#2e7d32",tr="#1b5e20";function nr(){return{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:wn.white,default:wn.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}}}const rr=nr();function or(){return{text:{primary:wn.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:wn.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}}}const ar=or();function ir(e,t,n,r){const o=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=bn(e.main,o):"dark"===t&&(e.dark=gn(e.main,a)))}function sr(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,a=e.primary||function(e="light"){return"dark"===e?{main:Hn,light:Bn,dark:zn}:{main:Wn,light:zn,dark:Vn}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:kn,light:Cn,dark:Rn}:{main:$n,light:En,dark:On}}(t),s=e.error||function(e="light"){return"dark"===e?{main:An,light:Pn,dark:Tn}:{main:Tn,light:jn,dark:In}}(t),l=e.info||function(e="light"){return"dark"===e?{main:Gn,light:Un,dark:Kn}:{main:Kn,light:Yn,dark:qn}}(t),u=e.success||function(e="light"){return"dark"===e?{main:Jn,light:Xn,dark:Zn}:{main:er,light:Qn,dark:tr}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Mn,light:Nn,dark:Ln}:{main:"#ed6c02",light:Dn,dark:Fn}}(t);function p(e){const t=function(e,t){const n=fn(e),r=fn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,ar.text.primary)>=n?ar.text.primary:rr.text.primary;return t}const f=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(c(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(c(12,t?` (${t})`:"",JSON.stringify(e.main)));return ir(e,"light",o,r),ir(e,"dark",a,r),e.contrastText||(e.contrastText=p(e.main)),e};let h;return"light"===t?h=nr():"dark"===t&&(h=or()),Xe({common:{...wn},mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:d,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:Sn,contrastThreshold:n,getContrastText:p,augmentColor:f,tonalOffset:r,...h},o)}function lr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}function cr(e){const t={};return Object.entries(e).forEach((e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)})),t}const ur=(e,t,n,r=[])=>{let o=e;t.forEach(((e,a)=>{a===t.length-1?Array.isArray(o)?o[Number(e)]=n:o&&"object"==typeof o&&(o[e]=n):o&&"object"==typeof o&&(o[e]||(o[e]=r.includes(e)?[]:{}),o=o[e])}))};function dr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t)))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(o,{[r]:l}),ur(a,e,`var(${r})`,s),ur(i,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach((([t,o])=>{(!l||l&&!l([...n,t]))&&null!=o&&("object"==typeof o&&Object.keys(o).length>0?e(o,[...n,t],Array.isArray(o)?[...r,t]:r):s([...n,t],o,r))}))}(e),{css:o,vars:a,varsWithDefaults:i}}const pr={textTransform:"uppercase"},fr='"Roboto", "Helvetica", "Arial", sans-serif';function hr(e,t){const{fontFamily:n=fr,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t,p=r/14,f=u||(e=>e/l*p+"rem"),h=(e,t,r,o,a)=>{return{fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r,...n===fr?{letterSpacing:(i=o/t,Math.round(1e5*i)/1e5+"em")}:{},...a,...c};var i},m={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(i,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(i,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(i,14,1.75,.4,pr),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,pr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xe({htmlFontSize:l,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...m},d,{clone:!1})}function mr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const gr=["none",mr(0,2,1,-1,0,1,1,0,0,1,3,0),mr(0,3,1,-2,0,2,2,0,0,1,5,0),mr(0,3,3,-2,0,3,4,0,0,1,8,0),mr(0,2,4,-1,0,4,5,0,0,1,10,0),mr(0,3,5,-1,0,5,8,0,0,1,14,0),mr(0,3,5,-1,0,6,10,0,0,1,18,0),mr(0,4,5,-2,0,7,10,1,0,2,16,1),mr(0,5,5,-3,0,8,10,1,0,3,14,2),mr(0,5,6,-3,0,9,12,1,0,3,16,2),mr(0,6,6,-3,0,10,14,1,0,4,18,3),mr(0,6,7,-4,0,11,15,1,0,4,20,3),mr(0,7,8,-4,0,12,17,2,0,5,22,4),mr(0,7,8,-4,0,13,19,2,0,5,24,4),mr(0,7,9,-4,0,14,21,2,0,5,26,4),mr(0,8,9,-5,0,15,22,2,0,6,28,5),mr(0,8,10,-5,0,16,24,2,0,6,30,5),mr(0,8,11,-5,0,17,26,2,0,6,32,5),mr(0,9,11,-5,0,18,28,2,0,7,34,6),mr(0,9,12,-6,0,19,29,2,0,7,36,6),mr(0,10,13,-6,0,20,31,3,0,8,38,7),mr(0,10,13,-6,0,21,33,3,0,8,40,7),mr(0,10,14,-6,0,22,35,3,0,8,42,7),mr(0,11,14,-7,0,23,36,3,0,9,44,8),mr(0,11,15,-7,0,24,38,3,0,9,46,8)],yr={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)"},br={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function vr(e){return`${Math.round(e)}ms`}function xr(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function wr(e){const t={...yr,...e.easing},n={...br,...e.duration};return{getAutoHeightDuration:xr,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:i=0,...s}=r;return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:vr(o)} ${a} ${"string"==typeof i?i:vr(i)}`)).join(",")},...e,easing:t,duration:n}}const Sr={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Cr(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let o=0;o<n.length;o++){const[a,i]=n[o];!Ke(r=i)&&void 0!==r&&"string"!=typeof r&&"boolean"!=typeof r&&"number"!=typeof r&&!Array.isArray(r)||a.startsWith("unstable_")?delete t[a]:Ke(i)&&(t[a]={...i},e(t[a]))}var r}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}const kr=function(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:a={},transitions:i={},typography:s={},shape:l,...u}=e;if(e.vars)throw new Error(c(20));const d=sr(a),p=Zt(e);let f=Xe(p,{mixins:(h=p.breakpoints,m=r,{toolbar:{minHeight:56,[h.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[h.up("sm")]:{minHeight:64}},...m}),palette:d,shadows:gr.slice(),typography:hr(d,s),transitions:wr(i),zIndex:{...Sr}});var h,m;return f=Xe(f,u),f=t.reduce(((e,t)=>Xe(e,t)),f),f.unstable_sxConfig={...qt,...u?.unstable_sxConfig},f.unstable_sx=function(e){return Jt({sx:e,theme:this})},f.toRuntimeSource=Cr,f},Er=[...Array(25)].map(((e,t)=>{if(0===t)return"none";const n=function(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function Rr(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function $r(e){return"dark"===e?Er:[]}function Or(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const Pr=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let a=o;if("class"===o&&(a=".%s"),"data"===o&&(a="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(a=`[${o}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const o={};return(i=e.cssVarPrefix,[...[...Array(25)].map(((e,t)=>`--${i?`${i}-`:""}overlays-${t}`)),`--${i?`${i}-`:""}palette-AppBar-darkBg`,`--${i?`${i}-`:""}palette-AppBar-darkColor`]).forEach((e=>{o[e]=n[e],delete n[e]})),"media"===a?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:o}}:a?{[a.replace("%s",t)]:o,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...o}}}if(a&&"media"!==a)return`${r}, ${a.replace("%s",String(t))}`}else if(t){if("media"===a)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}var i;return r};function jr(e,t,n){!e[t]&&n&&(e[t]=n)}function Ar(e){return"string"==typeof e&&e.startsWith("hsl")?pn(e):e}function Tr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=un(Ar(e[t])))}const Ir=e=>{try{return e()}catch(e){}};function Nr(e,t,n,r){if(!t)return;t=!0===t?{}:t;const o="dark"===r?"dark":"light";if(!n)return void(e[r]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,a=sr(t);return{palette:a,opacity:{...Rr(a.mode),...n},overlays:r||$r(a.mode),...o}}({...t,palette:{mode:o,...t?.palette}}));const{palette:a,...i}=kr({...n,palette:{mode:o,...t?.palette}});return e[r]={...t,palette:a,opacity:{...Rr(o),...t?.opacity},overlays:t?.overlays||$r(o)},i}function _r(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:i=Or,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:l=":root",...u}=e,d=Object.keys(n)[0],p=r||(n.light&&"light"!==d?"light":d),f=((e="mui")=>lr(e))(a),{[p]:h,light:m,dark:g,...y}=n,b={...y};let v=h;if(("dark"===p&&!("dark"in n)||"light"===p&&!("light"in n))&&(v=!0),!v)throw new Error(c(21,p));const x=Nr(b,v,u,p);m&&!b.light&&Nr(b,m,void 0,"light"),g&&!b.dark&&Nr(b,g,void 0,"dark");let w={defaultColorScheme:p,...x,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:l,getCssVar:f,colorSchemes:b,font:{...cr(x.typography),...x.font},spacing:(S=u.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(w.colorSchemes).forEach((e=>{const t=w.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],o=n[2];return f(e,t[r][o])};var r;if("light"===t.mode&&(jr(t.common,"background","#fff"),jr(t.common,"onBackground","#000")),"dark"===t.mode&&(jr(t.common,"background","#000"),jr(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===t.mode){jr(t.Alert,"errorColor",yn(t.error.light,.6)),jr(t.Alert,"infoColor",yn(t.info.light,.6)),jr(t.Alert,"successColor",yn(t.success.light,.6)),jr(t.Alert,"warningColor",yn(t.warning.light,.6)),jr(t.Alert,"errorFilledBg",n("palette-error-main")),jr(t.Alert,"infoFilledBg",n("palette-info-main")),jr(t.Alert,"successFilledBg",n("palette-success-main")),jr(t.Alert,"warningFilledBg",n("palette-warning-main")),jr(t.Alert,"errorFilledColor",Ir((()=>t.getContrastText(t.error.main)))),jr(t.Alert,"infoFilledColor",Ir((()=>t.getContrastText(t.info.main)))),jr(t.Alert,"successFilledColor",Ir((()=>t.getContrastText(t.success.main)))),jr(t.Alert,"warningFilledColor",Ir((()=>t.getContrastText(t.warning.main)))),jr(t.Alert,"errorStandardBg",vn(t.error.light,.9)),jr(t.Alert,"infoStandardBg",vn(t.info.light,.9)),jr(t.Alert,"successStandardBg",vn(t.success.light,.9)),jr(t.Alert,"warningStandardBg",vn(t.warning.light,.9)),jr(t.Alert,"errorIconColor",n("palette-error-main")),jr(t.Alert,"infoIconColor",n("palette-info-main")),jr(t.Alert,"successIconColor",n("palette-success-main")),jr(t.Alert,"warningIconColor",n("palette-warning-main")),jr(t.AppBar,"defaultBg",n("palette-grey-100")),jr(t.Avatar,"defaultBg",n("palette-grey-400")),jr(t.Button,"inheritContainedBg",n("palette-grey-300")),jr(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),jr(t.Chip,"defaultBorder",n("palette-grey-400")),jr(t.Chip,"defaultAvatarColor",n("palette-grey-700")),jr(t.Chip,"defaultIconColor",n("palette-grey-700")),jr(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),jr(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),jr(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),jr(t.LinearProgress,"primaryBg",vn(t.primary.main,.62)),jr(t.LinearProgress,"secondaryBg",vn(t.secondary.main,.62)),jr(t.LinearProgress,"errorBg",vn(t.error.main,.62)),jr(t.LinearProgress,"infoBg",vn(t.info.main,.62)),jr(t.LinearProgress,"successBg",vn(t.success.main,.62)),jr(t.LinearProgress,"warningBg",vn(t.warning.main,.62)),jr(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),jr(t.Slider,"primaryTrack",vn(t.primary.main,.62)),jr(t.Slider,"secondaryTrack",vn(t.secondary.main,.62)),jr(t.Slider,"errorTrack",vn(t.error.main,.62)),jr(t.Slider,"infoTrack",vn(t.info.main,.62)),jr(t.Slider,"successTrack",vn(t.success.main,.62)),jr(t.Slider,"warningTrack",vn(t.warning.main,.62));const e=xn(t.background.default,.8);jr(t.SnackbarContent,"bg",e),jr(t.SnackbarContent,"color",Ir((()=>t.getContrastText(e)))),jr(t.SpeedDialAction,"fabHoverBg",xn(t.background.paper,.15)),jr(t.StepConnector,"border",n("palette-grey-400")),jr(t.StepContent,"border",n("palette-grey-400")),jr(t.Switch,"defaultColor",n("palette-common-white")),jr(t.Switch,"defaultDisabledColor",n("palette-grey-100")),jr(t.Switch,"primaryDisabledColor",vn(t.primary.main,.62)),jr(t.Switch,"secondaryDisabledColor",vn(t.secondary.main,.62)),jr(t.Switch,"errorDisabledColor",vn(t.error.main,.62)),jr(t.Switch,"infoDisabledColor",vn(t.info.main,.62)),jr(t.Switch,"successDisabledColor",vn(t.success.main,.62)),jr(t.Switch,"warningDisabledColor",vn(t.warning.main,.62)),jr(t.TableCell,"border",vn(mn(t.divider,1),.88)),jr(t.Tooltip,"bg",mn(t.grey[700],.92))}if("dark"===t.mode){jr(t.Alert,"errorColor",vn(t.error.light,.6)),jr(t.Alert,"infoColor",vn(t.info.light,.6)),jr(t.Alert,"successColor",vn(t.success.light,.6)),jr(t.Alert,"warningColor",vn(t.warning.light,.6)),jr(t.Alert,"errorFilledBg",n("palette-error-dark")),jr(t.Alert,"infoFilledBg",n("palette-info-dark")),jr(t.Alert,"successFilledBg",n("palette-success-dark")),jr(t.Alert,"warningFilledBg",n("palette-warning-dark")),jr(t.Alert,"errorFilledColor",Ir((()=>t.getContrastText(t.error.dark)))),jr(t.Alert,"infoFilledColor",Ir((()=>t.getContrastText(t.info.dark)))),jr(t.Alert,"successFilledColor",Ir((()=>t.getContrastText(t.success.dark)))),jr(t.Alert,"warningFilledColor",Ir((()=>t.getContrastText(t.warning.dark)))),jr(t.Alert,"errorStandardBg",yn(t.error.light,.9)),jr(t.Alert,"infoStandardBg",yn(t.info.light,.9)),jr(t.Alert,"successStandardBg",yn(t.success.light,.9)),jr(t.Alert,"warningStandardBg",yn(t.warning.light,.9)),jr(t.Alert,"errorIconColor",n("palette-error-main")),jr(t.Alert,"infoIconColor",n("palette-info-main")),jr(t.Alert,"successIconColor",n("palette-success-main")),jr(t.Alert,"warningIconColor",n("palette-warning-main")),jr(t.AppBar,"defaultBg",n("palette-grey-900")),jr(t.AppBar,"darkBg",n("palette-background-paper")),jr(t.AppBar,"darkColor",n("palette-text-primary")),jr(t.Avatar,"defaultBg",n("palette-grey-600")),jr(t.Button,"inheritContainedBg",n("palette-grey-800")),jr(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),jr(t.Chip,"defaultBorder",n("palette-grey-700")),jr(t.Chip,"defaultAvatarColor",n("palette-grey-300")),jr(t.Chip,"defaultIconColor",n("palette-grey-300")),jr(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),jr(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),jr(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),jr(t.LinearProgress,"primaryBg",yn(t.primary.main,.5)),jr(t.LinearProgress,"secondaryBg",yn(t.secondary.main,.5)),jr(t.LinearProgress,"errorBg",yn(t.error.main,.5)),jr(t.LinearProgress,"infoBg",yn(t.info.main,.5)),jr(t.LinearProgress,"successBg",yn(t.success.main,.5)),jr(t.LinearProgress,"warningBg",yn(t.warning.main,.5)),jr(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),jr(t.Slider,"primaryTrack",yn(t.primary.main,.5)),jr(t.Slider,"secondaryTrack",yn(t.secondary.main,.5)),jr(t.Slider,"errorTrack",yn(t.error.main,.5)),jr(t.Slider,"infoTrack",yn(t.info.main,.5)),jr(t.Slider,"successTrack",yn(t.success.main,.5)),jr(t.Slider,"warningTrack",yn(t.warning.main,.5));const e=xn(t.background.default,.98);jr(t.SnackbarContent,"bg",e),jr(t.SnackbarContent,"color",Ir((()=>t.getContrastText(e)))),jr(t.SpeedDialAction,"fabHoverBg",xn(t.background.paper,.15)),jr(t.StepConnector,"border",n("palette-grey-600")),jr(t.StepContent,"border",n("palette-grey-600")),jr(t.Switch,"defaultColor",n("palette-grey-300")),jr(t.Switch,"defaultDisabledColor",n("palette-grey-600")),jr(t.Switch,"primaryDisabledColor",yn(t.primary.main,.55)),jr(t.Switch,"secondaryDisabledColor",yn(t.secondary.main,.55)),jr(t.Switch,"errorDisabledColor",yn(t.error.main,.55)),jr(t.Switch,"infoDisabledColor",yn(t.info.main,.55)),jr(t.Switch,"successDisabledColor",yn(t.success.main,.55)),jr(t.Switch,"warningDisabledColor",yn(t.warning.main,.55)),jr(t.TableCell,"border",yn(mn(t.divider,1),.68)),jr(t.Tooltip,"bg",mn(t.grey[700],.92))}Tr(t.background,"default"),Tr(t.background,"paper"),Tr(t.common,"background"),Tr(t.common,"onBackground"),Tr(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&jr(t[e],"mainChannel",un(Ar(n.main))),n.light&&jr(t[e],"lightChannel",un(Ar(n.light))),n.dark&&jr(t[e],"darkChannel",un(Ar(n.dark))),n.contrastText&&jr(t[e],"contrastTextChannel",un(Ar(n.contrastText))),"text"===e&&(Tr(t[e],"primary"),Tr(t[e],"secondary")),"action"===e&&(n.active&&Tr(t[e],"active"),n.selected&&Tr(t[e],"selected")))}))})),w=t.reduce(((e,t)=>Xe(e,t)),w);const C={prefix:a,disableCssColorScheme:o,shouldSkipGeneratingVar:i,getSelector:Pr(w)},{vars:k,generateThemeVars:E,generateStyleSheets:R}=function(e,t={}){const{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:a={},components:i,defaultColorScheme:s="light",...l}=e,{vars:c,css:u,varsWithDefaults:d}=dr(l,t);let p=d;const f={},{[s]:h,...m}=a;if(Object.entries(m||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=dr(n,t);p=Xe(p,a),f[e]={css:o,vars:r}})),h){const{css:e,vars:n,varsWithDefaults:r}=dr(h,t);p=Xe(p,r),f[s]={css:e,vars:n}}function g(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(f).forEach((([,{vars:t}])=>{e=Xe(e,t)})),e},generateStyleSheets:()=>{const t=[],o=e.defaultColorScheme||"light";function i(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}i(n(void 0,{...u}),u);const{[o]:s,...l}=f;if(s){const{css:e}=s,t=a[o]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};i(n(o,{...l}),l)}return Object.entries(l).forEach((([e,{css:t}])=>{const o=a[e]?.palette?.mode,s=!r&&o?{colorScheme:o,...t}:{...t};i(n(e,{...s}),s)})),t}}}(w,C);return w.vars=k,Object.entries(w.colorSchemes[w.defaultColorScheme]).forEach((([e,t])=>{w[e]=t})),w.generateThemeVars=E,w.generateStyleSheets=R,w.generateSpacing=function(){return wt(u.spacing,mt(this))},w.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),w.spacing=w.generateSpacing(),w.shouldSkipGeneratingVar=i,w.unstable_sxConfig={...qt,...u?.unstable_sxConfig},w.unstable_sx=function(e){return Jt({sx:e,theme:this})},w.toRuntimeSource=Cr,w}function Mr(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:sr({...!0===n?{}:n.palette,mode:t})})}const Dr=function(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=(n?void 0:{light:!0}),defaultColorScheme:a=n?.mode,...i}=e,s=a||"light",l=o?.[s],c={...o,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return kr(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const o=kr({...e,palette:r},...t);return o.defaultColorScheme=s,o.colorSchemes=c,"light"===o.palette.mode&&(o.colorSchemes.light={...!0!==c.light&&c.light,palette:o.palette},Mr(o,"dark",c.dark)),"dark"===o.palette.mode&&(o.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:o.palette},Mr(o,"light",c.light)),o}return n||"light"in c||"light"!==s||(c.light=!0),_r({...i,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}(),Lr="$$material",Fr=function(e={}){const{themeId:t,defaultTheme:n=tn,rootShouldForwardProp:r=nn,slotShouldForwardProp:o=nn}=e;function a(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=(e=>e.filter((e=>e!==Jt)))(e.__emotion_styles))}(e);const{name:n,slot:i,skipVariantsResolver:s,skipSx:l,overridesResolver:c=rn(sn(i)),...u}=t,d=void 0!==s?s:i&&"Root"!==i&&"root"!==i||!1,p=l||!1;let f=nn;"Root"===i||"root"===i?f=r:i?f=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(f=void 0);const h=function(e,t){return Ve(e,t)}(e,{shouldForwardProp:f,label:void 0,...u}),m=e=>{if("function"==typeof e&&e.__emotion_real!==e)return function(t){return on(t,e)};if(Ke(e)){const t=en(e);return t.variants?function(e){return on(e,t)}:t.style}return e},g=(...t)=>{const r=[],o=t.map(m),i=[];if(r.push(a),n&&c&&i.push((function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const o={};for(const t in r)o[t]=on(e,r[t]);return c(e,o)})),n&&!d&&i.push((function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?an(e,r):null})),p||i.push(Jt),Array.isArray(o[0])){const e=o.shift(),t=new Array(r.length).fill(""),n=new Array(i.length).fill("");let a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}const s=[...r,...o,...i],l=h(...s);return e.muiName&&(l.muiName=e.muiName),l};return h.withConfig&&(g.withConfig=h.withConfig),g}}({themeId:Lr,defaultTheme:Dr,rootShouldForwardProp:e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e}),Br=Fr,Hr={theme:void 0},zr=function(e){let t,n;return function(r){let o=t;return void 0!==o&&r.theme===n||(Hr.theme=r.theme,o=en(e(Hr)),t=o,n=r.theme),o}};function Wr(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if("components"===o||"slots"===o)n[o]={...e[o],...n[o]};else if("componentsProps"===o||"slotProps"===o){const r=e[o],a=t[o];if(a)if(r){n[o]={...a};for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const t=e;n[o][t]=Wr(r[t],a[t])}}else n[o]=a;else n[o]=r||{}}else void 0===n[o]&&(n[o]=e[o])}return n}const Vr=window.ReactJSXRuntime,Ur=o.createContext(void 0);function Gr(e){return function({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Wr(o.defaultProps,r):o.styleOverrides||o.variants?r:Wr(o,r)}({props:e,name:t,theme:{components:o.useContext(Ur)}})}(e)}const Yr=e=>e,Kr=(()=>{let e=Yr;return{configure(t){e=t},generate:t=>e(t),reset(){e=Yr}}})(),qr={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 Xr(e,t,n="Mui"){const r=qr[t];return r?`${n}-${r}`:`${Kr.generate(e)}-${t}`}function Jr(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=Xr(e,t,n)})),r}function Qr(e){return Xr("MuiSvgIcon",e)}Jr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Zr=Br("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${d(n.color)}`],t[`fontSize${d(n.fontSize)}`]]}})(zr((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),eo=o.forwardRef((function(e,t){const n=Gr({props:e,name:"MuiSvgIcon"}),{children:r,className:a,color:i="inherit",component:c="svg",fontSize:u="medium",htmlColor:p,inheritViewBox:f=!1,titleAccess:h,viewBox:m="0 0 24 24",...g}=n,y=o.isValidElement(r)&&"svg"===r.type,b={...n,color:i,component:c,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:f,viewBox:m,hasSvgAsChild:y},v={};f||(v.viewBox=m);const x=(e=>{const{color:t,fontSize:n,classes:r}=e;return l({root:["root","inherit"!==t&&`color${d(t)}`,`fontSize${d(n)}`]},Qr,r)})(b);return(0,Vr.jsxs)(Zr,{as:c,className:s(x.root,a),focusable:"false",color:p,"aria-hidden":!h||void 0,role:h?"img":void 0,ref:t,...v,...g,...y&&r.props,ownerState:b,children:[y?r.props.children:r,h?(0,Vr.jsx)("title",{children:h}):null]})}));eo.muiName="SvgIcon";const to=eo;function no(e,t){function n(n,r){return(0,Vr.jsx)(to,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=to.muiName,o.memo(o.forwardRef(n))}const ro=no((0,Vr.jsx)("path",{d:"M4 13h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1m0 8h6c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1m10 0h6c.55 0 1-.45 1-1v-8c0-.55-.45-1-1-1h-6c-.55 0-1 .45-1 1v8c0 .55.45 1 1 1M13 4v4c0 .55.45 1 1 1h6c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1h-6c-.55 0-1 .45-1 1"}),"DashboardRounded"),oo=no((0,Vr.jsx)("path",{d:"M6 20c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2s-2 .9-2 2v7c0 1.1.9 2 2 2m10-5v3c0 1.1.9 2 2 2s2-.9 2-2v-3c0-1.1-.9-2-2-2s-2 .9-2 2m-4 5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2s-2 .9-2 2v12c0 1.1.9 2 2 2"}),"BarChartRounded"),ao=no((0,Vr.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"PublicRounded"),io=no((0,Vr.jsx)("path",{d:"M19.5 12c0-.23-.01-.45-.03-.68l1.86-1.41c.4-.3.51-.86.26-1.3l-1.87-3.23c-.25-.44-.79-.62-1.25-.42l-2.15.91c-.37-.26-.76-.49-1.17-.68l-.29-2.31c-.06-.5-.49-.88-.99-.88h-3.73c-.51 0-.94.38-1 .88l-.29 2.31c-.41.19-.8.42-1.17.68l-2.15-.91c-.46-.2-1-.02-1.25.42L2.41 8.62c-.25.44-.14.99.26 1.3l1.86 1.41c-.02.22-.03.44-.03.67s.01.45.03.68l-1.86 1.41c-.4.3-.51.86-.26 1.3l1.87 3.23c.25.44.79.62 1.25.42l2.15-.91c.37.26.76.49 1.17.68l.29 2.31c.06.5.49.88.99.88h3.73c.5 0 .93-.38.99-.88l.29-2.31c.41-.19.8-.42 1.17-.68l2.15.91c.46.2 1 .02 1.25-.42l1.87-3.23c.25-.44.14-.99-.26-1.3l-1.86-1.41c.03-.23.04-.45.04-.68m-7.46 3.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5"}),"SettingsRounded"),so=no([(0,Vr.jsx)("path",{d:"M21 12.22C21 6.73 16.74 3 12 3c-4.69 0-9 3.65-9 9.28-.6.34-1 .98-1 1.72v2c0 1.1.9 2 2 2 .55 0 1-.45 1-1v-4.81c0-3.83 2.95-7.18 6.78-7.29 3.96-.12 7.22 3.06 7.22 7V19h-7c-.55 0-1 .45-1 1s.45 1 1 1h7c1.1 0 2-.9 2-2v-1.22c.59-.31 1-.92 1-1.64v-2.3c0-.7-.41-1.31-1-1.62"},"0"),(0,Vr.jsx)("circle",{cx:"9",cy:"13",r:"1"},"1"),(0,Vr.jsx)("circle",{cx:"15",cy:"13",r:"1"},"2"),(0,Vr.jsx)("path",{d:"M18 11.03C17.52 8.18 15.04 6 12.05 6c-3.03 0-6.29 2.51-6.03 6.45 2.47-1.01 4.33-3.21 4.86-5.89 1.31 2.63 4 4.44 7.12 4.47"},"3")],"SupportAgentRounded"),lo=no((0,Vr.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 15c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1m1-8h-2V7h2z"}),"InfoRounded"),co=no((0,Vr.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function uo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function po(...e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{uo(e,t)}))}),e)}const fo=po;function ho(e){try{return e.matches(":focus-visible")}catch(e){}return!1}const mo="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,go=function(e){const t=o.useRef(e);return mo((()=>{t.current=e})),o.useRef(((...e)=>(0,t.current)(...e))).current},yo={};function bo(e,t){const n=o.useRef(yo);return n.current===yo&&(n.current=e(t)),n}class vo{static create(){return new vo}static use(){const e=bo(vo.create).current,[t,n]=o.useState(!1);return e.shouldMount=t,e.setShouldMount=n,o.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then((()=>this.ref.current?.start(...e)))}stop(...e){this.mount().then((()=>this.ref.current?.stop(...e)))}pulsate(...e){this.mount().then((()=>this.ref.current?.pulsate(...e)))}}function xo(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function wo(e,t){return wo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wo(e,t)}function So(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wo(e,t)}const Co=a().createContext(null);function ko(e,t){var n=Object.create(null);return e&&o.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)})),n}function Eo(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ro(e,t,n){var r=ko(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<a.length;r++)s[a[r]]=n(a[r]);return s}(t,r);return Object.keys(a).forEach((function(i){var s=a[i];if((0,o.isValidElement)(s)){var l=i in t,c=i in r,u=t[i],d=(0,o.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,o.isValidElement)(u)&&(a[i]=(0,o.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:Eo(s,"exit",e),enter:Eo(s,"enter",e)})):a[i]=(0,o.cloneElement)(s,{in:!1}):a[i]=(0,o.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Eo(s,"exit",e),enter:Eo(s,"enter",e)})}})),a}var $o=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Oo=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}So(t,e);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,r,a=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,ko(n.children,(function(e){return(0,o.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:Eo(e,"appear",n),enter:Eo(e,"enter",n),exit:Eo(e,"exit",n)})}))):Ro(e,a,i),firstRender:!1}},n.handleExited=function(e,t){var n=ko(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=p({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=xo(e,["component","childFactory"]),o=this.state.contextValue,i=$o(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?a().createElement(Co.Provider,{value:o},i):a().createElement(Co.Provider,{value:o},a().createElement(t,r,i))},t}(a().Component);Oo.propTypes={},Oo.defaultProps={component:"div",childFactory:function(e){return e}};const Po=Oo,jo=[];class Ao{static create(){return new Ao}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function To(){const e=bo(Ao.create).current;var t;return t=e.disposeEffect,o.useEffect(t,jo),e}n(146);var Io,No,_o=function(e,t){var n=arguments;if(null==t||!Ne.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,a=new Array(r);a[0]=De,a[1]=function(e,t){var n={};for(var r in t)Ne.call(t,r)&&(n[r]=t[r]);return n[_e]=e,n}(e,t);for(var i=2;i<r;i++)a[i]=n[i];return o.createElement.apply(null,a)};function Mo(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Oe(t)}function Do(){var e=Mo.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}Io=_o||(_o={}),No||(No=Io.JSX||(Io.JSX={}));const Lo=Jr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Fo=Do`
    2384  0% {
    3385    transform: scale(0);
     
    9391    opacity: 0.3;
    10392  }
    11 `,Io=_o`
     393`,Bo=Do`
    12394  0% {
    13395    opacity: 1;
     
    17399    opacity: 0;
    18400  }
    19 `,Lo=_o`
     401`,Ho=Do`
    20402  0% {
    21403    transform: scale(1);
     
    29411    transform: scale(1);
    30412  }
    31 `,Bo=Dn("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Fo=Dn((function(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:a,rippleSize:s,in:l,onExited:u,timeout:d}=e,[p,h]=i.useState(!1),f=c(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),m={width:s,height:s,top:-s/2+a,left:-s/2+o},y=c(r.child,p&&r.childLeaving,n&&r.childPulsate);return l||p||h(!0),i.useEffect((()=>{if(!l&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,l,d]),(0,Yn.jsx)("span",{className:f,style:m,children:(0,Yn.jsx)("span",{className:y})})}),{name:"MuiTouchRipple",slot:"Ripple"})`
     413`,zo=Br("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Wo=Br((function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:l,in:c,onExited:u,timeout:d}=e,[p,f]=o.useState(!1),h=s(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:l,height:l,top:-l/2+i,left:-l/2+a},g=s(n.child,p&&n.childLeaving,r&&n.childPulsate);return c||p||f(!0),o.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,Vr.jsx)("span",{className:h,style:m,children:(0,Vr.jsx)("span",{className:g})})}),{name:"MuiTouchRipple",slot:"Ripple"})`
    32414  opacity: 0;
    33415  position: absolute;
    34416
    35   &.${No.rippleVisible} {
     417  &.${Lo.rippleVisible} {
    36418    opacity: 0.3;
    37419    transform: scale(1);
    38     animation-name: ${Mo};
     420    animation-name: ${Fo};
    39421    animation-duration: ${550}ms;
    40422    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    41423  }
    42424
    43   &.${No.ripplePulsate} {
     425  &.${Lo.ripplePulsate} {
    44426    animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms;
    45427  }
    46428
    47   & .${No.child} {
     429  & .${Lo.child} {
    48430    opacity: 1;
    49431    display: block;
     
    54436  }
    55437
    56   & .${No.childLeaving} {
     438  & .${Lo.childLeaving} {
    57439    opacity: 0;
    58     animation-name: ${Io};
     440    animation-name: ${Bo};
    59441    animation-duration: ${550}ms;
    60442    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
    61443  }
    62444
    63   & .${No.childPulsate} {
     445  & .${Lo.childPulsate} {
    64446    position: absolute;
    65447    /* @noflip */
    66448    left: 0px;
    67449    top: 0;
    68     animation-name: ${Lo};
     450    animation-name: ${Ho};
    69451    animation-duration: 2500ms;
    70452    animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut};
     
    72454    animation-delay: 200ms;
    73455  }
    74 `,zo=i.forwardRef((function(e,t){const r=Kn({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:a,...s}=r,[l,u]=i.useState([]),d=i.useRef(0),p=i.useRef(null);i.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[l]);const h=i.useRef(!1),f=function(){const e=go(Ao.create).current;var t;return t=e.disposeEffect,i.useEffect(t,Ro),e}(),m=i.useRef(null),y=i.useRef(null),g=i.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:a,cb:i}=e;u((e=>[...e,(0,Yn.jsx)(Fo,{classes:{ripple:c(o.ripple,No.ripple),rippleVisible:c(o.rippleVisible,No.rippleVisible),ripplePulsate:c(o.ripplePulsate,No.ripplePulsate),child:c(o.child,No.child),childLeaving:c(o.childLeaving,No.childLeaving),childPulsate:c(o.childPulsate,No.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:a},d.current)])),d.current+=1,p.current=i}),[o]),v=i.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:o=!1,center:a=n||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e?.type&&h.current)return void(h.current=!1);"touchstart"===e?.type&&(h.current=!0);const s=i?null:y.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(a)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{g({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:r})},f.start(80,(()=>{m.current&&(m.current(),m.current=null)}))):g({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:r})}),[n,g,f]),b=i.useCallback((()=>{v({},{pulsate:!0})}),[v]),x=i.useCallback(((e,t)=>{if(f.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void f.start(0,(()=>{x(e,t)}));m.current=null,u((e=>e.length>0?e.slice(1):e)),p.current=t}),[f]);return i.useImperativeHandle(t,(()=>({pulsate:b,start:v,stop:x})),[b,v,x]),(0,Yn.jsx)(Bo,{className:c(No.root,o.root,a),ref:y,...s,children:(0,Yn.jsx)(jo,{component:null,exit:!0,children:l})})}));function Do(e){return Jn("MuiButtonBase",e)}const Wo=Qn("MuiButtonBase",["root","disabled","focusVisible"]),Vo=Dn("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Wo.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function Ho(e,t,r,n=!1){return mo((o=>(r&&r(o),n||e[t](o),!0)))}const Yo=i.forwardRef((function(e,t){const r=Kn({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:a,className:s,component:l="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:h=!1,focusRipple:f=!1,focusVisibleClassName:m,LinkComponent:y="a",onBlur:g,onClick:v,onContextMenu:b,onDragLeave:x,onFocus:w,onFocusVisible:S,onKeyDown:C,onKeyUp:k,onMouseDown:$,onMouseLeave:j,onMouseUp:R,onTouchEnd:A,onTouchMove:E,onTouchStart:T,tabIndex:P=0,TouchRippleProps:O,touchRippleRef:_,type:N,...M}=r,I=i.useRef(null),L=vo.use(),B=po(L.ref,_),[F,z]=i.useState(!1);d&&F&&z(!1),i.useImperativeHandle(n,(()=>({focusVisible:()=>{z(!0),I.current.focus()}})),[]);const D=L.shouldMount&&!p&&!d;i.useEffect((()=>{F&&f&&!p&&L.pulsate()}),[p,f,F,L]);const W=Ho(L,"start",$,h),V=Ho(L,"stop",b,h),H=Ho(L,"stop",x,h),Y=Ho(L,"stop",R,h),U=Ho(L,"stop",(e=>{F&&e.preventDefault(),j&&j(e)}),h),K=Ho(L,"start",T,h),G=Ho(L,"stop",A,h),X=Ho(L,"stop",E,h),q=Ho(L,"stop",(e=>{ho(e.target)||z(!1),g&&g(e)}),!1),J=mo((e=>{I.current||(I.current=e.currentTarget),ho(e.target)&&(z(!0),S&&S(e)),w&&w(e)})),Q=()=>{const e=I.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},Z=mo((e=>{f&&!e.repeat&&F&&" "===e.key&&L.stop(e,(()=>{L.start(e)})),e.target===e.currentTarget&&Q()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&Q()&&"Enter"===e.key&&!d&&(e.preventDefault(),v&&v(e))})),ee=mo((e=>{f&&" "===e.key&&F&&!e.defaultPrevented&&L.stop(e,(()=>{L.pulsate(e)})),k&&k(e),v&&e.target===e.currentTarget&&Q()&&" "===e.key&&!e.defaultPrevented&&v(e)}));let te=l;"button"===te&&(M.href||M.to)&&(te=y);const re={};"button"===te?(re.type=void 0===N?"button":N,re.disabled=d):(M.href||M.to||(re.role="button"),d&&(re["aria-disabled"]=d));const ne=po(t,I),oe={...r,centerRipple:o,component:l,disabled:d,disableRipple:p,disableTouchRipple:h,focusRipple:f,tabIndex:P,focusVisible:F},ae=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=u({root:["root",t&&"disabled",r&&"focusVisible"]},Do,o);return r&&n&&(a.root+=` ${n}`),a})(oe);return(0,Yn.jsxs)(Vo,{as:te,className:c(ae.root,s),ownerState:oe,onBlur:q,onClick:v,onContextMenu:V,onFocus:J,onKeyDown:Z,onKeyUp:ee,onMouseDown:W,onMouseLeave:U,onMouseUp:Y,onDragLeave:H,onTouchEnd:G,onTouchMove:X,onTouchStart:K,ref:ne,tabIndex:d?-1:P,type:N,...re,...M,children:[a,D?(0,Yn.jsx)(zo,{ref:B,center:o,...O}):null]})}));function Uo(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}function Ko(e){return Jn("MuiChip",e)}const Go=Qn("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),Xo=Dn("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:o,clickable:a,onDelete:i,size:s,variant:l}=r;return[{[`& .${Go.avatar}`]:t.avatar},{[`& .${Go.avatar}`]:t[`avatar${h(s)}`]},{[`& .${Go.avatar}`]:t[`avatarColor${h(n)}`]},{[`& .${Go.icon}`]:t.icon},{[`& .${Go.icon}`]:t[`icon${h(s)}`]},{[`& .${Go.icon}`]:t[`iconColor${h(o)}`]},{[`& .${Go.deleteIcon}`]:t.deleteIcon},{[`& .${Go.deleteIcon}`]:t[`deleteIcon${h(s)}`]},{[`& .${Go.deleteIcon}`]:t[`deleteIconColor${h(n)}`]},{[`& .${Go.deleteIcon}`]:t[`deleteIcon${h(l)}Color${h(n)}`]},t.root,t[`size${h(s)}`],t[`color${h(n)}`],a&&t.clickable,a&&"default"!==n&&t[`clickableColor${h(n)})`],i&&t.deletable,i&&"default"!==n&&t[`deletableColor${h(n)}`],t[l],t[`${l}${h(n)}`]]}})(Vn((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Go.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Go.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Go.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Go.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Go.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Go.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Go.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:mr(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:mr(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Go.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Go.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Uo(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${Go.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:mr(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}}))),{props:e=>e.iconColor===e.color,style:{[`& .${Go.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${Go.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Go.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Uo(["dark"])).map((([t])=>({props:{color:t,onDelete:!0},style:{[`&.${Go.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}}))),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Go.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:mr(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Uo(["dark"])).map((([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${Go.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}}))),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Go.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Go.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Go.avatar}`]:{marginLeft:4},[`& .${Go.avatarSmall}`]:{marginLeft:2},[`& .${Go.icon}`]:{marginLeft:4},[`& .${Go.iconSmall}`]:{marginLeft:2},[`& .${Go.deleteIcon}`]:{marginRight:5},[`& .${Go.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Uo()).map((([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:mr(e.palette[t].main,.7)}`,[`&.${Go.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:mr(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${Go.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:mr(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${Go.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:mr(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}})))]}}))),qo=Dn("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${h(n)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Jo(e){return"Backspace"===e.key||"Delete"===e.key}const Qo=i.forwardRef((function(e,t){const r=Kn({props:e,name:"MuiChip"}),{avatar:n,className:o,clickable:a,color:s="default",component:l,deleteIcon:d,disabled:p=!1,icon:f,label:m,onClick:y,onDelete:g,onKeyDown:v,onKeyUp:b,size:x="medium",variant:w="filled",tabIndex:S,skipFocusWhenDisabled:C=!1,...k}=r,$=i.useRef(null),j=po($,t),R=e=>{e.stopPropagation(),g&&g(e)},A=!(!1===a||!y)||a,E=A||g?Yo:l||"div",T={...r,component:E,disabled:p,size:x,color:s,iconColor:i.isValidElement(f)&&f.props.color||s,onDelete:!!g,clickable:A,variant:w},P=(e=>{const{classes:t,disabled:r,size:n,color:o,iconColor:a,onDelete:i,clickable:s,variant:l}=e;return u({root:["root",l,r&&"disabled",`size${h(n)}`,`color${h(o)}`,s&&"clickable",s&&`clickableColor${h(o)}`,i&&"deletable",i&&`deletableColor${h(o)}`,`${l}${h(o)}`],label:["label",`label${h(n)}`],avatar:["avatar",`avatar${h(n)}`,`avatarColor${h(o)}`],icon:["icon",`icon${h(n)}`,`iconColor${h(a)}`],deleteIcon:["deleteIcon",`deleteIcon${h(n)}`,`deleteIconColor${h(o)}`,`deleteIcon${h(l)}Color${h(o)}`]},Ko,t)})(T),O=E===Yo?{component:l||"div",focusVisibleClassName:P.focusVisible,...g&&{disableRipple:!0}}:{};let _=null;g&&(_=d&&i.isValidElement(d)?i.cloneElement(d,{className:c(d.props.className,P.deleteIcon),onClick:R}):(0,Yn.jsx)(uo,{className:c(P.deleteIcon),onClick:R}));let N=null;n&&i.isValidElement(n)&&(N=i.cloneElement(n,{className:c(P.avatar,n.props.className)}));let M=null;return f&&i.isValidElement(f)&&(M=i.cloneElement(f,{className:c(P.icon,f.props.className)})),(0,Yn.jsxs)(Xo,{as:E,className:c(P.root,o),disabled:!(!A||!p)||void 0,onClick:y,onKeyDown:e=>{e.currentTarget===e.target&&Jo(e)&&e.preventDefault(),v&&v(e)},onKeyUp:e=>{e.currentTarget===e.target&&g&&Jo(e)&&g(e),b&&b(e)},ref:j,tabIndex:C&&p?-1:S,ownerState:T,...O,...k,children:[N||M,(0,Yn.jsx)(qo,{className:c(P.label),ownerState:T,children:m}),_]})})),Zo=window.wp.i18n;r(69);var ea="popstate";function ta(e={}){return function(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s="POP",l=null,c=u();function u(){return(i.state||{idx:null}).idx}function d(){s="POP";let e=u(),t=null==e?null:e-c;c=e,l&&l({action:s,location:h.location,delta:t})}function p(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,r="string"==typeof e?e:ia(e);return r=r.replace(/ $/,"%20"),ra(t,`No window.location.(origin|href) available to create URL for href: ${r}`),new URL(r,t)}null==c&&(c=0,i.replaceState({...i.state,idx:c},""));let h={get action(){return s},get location(){return e(o,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(ea,d),l=e,()=>{o.removeEventListener(ea,d),l=null}},createHref:e=>t(o,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let n=aa(h.location,e,t);r&&r(n,e),c=u()+1;let d=oa(n,c),p=h.createHref(n);try{i.pushState(d,"",p)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(p)}a&&l&&l({action:s,location:h.location,delta:1})},replace:function(e,t){s="REPLACE";let n=aa(h.location,e,t);r&&r(n,e),c=u();let o=oa(n,c),d=h.createHref(n);i.replaceState(o,"",d),a&&l&&l({action:s,location:h.location,delta:0})},go:e=>i.go(e)};return h}((function(e,t){let{pathname:r="/",search:n="",hash:o=""}=sa(e.location.hash.substring(1));return r.startsWith("/")||r.startsWith(".")||(r="/"+r),aa("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let r=e.document.querySelector("base"),n="";if(r&&r.getAttribute("href")){let t=e.location.href,r=t.indexOf("#");n=-1===r?t:t.slice(0,r)}return n+"#"+("string"==typeof t?t:ia(t))}),(function(e,t){na("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}),e)}function ra(e,t){if(!1===e||null==e)throw new Error(t)}function na(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function oa(e,t){return{usr:e.state,key:e.key,idx:t}}function aa(e,t,r=null,n){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?sa(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10)}}function ia({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function sa(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function la(e,t,r="/"){return function(e,t,r,n){let o=Sa(("string"==typeof t?sa(t):t).pathname||"/",r);if(null==o)return null;let a=ca(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let i=null;for(let e=0;null==i&&e<a.length;++e){let t=wa(o);i=ba(a[e],t,n)}return i}(e,t,r,!1)}function ca(e,t=[],r=[],n=""){let o=(e,o,a)=>{let i={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(ra(i.relativePath.startsWith(n),`Absolute route path "${i.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),i.relativePath=i.relativePath.slice(n.length));let s=ja([n,i.relativePath]),l=r.concat(i);e.children&&e.children.length>0&&(ra(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),ca(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:va(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of ua(e.path))o(e,t,r);else o(e,t)})),t}function ua(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let i=ua(n.join("/")),s=[];return s.push(...i.map((e=>""===e?a:[a,e].join("/")))),o&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}var da=/^:[\w-]+$/,pa=3,ha=2,fa=1,ma=10,ya=-2,ga=e=>"*"===e;function va(e,t){let r=e.split("/"),n=r.length;return r.some(ga)&&(n+=ya),t&&(n+=ha),r.filter((e=>!ga(e))).reduce(((e,t)=>e+(da.test(t)?pa:""===t?fa:ma)),n)}function ba(e,t,r=!1){let{routesMeta:n}=e,o={},a="/",i=[];for(let e=0;e<n.length;++e){let s=n[e],l=e===n.length-1,c="/"===a?t:t.slice(a.length)||"/",u=xa({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),d=s.route;if(!u&&l&&r&&!n[n.length-1].route.index&&(u=xa({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!u)return null;Object.assign(o,u.params),i.push({params:o,pathname:ja([a,u.pathname]),pathnameBase:Ra(ja([a,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(a=ja([a,u.pathnameBase]))}return i}function xa(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=function(e,t=!1,r=!0){na("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,r)=>(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((e,{paramName:t,isOptional:r},n)=>{if("*"===t){let e=s[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[n];return e[t]=r&&!o?void 0:(o||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function wa(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return na(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Sa(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function Ca(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function ka(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,r)=>r===t.length-1?e.pathname:e.pathnameBase))}function $a(e,t,r,n=!1){let o;"string"==typeof e?o=sa(e):(o={...e},ra(!o.pathname||!o.pathname.includes("?"),Ca("?","pathname","search",o)),ra(!o.pathname||!o.pathname.includes("#"),Ca("#","pathname","hash",o)),ra(!o.search||!o.search.includes("#"),Ca("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t="/"){let{pathname:r,search:n="",hash:o=""}="string"==typeof e?sa(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:Aa(n),hash:Ea(o)}}(o,a),c=s&&"/"!==s&&s.endsWith("/"),u=(i||"."===s)&&r.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}var ja=e=>e.join("/").replace(/\/\/+/g,"/"),Ra=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Aa=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Ea=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function Ta(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var Pa=["POST","PUT","PATCH","DELETE"],Oa=(new Set(Pa),["GET",...Pa]);new Set(Oa),Symbol("ResetLoaderData");var _a=i.createContext(null);_a.displayName="DataRouter";var Na=i.createContext(null);Na.displayName="DataRouterState";var Ma=i.createContext({isTransitioning:!1});Ma.displayName="ViewTransition",i.createContext(new Map).displayName="Fetchers",i.createContext(null).displayName="Await";var Ia=i.createContext(null);Ia.displayName="Navigation";var La=i.createContext(null);La.displayName="Location";var Ba=i.createContext({outlet:null,matches:[],isDataRoute:!1});Ba.displayName="Route";var Fa=i.createContext(null);function za(){return null!=i.useContext(La)}function Da(){return ra(za(),"useLocation() may be used only in the context of a <Router> component."),i.useContext(La).location}Fa.displayName="RouteError";var Wa="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Va(e){i.useContext(Ia).static||i.useLayoutEffect(e)}function Ha(){let{isDataRoute:e}=i.useContext(Ba);return e?function(){let{router:e}=function(e){let t=i.useContext(_a);return ra(t,Ja(e)),t}("useNavigate"),t=Qa("useNavigate"),r=i.useRef(!1);return Va((()=>{r.current=!0})),i.useCallback((async(n,o={})=>{na(r.current,Wa),r.current&&("number"==typeof n?e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))}),[e,t])}():function(){ra(za(),"useNavigate() may be used only in the context of a <Router> component.");let e=i.useContext(_a),{basename:t,navigator:r}=i.useContext(Ia),{matches:n}=i.useContext(Ba),{pathname:o}=Da(),a=JSON.stringify(ka(n)),s=i.useRef(!1);return Va((()=>{s.current=!0})),i.useCallback(((n,i={})=>{if(na(s.current,Wa),!s.current)return;if("number"==typeof n)return void r.go(n);let l=$a(n,JSON.parse(a),o,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:ja([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)}),[t,r,a,o,e])}()}function Ya(e,{relative:t}={}){let{matches:r}=i.useContext(Ba),{pathname:n}=Da(),o=JSON.stringify(ka(r));return i.useMemo((()=>$a(e,JSON.parse(o),n,"path"===t)),[e,o,n,t])}function Ua(e,t,r,n){ra(za(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=i.useContext(Ia),{matches:a}=i.useContext(Ba),s=a[a.length-1],l=s?s.params:{},c=s?s.pathname:"/",u=s?s.pathnameBase:"/",d=s&&s.route;{let e=d&&d.path||"";ei(c,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let p,h=Da();if(t){let e="string"==typeof t?sa(t):t;ra("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),p=e}else p=h;let f=p.pathname||"/",m=f;if("/"!==u){let e=u.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=la(e,{pathname:m});na(d||null!=y,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),na(null==y||void 0!==y[y.length-1].route.element||void 0!==y[y.length-1].route.Component||void 0!==y[y.length-1].route.lazy,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let g=function(e,t=[],r=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let n=e,o=r?.errors;if(null!=o){let e=n.findIndex((e=>e.route.id&&void 0!==o?.[e.route.id]));ra(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),n=n.slice(0,Math.min(n.length,e+1))}let a=!1,s=-1;if(r)for(let e=0;e<n.length;e++){let t=n[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:o}=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!o||void 0===o[t.route.id]);if(t.route.lazy||i){a=!0,n=s>=0?n.slice(0,s+1):[n[0]];break}}}return n.reduceRight(((e,l,c)=>{let u,d=!1,p=null,h=null;r&&(u=o&&l.route.id?o[l.route.id]:void 0,p=l.route.errorElement||Ga,a&&(s<0&&0===c?(ei("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,h=null):s===c&&(d=!0,h=l.route.hydrateFallbackElement||null)));let f=t.concat(n.slice(0,c+1)),m=()=>{let t;return t=u?p:d?h:l.route.Component?i.createElement(l.route.Component,null):l.route.element?l.route.element:e,i.createElement(qa,{match:l,routeContext:{outlet:e,matches:f,isDataRoute:null!=r},children:t})};return r&&(l.route.ErrorBoundary||l.route.errorElement||0===c)?i.createElement(Xa,{location:r.location,revalidation:r.revalidation,component:p,error:u,children:m(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):m()}),null)}(y&&y.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:ja([u,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:ja([u,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,r,n);return t&&g?i.createElement(La.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},g):g}function Ka(){let e=function(){let e=i.useContext(Fa),t=function(e){let t=i.useContext(Na);return ra(t,Ja(e)),t}("useRouteError"),r=Qa("useRouteError");return void 0!==e?e:t.errors?.[r]}(),t=Ta(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=i.createElement(i.Fragment,null,i.createElement("p",null,"💿 Hey developer 👋"),i.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",i.createElement("code",{style:a},"ErrorBoundary")," or"," ",i.createElement("code",{style:a},"errorElement")," prop on your route.")),i.createElement(i.Fragment,null,i.createElement("h2",null,"Unexpected Application Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),r?i.createElement("pre",{style:o},r):null,s)}i.createContext(null);var Ga=i.createElement(Ka,null),Xa=class extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?i.createElement(Ba.Provider,{value:this.props.routeContext},i.createElement(Fa.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function qa({routeContext:e,match:t,children:r}){let n=i.useContext(_a);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),i.createElement(Ba.Provider,{value:e},r)}function Ja(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Qa(e){let t=function(e){let t=i.useContext(Ba);return ra(t,Ja(e)),t}(e),r=t.matches[t.matches.length-1];return ra(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var Za={};function ei(e,t,r){t||Za[e]||(Za[e]=!0,na(!1,r))}function ti(e){ra(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ri({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:o,static:a=!1}){ra(!za(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=i.useMemo((()=>({basename:s,navigator:o,static:a,future:{}})),[s,o,a]);"string"==typeof r&&(r=sa(r));let{pathname:c="/",search:u="",hash:d="",state:p=null,key:h="default"}=r,f=i.useMemo((()=>{let e=Sa(c,s);return null==e?null:{location:{pathname:e,search:u,hash:d,state:p,key:h},navigationType:n}}),[s,c,u,d,p,h,n]);return na(null!=f,`<Router basename="${s}"> is not able to match the URL "${c}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),null==f?null:i.createElement(Ia.Provider,{value:l},i.createElement(La.Provider,{children:t,value:f}))}function ni({children:e,location:t}){return Ua(oi(e),t)}function oi(e,t=[]){let r=[];return i.Children.forEach(e,((e,n)=>{if(!i.isValidElement(e))return;let o=[...t,n];if(e.type===i.Fragment)return void r.push.apply(r,oi(e.props.children,o));ra(e.type===ti,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ra(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=oi(e.props.children,o)),r.push(a)})),r}i.memo((function({routes:e,future:t,state:r}){return Ua(e,void 0,r,t)})),i.Component;var ai="get",ii="application/x-www-form-urlencoded";function si(e){return null!=e&&"string"==typeof e.tagName}var li=null,ci=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ui(e){return null==e||ci.has(e)?e:(na(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ii}"`),null)}function di(e,t){if(!1===e||null==e)throw new Error(t)}function pi(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function hi(e,t,r,n,o,a){let i=(e,t)=>!r[t]||e.route.id!==r[t].route.id,s=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===a?t.filter(((e,t)=>i(e,t)||s(e,t))):"data"===a?t.filter(((t,a)=>{let l=n.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof n)return n}return!0})):[]}function fi(){let e=i.useContext(_a);return di(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function mi(){let e=i.useContext(Na);return di(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Symbol("SingleFetchRedirect"),i.Component;var yi=i.createContext(void 0);function gi(){let e=i.useContext(yi);return di(e,"You must render this element inside a <HydratedRouter> element"),e}function vi(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function bi({page:e,...t}){let{router:r}=fi(),n=i.useMemo((()=>la(r.routes,e,r.basename)),[r.routes,e,r.basename]);return n?i.createElement(wi,{page:e,matches:n,...t}):null}function xi(e){let{manifest:t,routeModules:r}=gi(),[n,o]=i.useState([]);return i.useEffect((()=>{let n=!1;return async function(e,t,r){return function(e,t){let r=new Set,n=new Set(t);return e.reduce(((e,o)=>{if(t&&(null==(a=o)||"string"!=typeof a.page)&&"script"===o.as&&o.href&&n.has(o.href))return e;var a;let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}(o));return r.has(i)||(r.add(i),e.push({key:i,link:o})),e}),[])}((await Promise.all(e.map((async e=>{let n=t.routes[e.route.id];if(n){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(n,r);return e.links?e.links():[]}return[]})))).flat(1).filter(pi).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,t,r).then((e=>{n||o(e)})),()=>{n=!0}}),[e,t,r]),n}function wi({page:e,matches:t,...r}){let n=Da(),{manifest:o,routeModules:a}=gi(),{loaderData:s,matches:l}=mi(),c=i.useMemo((()=>hi(e,t,l,o,n,"data")),[e,t,l,o,n]),u=i.useMemo((()=>hi(e,t,l,o,n,"assets")),[e,t,l,o,n]),d=i.useMemo((()=>{if(e===n.pathname+n.search+n.hash)return[];let r=new Set,i=!1;if(t.forEach((e=>{let t=o.routes[e.route.id];t&&t.hasLoader&&(!c.some((t=>t.route.id===e.route.id))&&e.route.id in s&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?i=!0:r.add(e.route.id))})),0===r.size)return[];let l=function(e){let t="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}(e);return i&&r.size>0&&l.searchParams.set("_routes",t.filter((e=>r.has(e.route.id))).map((e=>e.route.id)).join(",")),[l.pathname+l.search]}),[s,n,o,c,t,e,a]),p=i.useMemo((()=>function(e,t){return r=e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let n=[r.module];return r.imports&&(n=n.concat(r.imports)),n})).flat(1),[...new Set(r)];var r}(u,o)),[u,o]),h=xi(u);return i.createElement(i.Fragment,null,d.map((e=>i.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r}))),p.map((e=>i.createElement("link",{key:e,rel:"modulepreload",href:e,...r}))),h.map((({key:e,link:t})=>i.createElement("link",{key:e,...t}))))}yi.displayName="FrameworkContext";function Si(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}var Ci="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Ci&&(window.__reactRouterVersion="7.1.3")}catch(e){}function ki({basename:e,children:t,window:r}){let n=i.useRef();null==n.current&&(n.current=ta({window:r,v5Compat:!0}));let o=n.current,[a,s]=i.useState({action:o.action,location:o.location}),l=i.useCallback((e=>{i.startTransition((()=>s(e)))}),[s]);return i.useLayoutEffect((()=>o.listen(l)),[o,l]),i.createElement(ri,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:o})}var $i=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ji=i.forwardRef((function({onClick:e,discover:t="render",prefetch:r="none",relative:n,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d,...p},h){let f,{basename:m}=i.useContext(Ia),y="string"==typeof c&&$i.test(c),g=!1;if("string"==typeof c&&y&&(f=c,Ci))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),r=Sa(t.pathname,m);t.origin===e.origin&&null!=r?c=r+t.search+t.hash:g=!0}catch(e){na(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let v=function(e,{relative:t}={}){ra(za(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=i.useContext(Ia),{hash:o,pathname:a,search:s}=Ya(e,{relative:t}),l=a;return"/"!==r&&(l="/"===a?r:ja([r,a])),n.createHref({pathname:l,search:s,hash:o})}(c,{relative:n}),[b,x,w]=function(e,t){let r=i.useContext(yi),[n,o]=i.useState(!1),[a,s]=i.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:p}=t,h=i.useRef(null);i.useEffect((()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{s(e.isIntersecting)}))}),{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}}),[e]),i.useEffect((()=>{if(n){let e=setTimeout((()=>{s(!0)}),100);return()=>{clearTimeout(e)}}}),[n]);let f=()=>{o(!0)},m=()=>{o(!1),s(!1)};return r?"intent"!==e?[a,h,{}]:[a,h,{onFocus:vi(l,f),onBlur:vi(c,m),onMouseEnter:vi(u,f),onMouseLeave:vi(d,m),onTouchStart:vi(p,f)}]:[!1,h,{}]}(r,p),S=function(e,{target:t,replace:r,state:n,preventScrollReset:o,relative:a,viewTransition:s}={}){let l=Ha(),c=Da(),u=Ya(e,{relative:a});return i.useCallback((i=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(i,t)){i.preventDefault();let t=void 0!==r?r:ia(c)===ia(u);l(e,{replace:t,state:n,preventScrollReset:o,relative:a,viewTransition:s})}}),[c,l,u,r,n,t,e,o,a,s])}(c,{replace:a,state:s,target:l,preventScrollReset:u,relative:n,viewTransition:d}),C=i.createElement("a",{...p,...w,href:f||v,onClick:g||o?e:function(t){e&&e(t),t.defaultPrevented||S(t)},ref:Si(h,x),target:l,"data-discover":y||"render"!==t?void 0:"true"});return b&&!y?i.createElement(i.Fragment,null,C,i.createElement(bi,{page:v})):C}));ji.displayName="Link";var Ri=i.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:n=!1,style:o,to:a,viewTransition:s,children:l,...c},u){let d=Ya(a,{relative:c.relative}),p=Da(),h=i.useContext(Na),{navigator:f,basename:m}=i.useContext(Ia),y=null!=h&&function(e,t={}){let r=i.useContext(Ma);ra(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Ai("useViewTransitionState"),o=Ya(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=Sa(r.currentLocation.pathname,n)||r.currentLocation.pathname,s=Sa(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=xa(o.pathname,s)||null!=xa(o.pathname,a)}(d)&&!0===s,g=f.encodeLocation?f.encodeLocation(d).pathname:d.pathname,v=p.pathname,b=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;t||(v=v.toLowerCase(),b=b?b.toLowerCase():null,g=g.toLowerCase()),b&&m&&(b=Sa(b,m)||b);const x="/"!==g&&g.endsWith("/")?g.length-1:g.length;let w,S=v===g||!n&&v.startsWith(g)&&"/"===v.charAt(x),C=null!=b&&(b===g||!n&&b.startsWith(g)&&"/"===b.charAt(g.length)),k={isActive:S,isPending:C,isTransitioning:y},$=S?e:void 0;w="function"==typeof r?r(k):[r,S?"active":null,C?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof o?o(k):o;return i.createElement(ji,{...c,"aria-current":$,className:w,ref:u,style:j,to:a,viewTransition:s},"function"==typeof l?l(k):l)}));function Ai(e){let t=i.useContext(_a);return ra(t,function(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}Ri.displayName="NavLink",i.forwardRef((({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:o,state:a,method:s=ai,action:l,onSubmit:c,relative:u,preventScrollReset:d,viewTransition:p,...h},f)=>{let m=function(){let{router:e}=Ai("useSubmit"),{basename:t}=i.useContext(Ia),r=Qa("useRouteId");return i.useCallback((async(n,o={})=>{let{action:a,method:i,encType:s,formData:l,body:c}=function(e,t){let r,n,o,a,i;if(si(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?Sa(i,t):null,r=e.getAttribute("method")||ai,o=ui(e.getAttribute("enctype"))||ii,a=new FormData(e)}else if(function(e){return si(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return si(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(n=s?Sa(s,t):null,r=e.getAttribute("formmethod")||i.getAttribute("method")||ai,o=ui(e.getAttribute("formenctype"))||ui(i.getAttribute("enctype"))||ii,a=new FormData(i,e),!function(){if(null===li)try{new FormData(document.createElement("form"),0),li=!1}catch(e){li=!0}return li}()){let{name:t,type:r,value:n}=e;if("image"===r){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,n)}}else{if(si(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=ai,n=null,o=ii,i=e}var s;return a&&"text/plain"===o&&(i=a,a=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:a,body:i}}(n,t);if(!1===o.navigate){let t=o.fetcherKey||Ti();await e.fetch(t,r,o.action||a,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||i,formEncType:o.encType||s,flushSync:o.flushSync})}else await e.navigate(o.action||a,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||i,formEncType:o.encType||s,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})}),[e,t,r])}(),y=function(e,{relative:t}={}){let{basename:r}=i.useContext(Ia),n=i.useContext(Ba);ra(n,"useFormAction must be used inside a RouteContext");let[o]=n.matches.slice(-1),a={...Ya(e||".",{relative:t})},s=Da();if(null==e){a.search=s.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let r=e.toString();a.search=r?`?${r}`:""}}return e&&"."!==e||!o.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(a.pathname="/"===a.pathname?r:ja([r,a.pathname])),ia(a)}(l,{relative:u}),g="get"===s.toLowerCase()?"get":"post",v="string"==typeof l&&$i.test(l);return i.createElement("form",{ref:f,method:g,action:y,onSubmit:n?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let n=e.nativeEvent.submitter,i=n?.getAttribute("formmethod")||s;m(n||e.currentTarget,{fetcherKey:t,method:i,navigate:r,replace:o,state:a,relative:u,preventScrollReset:d,viewTransition:p})},...h,"data-discover":v||"render"!==e?void 0:"true"})})).displayName="Form";var Ei=0,Ti=()=>`__${String(++Ei)}__`;new TextEncoder;const Pi=()=>(0,Yn.jsxs)("div",{className:"yoo-menu",children:[(0,Yn.jsxs)("div",{className:"yoo-logo",children:[(0,Yn.jsx)(ji,{to:"/",children:(0,Yn.jsx)("img",{src:`${YooAnalytics.assetsURL}images/logo.png`,alt:"YooAnalytics Logo",width:190})}),(0,Yn.jsx)("div",{children:(0,Yn.jsx)(Qo,{label:`v${YooAnalytics.version}`,className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"})})]}),(0,Yn.jsxs)("div",{className:"yoo-menu-items-container",children:[(0,Yn.jsx)("div",{children:(0,Yn.jsxs)(Ri,{to:"/",className:"yoo-menu-item",children:[(0,Yn.jsx)(oo,{className:"yoo-menu-icon"}),(0,Yn.jsx)("span",{className:"yoo-menu-text",children:(0,Zo.__)("Dashboard","yooanalytics")})]})}),(0,Yn.jsx)("div",{children:(0,Yn.jsxs)(ji,{to:"javascript:void(0)",className:"yoo-menu-item disabled",children:[(0,Yn.jsx)(ao,{className:"yoo-menu-icon"}),(0,Yn.jsxs)("span",{className:"yoo-menu-text",children:[(0,Zo.__)("Realtime","yooanalytics")," ",(0,Yn.jsx)(Qo,{label:"⚒️ Coming Soon",className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"}),(0,Yn.jsx)("div",{className:"clearfix"})]})]})}),(0,Yn.jsx)("div",{children:(0,Yn.jsxs)(ji,{to:"javascript:void(0)",className:"yoo-menu-item disabled",children:[(0,Yn.jsx)(io,{className:"yoo-menu-icon"}),(0,Yn.jsxs)("span",{className:"yoo-menu-text",children:[(0,Zo.__)("Countries","yooanalytics")," ",(0,Yn.jsx)(Qo,{label:"⚒️ Coming Soon",className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"}),(0,Yn.jsx)("div",{className:"clearfix"})]})]})}),YooAnalytics.isWooCommerceActive&&(0,Yn.jsx)("div",{children:(0,Yn.jsxs)(ji,{to:"javascript:void(0)",className:"yoo-menu-item disabled",title:"WooCommerce Purchase Journey",children:[(0,Yn.jsx)("img",{src:`${YooAnalytics.assetsURL}images/woocommerce-logo.svg`,className:"yoo-menu-icon",width:24,alt:"WooCommerce Logo"}),(0,Yn.jsxs)("span",{className:"yoo-menu-text",children:[(0,Zo.__)("Purchase","yooanalytics")," ",(0,Yn.jsx)(Qo,{label:"⚒️ Coming Soon",className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"}),(0,Yn.jsx)("div",{className:"clearfix"})]})]})}),(0,Yn.jsx)("div",{children:(0,Yn.jsxs)(Ri,{to:"/settings",className:"yoo-menu-item",children:[(0,Yn.jsx)(so,{className:"yoo-menu-icon"}),(0,Yn.jsx)("span",{className:"yoo-menu-text",children:(0,Zo.__)("Settings","yooanalytics")})]})}),(0,Yn.jsx)("div",{children:(0,Yn.jsxs)("a",{href:"https://yooanalytics.com/contact-us/?utm_source=plugin&utm_medium=menu&utm_campaign=Support",target:"_blank",className:"yoo-menu-item",children:[(0,Yn.jsx)(lo,{className:"yoo-menu-icon"}),(0,Yn.jsx)("span",{className:"yoo-menu-text",children:(0,Zo.__)("Support","yooanalytics")})]})}),(0,Yn.jsx)("div",{children:(0,Yn.jsxs)(Ri,{to:"/about",className:"yoo-menu-item",children:[(0,Yn.jsx)(co,{className:"yoo-menu-icon"}),(0,Yn.jsx)("span",{className:"yoo-menu-text",children:(0,Zo.__)("About","yooanalytics")})]})}),YooAnalytics.hasActiveValidLicense?"":(0,Yn.jsx)("div",{className:"yoo-menu-pro",children:(0,Yn.jsxs)("a",{href:"https://www.yooanalytics.com/?utm_source=plugin&utm_medium=menu&utm_campaign=Get+YooAnalytics+Pro",target:"_blank",className:"yoo-menu-item yoo-get-pro",children:[(0,Yn.jsx)("img",{src:`${YooAnalytics.assetsURL}images/pro.png`,alt:"YooAnalytics Get Pro"}),(0,Yn.jsx)("span",{className:"yoo-menu-text",children:(0,Yn.jsx)("b",{children:(0,Zo.__)("Get YooAnalytics Pro","yooanalytics")})})]})})]})]}),Oi=window.wp.components,_i=i.createContext({});function Ni({baseColor:e,highlightColor:t,width:r,height:n,borderRadius:o,circle:a,direction:i,duration:s,enableAnimation:l=!0,customHighlightBackground:c}){const u={};return"rtl"===i&&(u["--animation-direction"]="reverse"),"number"==typeof s&&(u["--animation-duration"]=`${s}s`),l||(u["--pseudo-element-display"]="none"),"string"!=typeof r&&"number"!=typeof r||(u.width=r),"string"!=typeof n&&"number"!=typeof n||(u.height=n),"string"!=typeof o&&"number"!=typeof o||(u.borderRadius=o),a&&(u.borderRadius="50%"),void 0!==e&&(u["--base-color"]=e),void 0!==t&&(u["--highlight-color"]=t),"string"==typeof c&&(u["--custom-highlight-background"]=c),u}function Mi({count:e=1,wrapper:t,className:r,containerClassName:n,containerTestId:o,circle:a=!1,style:s,...l}){var c,u,d;const p=i.useContext(_i),h={...l};for(const[e,t]of Object.entries(l))void 0===t&&delete h[e];const f={...p,...h,circle:a},m={...s,...Ni(f)};let y="react-loading-skeleton";r&&(y+=` ${r}`);const g=null!==(c=f.inline)&&void 0!==c&&c,v=[],b=Math.ceil(e);for(let t=0;t<b;t++){let r=m;if(b>e&&t===b-1){const t=null!==(u=r.width)&&void 0!==u?u:"100%",n=e%1,o="number"==typeof t?t*n:`calc(${t} * ${n})`;r={...r,width:o}}const n=i.createElement("span",{className:y,style:r,key:t},"‌");g?v.push(n):v.push(i.createElement(i.Fragment,{key:t},n,i.createElement("br",null)))}return i.createElement("span",{className:n,"data-testid":o,"aria-live":"polite","aria-busy":null===(d=f.enableAnimation)||void 0===d||d},t?v.map(((e,r)=>i.createElement(t,{key:r},e))):v)}const Ii=e=>(0,Yn.jsx)(Mi,{baseColor:"#FAFAFA",count:e.count,height:e.height,width:e.width,className:e.className}),Li={"X-WP-Nonce":YooAnalytics.nonce},Bi=()=>{const e=`${YooAnalytics.assetsURL}images/up-trend.png`,t=`${YooAnalytics.assetsURL}images/down-trend.png`,[r,n]=(0,a.useState)(!0),[o,i]=(0,a.useState)([]),[s,l]=(0,a.useState)({visitors:0,views:0,online:0,purchase:0});return(0,a.useEffect)((()=>{let e;async function t(){n(!0);const e=await async function(){const e=await fetch(`${YooAnalytics.restURL}/v1/get-analytics`,{headers:Li});return!!e.ok&&(await e.json()).data}();e?(l(e.summary),i(e.search_engines)):console.log("fetchAnalytics",e),n(!1)}return t(),e=setInterval(t,3e4),()=>clearInterval(e)}),[]),(0,Yn.jsx)("div",{className:"yoo-body",children:r?(0,Yn.jsxs)(Yn.Fragment,{children:[(0,Yn.jsxs)(Oi.Flex,{children:[(0,Yn.jsx)(Oi.FlexItem,{style:{width:"100%"},children:(0,Yn.jsx)(Ii,{count:1,height:162,width:"100%"})}),(0,Yn.jsx)(Oi.FlexItem,{style:{width:"100%"},children:(0,Yn.jsx)(Ii,{count:1,height:162,width:"100%"})}),(0,Yn.jsx)(Oi.FlexItem,{style:{width:"100%"},children:(0,Yn.jsx)(Ii,{count:1,height:162,width:"100%"})}),YooAnalytics.isWooCommerceActive&&(0,Yn.jsx)(Oi.FlexItem,{style:{width:"100%"},children:(0,Yn.jsx)(Ii,{count:1,height:162,width:"100%"})})]}),(0,Yn.jsxs)(Oi.Flex,{className:"yoo-dashboard-logs",align:"start",children:[(0,Yn.jsx)(Oi.FlexItem,{style:{width:"310%"}}),(0,Yn.jsx)(Oi.Flex,{direction:"column",style:{width:"100%"},children:(0,Yn.jsx)(Oi.FlexItem,{style:{width:"100%"},children:(0,Yn.jsx)(Ii,{count:1,height:252,width:"100%"})})})]})]}):(0,Yn.jsxs)(Yn.Fragment,{children:[(0,Yn.jsxs)(Oi.Flex,{className:"yoo-dashboard-stats",children:[(0,Yn.jsxs)(Oi.FlexItem,{className:s.visitors>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Yn.jsx)("h3",{children:(0,Zo.__)("Visitors","yooanalytics")}),(0,Yn.jsxs)("div",{className:"yoo-stats",children:[(0,Yn.jsxs)("div",{children:[(0,Yn.jsx)("h1",{children:s.visitors}),(0,Yn.jsx)("span",{className:"yoo-stats-text",children:(0,Zo.__)("Today","yooanalytics")})]}),(0,Yn.jsx)("div",{children:(0,Yn.jsx)("img",{src:s.visitors>0?e:t,alt:"Stats Trend"})})]})]}),(0,Yn.jsxs)(Oi.FlexItem,{className:s.views>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Yn.jsx)("h3",{children:(0,Zo.__)("Views","yooanalytics")}),(0,Yn.jsxs)("div",{className:"yoo-stats",children:[(0,Yn.jsxs)("div",{children:[(0,Yn.jsx)("h1",{children:s.views}),(0,Yn.jsx)("span",{className:"yoo-stats-text",children:(0,Zo.__)("Today","yooanalytics")})]}),(0,Yn.jsx)("div",{children:(0,Yn.jsx)("img",{src:s.views>0?e:t,alt:"Stats Trend"})})]})]}),(0,Yn.jsxs)(Oi.FlexItem,{className:s.online>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Yn.jsx)("h3",{children:(0,Zo.__)("Online","yooanalytics")}),(0,Yn.jsxs)("div",{className:"yoo-stats",children:[(0,Yn.jsxs)("div",{children:[(0,Yn.jsx)("h1",{children:s.online}),(0,Yn.jsx)("span",{className:"yoo-stats-text",children:(0,Zo.__)("In last 30 minutes","yooanalytics")})]}),(0,Yn.jsx)("div",{children:(0,Yn.jsx)("img",{src:s.online>0?e:t,alt:"Stats Trend"})})]})]}),YooAnalytics.isWooCommerceActive&&(0,Yn.jsxs)(Oi.FlexItem,{className:s.purchase>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Yn.jsx)("h3",{children:(0,Zo.__)("Purchase","yooanalytics")}),(0,Yn.jsxs)("div",{className:"yoo-stats",children:[(0,Yn.jsxs)("div",{children:[(0,Yn.jsx)("h1",{children:s.purchase}),(0,Yn.jsx)("span",{className:"yoo-stats-text",children:(0,Zo.__)("Today","yooanalytics")})]}),(0,Yn.jsx)("div",{children:(0,Yn.jsx)("img",{src:s.purchase>0?e:t,alt:"Stats Trend"})})]})]})]}),(0,Yn.jsxs)(Oi.Flex,{className:"yoo-dashboard-logs",align:"start",children:[(0,Yn.jsx)(Oi.FlexItem,{style:{width:"310%"}}),(0,Yn.jsx)(Oi.Flex,{direction:"column",style:{width:"100%"},children:(0,Yn.jsx)(Oi.FlexItem,{style:{width:"100%"},children:(0,Yn.jsx)(Oi.Card,{className:"yoo-dashboard-cards yoo-search-engines-card",style:0===o.length?{backgroundColor:"#ffebee"}:void 0,children:0===o.length?(0,Yn.jsxs)("div",{className:"yoo-dashboard-card-no-results",children:[(0,Yn.jsx)("h1",{children:"🔍"}),(0,Yn.jsx)("h2",{children:(0,Zo.__)("No Search Engine data found!","yooanalytics")})]}):(0,Yn.jsxs)(React.Fragment,{children:[(0,Yn.jsx)(Oi.CardHeader,{children:(0,Yn.jsxs)("h2",{children:["🔍 ",(0,Zo.__)("Search Engines","yooanalytics")]})}),(0,Yn.jsx)(Oi.CardBody,{children:(0,Yn.jsx)("table",{width:"100%",children:Object.keys(o).map(((e,t)=>{let r=o[t].referer_url,n=(a=r).includes("google")?"Google":a.includes("bing")?"Bing":a.includes("yahoo")?"Yahoo":a.includes("duckduckgo")?"DuckDuckGo":a.includes("yandex")?"Yandex":a.includes("baidu")?"Baidu":"Other";var a;let i=o[t].count;return(0,Yn.jsxs)("tr",{title:r,children:[(0,Yn.jsxs)("td",{children:[(0,Yn.jsx)("img",{src:`${YooAnalytics.assetsURL}images/search-engines/${n}.png`}),n]}),(0,Yn.jsx)("td",{children:i})]})}))})})]},"0.1")})})})]})]})})},Fi=()=>(0,Yn.jsx)("div",{className:"yoo-body",children:(0,Yn.jsxs)("div",{className:"yoo-header",children:[(0,Yn.jsxs)("h1",{children:["⚒️ ",(0,Zo.__)("Coming Soon","yooanalytics")]}),(0,Yn.jsx)("p",{children:(0,Zo.__)("Get more control over settings.","yooanalytics")})]})}),zi=()=>(0,Yn.jsxs)("div",{className:"yoo-body",children:[(0,Yn.jsxs)("div",{className:"yoo-header",children:[(0,Yn.jsx)("h1",{children:(0,Zo.__)("About","yooanalytics")}),(0,Yn.jsx)("p",{children:(0,Zo.__)("This is about your System Status, Share with YooAnalytics Support if you are facing any issues.","yooanalytics")})]}),(0,Yn.jsx)("div",{className:"yoo-section",children:(0,Yn.jsxs)("ol",{children:[(0,Yn.jsx)("li",{children:(0,Zo.sprintf)((0,Zo.__)("You are using YooAnalytics Version %s","yooanalytics"),YooAnalytics.version)}),(0,Yn.jsx)("li",{children:(0,Zo.sprintf)((0,Zo.__)("You are using YooAnalytics %s","yooanalytics"),YooAnalytics.hasActiveValidLicense&&" Pro")}),(0,Yn.jsx)("li",{children:(0,Zo.sprintf)((0,Zo.__)("Your Rest URL is %s","yooanalytics"),YooAnalytics.restURL)}),(0,Yn.jsx)("li",{children:(0,Zo.sprintf)((0,Zo.__)("Your Admin URL is %s","yooanalytics"),YooAnalytics.adminURL)}),YooAnalytics.isWooCommerceActive&&(0,Yn.jsx)("li",{children:(0,Zo.__)("WooCommerce is active","yooanalytics")})]})})]}),Di=()=>(0,Yn.jsxs)(ni,{children:[(0,Yn.jsx)(ti,{path:"/",element:(0,Yn.jsx)(Bi,{})}),(0,Yn.jsx)(ti,{path:"/settings",element:(0,Yn.jsx)(Fi,{})}),(0,Yn.jsx)(ti,{path:"/about",element:(0,Yn.jsx)(zi,{})})]}),Wi=()=>(0,Yn.jsxs)("div",{className:"yoo-dashboard",children:[(0,Yn.jsx)(Pi,{}),(0,Yn.jsx)(Di,{}),(0,Yn.jsx)("div",{className:"clearfix"})]});o()((()=>{(0,a.createRoot)(document.getElementById("root")).render((0,Yn.jsx)(a.StrictMode,{children:(0,Yn.jsx)(ki,{children:(0,Yn.jsx)(Wi,{})})}))}))})();
     456`,Vo=o.forwardRef((function(e,t){const n=Gr({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:a={},className:i,...l}=n,[c,u]=o.useState([]),d=o.useRef(0),p=o.useRef(null);o.useEffect((()=>{p.current&&(p.current(),p.current=null)}),[c]);const f=o.useRef(!1),h=To(),m=o.useRef(null),g=o.useRef(null),y=o.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;u((e=>[...e,(0,Vr.jsx)(Wo,{classes:{ripple:s(a.ripple,Lo.ripple),rippleVisible:s(a.rippleVisible,Lo.rippleVisible),ripplePulsate:s(a.ripplePulsate,Lo.ripplePulsate),child:s(a.child,Lo.child),childLeaving:s(a.childLeaving,Lo.childLeaving),childPulsate:s(a.childPulsate,Lo.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},d.current)])),d.current+=1,p.current=i}),[a]),b=o.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:a=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e?.type&&f.current)return void(f.current=!1);"touchstart"===e?.type&&(f.current=!0);const s=i?null:g.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(a||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(a)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{y({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})},h.start(80,(()=>{m.current&&(m.current(),m.current=null)}))):y({pulsate:o,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[r,y,h]),v=o.useCallback((()=>{b({},{pulsate:!0})}),[b]),x=o.useCallback(((e,t)=>{if(h.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void h.start(0,(()=>{x(e,t)}));m.current=null,u((e=>e.length>0?e.slice(1):e)),p.current=t}),[h]);return o.useImperativeHandle(t,(()=>({pulsate:v,start:b,stop:x})),[v,b,x]),(0,Vr.jsx)(zo,{className:s(Lo.root,a.root,i),ref:g,...l,children:(0,Vr.jsx)(Po,{component:null,exit:!0,children:c})})})),Uo=Vo;function Go(e){return Xr("MuiButtonBase",e)}const Yo=Jr("MuiButtonBase",["root","disabled","focusVisible"]),Ko=Br("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${Yo.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function qo(e,t,n,r=!1){return go((o=>(n&&n(o),r||e[t](o),!0)))}const Xo=o.forwardRef((function(e,t){const n=Gr({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:a=!1,children:i,className:c,component:u="button",disabled:d=!1,disableRipple:p=!1,disableTouchRipple:f=!1,focusRipple:h=!1,focusVisibleClassName:m,LinkComponent:g="a",onBlur:y,onClick:b,onContextMenu:v,onDragLeave:x,onFocus:w,onFocusVisible:S,onKeyDown:C,onKeyUp:k,onMouseDown:E,onMouseLeave:R,onMouseUp:$,onTouchEnd:O,onTouchMove:P,onTouchStart:j,tabIndex:A=0,TouchRippleProps:T,touchRippleRef:I,type:N,..._}=n,M=o.useRef(null),D=vo.use(),L=fo(D.ref,I),[F,B]=o.useState(!1);d&&F&&B(!1),o.useImperativeHandle(r,(()=>({focusVisible:()=>{B(!0),M.current.focus()}})),[]);const H=D.shouldMount&&!p&&!d;o.useEffect((()=>{F&&h&&!p&&D.pulsate()}),[p,h,F,D]);const z=qo(D,"start",E,f),W=qo(D,"stop",v,f),V=qo(D,"stop",x,f),U=qo(D,"stop",$,f),G=qo(D,"stop",(e=>{F&&e.preventDefault(),R&&R(e)}),f),Y=qo(D,"start",j,f),K=qo(D,"stop",O,f),q=qo(D,"stop",P,f),X=qo(D,"stop",(e=>{ho(e.target)||B(!1),y&&y(e)}),!1),J=go((e=>{M.current||(M.current=e.currentTarget),ho(e.target)&&(B(!0),S&&S(e)),w&&w(e)})),Q=()=>{const e=M.current;return u&&"button"!==u&&!("A"===e.tagName&&e.href)},Z=go((e=>{h&&!e.repeat&&F&&" "===e.key&&D.stop(e,(()=>{D.start(e)})),e.target===e.currentTarget&&Q()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&Q()&&"Enter"===e.key&&!d&&(e.preventDefault(),b&&b(e))})),ee=go((e=>{h&&" "===e.key&&F&&!e.defaultPrevented&&D.stop(e,(()=>{D.pulsate(e)})),k&&k(e),b&&e.target===e.currentTarget&&Q()&&" "===e.key&&!e.defaultPrevented&&b(e)}));let te=u;"button"===te&&(_.href||_.to)&&(te=g);const ne={};"button"===te?(ne.type=void 0===N?"button":N,ne.disabled=d):(_.href||_.to||(ne.role="button"),d&&(ne["aria-disabled"]=d));const re=fo(t,M),oe={...n,centerRipple:a,component:u,disabled:d,disableRipple:p,disableTouchRipple:f,focusRipple:h,tabIndex:A,focusVisible:F},ae=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=l({root:["root",t&&"disabled",n&&"focusVisible"]},Go,o);return n&&r&&(a.root+=` ${r}`),a})(oe);return(0,Vr.jsxs)(Ko,{as:te,className:s(ae.root,c),ownerState:oe,onBlur:X,onClick:b,onContextMenu:W,onFocus:J,onKeyDown:Z,onKeyUp:ee,onMouseDown:z,onMouseLeave:G,onMouseUp:U,onDragLeave:V,onTouchEnd:K,onTouchMove:q,onTouchStart:Y,ref:re,tabIndex:d?-1:A,type:N,...ne,..._,children:[i,H?(0,Vr.jsx)(Uo,{ref:L,center:a,...T}):null]})}));function Jo(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function Qo(e){return Xr("MuiChip",e)}const Zo=Jr("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ea=Br("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:a,onDelete:i,size:s,variant:l}=n;return[{[`& .${Zo.avatar}`]:t.avatar},{[`& .${Zo.avatar}`]:t[`avatar${d(s)}`]},{[`& .${Zo.avatar}`]:t[`avatarColor${d(r)}`]},{[`& .${Zo.icon}`]:t.icon},{[`& .${Zo.icon}`]:t[`icon${d(s)}`]},{[`& .${Zo.icon}`]:t[`iconColor${d(o)}`]},{[`& .${Zo.deleteIcon}`]:t.deleteIcon},{[`& .${Zo.deleteIcon}`]:t[`deleteIcon${d(s)}`]},{[`& .${Zo.deleteIcon}`]:t[`deleteIconColor${d(r)}`]},{[`& .${Zo.deleteIcon}`]:t[`deleteIcon${d(l)}Color${d(r)}`]},t.root,t[`size${d(s)}`],t[`color${d(r)}`],a&&t.clickable,a&&"default"!==r&&t[`clickableColor${d(r)})`],i&&t.deletable,i&&"default"!==r&&t[`deletableColor${d(r)}`],t[l],t[`${l}${d(r)}`]]}})(zr((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Zo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Zo.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Zo.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Zo.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Zo.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Zo.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Zo.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:hn(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:hn(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Zo.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Zo.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(Jo(["contrastText"])).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${Zo.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:hn(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}}))),{props:e=>e.iconColor===e.color,style:{[`& .${Zo.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${Zo.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Zo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:hn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(Jo(["dark"])).map((([t])=>({props:{color:t,onDelete:!0},style:{[`&.${Zo.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}}))),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:hn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Zo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:hn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(Jo(["dark"])).map((([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${Zo.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}}))),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Zo.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Zo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Zo.avatar}`]:{marginLeft:4},[`& .${Zo.avatarSmall}`]:{marginLeft:2},[`& .${Zo.icon}`]:{marginLeft:4},[`& .${Zo.iconSmall}`]:{marginLeft:2},[`& .${Zo.deleteIcon}`]:{marginRight:5},[`& .${Zo.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(Jo()).map((([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:hn(e.palette[t].main,.7)}`,[`&.${Zo.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:hn(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${Zo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:hn(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${Zo.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:hn(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}})))]}}))),ta=Br("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${d(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function na(e){return"Backspace"===e.key||"Delete"===e.key}const ra=o.forwardRef((function(e,t){const n=Gr({props:e,name:"MuiChip"}),{avatar:r,className:a,clickable:i,color:c="default",component:u,deleteIcon:p,disabled:f=!1,icon:h,label:m,onClick:g,onDelete:y,onKeyDown:b,onKeyUp:v,size:x="medium",variant:w="filled",tabIndex:S,skipFocusWhenDisabled:C=!1,...k}=n,E=o.useRef(null),R=fo(E,t),$=e=>{e.stopPropagation(),y&&y(e)},O=!(!1===i||!g)||i,P=O||y?Xo:u||"div",j={...n,component:P,disabled:f,size:x,color:c,iconColor:o.isValidElement(h)&&h.props.color||c,onDelete:!!y,clickable:O,variant:w},A=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:a,onDelete:i,clickable:s,variant:c}=e;return l({root:["root",c,n&&"disabled",`size${d(r)}`,`color${d(o)}`,s&&"clickable",s&&`clickableColor${d(o)}`,i&&"deletable",i&&`deletableColor${d(o)}`,`${c}${d(o)}`],label:["label",`label${d(r)}`],avatar:["avatar",`avatar${d(r)}`,`avatarColor${d(o)}`],icon:["icon",`icon${d(r)}`,`iconColor${d(a)}`],deleteIcon:["deleteIcon",`deleteIcon${d(r)}`,`deleteIconColor${d(o)}`,`deleteIcon${d(c)}Color${d(o)}`]},Qo,t)})(j),T=P===Xo?{component:u||"div",focusVisibleClassName:A.focusVisible,...y&&{disableRipple:!0}}:{};let I=null;y&&(I=p&&o.isValidElement(p)?o.cloneElement(p,{className:s(p.props.className,A.deleteIcon),onClick:$}):(0,Vr.jsx)(co,{className:s(A.deleteIcon),onClick:$}));let N=null;r&&o.isValidElement(r)&&(N=o.cloneElement(r,{className:s(A.avatar,r.props.className)}));let _=null;return h&&o.isValidElement(h)&&(_=o.cloneElement(h,{className:s(A.icon,h.props.className)})),(0,Vr.jsxs)(ea,{as:P,className:s(A.root,a),disabled:!(!O||!f)||void 0,onClick:g,onKeyDown:e=>{e.currentTarget===e.target&&na(e)&&e.preventDefault(),b&&b(e)},onKeyUp:e=>{e.currentTarget===e.target&&y&&na(e)&&y(e),v&&v(e)},ref:R,tabIndex:C&&f?-1:S,ownerState:j,...T,...k,children:[N||_,(0,Vr.jsx)(ta,{className:s(A.label),ownerState:j,children:m}),I]})})),oa=window.wp.i18n;n(69);var aa="popstate";function ia(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:a=!1}=r,i=o.history,s="POP",l=null,c=u();function u(){return(i.state||{idx:null}).idx}function d(){s="POP";let e=u(),t=null==e?null:e-c;c=e,l&&l({action:s,location:f.location,delta:t})}function p(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:da(e);return n=n.replace(/ $/,"%20"),sa(t,`No window.location.(origin|href) available to create URL for href: ${n}`),new URL(n,t)}null==c&&(c=0,i.replaceState({...i.state,idx:c},""));let f={get action(){return s},get location(){return e(o,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(aa,d),l=e,()=>{o.removeEventListener(aa,d),l=null}},createHref:e=>t(o,e),createURL:p,encodeLocation(e){let t=p(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s="PUSH";let r=ua(f.location,e,t);n&&n(r,e),c=u()+1;let d=ca(r,c),p=f.createHref(r);try{i.pushState(d,"",p)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(p)}a&&l&&l({action:s,location:f.location,delta:1})},replace:function(e,t){s="REPLACE";let r=ua(f.location,e,t);n&&n(r,e),c=u();let o=ca(r,c),d=f.createHref(r);i.replaceState(o,"",d),a&&l&&l({action:s,location:f.location,delta:0})},go:e=>i.go(e)};return f}((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=pa(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),ua("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:da(t))}),(function(e,t){la("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}),e)}function sa(e,t){if(!1===e||null==e)throw new Error(t)}function la(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function ca(e,t){return{usr:e.state,key:e.key,idx:t}}function ua(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?pa(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function da({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function pa(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function fa(e,t,n="/"){return function(e,t,n,r){let o=$a(("string"==typeof t?pa(t):t).pathname||"/",n);if(null==o)return null;let a=ha(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let i=null;for(let e=0;null==i&&e<a.length;++e){let t=Ra(o);i=ka(a[e],t,r)}return i}(e,t,n,!1)}function ha(e,t=[],n=[],r=""){let o=(e,o,a)=>{let i={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(sa(i.relativePath.startsWith(r),`Absolute route path "${i.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),i.relativePath=i.relativePath.slice(r.length));let s=Aa([r,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(sa(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),ha(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:Ca(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of ma(e.path))o(e,t,n);else o(e,t)})),t}function ma(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return o?[a,""]:[a];let i=ma(r.join("/")),s=[];return s.push(...i.map((e=>""===e?a:[a,e].join("/")))),o&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}var ga=/^:[\w-]+$/,ya=3,ba=2,va=1,xa=10,wa=-2,Sa=e=>"*"===e;function Ca(e,t){let n=e.split("/"),r=n.length;return n.some(Sa)&&(r+=wa),t&&(r+=ba),n.filter((e=>!Sa(e))).reduce(((e,t)=>e+(ga.test(t)?ya:""===t?va:xa)),r)}function ka(e,t,n=!1){let{routesMeta:r}=e,o={},a="/",i=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===a?t:t.slice(a.length)||"/",u=Ea({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),d=s.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=Ea({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!u)return null;Object.assign(o,u.params),i.push({params:o,pathname:Aa([a,u.pathname]),pathnameBase:Ta(Aa([a,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(a=Aa([a,u.pathnameBase]))}return i}function Ea(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){la("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function Ra(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return la(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function $a(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function Oa(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function Pa(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase))}function ja(e,t,n,r=!1){let o;"string"==typeof e?o=pa(e):(o={...e},sa(!o.pathname||!o.pathname.includes("?"),Oa("?","pathname","search",o)),sa(!o.pathname||!o.pathname.includes("#"),Oa("#","pathname","hash",o)),sa(!o.search||!o.search.includes("#"),Oa("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t="/"){let{pathname:n,search:r="",hash:o=""}="string"==typeof e?pa(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:Ia(r),hash:Na(o)}}(o,a),c=s&&"/"!==s&&s.endsWith("/"),u=(i||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}var Aa=e=>e.join("/").replace(/\/\/+/g,"/"),Ta=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Ia=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",Na=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function _a(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var Ma=["POST","PUT","PATCH","DELETE"],Da=(new Set(Ma),["GET",...Ma]);new Set(Da),Symbol("ResetLoaderData");var La=o.createContext(null);La.displayName="DataRouter";var Fa=o.createContext(null);Fa.displayName="DataRouterState";var Ba=o.createContext({isTransitioning:!1});Ba.displayName="ViewTransition",o.createContext(new Map).displayName="Fetchers",o.createContext(null).displayName="Await";var Ha=o.createContext(null);Ha.displayName="Navigation";var za=o.createContext(null);za.displayName="Location";var Wa=o.createContext({outlet:null,matches:[],isDataRoute:!1});Wa.displayName="Route";var Va=o.createContext(null);function Ua(){return null!=o.useContext(za)}function Ga(){return sa(Ua(),"useLocation() may be used only in the context of a <Router> component."),o.useContext(za).location}Va.displayName="RouteError";var Ya="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ka(e){o.useContext(Ha).static||o.useLayoutEffect(e)}function qa(){let{isDataRoute:e}=o.useContext(Wa);return e?function(){let{router:e}=function(e){let t=o.useContext(La);return sa(t,ni(e)),t}("useNavigate"),t=ri("useNavigate"),n=o.useRef(!1);return Ka((()=>{n.current=!0})),o.useCallback((async(r,o={})=>{la(n.current,Ya),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...o}))}),[e,t])}():function(){sa(Ua(),"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(La),{basename:t,navigator:n}=o.useContext(Ha),{matches:r}=o.useContext(Wa),{pathname:a}=Ga(),i=JSON.stringify(Pa(r)),s=o.useRef(!1);return Ka((()=>{s.current=!0})),o.useCallback(((r,o={})=>{if(la(s.current,Ya),!s.current)return;if("number"==typeof r)return void n.go(r);let l=ja(r,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:Aa([t,l.pathname])),(o.replace?n.replace:n.push)(l,o.state,o)}),[t,n,i,a,e])}()}function Xa(e,{relative:t}={}){let{matches:n}=o.useContext(Wa),{pathname:r}=Ga(),a=JSON.stringify(Pa(n));return o.useMemo((()=>ja(e,JSON.parse(a),r,"path"===t)),[e,a,r,t])}function Ja(e,t,n,r){sa(Ua(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=o.useContext(Ha),{matches:i}=o.useContext(Wa),s=i[i.length-1],l=s?s.params:{},c=s?s.pathname:"/",u=s?s.pathnameBase:"/",d=s&&s.route;{let e=d&&d.path||"";ai(c,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let p,f=Ga();if(t){let e="string"==typeof t?pa(t):t;sa("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),p=e}else p=f;let h=p.pathname||"/",m=h;if("/"!==u){let e=u.replace(/^\//,"").split("/");m="/"+h.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=fa(e,{pathname:m});la(d||null!=g,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),la(null==g||void 0!==g[g.length-1].route.element||void 0!==g[g.length-1].route.Component||void 0!==g[g.length-1].route.lazy,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let y=function(e,t=[],n=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let r=e,a=n?.errors;if(null!=a){let e=r.findIndex((e=>e.route.id&&void 0!==a?.[e.route.id]));sa(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),r=r.slice(0,Math.min(r.length,e+1))}let i=!1,s=-1;if(n)for(let e=0;e<r.length;e++){let t=r[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:o}=n,a=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!o||void 0===o[t.route.id]);if(t.route.lazy||a){i=!0,r=s>=0?r.slice(0,s+1):[r[0]];break}}}return r.reduceRight(((e,l,c)=>{let u,d=!1,p=null,f=null;n&&(u=a&&l.route.id?a[l.route.id]:void 0,p=l.route.errorElement||Za,i&&(s<0&&0===c?(ai("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,f=null):s===c&&(d=!0,f=l.route.hydrateFallbackElement||null)));let h=t.concat(r.slice(0,c+1)),m=()=>{let t;return t=u?p:d?f:l.route.Component?o.createElement(l.route.Component,null):l.route.element?l.route.element:e,o.createElement(ti,{match:l,routeContext:{outlet:e,matches:h,isDataRoute:null!=n},children:t})};return n&&(l.route.ErrorBoundary||l.route.errorElement||0===c)?o.createElement(ei,{location:n.location,revalidation:n.revalidation,component:p,error:u,children:m(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):m()}),null)}(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:Aa([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:Aa([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),i,n,r);return t&&y?o.createElement(za.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},y):y}function Qa(){let e=function(){let e=o.useContext(Va),t=function(e){let t=o.useContext(Fa);return sa(t,ni(e)),t}("useRouteError"),n=ri("useRouteError");return void 0!==e?e:t.errors?.[n]}(),t=_a(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=o.createElement(o.Fragment,null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,s)}o.createContext(null);var Za=o.createElement(Qa,null),ei=class extends o.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?o.createElement(Wa.Provider,{value:this.props.routeContext},o.createElement(Va.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ti({routeContext:e,match:t,children:n}){let r=o.useContext(La);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),o.createElement(Wa.Provider,{value:e},n)}function ni(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ri(e){let t=function(e){let t=o.useContext(Wa);return sa(t,ni(e)),t}(e),n=t.matches[t.matches.length-1];return sa(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var oi={};function ai(e,t,n){t||oi[e]||(oi[e]=!0,la(!1,n))}function ii(e){sa(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function si({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1}){sa(!Ua(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=o.useMemo((()=>({basename:s,navigator:a,static:i,future:{}})),[s,a,i]);"string"==typeof n&&(n=pa(n));let{pathname:c="/",search:u="",hash:d="",state:p=null,key:f="default"}=n,h=o.useMemo((()=>{let e=$a(c,s);return null==e?null:{location:{pathname:e,search:u,hash:d,state:p,key:f},navigationType:r}}),[s,c,u,d,p,f,r]);return la(null!=h,`<Router basename="${s}"> is not able to match the URL "${c}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),null==h?null:o.createElement(Ha.Provider,{value:l},o.createElement(za.Provider,{children:t,value:h}))}function li({children:e,location:t}){return Ja(ci(e),t)}function ci(e,t=[]){let n=[];return o.Children.forEach(e,((e,r)=>{if(!o.isValidElement(e))return;let a=[...t,r];if(e.type===o.Fragment)return void n.push.apply(n,ci(e.props.children,a));sa(e.type===ii,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),sa(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=ci(e.props.children,a)),n.push(i)})),n}o.memo((function({routes:e,future:t,state:n}){return Ja(e,void 0,n,t)})),o.Component;var ui="get",di="application/x-www-form-urlencoded";function pi(e){return null!=e&&"string"==typeof e.tagName}var fi=null,hi=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function mi(e){return null==e||hi.has(e)?e:(la(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${di}"`),null)}function gi(e,t){if(!1===e||null==e)throw new Error(t)}function yi(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function bi(e,t,n,r,o,a){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter(((e,t)=>i(e,t)||s(e,t))):"data"===a?t.filter(((t,a)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0})):[]}function vi(){let e=o.useContext(La);return gi(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function xi(){let e=o.useContext(Fa);return gi(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Symbol("SingleFetchRedirect"),o.Component;var wi=o.createContext(void 0);function Si(){let e=o.useContext(wi);return gi(e,"You must render this element inside a <HydratedRouter> element"),e}function Ci(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function ki({page:e,...t}){let{router:n}=vi(),r=o.useMemo((()=>fa(n.routes,e,n.basename)),[n.routes,e,n.basename]);return r?o.createElement(Ri,{page:e,matches:r,...t}):null}function Ei(e){let{manifest:t,routeModules:n}=Si(),[r,a]=o.useState([]);return o.useEffect((()=>{let r=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce(((e,o)=>{if(t&&(null==(a=o)||"string"!=typeof a.page)&&"script"===o.as&&o.href&&r.has(o.href))return e;var a;let i=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(i)||(n.add(i),e.push({key:i,link:o})),e}),[])}((await Promise.all(e.map((async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(r,n);return e.links?e.links():[]}return[]})))).flat(1).filter(yi).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,t,n).then((e=>{r||a(e)})),()=>{r=!0}}),[e,t,n]),r}function Ri({page:e,matches:t,...n}){let r=Ga(),{manifest:a,routeModules:i}=Si(),{loaderData:s,matches:l}=xi(),c=o.useMemo((()=>bi(e,t,l,a,r,"data")),[e,t,l,a,r]),u=o.useMemo((()=>bi(e,t,l,a,r,"assets")),[e,t,l,a,r]),d=o.useMemo((()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,o=!1;if(t.forEach((e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!c.some((t=>t.route.id===e.route.id))&&e.route.id in s&&i[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:n.add(e.route.id))})),0===n.size)return[];let l=function(e){let t="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}(e);return o&&n.size>0&&l.searchParams.set("_routes",t.filter((e=>n.has(e.route.id))).map((e=>e.route.id)).join(",")),[l.pathname+l.search]}),[s,r,a,c,t,e,i]),p=o.useMemo((()=>function(e,t){return n=e.map((e=>{let n=t.routes[e.route.id];if(!n)return[];let r=[n.module];return n.imports&&(r=r.concat(n.imports)),r})).flat(1),[...new Set(n)];var n}(u,a)),[u,a]),f=Ei(u);return o.createElement(o.Fragment,null,d.map((e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n}))),p.map((e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...n}))),f.map((({key:e,link:t})=>o.createElement("link",{key:e,...t}))))}wi.displayName="FrameworkContext";function $i(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}var Oi="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Oi&&(window.__reactRouterVersion="7.1.3")}catch(e){}function Pi({basename:e,children:t,window:n}){let r=o.useRef();null==r.current&&(r.current=ia({window:n,v5Compat:!0}));let a=r.current,[i,s]=o.useState({action:a.action,location:a.location}),l=o.useCallback((e=>{o.startTransition((()=>s(e)))}),[s]);return o.useLayoutEffect((()=>a.listen(l)),[a,l]),o.createElement(si,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a})}var ji=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ai=o.forwardRef((function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:a,replace:i,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d,...p},f){let h,{basename:m}=o.useContext(Ha),g="string"==typeof c&&ji.test(c),y=!1;if("string"==typeof c&&g&&(h=c,Oi))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=$a(t.pathname,m);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:y=!0}catch(e){la(!1,`<Link to="${c}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let b=function(e,{relative:t}={}){sa(Ua(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=o.useContext(Ha),{hash:a,pathname:i,search:s}=Xa(e,{relative:t}),l=i;return"/"!==n&&(l="/"===i?n:Aa([n,i])),r.createHref({pathname:l,search:s,hash:a})}(c,{relative:r}),[v,x,w]=function(e,t){let n=o.useContext(wi),[r,a]=o.useState(!1),[i,s]=o.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:p}=t,f=o.useRef(null);o.useEffect((()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{s(e.isIntersecting)}))}),{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}}),[e]),o.useEffect((()=>{if(r){let e=setTimeout((()=>{s(!0)}),100);return()=>{clearTimeout(e)}}}),[r]);let h=()=>{a(!0)},m=()=>{a(!1),s(!1)};return n?"intent"!==e?[i,f,{}]:[i,f,{onFocus:Ci(l,h),onBlur:Ci(c,m),onMouseEnter:Ci(u,h),onMouseLeave:Ci(d,m),onTouchStart:Ci(p,h)}]:[!1,f,{}]}(n,p),S=function(e,{target:t,replace:n,state:r,preventScrollReset:a,relative:i,viewTransition:s}={}){let l=qa(),c=Ga(),u=Xa(e,{relative:i});return o.useCallback((o=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(o,t)){o.preventDefault();let t=void 0!==n?n:da(c)===da(u);l(e,{replace:t,state:r,preventScrollReset:a,relative:i,viewTransition:s})}}),[c,l,u,n,r,t,e,a,i,s])}(c,{replace:i,state:s,target:l,preventScrollReset:u,relative:r,viewTransition:d}),C=o.createElement("a",{...p,...w,href:h||b,onClick:y||a?e:function(t){e&&e(t),t.defaultPrevented||S(t)},ref:$i(f,x),target:l,"data-discover":g||"render"!==t?void 0:"true"});return v&&!g?o.createElement(o.Fragment,null,C,o.createElement(ki,{page:b})):C}));Ai.displayName="Link";var Ti=o.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:a,to:i,viewTransition:s,children:l,...c},u){let d=Xa(i,{relative:c.relative}),p=Ga(),f=o.useContext(Fa),{navigator:h,basename:m}=o.useContext(Ha),g=null!=f&&function(e,t={}){let n=o.useContext(Ba);sa(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Ii("useViewTransitionState"),a=Xa(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=$a(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=$a(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=Ea(a.pathname,s)||null!=Ea(a.pathname,i)}(d)&&!0===s,y=h.encodeLocation?h.encodeLocation(d).pathname:d.pathname,b=p.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(b=b.toLowerCase(),v=v?v.toLowerCase():null,y=y.toLowerCase()),v&&m&&(v=$a(v,m)||v);const x="/"!==y&&y.endsWith("/")?y.length-1:y.length;let w,S=b===y||!r&&b.startsWith(y)&&"/"===b.charAt(x),C=null!=v&&(v===y||!r&&v.startsWith(y)&&"/"===v.charAt(y.length)),k={isActive:S,isPending:C,isTransitioning:g},E=S?e:void 0;w="function"==typeof n?n(k):[n,S?"active":null,C?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof a?a(k):a;return o.createElement(Ai,{...c,"aria-current":E,className:w,ref:u,style:R,to:i,viewTransition:s},"function"==typeof l?l(k):l)}));function Ii(e){let t=o.useContext(La);return sa(t,function(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}Ti.displayName="NavLink",o.forwardRef((({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:i,method:s=ui,action:l,onSubmit:c,relative:u,preventScrollReset:d,viewTransition:p,...f},h)=>{let m=function(){let{router:e}=Ii("useSubmit"),{basename:t}=o.useContext(Ha),n=ri("useRouteId");return o.useCallback((async(r,o={})=>{let{action:a,method:i,encType:s,formData:l,body:c}=function(e,t){let n,r,o,a,i;if(pi(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?$a(i,t):null,n=e.getAttribute("method")||ui,o=mi(e.getAttribute("enctype"))||di,a=new FormData(e)}else if(function(e){return pi(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return pi(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(r=s?$a(s,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||ui,o=mi(e.getAttribute("formenctype"))||mi(i.getAttribute("enctype"))||di,a=new FormData(i,e),!function(){if(null===fi)try{new FormData(document.createElement("form"),0),fi=!1}catch(e){fi=!0}return fi}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,r)}}else{if(pi(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=ui,r=null,o=di,i=e}var s;return a&&"text/plain"===o&&(i=a,a=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:a,body:i}}(r,t);if(!1===o.navigate){let t=o.fetcherKey||_i();await e.fetch(t,n,o.action||a,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||i,formEncType:o.encType||s,flushSync:o.flushSync})}else await e.navigate(o.action||a,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||i,formEncType:o.encType||s,replace:o.replace,state:o.state,fromRouteId:n,flushSync:o.flushSync,viewTransition:o.viewTransition})}),[e,t,n])}(),g=function(e,{relative:t}={}){let{basename:n}=o.useContext(Ha),r=o.useContext(Wa);sa(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),i={...Xa(e||".",{relative:t})},s=Ga();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let n=e.toString();i.search=n?`?${n}`:""}}return e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),"/"!==n&&(i.pathname="/"===i.pathname?n:Aa([n,i.pathname])),da(i)}(l,{relative:u}),y="get"===s.toLowerCase()?"get":"post",b="string"==typeof l&&ji.test(l);return o.createElement("form",{ref:h,method:y,action:g,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,o=r?.getAttribute("formmethod")||s;m(r||e.currentTarget,{fetcherKey:t,method:o,navigate:n,replace:a,state:i,relative:u,preventScrollReset:d,viewTransition:p})},...f,"data-discover":b||"render"!==e?void 0:"true"})})).displayName="Form";var Ni=0,_i=()=>`__${String(++Ni)}__`;new TextEncoder;const Mi=()=>(0,Vr.jsxs)("div",{className:"yoo-menu",children:[(0,Vr.jsxs)("div",{className:"yoo-logo",children:[(0,Vr.jsx)(Ai,{to:"/",children:(0,Vr.jsx)("img",{src:`${YooAnalytics.assetsURL}images/logo.png`,alt:"YooAnalytics Logo",width:190})}),(0,Vr.jsx)("div",{children:(0,Vr.jsx)(ra,{label:`v${YooAnalytics.version}`,className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"})})]}),(0,Vr.jsxs)("div",{className:"yoo-menu-items-container",children:[(0,Vr.jsx)("div",{children:(0,Vr.jsxs)(Ti,{to:"/",className:"yoo-menu-item",children:[(0,Vr.jsx)(ro,{className:"yoo-menu-icon"}),(0,Vr.jsx)("span",{className:"yoo-menu-text",children:(0,oa.__)("Dashboard","yooanalytics")})]})}),(0,Vr.jsx)("div",{children:(0,Vr.jsxs)(Ai,{to:"javascript:void(0)",className:"yoo-menu-item disabled",children:[(0,Vr.jsx)(oo,{className:"yoo-menu-icon"}),(0,Vr.jsxs)("span",{className:"yoo-menu-text",children:[(0,oa.__)("Realtime","yooanalytics")," ",(0,Vr.jsx)(ra,{label:"⚒️ Coming Soon",className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"}),(0,Vr.jsx)("div",{className:"clearfix"})]})]})}),(0,Vr.jsx)("div",{children:(0,Vr.jsxs)(Ai,{to:"javascript:void(0)",className:"yoo-menu-item disabled",children:[(0,Vr.jsx)(ao,{className:"yoo-menu-icon"}),(0,Vr.jsxs)("span",{className:"yoo-menu-text",children:[(0,oa.__)("Countries","yooanalytics")," ",(0,Vr.jsx)(ra,{label:"⚒️ Coming Soon",className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"}),(0,Vr.jsx)("div",{className:"clearfix"})]})]})}),YooAnalytics.isWooCommerceActive&&(0,Vr.jsx)("div",{children:(0,Vr.jsxs)(Ai,{to:"javascript:void(0)",className:"yoo-menu-item disabled",title:"WooCommerce Purchase Journey",children:[(0,Vr.jsx)("img",{src:`${YooAnalytics.assetsURL}images/woocommerce-logo.svg`,className:"yoo-menu-icon",width:24,alt:"WooCommerce Logo"}),(0,Vr.jsxs)("span",{className:"yoo-menu-text",children:[(0,oa.__)("Purchase","yooanalytics")," ",(0,Vr.jsx)(ra,{label:"⚒️ Coming Soon",className:"yoo-coming-soon-chip",color:"primary",size:"small",variant:"outlined"}),(0,Vr.jsx)("div",{className:"clearfix"})]})]})}),(0,Vr.jsx)("div",{children:(0,Vr.jsxs)(Ti,{to:"/settings",className:"yoo-menu-item",children:[(0,Vr.jsx)(io,{className:"yoo-menu-icon"}),(0,Vr.jsx)("span",{className:"yoo-menu-text",children:(0,oa.__)("Settings","yooanalytics")})]})}),(0,Vr.jsx)("div",{children:(0,Vr.jsxs)("a",{href:"https://yooanalytics.com/contact-us/?utm_source=plugin&utm_medium=menu&utm_campaign=Support",target:"_blank",className:"yoo-menu-item",children:[(0,Vr.jsx)(so,{className:"yoo-menu-icon"}),(0,Vr.jsx)("span",{className:"yoo-menu-text",children:(0,oa.__)("Support","yooanalytics")})]})}),(0,Vr.jsx)("div",{children:(0,Vr.jsxs)(Ti,{to:"/about",className:"yoo-menu-item",children:[(0,Vr.jsx)(lo,{className:"yoo-menu-icon"}),(0,Vr.jsx)("span",{className:"yoo-menu-text",children:(0,oa.__)("About","yooanalytics")})]})}),YooAnalytics.hasActiveValidLicense?"":(0,Vr.jsx)("div",{className:"yoo-menu-pro",children:(0,Vr.jsxs)("a",{href:"https://www.yooanalytics.com/?utm_source=plugin&utm_medium=menu&utm_campaign=Get+YooAnalytics+Pro",target:"_blank",className:"yoo-menu-item yoo-get-pro",children:[(0,Vr.jsx)("img",{src:`${YooAnalytics.assetsURL}images/pro.png`,alt:"YooAnalytics Get Pro"}),(0,Vr.jsx)("span",{className:"yoo-menu-text",children:(0,Vr.jsx)("b",{children:(0,oa.__)("Get YooAnalytics Pro","yooanalytics")})})]})})]})]}),Di=window.wp.components,Li=o.createContext({});function Fi({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:a,direction:i,duration:s,enableAnimation:l=!0,customHighlightBackground:c}){const u={};return"rtl"===i&&(u["--animation-direction"]="reverse"),"number"==typeof s&&(u["--animation-duration"]=`${s}s`),l||(u["--pseudo-element-display"]="none"),"string"!=typeof n&&"number"!=typeof n||(u.width=n),"string"!=typeof r&&"number"!=typeof r||(u.height=r),"string"!=typeof o&&"number"!=typeof o||(u.borderRadius=o),a&&(u.borderRadius="50%"),void 0!==e&&(u["--base-color"]=e),void 0!==t&&(u["--highlight-color"]=t),"string"==typeof c&&(u["--custom-highlight-background"]=c),u}function Bi({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:a,circle:i=!1,style:s,...l}){var c,u,d;const p=o.useContext(Li),f={...l};for(const[e,t]of Object.entries(l))void 0===t&&delete f[e];const h={...p,...f,circle:i},m={...s,...Fi(h)};let g="react-loading-skeleton";n&&(g+=` ${n}`);const y=null!==(c=h.inline)&&void 0!==c&&c,b=[],v=Math.ceil(e);for(let t=0;t<v;t++){let n=m;if(v>e&&t===v-1){const t=null!==(u=n.width)&&void 0!==u?u:"100%",r=e%1,o="number"==typeof t?t*r:`calc(${t} * ${r})`;n={...n,width:o}}const r=o.createElement("span",{className:g,style:n,key:t},"‌");y?b.push(r):b.push(o.createElement(o.Fragment,{key:t},r,o.createElement("br",null)))}return o.createElement("span",{className:r,"data-testid":a,"aria-live":"polite","aria-busy":null===(d=h.enableAnimation)||void 0===d||d},t?b.map(((e,n)=>o.createElement(t,{key:n},e))):b)}const Hi=e=>(0,Vr.jsx)(Bi,{baseColor:"#FAFAFA",count:e.count,height:e.height,width:e.width,className:e.className}),zi={"X-WP-Nonce":YooAnalytics.nonce};var Wi=n(757);const Vi=({columns:e,data:t})=>(0,Vr.jsx)(Wi.Ay,{columns:e,data:t,responsive:!0,highlightOnHover:!0,pagination:!0}),Ui=o.createContext(),Gi=()=>o.useContext(Ui)??!1;function Yi(e){return parseInt(o.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Ki=Zt(),qi=function(e=Ki){return function(e=null){const t=o.useContext(Ie);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}(e)};function Xi(){const e=qi(Dr);return e[Lr]||e}const Ji=window.ReactDOM;var Qi=n.n(Ji);var Zi="unmounted",es="exited",ts="entering",ns="entered",rs="exiting",os=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=es,r.appearStatus=ts):o=ns:o=t.unmountOnExit||t.mountOnEnter?Zi:es,r.state={status:o},r.nextCallback=null,r}So(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Zi?{status:es}: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!==ts&&n!==ns&&(t=ts):n!==ts&&n!==ns||(t=rs)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ts){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Qi().findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===es&&this.setState({status:Zi})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[Qi().findDOMNode(this),r],a=o[0],i=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:ts},(function(){t.props.onEntering(a,i),t.onTransitionEnd(l,(function(){t.safeSetState({status:ns},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:ns},(function(){t.props.onEntered(a)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Qi().findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:rs},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:es},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:es},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(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:Qi().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Zi)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,xo(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(Co.Provider,{value:null},"function"==typeof n?n(e,r):a().cloneElement(a().Children.only(n),r))},t}(a().Component);function as(){}os.contextType=Co,os.propTypes={},os.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:as,onEntering:as,onEntered:as,onExit:as,onExiting:as,onExited:as},os.UNMOUNTED=Zi,os.EXITED=es,os.ENTERING=ts,os.ENTERED=ns,os.EXITING=rs;const is=os;function ss(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:o.transitionDelay}}function ls(e){return`scale(${e}, ${e**2})`}const cs={entering:{opacity:1,transform:ls(1)},entered:{opacity:1,transform:"none"}},us="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ds=o.forwardRef((function(e,t){const{addEndListener:n,appear:r=!0,children:a,easing:i,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:f,style:h,timeout:m="auto",TransitionComponent:g=is,...y}=e,b=To(),v=o.useRef(),x=Xi(),w=o.useRef(null),S=fo(w,Yi(a),t),C=e=>t=>{if(e){const n=w.current;void 0===t?e(n):e(n,t)}},k=C(u),E=C(((e,t)=>{(e=>{e.scrollTop})(e);const{duration:n,delay:r,easing:o}=ss({style:h,timeout:m,easing:i},{mode:"enter"});let a;"auto"===m?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:r}),x.transitions.create("transform",{duration:us?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)})),R=C(c),$=C(f),O=C((e=>{const{duration:t,delay:n,easing:r}=ss({style:h,timeout:m,easing:i},{mode:"exit"});let o;"auto"===m?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:us?o:.666*o,delay:us?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=ls(.75),d&&d(e)})),P=C(p);return(0,Vr.jsx)(g,{appear:r,in:s,nodeRef:w,onEnter:E,onEntered:R,onEntering:k,onExit:O,onExited:P,onExiting:$,addEndListener:e=>{"auto"===m&&b.start(v.current||0,e),n&&n(w.current,e)},timeout:"auto"===m?null:m,...y,children:(e,{ownerState:t,...n})=>o.cloneElement(a,{style:{opacity:0,transform:ls(.75),visibility:"exited"!==e||s?void 0:"hidden",...cs[e],...h,...a.props.style},ref:S,...n})})}));ds&&(ds.muiSupportAuto=!0);const ps=ds;function fs(e){return e&&e.ownerDocument||document}function hs(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ms(e){return e instanceof hs(e).Element||e instanceof Element}function gs(e){return e instanceof hs(e).HTMLElement||e instanceof HTMLElement}function ys(e){return"undefined"!=typeof ShadowRoot&&(e instanceof hs(e).ShadowRoot||e instanceof ShadowRoot)}var bs=Math.max,vs=Math.min,xs=Math.round;function ws(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Ss(){return!/^((?!chrome|android).)*safari/i.test(ws())}function Cs(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&gs(e)&&(o=e.offsetWidth>0&&xs(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&xs(r.height)/e.offsetHeight||1);var i=(ms(e)?hs(e):window).visualViewport,s=!Ss()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/o,c=(r.top+(s&&i?i.offsetTop:0))/a,u=r.width/o,d=r.height/a;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function ks(e){var t=hs(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Es(e){return e?(e.nodeName||"").toLowerCase():null}function Rs(e){return((ms(e)?e.ownerDocument:e.document)||window.document).documentElement}function $s(e){return Cs(Rs(e)).left+ks(e).scrollLeft}function Os(e){return hs(e).getComputedStyle(e)}function Ps(e){var t=Os(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function js(e,t,n){void 0===n&&(n=!1);var r=gs(t),o=gs(t)&&function(e){var t=e.getBoundingClientRect(),n=xs(t.width)/e.offsetWidth||1,r=xs(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Rs(t),i=Cs(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==Es(t)||Ps(a))&&(s=function(e){return e!==hs(e)&&gs(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:ks(e);var t}(t)),gs(t)?((l=Cs(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=$s(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function As(e){var t=Cs(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 Ts(e){return"html"===Es(e)?e:e.assignedSlot||e.parentNode||(ys(e)?e.host:null)||Rs(e)}function Is(e){return["html","body","#document"].indexOf(Es(e))>=0?e.ownerDocument.body:gs(e)&&Ps(e)?e:Is(Ts(e))}function Ns(e,t){var n;void 0===t&&(t=[]);var r=Is(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=hs(r),i=o?[a].concat(a.visualViewport||[],Ps(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(Ns(Ts(i)))}function _s(e){return["table","td","th"].indexOf(Es(e))>=0}function Ms(e){return gs(e)&&"fixed"!==Os(e).position?e.offsetParent:null}function Ds(e){for(var t=hs(e),n=Ms(e);n&&_s(n)&&"static"===Os(n).position;)n=Ms(n);return n&&("html"===Es(n)||"body"===Es(n)&&"static"===Os(n).position)?t:n||function(e){var t=/firefox/i.test(ws());if(/Trident/i.test(ws())&&gs(e)&&"fixed"===Os(e).position)return null;var n=Ts(e);for(ys(n)&&(n=n.host);gs(n)&&["html","body"].indexOf(Es(n))<0;){var r=Os(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var Ls="top",Fs="bottom",Bs="right",Hs="left",zs="auto",Ws=[Ls,Fs,Bs,Hs],Vs="start",Us="end",Gs="viewport",Ys="popper",Ks=Ws.reduce((function(e,t){return e.concat([t+"-"+Vs,t+"-"+Us])}),[]),qs=[].concat(Ws,[zs]).reduce((function(e,t){return e.concat([t,t+"-"+Vs,t+"-"+Us])}),[]),Xs=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Js(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Qs={placement:"bottom",modifiers:[],strategy:"absolute"};function Zs(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function el(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?Qs:o;return function(e,t,n){void 0===n&&(n=a);var o,i,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Qs,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},a,s.options,o),s.scrollParents={reference:ms(e)?Ns(e):e.contextElement?Ns(e.contextElement):[],popper:Ns(t)};var i,c,p=function(e){var t=Js(e);return Xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((i=[].concat(r,s.options.modifiers),c=i.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:s,name:t,instance:u,options:r});l.push(a||function(){})}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Zs(t,n)){s.rects={reference:js(t,Ds(n),"fixed"===s.options.strategy),popper:As(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],a=o.fn,i=o.options,l=void 0===i?{}:i,d=o.name;"function"==typeof a&&(s=a({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){d(),c=!0}};if(!Zs(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var tl={passive:!0};function nl(e){return e.split("-")[0]}function rl(e){return e.split("-")[1]}function ol(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function al(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?nl(o):null,i=o?rl(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(a){case Ls:t={x:s,y:n.y-r.height};break;case Fs:t={x:s,y:n.y+n.height};break;case Bs:t={x:n.x+n.width,y:l};break;case Hs:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?ol(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Vs:t[c]=t[c]-(n[u]/2-r[u]/2);break;case Us:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var il={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sl(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,m=void 0===h?0:h,g="function"==typeof u?u({x:f,y:m}):{x:f,y:m};f=g.x,m=g.y;var y=i.hasOwnProperty("x"),b=i.hasOwnProperty("y"),v=Hs,x=Ls,w=window;if(c){var S=Ds(n),C="clientHeight",k="clientWidth";S===hs(n)&&"static"!==Os(S=Rs(n)).position&&"absolute"===s&&(C="scrollHeight",k="scrollWidth"),(o===Ls||(o===Hs||o===Bs)&&a===Us)&&(x=Fs,m-=(d&&S===w&&w.visualViewport?w.visualViewport.height:S[C])-r.height,m*=l?1:-1),o!==Hs&&(o!==Ls&&o!==Fs||a!==Us)||(v=Bs,f-=(d&&S===w&&w.visualViewport?w.visualViewport.width:S[k])-r.width,f*=l?1:-1)}var E,R=Object.assign({position:s},c&&il),$=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:xs(n*o)/o||0,y:xs(r*o)/o||0}}({x:f,y:m},hs(n)):{x:f,y:m};return f=$.x,m=$.y,l?Object.assign({},R,((E={})[x]=b?"0":"",E[v]=y?"0":"",E.transform=(w.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",E)):Object.assign({},R,((t={})[x]=b?m+"px":"",t[v]=y?f+"px":"",t.transform="",t))}var ll={left:"right",right:"left",bottom:"top",top:"bottom"};function cl(e){return e.replace(/left|right|bottom|top/g,(function(e){return ll[e]}))}var ul={start:"end",end:"start"};function dl(e){return e.replace(/start|end/g,(function(e){return ul[e]}))}function pl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ys(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function fl(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function hl(e,t,n){return t===Gs?fl(function(e,t){var n=hs(e),r=Rs(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;var c=Ss();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s+$s(e),y:l}}(e,n)):ms(t)?function(e,t){var n=Cs(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):fl(function(e){var t,n=Rs(e),r=ks(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=bs(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=bs(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+$s(e),l=-r.scrollTop;return"rtl"===Os(o||n).direction&&(s+=bs(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}(Rs(e)))}function ml(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function gl(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function yl(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.strategy,i=void 0===a?e.strategy:a,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Gs:c,d=n.elementContext,p=void 0===d?Ys:d,f=n.altBoundary,h=void 0!==f&&f,m=n.padding,g=void 0===m?0:m,y=ml("number"!=typeof g?g:gl(g,Ws)),b=p===Ys?"reference":Ys,v=e.rects.popper,x=e.elements[h?b:p],w=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=Ns(Ts(e)),n=["absolute","fixed"].indexOf(Os(e).position)>=0&&gs(e)?Ds(e):e;return ms(n)?t.filter((function(e){return ms(e)&&pl(e,n)&&"body"!==Es(e)})):[]}(e):[].concat(t),a=[].concat(o,[n]),i=a[0],s=a.reduce((function(t,n){var o=hl(e,n,r);return t.top=bs(o.top,t.top),t.right=vs(o.right,t.right),t.bottom=vs(o.bottom,t.bottom),t.left=bs(o.left,t.left),t}),hl(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(ms(x)?x:x.contextElement||Rs(e.elements.popper),l,u,i),S=Cs(e.elements.reference),C=al({reference:S,element:v,strategy:"absolute",placement:o}),k=fl(Object.assign({},v,C)),E=p===Ys?k:S,R={top:w.top-E.top+y.top,bottom:E.bottom-w.bottom+y.bottom,left:w.left-E.left+y.left,right:E.right-w.right+y.right},$=e.modifiersData.offset;if(p===Ys&&$){var O=$[o];Object.keys(R).forEach((function(e){var t=[Bs,Fs].indexOf(e)>=0?1:-1,n=[Ls,Fs].indexOf(e)>=0?"y":"x";R[e]+=O[n]*t}))}return R}const bl={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,m=n.allowedAutoPlacements,g=t.options.placement,y=nl(g),b=l||(y!==g&&h?function(e){if(nl(e)===zs)return[];var t=cl(e);return[dl(e),t,dl(t)]}(g):[cl(g)]),v=[g].concat(b).reduce((function(e,n){return e.concat(nl(n)===zs?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?qs:l,u=rl(r),d=u?s?Ks:Ks.filter((function(e){return rl(e)===u})):Ws,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=yl(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[nl(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,S=new Map,C=!0,k=v[0],E=0;E<v.length;E++){var R=v[E],$=nl(R),O=rl(R)===Vs,P=[Ls,Fs].indexOf($)>=0,j=P?"width":"height",A=yl(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=P?O?Bs:Hs:O?Fs:Ls;x[j]>w[j]&&(T=cl(T));var I=cl(T),N=[];if(a&&N.push(A[$]<=0),s&&N.push(A[T]<=0,A[I]<=0),N.every((function(e){return e}))){k=R,C=!1;break}S.set(R,N)}if(C)for(var _=function(e){var t=v.find((function(t){var n=S.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},M=h?3:1;M>0&&"break"!==_(M);M--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function vl(e,t,n){return bs(e,vs(t,n))}const xl={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,m=void 0===h?0:h,g=yl(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=nl(t.placement),b=rl(t.placement),v=!b,x=ol(y),w="x"===x?"y":"x",S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,R="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,O={x:0,y:0};if(S){if(a){var P,j="y"===x?Ls:Hs,A="y"===x?Fs:Bs,T="y"===x?"height":"width",I=S[x],N=I+g[j],_=I-g[A],M=f?-k[T]/2:0,D=b===Vs?C[T]:k[T],L=b===Vs?-k[T]:-C[T],F=t.elements.arrow,B=f&&F?As(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},z=H[j],W=H[A],V=vl(0,C[T],B[T]),U=v?C[T]/2-M-V-z-R.mainAxis:D-V-z-R.mainAxis,G=v?-C[T]/2+M+V+W+R.mainAxis:L+V+W+R.mainAxis,Y=t.elements.arrow&&Ds(t.elements.arrow),K=Y?"y"===x?Y.clientTop||0:Y.clientLeft||0:0,q=null!=(P=null==$?void 0:$[x])?P:0,X=I+G-q,J=vl(f?vs(N,I+U-q-K):N,I,f?bs(_,X):_);S[x]=J,O[x]=J-I}if(s){var Q,Z="x"===x?Ls:Hs,ee="x"===x?Fs:Bs,te=S[w],ne="y"===w?"height":"width",re=te+g[Z],oe=te-g[ee],ae=-1!==[Ls,Hs].indexOf(y),ie=null!=(Q=null==$?void 0:$[w])?Q:0,se=ae?re:te-C[ne]-k[ne]-ie+R.altAxis,le=ae?te+C[ne]+k[ne]-ie-R.altAxis:oe,ce=f&&ae?function(e,t,n){var r=vl(e,t,n);return r>n?n:r}(se,te,le):vl(f?se:re,te,f?le:oe);S[w]=ce,O[w]=ce-te}t.modifiersData[r]=O}},requiresIfExists:["offset"]},wl={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=nl(n.placement),l=ol(s),c=[Hs,Bs].indexOf(s)>=0?"height":"width";if(a&&i){var u=function(e,t){return ml("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:gl(e,Ws))}(o.padding,n),d=As(a),p="y"===l?Ls:Hs,f="y"===l?Fs:Bs,h=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],m=i[l]-n.rects.reference[l],g=Ds(a),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=h/2-m/2,v=u[p],x=y-d[c]-u[f],w=y/2-d[c]/2+b,S=vl(v,w,x),C=l;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&pl(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Sl(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Cl(e){return[Ls,Bs,Fs,Hs].some((function(t){return e[t]>=0}))}var kl=el({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,s=void 0===i||i,l=hs(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,tl)})),s&&l.addEventListener("resize",n.update,tl),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,tl)})),s&&l.removeEventListener("resize",n.update,tl)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=al({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,s=n.roundOffsets,l=void 0===s||s,c={placement:nl(t.placement),variation:rl(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,sl(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,sl(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];gs(o)&&Es(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gs(r)&&Es(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=qs.reduce((function(e,n){return e[n]=function(e,t,n){var r=nl(e),o=[Hs,Ls].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[Hs,Bs].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,a),e}),{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}},bl,xl,wl,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=yl(t,{elementContext:"reference"}),s=yl(t,{altBoundary:!0}),l=Sl(i,r),c=Sl(s,o,a),u=Cl(l),d=Cl(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const El=function(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}},Rl=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t},$l=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const e=s(n?.className,a,o?.className,r?.className),t={...n?.style,...o?.style,...r?.style},i={...n,...o,...r};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}({...o,...r}),l=Rl(r),c=Rl(o),u=t(i),d=s(u?.className,n?.className,a,o?.className,r?.className),p={...u?.style,...n?.style,...o?.style,...r?.style},f={...u,...n,...c,...l};return d.length>0&&(f.className=d),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:u.ref}},Ol=function(e,t,n){return"function"==typeof e?e(t,n):e},Pl=o.forwardRef((function(e,t){const{children:n,container:r,disablePortal:a=!1}=e,[i,s]=o.useState(null),l=po(o.isValidElement(n)?Yi(n):null,t);if(mo((()=>{a||s(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,a]),mo((()=>{if(i&&!a)return uo(t,i),()=>{uo(t,null)}}),[t,i,a]),a){if(o.isValidElement(n)){const e={ref:l};return o.cloneElement(n,e)}return n}return i?Ji.createPortal(n,i):i}));function jl(e){return Xr("MuiPopper",e)}function Al(e){return"function"==typeof e?e():e}Jr("MuiPopper",["root"]);const Tl={},Il=o.forwardRef((function(e,t){const{anchorEl:n,children:r,direction:a,disablePortal:i,modifiers:s,open:c,placement:u,popperOptions:d,popperRef:p,slotProps:f={},slots:h={},TransitionProps:m,ownerState:g,...y}=e,b=o.useRef(null),v=po(b,t),x=o.useRef(null),w=po(x,p),S=o.useRef(w);mo((()=>{S.current=w}),[w]),o.useImperativeHandle(p,(()=>x.current),[]);const C=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),[k,E]=o.useState(C),[R,$]=o.useState(Al(n));o.useEffect((()=>{x.current&&x.current.forceUpdate()})),o.useEffect((()=>{n&&$(Al(n))}),[n]),mo((()=>{if(!R||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{E(e.placement)}}];null!=s&&(e=e.concat(s)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=kl(R,b.current,{placement:C,...d,modifiers:e});return S.current(t),()=>{t.destroy(),S.current(null)}}),[R,i,s,c,d,C]);const O={placement:k};null!==m&&(O.TransitionProps=m);const P=(e=>{const{classes:t}=e;return l({root:["root"]},jl,t)})(e),j=h.root??"div",A=function(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...a}=e,i=o?{}:Ol(n,r),{props:s,internalRef:l}=$l({...a,externalSlotProps:i}),c=po(l,i?.ref,e.additionalProps?.ref);return El(t,{...s,ref:c},r)}({elementType:j,externalSlotProps:f.root,externalForwardedProps:y,additionalProps:{role:"tooltip",ref:v},ownerState:e,className:P.root});return(0,Vr.jsx)(j,{...A,children:"function"==typeof r?r(O):r})})),Nl=Br(o.forwardRef((function(e,t){const{anchorEl:n,children:r,container:a,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=Tl,popperRef:f,style:h,transition:m=!1,slotProps:g={},slots:y={},...b}=e,[v,x]=o.useState(!0);if(!l&&!u&&(!m||v))return null;let w;if(a)w=a;else if(n){const e=Al(n);w=e&&void 0!==e.nodeType?fs(e).body:fs(null).body}const S=u||!l||m&&!v?void 0:"none",C=m?{in:u,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,Vr.jsx)(Pl,{disablePortal:s,container:w,children:(0,Vr.jsx)(Il,{anchorEl:n,direction:i,disablePortal:s,modifiers:c,ref:t,open:m?!v:u,placement:d,popperOptions:p,popperRef:f,slotProps:g,slots:y,...b,style:{position:"fixed",top:0,left:0,display:S,...h},TransitionProps:C,children:r})})})),{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_l=o.forwardRef((function(e,t){const n=Gi(),r=Gr({props:e,name:"MuiPopper"}),{anchorEl:o,component:a,components:i,componentsProps:s,container:l,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:g,slots:y,slotProps:b,...v}=r,x=y?.root??i?.Root,w={anchorEl:o,container:l,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:h,popperRef:m,transition:g,...v};return(0,Vr.jsx)(Nl,{as:a,direction:n?"rtl":"ltr",slots:{root:x},slotProps:b??s,...w,ref:t})}));let Ml=0;const Dl={...o}.useId;function Ll(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...p}=a,f=u[e]||r,h=Ol(d[e],o),{props:{component:m,...g},internalRef:y}=$l({className:n,...l,externalForwardedProps:"root"===e?p:void 0,externalSlotProps:h}),b=po(y,h?.ref,t.ref),v="root"===e?m||c:m;return[f,El(f,{..."root"===e&&!c&&!u[e]&&i,..."root"!==e&&!u[e]&&i,...g,...v&&!s&&{as:v},...v&&s&&{component:v},ref:b},o)]}function Fl(e){return Xr("MuiTooltip",e)}const Bl=Jr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),Hl=Br(_l,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(zr((({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${Bl.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Bl.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Bl.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${Bl.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Bl.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${Bl.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Bl.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${Bl.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]})))),zl=Br("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${d(n.placement.split("-")[0])}`]]}})(zr((({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:hn(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${Bl.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${Bl.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${Bl.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${Bl.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5+"em"),fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${Bl.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${Bl.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${Bl.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${Bl.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${Bl.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${Bl.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${Bl.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${Bl.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Bl.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${Bl.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t}))),Wl=Br("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(zr((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:hn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))));let Vl=!1;const Ul=new Ao;let Gl={x:0,y:0};function Yl(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Kl=o.forwardRef((function(e,t){const n=Gr({props:e,name:"MuiTooltip"}),{arrow:r=!1,children:a,classes:i,components:c={},componentsProps:u={},describeChild:p=!1,disableFocusListener:f=!1,disableHoverListener:h=!1,disableInteractive:m=!1,disableTouchListener:g=!1,enterDelay:y=100,enterNextDelay:b=0,enterTouchDelay:v=700,followCursor:x=!1,id:w,leaveDelay:S=0,leaveTouchDelay:C=1500,onClose:k,onOpen:E,open:R,placement:$="bottom",PopperComponent:O,PopperProps:P={},slotProps:j={},slots:A={},title:T,TransitionComponent:I,TransitionProps:N,..._}=n,M=o.isValidElement(a)?a:(0,Vr.jsx)("span",{children:a}),D=Xi(),L=Gi(),[F,B]=o.useState(),[H,z]=o.useState(null),W=o.useRef(!1),V=m||x,U=To(),G=To(),Y=To(),K=To(),[q,X]=function({controlled:e,default:t,name:n,state:r="value"}){const{current:a}=o.useRef(void 0!==e),[i,s]=o.useState(t);return[a?e:i,o.useCallback((e=>{a||s(e)}),[])]}({controlled:R,default:!1,name:"Tooltip",state:"open"});let J=q;const Q=function(e){if(void 0!==Dl){const t=Dl();return e??t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(Ml+=1,n(`mui-${Ml}`))}),[t]),r}(e)}(w),Z=o.useRef(),ee=go((()=>{void 0!==Z.current&&(document.body.style.WebkitUserSelect=Z.current,Z.current=void 0),K.clear()}));o.useEffect((()=>ee),[ee]);const te=e=>{Ul.clear(),Vl=!0,X(!0),E&&!J&&E(e)},ne=go((e=>{Ul.start(800+S,(()=>{Vl=!1})),X(!1),k&&J&&k(e),U.start(D.transitions.duration.shortest,(()=>{W.current=!1}))})),re=e=>{W.current&&"touchstart"!==e.type||(F&&F.removeAttribute("title"),G.clear(),Y.clear(),y||Vl&&b?G.start(Vl?b:y,(()=>{te(e)})):te(e))},oe=e=>{G.clear(),Y.start(S,(()=>{ne(e)}))},[,ae]=o.useState(!1),ie=e=>{ho(e.target)||(ae(!1),oe(e))},se=e=>{F||B(e.currentTarget),ho(e.target)&&(ae(!0),re(e))},le=e=>{W.current=!0;const t=M.props;t.onTouchStart&&t.onTouchStart(e)};o.useEffect((()=>{if(J)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&ne(e)}}),[ne,J]);const ce=fo(Yi(M),B,t);T||0===T||(J=!1);const ue=o.useRef(),de={},pe="string"==typeof T;p?(de.title=J||!pe||h?null:T,de["aria-describedby"]=J?Q:null):(de["aria-label"]=pe?T:null,de["aria-labelledby"]=J&&!pe?Q:null);const fe={...de,..._,...M.props,className:s(_.className,M.props.className),onTouchStart:le,ref:ce,...x?{onMouseMove:e=>{const t=M.props;t.onMouseMove&&t.onMouseMove(e),Gl={x:e.clientX,y:e.clientY},ue.current&&ue.current.update()}}:{}},he={};g||(fe.onTouchStart=e=>{le(e),Y.clear(),U.clear(),ee(),Z.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",K.start(v,(()=>{document.body.style.WebkitUserSelect=Z.current,re(e)}))},fe.onTouchEnd=e=>{M.props.onTouchEnd&&M.props.onTouchEnd(e),ee(),Y.start(C,(()=>{ne(e)}))}),h||(fe.onMouseOver=Yl(re,fe.onMouseOver),fe.onMouseLeave=Yl(oe,fe.onMouseLeave),V||(he.onMouseOver=re,he.onMouseLeave=oe)),f||(fe.onFocus=Yl(se,fe.onFocus),fe.onBlur=Yl(ie,fe.onBlur),V||(he.onFocus=se,he.onBlur=ie));const me={...n,isRtl:L,arrow:r,disableInteractive:V,placement:$,PopperComponentProp:O,touch:W.current},ge="function"==typeof j.popper?j.popper(me):j.popper,ye=o.useMemo((()=>{let e=[{name:"arrow",enabled:Boolean(H),options:{element:H,padding:4}}];return P.popperOptions?.modifiers&&(e=e.concat(P.popperOptions.modifiers)),ge?.popperOptions?.modifiers&&(e=e.concat(ge.popperOptions.modifiers)),{...P.popperOptions,...ge?.popperOptions,modifiers:e}}),[H,P.popperOptions,ge?.popperOptions]),be=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e;return l({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${d(a.split("-")[0])}`],arrow:["arrow"]},Fl,t)})(me),ve="function"==typeof j.transition?j.transition(me):j.transition,xe={slots:{popper:c.Popper,transition:c.Transition??I,tooltip:c.Tooltip,arrow:c.Arrow,...A},slotProps:{arrow:j.arrow??u.arrow,popper:{...P,...ge??u.popper},tooltip:j.tooltip??u.tooltip,transition:{...N,...ve??u.transition}}},[we,Se]=Ll("popper",{elementType:Hl,externalForwardedProps:xe,ownerState:me,className:s(be.popper,P?.className)}),[Ce,ke]=Ll("transition",{elementType:ps,externalForwardedProps:xe,ownerState:me}),[Ee,Re]=Ll("tooltip",{elementType:zl,className:be.tooltip,externalForwardedProps:xe,ownerState:me}),[$e,Oe]=Ll("arrow",{elementType:Wl,className:be.arrow,externalForwardedProps:xe,ownerState:me,ref:z});return(0,Vr.jsxs)(o.Fragment,{children:[o.cloneElement(M,fe),(0,Vr.jsx)(we,{as:O??_l,placement:$,anchorEl:x?{getBoundingClientRect:()=>({top:Gl.y,left:Gl.x,right:Gl.x,bottom:Gl.y,width:0,height:0})}:F,popperRef:ue,open:!!F&&J,id:Q,transition:!0,...he,...Se,popperOptions:ye,children:({TransitionProps:e})=>(0,Vr.jsx)(Ce,{timeout:D.transitions.duration.shorter,...e,...ke,children:(0,Vr.jsxs)(Ee,{...Re,children:[T,r?(0,Vr.jsx)($e,{...Oe}):null]})})})]})})),ql=()=>{const e=`${YooAnalytics.assetsURL}images/up-trend.png`,t=`${YooAnalytics.assetsURL}images/down-trend.png`,[n,o]=(0,r.useState)(!0),[a,i]=(0,r.useState)([]),[s,l]=(0,r.useState)([]),[c,u]=(0,r.useState)([]),[d,p]=(0,r.useState)({visitors:0,views:0,online:0,purchase:0}),f={post:"📬",page:"📄",product:"🛒"},h=[{name:"ID",selector:e=>f[e.type]?(0,Vr.jsx)(Kl,{title:e.page_id,placement:"top",arrow:!0,className:"yoo-dashboard-stats-tooltip",children:f[e.type]}):f.post,grow:0},{name:"Title",selector:e=>(0,Vr.jsx)(Kl,{title:e.page_url,placement:"top",arrow:!0,className:"yoo-dashboard-stats-tooltip",onClick:()=>window.open(e.page_url,"_blank"),children:e.title}),sortable:!0},{name:"Visitors",selector:e=>e.visitors_count,sortable:!0,grow:0},{name:"Views",selector:e=>e.views_count,sortable:!0,grow:0}];return(0,r.useEffect)((()=>{let e;async function t(){o(!0);const e=await async function(){const e=await fetch(`${YooAnalytics.restURL}/v1/get-analytics`,{headers:zi});return!!e.ok&&(await e.json()).data}();e?(console.log(e.pages_stats),p(e.summary),i(e.search_engines),l(e.top_referers),u(e.pages_stats)):console.log("fetchAnalytics",e),o(!1)}return t(),e=setInterval(t,3e6),()=>clearInterval(e)}),[]),(0,Vr.jsx)("div",{className:"yoo-body",children:n?(0,Vr.jsxs)(Vr.Fragment,{children:[(0,Vr.jsxs)(Di.Flex,{children:[(0,Vr.jsx)(Di.FlexItem,{style:{width:"100%"},children:(0,Vr.jsx)(Hi,{count:1,height:131,width:"100%"})}),(0,Vr.jsx)(Di.FlexItem,{style:{width:"100%"},children:(0,Vr.jsx)(Hi,{count:1,height:131,width:"100%"})}),(0,Vr.jsx)(Di.FlexItem,{style:{width:"100%"},children:(0,Vr.jsx)(Hi,{count:1,height:131,width:"100%"})}),YooAnalytics.isWooCommerceActive&&(0,Vr.jsx)(Di.FlexItem,{style:{width:"100%"},children:(0,Vr.jsx)(Hi,{count:1,height:131,width:"100%"})})]}),(0,Vr.jsxs)(Di.Flex,{className:"yoo-dashboard-logs",align:"start",children:[(0,Vr.jsxs)(Di.FlexItem,{style:{width:"310%"},children:[(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:50,width:"100%"})]}),(0,Vr.jsx)(Di.Flex,{direction:"column",style:{width:"100%"},children:(0,Vr.jsxs)(Di.FlexItem,{style:{width:"100%"},children:[(0,Vr.jsx)(Hi,{count:1,height:252,width:"100%"}),(0,Vr.jsx)(Hi,{count:1,height:252,width:"100%"})]})})]})]}):(0,Vr.jsxs)(Vr.Fragment,{children:[(0,Vr.jsxs)(Di.Flex,{className:"yoo-dashboard-stats",children:[(0,Vr.jsxs)(Di.FlexItem,{className:d.visitors>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Vr.jsx)("h3",{children:(0,oa.__)("Visitors","yooanalytics")}),(0,Vr.jsxs)("div",{className:"yoo-stats",children:[(0,Vr.jsxs)("div",{children:[(0,Vr.jsx)("h1",{children:d.visitors}),(0,Vr.jsx)("span",{className:"yoo-stats-text",children:(0,oa.__)("Today","yooanalytics")})]}),(0,Vr.jsx)("div",{children:(0,Vr.jsx)("img",{src:d.visitors>0?e:t,alt:"Stats Trend"})})]})]}),(0,Vr.jsxs)(Di.FlexItem,{className:d.views>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Vr.jsx)("h3",{children:(0,oa.__)("Views","yooanalytics")}),(0,Vr.jsxs)("div",{className:"yoo-stats",children:[(0,Vr.jsxs)("div",{children:[(0,Vr.jsx)("h1",{children:d.views}),(0,Vr.jsx)("span",{className:"yoo-stats-text",children:(0,oa.__)("Today","yooanalytics")})]}),(0,Vr.jsx)("div",{children:(0,Vr.jsx)("img",{src:d.views>0?e:t,alt:"Stats Trend"})})]})]}),(0,Vr.jsxs)(Di.FlexItem,{className:d.online>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Vr.jsx)("h3",{children:(0,oa.__)("Online","yooanalytics")}),(0,Vr.jsxs)("div",{className:"yoo-stats",children:[(0,Vr.jsxs)("div",{children:[(0,Vr.jsx)("h1",{children:d.online}),(0,Vr.jsx)("span",{className:"yoo-stats-text",children:(0,oa.__)("In last 30 minutes","yooanalytics")})]}),(0,Vr.jsx)("div",{children:(0,Vr.jsx)("img",{src:d.online>0?e:t,alt:"Stats Trend"})})]})]}),YooAnalytics.isWooCommerceActive&&(0,Vr.jsxs)(Di.FlexItem,{className:d.purchase>0?"yoo-stats-box yoo-stats-up":"yoo-stats-box yoo-stats-down",children:[(0,Vr.jsx)("h3",{children:(0,oa.__)("Purchase","yooanalytics")}),(0,Vr.jsxs)("div",{className:"yoo-stats",children:[(0,Vr.jsxs)("div",{children:[(0,Vr.jsx)("h1",{children:d.purchase}),(0,Vr.jsx)("span",{className:"yoo-stats-text",children:(0,oa.__)("Today","yooanalytics")})]}),(0,Vr.jsx)("div",{children:(0,Vr.jsx)("img",{src:d.purchase>0?e:t,alt:"Stats Trend"})})]})]})]}),(0,Vr.jsxs)(Di.Flex,{className:"yoo-dashboard-logs",align:"start",children:[(0,Vr.jsx)(Di.FlexItem,{style:{width:"310%"},children:0!==c.length?(0,Vr.jsxs)(Vr.Fragment,{children:[(0,Vr.jsxs)("h1",{children:["🔢 ",(0,oa.__)("Pages","yooanalytics")]}),(0,Vr.jsx)(Vi,{columns:h,data:c})]}):(0,Vr.jsx)("div",{className:"yoo-dashboard-cards yoo-dashboard-stats",children:(0,Vr.jsxs)("div",{className:"yoo-dashboard-card-no-results",children:[(0,Vr.jsx)("h1",{children:"📊"}),(0,Vr.jsx)("h2",{children:(0,oa.__)("No Visits Found, Let's wait for amazing performance.","yooanalytics")})]})})}),(0,Vr.jsxs)(Di.Flex,{direction:"column",style:{width:"100%"},children:[(0,Vr.jsx)(Di.FlexItem,{style:{width:"100%"},children:(0,Vr.jsx)(Di.Card,{className:"yoo-dashboard-cards yoo-search-engines-card",style:0===a.length?{backgroundColor:"#ffebee"}:void 0,children:0===a.length?(0,Vr.jsxs)("div",{className:"yoo-dashboard-card-no-results",children:[(0,Vr.jsx)("h1",{children:"🔍"}),(0,Vr.jsx)("h2",{children:(0,oa.__)("No Search Engine data found!","yooanalytics")})]}):(0,Vr.jsxs)(React.Fragment,{children:[(0,Vr.jsx)(Di.CardHeader,{children:(0,Vr.jsxs)("h2",{children:["🔍 ",(0,oa.__)("Search Engines","yooanalytics")]})}),(0,Vr.jsx)(Di.CardBody,{children:(0,Vr.jsx)("table",{width:"100%",children:Object.keys(a).map(((e,t)=>{let n=a[t].referer_url,r=(o=n).includes("google")?"Google":o.includes("bing")?"Bing":o.includes("yahoo")?"Yahoo":o.includes("duckduckgo")?"DuckDuckGo":o.includes("yandex")?"Yandex":o.includes("baidu")?"Baidu":"Other";var o;let i=a[t].count;return(0,Vr.jsxs)("tr",{title:n,children:[(0,Vr.jsxs)("td",{children:[(0,Vr.jsx)("img",{src:`${YooAnalytics.assetsURL}images/search-engines/${r}.png`}),r]}),(0,Vr.jsx)("td",{children:i})]})}))})})]},"0.1")})}),(0,Vr.jsx)(Di.FlexItem,{style:{width:"100%"},children:(0,Vr.jsx)(Di.Card,{className:"yoo-dashboard-cards yoo-top-referers-card",style:0===s.length?{backgroundColor:"#ffebee"}:void 0,children:0===s.length?(0,Vr.jsxs)("div",{className:"yoo-dashboard-card-no-results",children:[(0,Vr.jsx)("h1",{children:"🌏"}),(0,Vr.jsx)("h2",{children:(0,oa.__)("No Referrers data found!","yooanalytics")})]}):(0,Vr.jsxs)(React.Fragment,{children:[(0,Vr.jsx)(Di.CardHeader,{children:(0,Vr.jsxs)("h2",{children:["⬇️ ",(0,oa.__)("Top 10 Referrers","yooanalytics")]})}),(0,Vr.jsx)(Di.CardBody,{children:(0,Vr.jsx)("table",{width:"100%",children:Object.keys(s).map(((e,t)=>{console.log(s[e]);let n=s[t].count,r=s[t].referer_url;return(0,Vr.jsxs)("tr",{children:[(0,Vr.jsxs)("td",{children:["🌏 ",r]}),(0,Vr.jsx)("td",{children:n})]})}))})})]},"0.1")})})]})]})]})})},Xl=()=>(0,Vr.jsx)("div",{className:"yoo-body",children:(0,Vr.jsxs)("div",{className:"yoo-header",children:[(0,Vr.jsxs)("h1",{children:["⚒️ ",(0,oa.__)("Coming Soon","yooanalytics")]}),(0,Vr.jsx)("p",{children:(0,oa.__)("Get more control over settings.","yooanalytics")})]})}),Jl=()=>(0,Vr.jsxs)("div",{className:"yoo-body",children:[(0,Vr.jsxs)("div",{className:"yoo-header",children:[(0,Vr.jsx)("h1",{children:(0,oa.__)("About","yooanalytics")}),(0,Vr.jsx)("p",{children:(0,oa.__)("This is about your System Status, Share with YooAnalytics Support if you are facing any issues.","yooanalytics")})]}),(0,Vr.jsx)("div",{className:"yoo-section",children:(0,Vr.jsxs)("ol",{children:[(0,Vr.jsx)("li",{children:(0,oa.sprintf)((0,oa.__)("You are using YooAnalytics Version %s","yooanalytics"),YooAnalytics.version)}),(0,Vr.jsx)("li",{children:(0,oa.sprintf)((0,oa.__)("You are using YooAnalytics %s","yooanalytics"),YooAnalytics.hasActiveValidLicense&&" Pro")}),(0,Vr.jsx)("li",{children:(0,oa.sprintf)((0,oa.__)("Your Rest URL is %s","yooanalytics"),YooAnalytics.restURL)}),(0,Vr.jsx)("li",{children:(0,oa.sprintf)((0,oa.__)("Your Admin URL is %s","yooanalytics"),YooAnalytics.adminURL)}),YooAnalytics.isWooCommerceActive&&(0,Vr.jsx)("li",{children:(0,oa.__)("WooCommerce is active","yooanalytics")})]})})]}),Ql=()=>(0,Vr.jsxs)(li,{children:[(0,Vr.jsx)(ii,{path:"/",element:(0,Vr.jsx)(ql,{})}),(0,Vr.jsx)(ii,{path:"/settings",element:(0,Vr.jsx)(Xl,{})}),(0,Vr.jsx)(ii,{path:"/about",element:(0,Vr.jsx)(Jl,{})})]}),Zl=()=>(0,Vr.jsxs)("div",{className:"yoo-dashboard",children:[(0,Vr.jsx)(Mi,{}),(0,Vr.jsx)(Ql,{}),(0,Vr.jsx)("div",{className:"clearfix"})]});t()((()=>{(0,r.createRoot)(document.getElementById("root")).render((0,Vr.jsx)(r.StrictMode,{children:(0,Vr.jsx)(Pi,{children:(0,Vr.jsx)(Zl,{})})}))}))})()})();
  • yooanalytics/trunk/includes/admin/yoo-admin.php

    r3241192 r3241354  
    101101                'adminURL'              => admin_url( 'admin.php' ),
    102102                'isWooCommerceActive'   => yooanalytics_is_woocommerce_active(),
    103                 'hasActiveValidLicense' => false
     103                'hasActiveValidLicense' => yoo_fs()->has_active_valid_license()
    104104            )
    105105        );
  • yooanalytics/trunk/includes/class-yoo-analytics-query.php

    r3241192 r3241354  
    66
    77class Analytics_Query {
     8
     9    /**
     10     * Organize Pages Stats
     11     *
     12     * @since 0.0.1
     13     */
     14    public function organize_pages_stats( $pages_stats ) {
     15        foreach ( $pages_stats as $page ) {
     16            //$page->page_url = str_replace( get_site_url(), '', $page->page_url );
     17            $page->page_url = strtok( $page->page_url, '?' );
     18            $page->type = get_post_type( $page->page_id );
     19            $page->title = get_the_title( $page->page_id );
     20        }
     21   
     22        return $pages_stats;
     23    }
    824   
    925    /**
    1026     * Get Analytics
    1127     *
    12      * @since 0.1.0
     28     * @since 0.0.1
    1329     */
    1430    public function get_analytics() {
    1531        global $wpdb;
    1632   
    17         $analytics_table     = $wpdb->prefix . Database::$analytics_table;
    18         $current_date        = gmdate( 'Y-m-d' );
    19         $thirty_minutes_ago  = gmdate( 'Y-m-d H:i:s', time() - 1800 );
    20         $google    = $wpdb->esc_like('https://www.google.') . '%';
    21         $bing      = $wpdb->esc_like('https://www.bing.com') . '%';
    22         $yahoo     = $wpdb->esc_like('https://search.yahoo.com') . '%';
    23         $duckduckgo = $wpdb->esc_like('https://www.duckduckgo.com') . '%';
    24         $baidu     = $wpdb->esc_like('https://www.baidu.com') . '%';
    25         $yandex    = $wpdb->esc_like('https://www.yandex.com') . '%';
     33        $analytics_table = $wpdb->prefix . Database::$analytics_table;
     34        $current_date = current_time( 'Y-m-d' );
     35        $thirty_minutes_ago = current_time( 'Y-m-d H:i:s', time() - 1800 );
     36        $google = $wpdb->esc_like( 'https://www.google.' ) . '%';
     37        $bing = $wpdb->esc_like( 'https://www.bing.com' ) . '%';
     38        $yahoo = $wpdb->esc_like( 'https://search.yahoo.com' ) . '%';
     39        $duckduckgo = $wpdb->esc_like( 'https://www.duckduckgo.com' ) . '%';
     40        $baidu = $wpdb->esc_like( 'https://www.baidu.com' ) . '%';
     41        $yandex = $wpdb->esc_like( 'https://www.yandex.com' ) . '%';
     42        $site_url = str_replace( ['http://', 'https://'], '', get_site_url() );
     43        $exact_site_url = '%' . $site_url . '%';
     44        $http_site_url = '%http://' . $site_url . '%';
     45        $https_site_url = '%https://' . $site_url . '%';
    2646   
    2747        $summary_results = $wpdb->get_row(
     
    4767            )
    4868        );
    49    
     69       
    5070        $search_engine_results = $wpdb->get_results(
    5171            $wpdb->prepare(
     
    7494            )
    7595        );
     96
     97        $top_referer_results = $wpdb->get_results(
     98            $wpdb->prepare(
     99                "SELECT referer_url, COUNT(*) AS count
     100                 FROM %i
     101                 WHERE DATE(created_at) = %s
     102                 AND referer_url NOT LIKE %s
     103                 AND referer_url NOT LIKE %s
     104                 AND referer_url NOT LIKE %s
     105                 AND referer_url NOT LIKE %s
     106                 AND referer_url NOT LIKE %s
     107                 AND referer_url NOT LIKE %s
     108                 AND referer_url NOT LIKE %s
     109                 AND referer_url NOT LIKE %s
     110                 AND referer_url NOT LIKE %s
     111                 GROUP BY referer_url
     112                 ORDER BY count DESC
     113                 LIMIT 10",
     114                $analytics_table,
     115                $current_date,
     116                $google, $bing, $yahoo, $duckduckgo, $baidu, $yandex,
     117                $exact_site_url, $http_site_url, $https_site_url
     118            )
     119        );
     120
     121        $pages_stats = $wpdb->get_results(
     122            $wpdb->prepare(
     123                "SELECT
     124                    page_id,
     125                    page_url,
     126                    COUNT(DISTINCT visitor_id) AS visitors_count,
     127                    COUNT(*) AS views_count
     128                FROM %i
     129                WHERE DATE(created_at) = %s
     130                GROUP BY page_id, page_url
     131                ORDER BY views_count DESC
     132                LIMIT 10",
     133                $analytics_table,
     134                $current_date
     135            )
     136        );
    76137   
    77138        if ( yooanalytics_is_woocommerce_active() ) {
     
    79140                array(
    80141                    'status'       => array( 'wc-completed', 'wc-processing', 'wc-on-hold' ),
    81                     'date_created' => gmdate( 'Y-m-d' ) . ' 00:00:00',
     142                    'date_created' => current_time( 'Y-m-d' ) . ' 00:00:00',
    82143                    'return'       => 'ids',
    83144                )
     
    87148        }
    88149
    89         if( $summary_results === NULL || $search_engine_results === NULL ) {
     150        if(
     151            $search_engine_results === NULL
     152            ||
     153            $top_referer_results === NULL
     154            ||
     155            $summary_results === NULL
     156            ||
     157            $pages_stats === NULL
     158        ) {
    90159            return false;
    91160        }
     
    94163                'summary'           => $summary_results,
    95164                'search_engines'    => $search_engine_results,
     165                'top_referers'      => $top_referer_results,
     166                'pages_stats'       => $this->organize_pages_stats( $pages_stats )
    96167            );
    97168        }
    98     }    
     169    }   
    99170}
  • yooanalytics/trunk/includes/yoo-functions.php

    r3241192 r3241354  
    2323
    2424    return $ip_address;
     25}
     26endif;
     27
     28/**
     29 * Is Bot
     30 *
     31 * @since 0.0.1
     32 */
     33if( ! function_exists( 'yooanalytics_is_bot' ) ):
     34function yooanalytics_is_bot( $user_agent ) {
     35    require_once YOOANALYTICS_PLUGIN_DIR_PATH . 'libs/spyc/Spyc.php';
     36    require_once YOOANALYTICS_PLUGIN_DIR_PATH . 'libs/device-detector/autoload.php';
     37
     38    DeviceDetector\Parser\Device\AbstractDeviceParser::setVersionTruncation( DeviceDetector\Parser\Device\AbstractDeviceParser::VERSION_TRUNCATION_NONE );
     39
     40    $client_hints = DeviceDetector\ClientHints::factory( $_SERVER );
     41
     42    $dd = new DeviceDetector\DeviceDetector( $user_agent, $client_hints );
     43   
     44    $dd->parse();
     45
     46    return $dd->isBot();
    2547}
    2648endif;
     
    5779            'wp_user_id'    => $wp_user_id,
    5880            'user_agent'    => $user_agent,
    59             'created_at'    => gmdate( 'Y-m-d H:i:s' )
     81            'created_at'    => current_time( 'Y-m-d H:i:s' )
    6082        ) );
    6183
     
    85107        'page_url'      => $page_url,
    86108        'page_id'       => $page_id,
    87         'created_at'    => gmdate( 'Y-m-d H:i:s' )
     109        'created_at'    => current_time( 'Y-m-d H:i:s' )
    88110    ) );
    89111}
  • yooanalytics/trunk/includes/yoo-track.php

    r3241192 r3241354  
    4848    public function track_visitor() {   
    4949        $referer_url = yooanalytics_get_referer();
     50        $user_agent = yooanalytics_get_user_agent();
    5051        $woocommerce_pages = yooanalytics_is_woocommerce_active() ? ! is_shop() && ! is_post_type_archive( 'product' ) : false;
    5152
    5253        if(
     54            yooanalytics_is_bot( $user_agent )
     55            ||
    5356            empty( $referer_url )
    5457            || 
     
    5962            defined( 'DOING_CRON' )
    6063            ||
    61             ! is_singular()
    62             || 
     64            ( ! is_singular() && $woocommerce_pages )
     65            ||
    6366            (
    6467                defined( 'REST_REQUEST' ) && REST_REQUEST
     
    7174        $visitor_ip = yooanalytics_get_user_ip();
    7275        $wp_user_id = get_current_user_id() ? get_current_user_id() : 0;
    73         $user_agent = yooanalytics_get_user_agent();
    7476        $page_url = home_url( add_query_arg( NULL, NULL ) );
    7577        $page_id = get_the_ID();
  • yooanalytics/trunk/readme.txt

    r3241192 r3241354  
    1 === YooAnalytics ===
     1=== YooAnalytics - Privacy Friendly, Alternative to Google Analytics for WordPress and WooCommerce ===
    22Contributors: yooanalytics
     3Tags: analytics, stats, statistics, google analytics, insights
    34Requires at least: 4.9
    45Tested up to: 6.7
    5 Stable tag: 0.0.1
     6Stable tag: 0.1.0
    67Requires PHP: 7.4
    78License: GPLv2 or later
     
    1213== Description ==
    1314
     15YooAnalytics is a privacy friendly analytics plugin for WordPress & WooCommerce, YooAnalytics is alternative to Google Analytics. It helps you to track your visitors, views, online users, search engine referrers, referrers, search engines referrers, WooCommerce purchase events, WooCommerce checkout journey and much more.
     16
    1417= 📈 Analytics for WordPress & WooCommerce =
    1518* Visitors Tracking
     
    1821* WooCommerce Purchase Events Tracking
    1922* Search Engine Referrers Tracking
     23* Referrers Tracking
     24* Search Engines Referrers Tracking
    2025
    2126= ⌛ Realtime (Coming Soon) =
     
    4449== Changelog ==
    4550
    46 = 0.0.1 - Feb 16, 2025 =
     51= 0.1.0 - Feb 17, 2025 =
     52* NEW 🚀 - Added Bot detector to not count views of bots.
     53* NEW 🚀 - Pages & Posts Stats logs on YooAnalytics Dashboard.
     54* NEW 🚀 - Top 10 Referres widget added on YooAnalytics Dashboard.
     55* FIX 🐛 - Query using current timezone.
     56* FIX 🐛 - Font Family was conflicting with some Dashicons.
     57
     58= 0.0.1 - Feb 17, 2025 =
    4759* Initial Release 🎉
  • yooanalytics/trunk/src/index.css

    r3241192 r3241354  
    66}
    77
    8 body,
    9 span {
     8#wpbody,
     9#wpbody span {
    1010    font-family: "Figtree", serif !important;
    1111}
     
    4747    margin: 10px;
    4848    display: flex;
    49     height: 93vh;
    5049}
    5150
     
    5453    width: 250px;
    5554    border-radius: 6px;
    56     height: 100%;
    5755    overflow-y: auto;
    58     position: relative;
     56    position: fixed;
     57    top: 40px;
     58    bottom: 7px;
    5959}
    6060
     
    108108    float: none;
    109109    background: #FFFFFF;
    110     overflow-y: auto;
     110    margin-left: 250px;
    111111}
    112112
     
    141141
    142142.yoo-stats-box {
    143     border: 1px solid #eaeae8;
    144143    border-radius: 7px;
    145144    padding: 15px;
     
    152151
    153152.yoo-stats {
    154     margin-top: 40px;
     153    margin-top: 10px;
    155154    display: flex;
    156155    align-items: center;
     
    211210}
    212211
     212.yoo-top-referers-card {
     213    min-height: 253px;
     214}
     215
    213216.yoo-search-engines-card img {
    214217    width: 14px;
     
    225228}
    226229
    227 .yoo-search-engines-card tr {
     230.yoo-search-engines-card tr,
     231.yoo-top-referers-card tr {
    228232    line-height: 25px;
    229233}
     234
     235.yoo-toast-notification {
     236    margin-top: 25px;
     237}
     238
     239.yoo-dashboard-cards.yoo-dashboard-stats {
     240    background: #fafafa;
     241    width: 100%;
     242    height: 641px;
     243    border-radius: 7px;
     244}
     245
     246.yoo-dashboard-stats-tooltip {
     247    cursor: pointer;
     248}
  • yooanalytics/trunk/src/screens/Dashboard.js

    r3241192 r3241354  
    1 import { Card, CardBody, CardHeader, Flex, FlexBlock, FlexItem } from '@wordpress/components';
     1import { Card, CardBody, CardHeader, Flex, FlexItem } from '@wordpress/components';
    22import { useEffect, useState } from '@wordpress/element';
    33import { __ } from '@wordpress/i18n';
    4 import SkeletonLoader from '../components/SkeletonLoader';
     4import YooSkeletonLoader from '../components/YooSkeletonLoader';
    55import { getAnalytics } from '../api/api';
    66import { getSearchEngineFromURL } from '../functions';
     7import YooDataTable from '../components/YooDataTable';
     8import { Tooltip } from '@mui/material';
     9import { Description, PushPin, ShoppingCart } from '@mui/icons-material';
    710
    811const Dashboard = () => {
     
    1215    const [isLoading, setIsLoading] = useState( true );
    1316    const [searchEngines, setSearchEngines] = useState( [] );
     17    const [topReferers, setTopReferers] = useState( [] );
     18    const [pagesStats, setPagesStats] = useState( [] );
    1419    const [stats, setStats] = useState( {
    1520        visitors: 0,
     
    1924    } );
    2025
     26    const postTypeIcons = {
     27        post: '📬',
     28        page: '📄',
     29        product: '🛒',
     30    };
     31
     32    const columns = [
     33        {
     34            name: 'ID',
     35            selector: row =>
     36                postTypeIcons[row.type]
     37                ?
     38                <Tooltip
     39                    title={ row.page_id }
     40                    placement='top'
     41                    arrow
     42                    className='yoo-dashboard-stats-tooltip'
     43                >{ postTypeIcons[row.type] }</Tooltip>
     44                :
     45                postTypeIcons['post'],
     46            grow: 0
     47        },
     48        {
     49            name: 'Title',
     50            selector: row =>
     51                <Tooltip
     52                    title={ row.page_url }
     53                    placement='top'
     54                    arrow
     55                    className='yoo-dashboard-stats-tooltip'
     56                    onClick={ () => window.open(row.page_url, '_blank') }
     57                >{ row.title }</Tooltip>,
     58            sortable: true
     59        },
     60        { name: 'Visitors', selector: row => row.visitors_count, sortable: true, grow: 0 },
     61        { name: 'Views', selector: row => row.views_count, sortable: true, grow: 0 }
     62    ];
     63
    2164    useEffect(() => {
    2265        let interval;
     
    2669            const response = await getAnalytics();
    2770
    28             if (response) {
     71            if (response) {console.log(response.pages_stats);
    2972                setStats(response.summary);
    3073                setSearchEngines(response.search_engines);
     74                setTopReferers(response.top_referers);
     75                setPagesStats(response.pages_stats);
    3176            } else {
    3277                console.log('fetchAnalytics', response);
     
    3984       
    4085        // TODO: 30000
    41         interval = setInterval(fetchAnalytics, 30000);
     86        interval = setInterval(fetchAnalytics, 3000000);
    4287
    4388        return () => clearInterval(interval);
     
    108153                        <FlexItem style={{ width: '310%' }}>
    109154                            {/* Logs Area */}
     155                            {
     156                                pagesStats.length !== 0
     157                                ?
     158                                <>
     159                                    <h1>🔢 { __( 'Pages', 'yooanalytics' ) }</h1>
     160                                    <YooDataTable
     161                                        columns={columns}
     162                                        data={pagesStats}
     163                                    />
     164                                </>
     165                                :
     166                                <div className='yoo-dashboard-cards yoo-dashboard-stats'>
     167                                    <div className='yoo-dashboard-card-no-results'>
     168                                        <h1>📊</h1>
     169                                        <h2>{ __( 'No Visits Found, Let\'s wait for amazing performance.', 'yooanalytics' ) }</h2>
     170                                    </div>
     171                                </div>
     172                            }
     173                           
    110174                        </FlexItem>
    111175                        <Flex
     
    133197                                                            let _refererURL = searchEngines[index]['referer_url'];
    134198                                                            let _searchEngine = getSearchEngineFromURL(_refererURL);
    135                                                             let visitCount = searchEngines[index]['count'];
     199                                                            let views = searchEngines[index]['count'];
    136200
    137201                                                            return (
    138202                                                                <tr title={_refererURL}>
    139203                                                                    <td><img src={`${YooAnalytics.assetsURL}images/search-engines/${_searchEngine}.png`} />{_searchEngine}</td>
    140                                                                     <td>{visitCount}</td>
     204                                                                    <td>{views}</td>
    141205                                                                </tr>
    142206                                                            )
     
    149213                                </Card>
    150214                            </FlexItem>
     215                            <FlexItem style={{ width: '100%' }}>
     216                                <Card className='yoo-dashboard-cards yoo-top-referers-card' style={ topReferers.length === 0 ? { backgroundColor: '#ffebee' } : undefined }>
     217                                    {
     218                                        topReferers.length === 0
     219                                        ?
     220                                        <div className='yoo-dashboard-card-no-results'>
     221                                            <h1>🌏</h1>
     222                                            <h2>{ __( 'No Referrers data found!', 'yooanalytics' ) }</h2>
     223                                        </div>
     224                                        :
     225                                        <React.Fragment key='0.1'>
     226                                            <CardHeader>
     227                                                <h2>⬇️ { __( 'Top 10 Referrers', 'yooanalytics' ) }</h2>
     228                                            </CardHeader>
     229                                            <CardBody>
     230                                                <table width='100%'>
     231                                                    {
     232                                                        Object.keys(topReferers).map((key, index) => { console.log(topReferers[key]);
     233                                                            let views = topReferers[index]['count'];
     234                                                            let _refererURL = topReferers[index]['referer_url'];
     235                                                           
     236                                                            return (
     237                                                                <tr>
     238                                                                    <td>🌏 {_refererURL}</td>
     239                                                                    <td>{views}</td>
     240                                                                </tr>
     241                                                            )
     242                                                        })
     243                                                    }
     244                                                </table>
     245                                            </CardBody>
     246                                        </React.Fragment>
     247                                    }
     248                                </Card>
     249                            </FlexItem>
    151250                        </Flex>
    152251                    </Flex>
     
    156255                    <Flex>
    157256                        <FlexItem style={{ width: '100%' }}>
    158                             <SkeletonLoader count={1} height={162} width='100%' />
     257                            <YooSkeletonLoader count={1} height={131} width='100%' />
    159258                        </FlexItem>
    160259                        <FlexItem style={{ width: '100%' }}>
    161                             <SkeletonLoader count={1} height={162} width='100%' />
     260                            <YooSkeletonLoader count={1} height={131} width='100%' />
    162261                        </FlexItem>
    163262                        <FlexItem style={{ width: '100%' }}>
    164                             <SkeletonLoader count={1} height={162} width='100%' />
     263                            <YooSkeletonLoader count={1} height={131} width='100%' />
    165264                        </FlexItem>
    166265                        {
     
    168267                            &&
    169268                            <FlexItem style={{ width: '100%' }}>
    170                                 <SkeletonLoader count={1} height={162} width='100%' />
     269                                <YooSkeletonLoader count={1} height={131} width='100%' />
    171270                            </FlexItem>
    172271                        }
     
    175274                        <FlexItem style={{ width: '310%' }}>
    176275                            {/* Logs Area */}
     276                            <YooSkeletonLoader count={1} height={50} width='100%' />
     277                            <YooSkeletonLoader count={1} height={50} width='100%' />
     278                            <YooSkeletonLoader count={1} height={50} width='100%' />
     279                            <YooSkeletonLoader count={1} height={50} width='100%' />
     280                            <YooSkeletonLoader count={1} height={50} width='100%' />
     281                            <YooSkeletonLoader count={1} height={50} width='100%' />
     282                            <YooSkeletonLoader count={1} height={50} width='100%' />
     283                            <YooSkeletonLoader count={1} height={50} width='100%' />
     284                            <YooSkeletonLoader count={1} height={50} width='100%' />
     285                            <YooSkeletonLoader count={1} height={50} width='100%' />
     286                            <YooSkeletonLoader count={1} height={50} width='100%' />
     287                            <YooSkeletonLoader count={1} height={50} width='100%' />
    177288                        </FlexItem>
    178289                        <Flex
     
    181292                        >
    182293                            <FlexItem style={{ width: '100%' }}>
    183                                 <SkeletonLoader count={1} height={252} width='100%' />
     294                                <YooSkeletonLoader count={1} height={252} width='100%' />
     295                                <YooSkeletonLoader count={1} height={252} width='100%' />
    184296                            </FlexItem>
    185297                        </Flex>
  • yooanalytics/trunk/yooanalytics.php

    r3241192 r3241354  
    11<?php
     2
    23/**
    34 * Plugin Name: YooAnalytics
    45 * Plugin URI: https://yooanalytics.com
    56 * Description: The Best Analytics Plugin for WordPress.
    6  * Version: 0.0.1
     7 * Version: 0.1.0
    78 * Author URI: https://coderpress.co
    89 * Text Domain: yooanalytics
     
    1213 * Requires PHP: 7.4
    1314 */
     15if ( !defined( 'ABSPATH' ) ) {
     16    exit;
     17}
     18/**
     19 * Freemius SDK Integration
     20 *
     21 * @since 0.1.0
     22 */
     23if ( !function_exists( 'yoo_fs' ) ) {
     24    // Create a helper function for easy SDK access.
     25    function yoo_fs() {
     26        global $yoo_fs;
     27        if ( !isset( $yoo_fs ) ) {
     28            // Include Freemius SDK.
     29            require_once dirname( __FILE__ ) . '/libs/freemius/start.php';
     30            $yoo_fs = fs_dynamic_init( array(
     31                'id'             => '17831',
     32                'slug'           => 'yooanalytics',
     33                'premium_slug'   => 'yooanalytics-pro',
     34                'type'           => 'plugin',
     35                'public_key'     => 'pk_3b328948d1936dcd354dc09c68722',
     36                'is_premium'     => false,
     37                'premium_suffix' => 'Pro',
     38                'has_addons'     => false,
     39                'has_paid_plans' => true,
     40                'menu'           => array(
     41                    'slug'       => 'yooanalytics',
     42                    'first-path' => 'admin.php?page=yooanalytics',
     43                ),
     44                'is_live'        => true,
     45            ) );
     46        }
     47        return $yoo_fs;
     48    }
    1449
    15 if ( ! defined( 'ABSPATH' ) ) exit;
    16 
    17 define( 'YOOANALYTICS_VERSION', '0.0.1' );
     50    // Init Freemius.
     51    yoo_fs();
     52    // Signal that SDK was initiated.
     53    do_action( 'yoo_fs_loaded' );
     54}
     55define( 'YOOANALYTICS_VERSION', '0.1.0' );
    1856define( 'YOOANALYTICS_DB_VERSION', '0.0.1' );
    1957define( 'YOOANALYTICS_PLUGIN_FILE', __FILE__ );
     
    2159define( 'YOOANALYTICS_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
    2260define( 'YOOANALYTICS_PLUGIN_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets/' );
    23 
    2461require_once 'includes/class-yooanalytics.php';
    25 
    2662/**
    2763 * Returns the main instance of YooAnalytics.
     
    2965 * @since 0.0.1
    3066 */
    31 if( ! function_exists( 'YooAnalytics' ) ):
    32 function YooAnalytics() {
    33     /**
    34      * Fires before the YooAnalytics instance is initiated.
    35      *
    36      * @since 0.0.1
    37      */
    38     do_action( 'yooanalytics_before_init' );
     67if ( !function_exists( 'YooAnalytics' ) ) {
     68    function YooAnalytics() {
     69        /**
     70         * Fires before the YooAnalytics instance is initiated.
     71         *
     72         * @since 0.0.1
     73         */
     74        do_action( 'yooanalytics_before_init' );
     75        $instance = YooAnalytics::instance();
     76        /**
     77         * Fires after the YooAnalytics instance is initiated.
     78         *
     79         * @since 0.0.1
     80         */
     81        do_action( 'yooanalytics_init' );
     82        return $instance;
     83    }
    3984
    40     $instance = YooAnalytics::instance();
    41 
    42     /**
    43      * Fires after the YooAnalytics instance is initiated.
    44      *
    45      * @since 0.0.1
    46      */
    47     do_action( 'yooanalytics_init' );
    48 
    49     return $instance;
    5085}
    51 endif;
    52 
    5386YooAnalytics();
Note: See TracChangeset for help on using the changeset viewer.