diff --git a/django_app/settings.py b/django_app/settings.py index be6f79c6..0e54b3bb 100644 --- a/django_app/settings.py +++ b/django_app/settings.py @@ -1,176 +1,176 @@ """ Django settings for django_api project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ import os # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'SECRET_KEY' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True ALLOWED_HOSTS = ['0.0.0.0', '127.0.0.1', ] INTERNAL_IPS = [ # ... '127.0.0.1', # ... ] # Application definition INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'import_export', 'django_api', 'corsheaders', 'rest_framework', 'rql_filter', 'django_extensions', 'debug_toolbar', # Not necessary at this point but let's keep it as a possible idea # 'inline_actions', ] MIDDLEWARE = [ #'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', ] ROOT_URLCONF = 'django_app.urls' CORS_ORIGIN_ALLOW_ALL = False TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ os.path.join(BASE_DIR, 'templates'), os.path.join(BASE_DIR, 'staticfiles') ], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] TEMPLATE_LOADERS = ( ('django.template.loaders.cached.Loader', ( 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', )), ) WSGI_APPLICATION = 'django_app.wsgi.application' # Database # https://docs.djangoproject.com/en/3.1/ref/settings/#databases DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } # Password validation # https://docs.djangoproject.com/en/3.1/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', }, { 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator', }, { 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator', }, { 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator', }, ] # Internationalization # https://docs.djangoproject.com/en/3.1/topics/i18n/ LANGUAGE_CODE = 'en-us' TIME_ZONE = 'Europe/Zurich' USE_I18N = True USE_L10N = True USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/3.1/howto/static-files/ STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), # copy (backend doc)sphinx doc folder to --> staticfiles/html os.path.join(BASE_DIR, 'sphinx/_build'), # copy styleguidist(frontend Doc) foldter to --> staticfiles/styleguide - os.path.join(BASE_DIR, 'styleguide'), + os.path.join(BASE_DIR, 'reactDoc'), ] # static file for production use only STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' REST_FRAMEWORK = { 'DEFAULT_FILTER_BACKENDS': ['dj_rql.drf.RQLFilterBackend'] } # will this be enough to set 2 validity dates for all journals? DATA_UPLOAD_MAX_NUMBER_FIELDS = 40000 # Provide Django 3.2 with a safe default DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' diff --git a/styleguide.config.js b/styleguide.config.js index 82bf39e8..b17b217d 100644 --- a/styleguide.config.js +++ b/styleguide.config.js @@ -1,75 +1,76 @@ // const path = require('path'); module.exports = { title:"OACCT Documentation", version:"0.0.1", theme: { color: { link: '#3771C8', linkHover: '#D40000' }, fontFamily: { base: '"Helvetica Neue", cursive' } }, + styleguideDir:"reactDoc/styleguide", // styles: { // Logo: { // // We're changing the LogoRenderer component // logo: { // // We're changing the rsg--logo-XX class name inside the component // // animation: '$blink ease-in-out 300ms infinite' // // }, // // '@keyframes blink': { // // to: { opacity: 0 } // // } // } // }, sections: [ { name: 'Introduction', content: './assets/docs/introduction.md' }, { name: 'Documentation', sections: [ { name: 'Installation', content: './assets/docs/installation.md', description: 'The description for the installation section' }, { name: '[Django]Backend Configuration', description: 'The description for the backend section using Django', content: './assets/docs/backend_configuration.md' }, { name: '[React]Frontend Configuration', description: 'The description for the ins Frontend section using React.js', content: './assets/docs/frontend_configuration.md' }, { name: 'Live Demo', external: true, href: 'https://oacct-test.epfl.ch/#/' } ] }, { name: 'React UI Components', // content: 'docs/ui.md', components: ['./assets/src/pages/**/*.js','./assets/src/components/**/*.js'], exampleMode: 'expand', // 'hide' | 'collapse' | 'expand' usageMode: 'expand' // 'hide' | 'collapse' | 'expand' }, { name: 'React context', // content: 'docs/ui.md', components: './assets/src/ContextProvider.js', content: './assets/src/ContextProvider.md', exampleMode: 'expand', // 'hide' | 'collapse' | 'expand' usageMode: 'expand' // 'hide' | 'collapse' | 'expand' } ] } \ No newline at end of file diff --git a/styleguide/build/bundle.4f7a9959.js b/styleguide/build/bundle.4f7a9959.js deleted file mode 100644 index 4053f9a3..00000000 --- a/styleguide/build/bundle.4f7a9959.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see bundle.4f7a9959.js.LICENSE.txt */ -(()=>{var __webpack_modules__={50676:(t,r,i)=>{"use strict";function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var i=0,o=new Array(r);i_arrayLikeToArray})},59968:(t,r,i)=>{"use strict";function _arrayWithHoles(t){if(Array.isArray(t))return t}i.d(r,{Z:()=>_arrayWithHoles})},63349:(t,r,i)=>{"use strict";function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}i.d(r,{Z:()=>_assertThisInitialized})},5991:(t,r,i)=>{"use strict";function _defineProperties(t,r){for(var i=0;i_createClass})},96156:(t,r,i)=>{"use strict";function _defineProperty(t,r,i){return r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}i.d(r,{Z:()=>_defineProperty})},22122:(t,r,i)=>{"use strict";function _extends(){return(_extends=Object.assign||function(t){for(var r=1;r_extends})},41788:(t,r,i)=>{"use strict";function _inheritsLoose(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r}i.d(r,{Z:()=>_inheritsLoose})},96410:(t,r,i)=>{"use strict";function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}i.d(r,{Z:()=>_iterableToArray})},28970:(t,r,i)=>{"use strict";function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}i.d(r,{Z:()=>_nonIterableRest})},81253:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_objectWithoutProperties});var o=i(19756);function _objectWithoutProperties(t,r){if(null==t)return{};var i,s,u=(0,o.Z)(t,r);if(Object.getOwnPropertySymbols){var R=Object.getOwnPropertySymbols(t);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(u[i]=t[i])}return u}},19756:(t,r,i)=>{"use strict";function _objectWithoutPropertiesLoose(t,r){if(null==t)return{};var i,o,s={},u=Object.keys(t);for(o=0;o=0||(s[i]=t[i]);return s}i.d(r,{Z:()=>_objectWithoutPropertiesLoose})},28481:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_slicedToArray});var o=i(59968);var s=i(82961),u=i(28970);function _slicedToArray(t,r){return(0,o.Z)(t)||function _iterableToArrayLimit(t,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var i=[],o=!0,s=!1,u=void 0;try{for(var R,m=t[Symbol.iterator]();!(o=(R=m.next()).done)&&(i.push(R.value),!r||i.length!==r);o=!0);}catch(t){s=!0,u=t}finally{try{o||null==m.return||m.return()}finally{if(s)throw u}}return i}}(t,r)||(0,s.Z)(t,r)||(0,u.Z)()}},42921:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_toConsumableArray});var o=i(50676);var s=i(96410),u=i(82961);function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return(0,o.Z)(t)}(t)||(0,s.Z)(t)||(0,u.Z)(t)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},90484:(t,r,i)=>{"use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i.d(r,{Z:()=>_typeof})},82961:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_unsupportedIterableToArray});var o=i(50676);function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return(0,o.Z)(t,r);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?(0,o.Z)(t,r):void 0}}},95318:t=>{t.exports=function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}},20862:(t,r,i)=>{var o=i(50008);function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var t=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return t},t}t.exports=function _interopRequireWildcard(t){if(t&&t.__esModule)return t;if(null===t||"object"!==o(t)&&"function"!=typeof t)return{default:t};var r=_getRequireWildcardCache();if(r&&r.has(t))return r.get(t);var i={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var R=s?Object.getOwnPropertyDescriptor(t,u):null;R&&(R.get||R.set)?Object.defineProperty(i,u,R):i[u]=t[u]}return i.default=t,r&&r.set(t,i),i}},50008:t=>{function _typeof(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=_typeof=function _typeof(t){return typeof t}:t.exports=_typeof=function _typeof(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(r)}t.exports=_typeof},67708:(t,r,i)=>{"use strict";i.d(r,{Z:()=>fe});var o=i(22122),s=i(59968),u=i(96410),R=i(82961),m=i(28970);var v=i(28481),_=i(81253),M=i(67294),Z=(i(59864),i(45697),i(86010)),q=i(12666),W=i(14670),$=i(43366),X=i(5653),Y=i(8920),ee=i(17294),ae=M.forwardRef((function Collapse(t,r){var i=t.children,s=t.classes,u=t.className,R=t.collapsedHeight,m=void 0===R?"0px":R,W=t.component,ae=void 0===W?"div":W,ie=t.disableStrictModeCompat,de=void 0!==ie&&ie,ce=t.in,le=t.onEnter,pe=t.onEntered,fe=t.onEntering,Re=t.onExit,ye=t.onExited,be=t.onExiting,xe=t.style,_e=t.timeout,Se=void 0===_e?$.x9.standard:_e,we=t.TransitionComponent,Pe=void 0===we?q.ZP:we,Te=(0,_.Z)(t,["children","classes","className","collapsedHeight","component","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),Ie=(0,Y.Z)(),Ve=M.useRef(),ze=M.useRef(null),He=M.useRef(),qe="number"==typeof m?"".concat(m,"px"):m;M.useEffect((function(){return function(){clearTimeout(Ve.current)}}),[]);var We=Ie.unstable_strictMode&&!de,Xe=M.useRef(null),Qe=(0,ee.Z)(r,We?Xe:void 0),Ye=function normalizedTransitionCallback(t){return function(r,i){if(t){var o=We?[Xe.current,r]:[r,i],s=(0,v.Z)(o,2),u=s[0],R=s[1];void 0===R?t(u):t(u,R)}}},et=Ye((function(t,r){t.style.height=qe,le&&le(t,r)})),tt=Ye((function(t,r){var i=ze.current?ze.current.clientHeight:0,o=(0,X.C)({style:xe,timeout:Se},{mode:"enter"}).duration;if("auto"===Se){var s=Ie.transitions.getAutoHeightDuration(i);t.style.transitionDuration="".concat(s,"ms"),He.current=s}else t.style.transitionDuration="string"==typeof o?o:"".concat(o,"ms");t.style.height="".concat(i,"px"),fe&&fe(t,r)})),nt=Ye((function(t,r){t.style.height="auto",pe&&pe(t,r)})),rt=Ye((function(t){var r=ze.current?ze.current.clientHeight:0;t.style.height="".concat(r,"px"),Re&&Re(t)})),it=Ye(ye),ot=Ye((function(t){var r=ze.current?ze.current.clientHeight:0,i=(0,X.C)({style:xe,timeout:Se},{mode:"exit"}).duration;if("auto"===Se){var o=Ie.transitions.getAutoHeightDuration(r);t.style.transitionDuration="".concat(o,"ms"),He.current=o}else t.style.transitionDuration="string"==typeof i?i:"".concat(i,"ms");t.style.height=qe,be&&be(t)}));return M.createElement(Pe,(0,o.Z)({in:ce,onEnter:et,onEntered:nt,onEntering:tt,onExit:rt,onExited:it,onExiting:ot,addEndListener:function addEndListener(t,r){var i=We?t:r;"auto"===Se&&(Ve.current=setTimeout(i,He.current||0))},nodeRef:We?Xe:void 0,timeout:"auto"===Se?null:Se},Te),(function(t,r){return M.createElement(ae,(0,o.Z)({className:(0,Z.Z)(s.container,u,{entered:s.entered,exited:!ce&&"0px"===qe&&s.hidden}[t]),style:(0,o.Z)({minHeight:qe},xe),ref:Qe},r),M.createElement("div",{className:s.wrapper,ref:ze},M.createElement("div",{className:s.wrapperInner},i)))}))}));ae.muiSupportAuto=!0;const ie=(0,W.Z)((function styles(t){return{container:{height:0,overflow:"hidden",transition:t.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(ae);var de=i(79895),ce=i(88078),le=i(22775),pe=M.forwardRef((function Accordion(t,r){var i=t.children,q=t.classes,W=t.className,$=t.defaultExpanded,X=void 0!==$&&$,Y=t.disabled,ee=void 0!==Y&&Y,ae=t.expanded,pe=t.onChange,fe=t.square,Re=void 0!==fe&&fe,ye=t.TransitionComponent,be=void 0===ye?ie:ye,xe=t.TransitionProps,_e=(0,_.Z)(t,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),Se=(0,le.Z)({controlled:ae,default:X,name:"Accordion",state:"expanded"}),we=(0,v.Z)(Se,2),Pe=we[0],Te=we[1],Ie=M.useCallback((function(t){Te(!Pe),pe&&pe(t,!Pe)}),[Pe,pe,Te]),Ve=function _toArray(t){return(0,s.Z)(t)||(0,u.Z)(t)||(0,R.Z)(t)||(0,m.Z)()}(M.Children.toArray(i)),ze=Ve[0],He=Ve.slice(1),qe=M.useMemo((function(){return{expanded:Pe,disabled:ee,toggle:Ie}}),[Pe,ee,Ie]);return M.createElement(de.Z,(0,o.Z)({className:(0,Z.Z)(q.root,W,Pe&&q.expanded,ee&&q.disabled,!Re&&q.rounded),ref:r,square:Re},_e),M.createElement(ce.Z.Provider,{value:qe},ze),M.createElement(be,(0,o.Z)({in:Pe,timeout:"auto"},xe),M.createElement("div",{"aria-labelledby":ze.props.id,id:ze.props["aria-controls"],role:"region"},He)))}));const fe=(0,W.Z)((function styles(t){var r={duration:t.transitions.duration.shortest};return{root:{position:"relative",transition:t.transitions.create(["margin"],r),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:t.palette.divider,transition:t.transitions.create(["opacity","background-color"],r)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:t.shape.borderRadius,borderTopRightRadius:t.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:t.shape.borderRadius,borderBottomRightRadius:t.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiAccordion"})(pe)},88078:(t,r,i)=>{"use strict";i.d(r,{Z:()=>o});const o=i(67294).createContext({})},61201:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=u.forwardRef((function AccordionDetails(t,r){var i=t.classes,m=t.className,v=(0,s.Z)(t,["classes","className"]);return u.createElement("div",(0,o.Z)({className:(0,R.Z)(i.root,m),ref:r},v))}));const _=(0,m.Z)((function styles(t){return{root:{display:"flex",padding:t.spacing(1,2,2)}}}),{name:"MuiAccordionDetails"})(v)},50743:(t,r,i)=>{"use strict";i.d(r,{Z:()=>q});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(54720),v=i(17812),_=i(14670),M=i(88078),Z=u.forwardRef((function AccordionSummary(t,r){var i=t.children,_=t.classes,Z=t.className,q=t.expandIcon,W=t.IconButtonProps,$=t.onBlur,X=t.onClick,Y=t.onFocusVisible,ee=(0,s.Z)(t,["children","classes","className","expandIcon","IconButtonProps","onBlur","onClick","onFocusVisible"]),ae=u.useState(!1),ie=ae[0],de=ae[1],ce=u.useContext(M.Z),le=ce.disabled,pe=void 0!==le&&le,fe=ce.expanded,Re=ce.toggle;return u.createElement(m.Z,(0,o.Z)({focusRipple:!1,disableRipple:!0,disabled:pe,component:"div","aria-expanded":fe,className:(0,R.Z)(_.root,Z,pe&&_.disabled,fe&&_.expanded,ie&&_.focused),onFocusVisible:function handleFocusVisible(t){de(!0),Y&&Y(t)},onBlur:function handleBlur(t){de(!1),$&&$(t)},onClick:function handleChange(t){Re&&Re(t),X&&X(t)},ref:r},ee),u.createElement("div",{className:(0,R.Z)(_.content,fe&&_.expanded)},i),q&&u.createElement(v.Z,(0,o.Z)({className:(0,R.Z)(_.expandIcon,fe&&_.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},W),q))}));const q=(0,_.Z)((function styles(t){var r={duration:t.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:t.transitions.create(["min-height","background-color"],r),padding:t.spacing(0,2),"&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:t.palette.action.focus},"&$disabled":{opacity:t.palette.action.disabledOpacity}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:t.transitions.create(["margin"],r),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:t.transitions.create("transform",r),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiAccordionSummary"})(Z)},45258:(t,r,i)=>{"use strict";i.d(r,{Z:()=>Z});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=i(93871),_=i(79895),M=u.forwardRef((function AppBar(t,r){var i=t.classes,m=t.className,M=t.color,Z=void 0===M?"primary":M,q=t.position,W=void 0===q?"fixed":q,$=(0,s.Z)(t,["classes","className","color","position"]);return u.createElement(_.Z,(0,o.Z)({square:!0,component:"header",elevation:4,className:(0,R.Z)(i.root,i["position".concat((0,v.Z)(W))],i["color".concat((0,v.Z)(Z))],m,"fixed"===W&&"mui-fixed"),ref:r},$))}));const Z=(0,m.Z)((function styles(t){var r="light"===t.palette.type?t.palette.grey[100]:t.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:t.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:r,color:t.palette.getContrastText(r)},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}}),{name:"MuiAppBar"})(M)},87748:(t,r,i)=>{"use strict";i.d(r,{Z:()=>ze});var o=i(42921),s=i(22122),u=(i(45697),i(19668));const R=function css(t){var r=function newStyleFunction(r){var i=t(r);return r.css?(0,s.Z)({},(0,u.Z)(i,t((0,s.Z)({theme:r.theme},r.css))),function omit(t,r){var i={};return Object.keys(t).forEach((function(o){-1===r.indexOf(o)&&(i[o]=t[o])})),i}(r.css,[t.filterProps])):i};return r.propTypes={},r.filterProps=["css"].concat((0,o.Z)(t.filterProps)),r};const m=function compose(){for(var t=arguments.length,r=new Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},u=o.name,R=(0,be.Z)(o,["name"]),m=u,v="function"==typeof r?function(t){return{root:function root(i){return r((0,s.Z)({theme:t},i))}}}:{root:r},_=(0,Pe.Z)(v,(0,s.Z)({Component:t,name:u||t.displayName,classNamePrefix:m},R));r.filterProps&&(i=r.filterProps,delete r.filterProps),r.propTypes&&(r.propTypes,delete r.propTypes);var M=xe.forwardRef((function StyledComponent(r,o){var u=r.children,R=r.className,m=r.clone,v=r.component,M=(0,be.Z)(r,["children","className","clone","component"]),Z=_(r),q=(0,_e.Z)(Z.root,R),W=M;if(i&&(W=styled_omit(W,i)),m)return xe.cloneElement(u,(0,s.Z)({className:(0,_e.Z)(u.props.className,q)},W));if("function"==typeof u)return u((0,s.Z)({className:q},W));var $=v||t;return xe.createElement($,(0,s.Z)({ref:o,className:q},W),u)}));return we()(M,t),M}}(t);return function(t,i){return r(t,(0,s.Z)({defaultTheme:Te.Z},i))}};var Ve=R(m(Z,q,W,$,X,Y,ee,fe,ye.Z,Re));const ze=Ie("div")(Ve,{name:"MuiBox"})},282:(t,r,i)=>{"use strict";i.d(r,{Z:()=>q});var o=i(81253),s=i(22122),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=i(59693),_=i(54720),M=i(93871),Z=u.forwardRef((function Button(t,r){var i=t.children,m=t.classes,v=t.className,Z=t.color,q=void 0===Z?"default":Z,W=t.component,$=void 0===W?"button":W,X=t.disabled,Y=void 0!==X&&X,ee=t.disableElevation,ae=void 0!==ee&&ee,ie=t.disableFocusRipple,de=void 0!==ie&&ie,ce=t.endIcon,le=t.focusVisibleClassName,pe=t.fullWidth,fe=void 0!==pe&&pe,Re=t.size,ye=void 0===Re?"medium":Re,be=t.startIcon,xe=t.type,_e=void 0===xe?"button":xe,Se=t.variant,we=void 0===Se?"text":Se,Pe=(0,o.Z)(t,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),Te=be&&u.createElement("span",{className:(0,R.Z)(m.startIcon,m["iconSize".concat((0,M.Z)(ye))])},be),Ie=ce&&u.createElement("span",{className:(0,R.Z)(m.endIcon,m["iconSize".concat((0,M.Z)(ye))])},ce);return u.createElement(_.Z,(0,s.Z)({className:(0,R.Z)(m.root,m[we],v,"inherit"===q?m.colorInherit:"default"!==q&&m["".concat(we).concat((0,M.Z)(q))],"medium"!==ye&&[m["".concat(we,"Size").concat((0,M.Z)(ye))],m["size".concat((0,M.Z)(ye))]],ae&&m.disableElevation,Y&&m.disabled,fe&&m.fullWidth),component:$,disabled:Y,focusRipple:!de,focusVisibleClassName:(0,R.Z)(m.focusVisible,le),ref:r,type:_e},Pe),u.createElement("span",{className:m.label},Te,i,Ie))}));const q=(0,m.Z)((function styles(t){return{root:(0,s.Z)({},t.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:t.shape.borderRadius,color:t.palette.text.primary,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,v.U1)(t.palette.text.primary,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:t.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:(0,v.U1)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:(0,v.U1)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(t.palette.action.disabledBackground)}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat((0,v.U1)(t.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.primary.main),backgroundColor:(0,v.U1)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat((0,v.U1)(t.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(t.palette.secondary.main),backgroundColor:(0,v.U1)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(t.palette.action.disabled)}},contained:{color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],boxShadow:t.shadows[2],"&:hover":{backgroundColor:t.palette.grey.A100,boxShadow:t.shadows[4],"@media (hover: none)":{boxShadow:t.shadows[2],backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:t.shadows[6]},"&:active":{boxShadow:t.shadows[8]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}},containedPrimary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},containedSecondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(Z)},54720:(t,r,i)=>{"use strict";i.d(r,{Z:()=>Re});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(73935)),m=i(86010),v=i(17294),_=i(55192),M=i(14670),Z=i(24896),q=i(42921),W=i(19756),$=i(63349),X=i(41788),Y=i(220);function getChildMapping(t,r){var i=Object.create(null);return t&&u.Children.map(t,(function(t){return t})).forEach((function(t){i[t.key]=function mapper(t){return r&&(0,u.isValidElement)(t)?r(t):t}(t)})),i}function getProp(t,r,i){return null!=i[r]?i[r]:t.props[r]}function getNextChildMapping(t,r,i){var o=getChildMapping(t.children),s=function mergeChildMappings(t,r){function getValueForKey(i){return i in r?r[i]:t[i]}t=t||{},r=r||{};var i,o=Object.create(null),s=[];for(var u in t)u in r?s.length&&(o[u]=s,s=[]):s.push(u);var R={};for(var m in r){if(o[m])for(i=0;i0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=r.pulsate,s=void 0!==o&&o,u=r.center,m=void 0===u?R||r.pulsate:u,v=r.fakeElement,_=void 0!==v&&v;if("mousedown"===t.type&&ee.current)ee.current=!1;else{"touchstart"===t.type&&(ee.current=!0);var M,Z,q,W=_?null:le.current,$=W?W.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(m||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)M=Math.round($.width/2),Z=Math.round($.height/2);else{var X=t.touches?t.touches[0]:t,Y=X.clientX,ie=X.clientY;M=Math.round(Y-$.left),Z=Math.round(ie-$.top)}if(m)(q=Math.sqrt((2*Math.pow($.width,2)+Math.pow($.height,2))/3))%2==0&&(q+=1);else{var ce=2*Math.max(Math.abs((W?W.clientWidth:0)-M),M)+2,fe=2*Math.max(Math.abs((W?W.clientHeight:0)-Z),Z)+2;q=Math.sqrt(Math.pow(ce,2)+Math.pow(fe,2))}t.touches?null===de.current&&(de.current=function(){pe({pulsate:s,rippleX:M,rippleY:Z,rippleSize:q,cb:i})},ae.current=setTimeout((function(){de.current&&(de.current(),de.current=null)}),80)):pe({pulsate:s,rippleX:M,rippleY:Z,rippleSize:q,cb:i})}}),[R,pe]),Re=u.useCallback((function(){fe({},{pulsate:!0})}),[fe]),ye=u.useCallback((function(t,r){if(clearTimeout(ae.current),"touchend"===t.type&&de.current)return t.persist(),de.current(),de.current=null,void(ae.current=setTimeout((function(){ye(t,r)})));de.current=null,$((function(t){return t.length>0?t.slice(1):t})),Y.current=r}),[]);return u.useImperativeHandle(r,(function(){return{pulsate:Re,start:fe,stop:ye}}),[Re,fe,ye]),u.createElement("span",(0,o.Z)({className:(0,m.Z)(v.root,_),ref:le},M),u.createElement(ie,{component:null,exit:!0},W))}));const pe=(0,M.Z)((function styles(t){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(t.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(t.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(t.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(u.memo(le));var fe=u.forwardRef((function ButtonBase(t,r){var i=t.action,M=t.buttonRef,q=t.centerRipple,W=void 0!==q&&q,$=t.children,X=t.classes,Y=t.className,ee=t.component,ae=void 0===ee?"button":ee,ie=t.disabled,de=void 0!==ie&&ie,ce=t.disableRipple,le=void 0!==ce&&ce,fe=t.disableTouchRipple,Re=void 0!==fe&&fe,ye=t.focusRipple,be=void 0!==ye&&ye,xe=t.focusVisibleClassName,_e=t.onBlur,Se=t.onClick,we=t.onFocus,Pe=t.onFocusVisible,Te=t.onKeyDown,Ie=t.onKeyUp,Ve=t.onMouseDown,ze=t.onMouseLeave,He=t.onMouseUp,qe=t.onTouchEnd,We=t.onTouchMove,Xe=t.onTouchStart,Qe=t.onDragLeave,Ye=t.tabIndex,et=void 0===Ye?0:Ye,tt=t.TouchRippleProps,nt=t.type,rt=void 0===nt?"button":nt,it=(0,s.Z)(t,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),ot=u.useRef(null);var st=u.useRef(null),dt=u.useState(!1),ut=dt[0],ct=dt[1];de&&ut&&ct(!1);var lt=(0,Z.Z)(),pt=lt.isFocusVisible,gt=lt.onBlurVisible,ht=lt.ref;function useRippleHandler(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Re;return(0,_.Z)((function(o){return r&&r(o),!i&&st.current&&st.current[t](o),!0}))}u.useImperativeHandle(i,(function(){return{focusVisible:function focusVisible(){ct(!0),ot.current.focus()}}}),[]),u.useEffect((function(){ut&&be&&!le&&st.current.pulsate()}),[le,be,ut]);var ft=useRippleHandler("start",Ve),Rt=useRippleHandler("stop",Qe),mt=useRippleHandler("stop",He),yt=useRippleHandler("stop",(function(t){ut&&t.preventDefault(),ze&&ze(t)})),vt=useRippleHandler("start",Xe),bt=useRippleHandler("stop",qe),xt=useRippleHandler("stop",We),Et=useRippleHandler("stop",(function(t){ut&&(gt(t),ct(!1)),_e&&_e(t)}),!1),Ct=(0,_.Z)((function(t){ot.current||(ot.current=t.currentTarget),pt(t)&&(ct(!0),Pe&&Pe(t)),we&&we(t)})),_t=function isNonNativeButton(){var t=function getButtonNode(){return R.findDOMNode(ot.current)}();return ae&&"button"!==ae&&!("A"===t.tagName&&t.href)},St=u.useRef(!1),wt=(0,_.Z)((function(t){be&&!St.current&&ut&&st.current&&" "===t.key&&(St.current=!0,t.persist(),st.current.stop(t,(function(){st.current.start(t)}))),t.target===t.currentTarget&&_t()&&" "===t.key&&t.preventDefault(),Te&&Te(t),t.target===t.currentTarget&&_t()&&"Enter"===t.key&&!de&&(t.preventDefault(),Se&&Se(t))})),Dt=(0,_.Z)((function(t){be&&" "===t.key&&st.current&&ut&&!t.defaultPrevented&&(St.current=!1,t.persist(),st.current.stop(t,(function(){st.current.pulsate(t)}))),Ie&&Ie(t),Se&&t.target===t.currentTarget&&_t()&&" "===t.key&&!t.defaultPrevented&&Se(t)})),kt=ae;"button"===kt&&it.href&&(kt="a");var At={};"button"===kt?(At.type=rt,At.disabled=de):("a"===kt&&it.href||(At.role="button"),At["aria-disabled"]=de);var Pt=(0,v.Z)(M,r),Ft=(0,v.Z)(ht,ot),Tt=(0,v.Z)(Pt,Ft),Ot=u.useState(!1),Bt=Ot[0],It=Ot[1];u.useEffect((function(){It(!0)}),[]);var Nt=Bt&&!le&&!de;return u.createElement(kt,(0,o.Z)({className:(0,m.Z)(X.root,Y,ut&&[X.focusVisible,xe],de&&X.disabled),onBlur:Et,onClick:Se,onFocus:Ct,onKeyDown:wt,onKeyUp:Dt,onMouseDown:ft,onMouseLeave:yt,onMouseUp:mt,onDragLeave:Rt,onTouchEnd:bt,onTouchMove:xt,onTouchStart:vt,ref:Tt,tabIndex:de?-1:et},At,it),$,Nt?u.createElement(pe,(0,o.Z)({ref:st,center:W},tt)):null)}));const Re=(0,M.Z)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(fe)},18463:(t,r,i)=>{"use strict";i.d(r,{Z:()=>M});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(79895),v=i(14670),_=u.forwardRef((function Card(t,r){var i=t.classes,v=t.className,_=t.raised,M=void 0!==_&&_,Z=(0,s.Z)(t,["classes","className","raised"]);return u.createElement(m.Z,(0,o.Z)({className:(0,R.Z)(i.root,v),elevation:M?8:1,ref:r},Z))}));const M=(0,v.Z)({root:{overflow:"hidden"}},{name:"MuiCard"})(_)},51907:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=u.forwardRef((function CardActions(t,r){var i=t.disableSpacing,m=void 0!==i&&i,v=t.classes,_=t.className,M=(0,s.Z)(t,["disableSpacing","classes","className"]);return u.createElement("div",(0,o.Z)({className:(0,R.Z)(v.root,_,!m&&v.spacing),ref:r},M))}));const _=(0,m.Z)({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiCardActions"})(v)},79912:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=u.forwardRef((function CardContent(t,r){var i=t.classes,m=t.className,v=t.component,_=void 0===v?"div":v,M=(0,s.Z)(t,["classes","className","component"]);return u.createElement(_,(0,o.Z)({className:(0,R.Z)(i.root,m),ref:r},M))}));const _=(0,m.Z)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(v)},71267:(t,r,i)=>{"use strict";i.d(r,{Z:()=>$});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010));const m=(0,i(25209).Z)(u.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var v=i(14670),_=i(59693),M=i(17294),Z=i(93871),q=i(54720);function isDeleteKeyboardEvent(t){return"Backspace"===t.key||"Delete"===t.key}var W=u.forwardRef((function Chip(t,r){var i=t.avatar,v=t.classes,_=t.className,W=t.clickable,$=t.color,X=void 0===$?"default":$,Y=t.component,ee=t.deleteIcon,ae=t.disabled,ie=void 0!==ae&&ae,de=t.icon,ce=t.label,le=t.onClick,pe=t.onDelete,fe=t.onKeyDown,Re=t.onKeyUp,ye=t.size,be=void 0===ye?"medium":ye,xe=t.variant,_e=void 0===xe?"default":xe,Se=(0,s.Z)(t,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),we=u.useRef(null),Pe=(0,M.Z)(we,r),Te=function handleDeleteIconClick(t){t.stopPropagation(),pe&&pe(t)},Ie=!(!1===W||!le)||W,Ve="small"===be,ze=Y||(Ie?q.Z:"div"),He=ze===q.Z?{component:"div"}:{},qe=null;if(pe){var We=(0,R.Z)("default"!==X&&("default"===_e?v["deleteIconColor".concat((0,Z.Z)(X))]:v["deleteIconOutlinedColor".concat((0,Z.Z)(X))]),Ve&&v.deleteIconSmall);qe=ee&&u.isValidElement(ee)?u.cloneElement(ee,{className:(0,R.Z)(ee.props.className,v.deleteIcon,We),onClick:Te}):u.createElement(m,{className:(0,R.Z)(v.deleteIcon,We),onClick:Te})}var Xe=null;i&&u.isValidElement(i)&&(Xe=u.cloneElement(i,{className:(0,R.Z)(v.avatar,i.props.className,Ve&&v.avatarSmall,"default"!==X&&v["avatarColor".concat((0,Z.Z)(X))])}));var Qe=null;return de&&u.isValidElement(de)&&(Qe=u.cloneElement(de,{className:(0,R.Z)(v.icon,de.props.className,Ve&&v.iconSmall,"default"!==X&&v["iconColor".concat((0,Z.Z)(X))])})),u.createElement(ze,(0,o.Z)({role:Ie||pe?"button":void 0,className:(0,R.Z)(v.root,_,"default"!==X&&[v["color".concat((0,Z.Z)(X))],Ie&&v["clickableColor".concat((0,Z.Z)(X))],pe&&v["deletableColor".concat((0,Z.Z)(X))]],"default"!==_e&&[v.outlined,{primary:v.outlinedPrimary,secondary:v.outlinedSecondary}[X]],ie&&v.disabled,Ve&&v.sizeSmall,Ie&&v.clickable,pe&&v.deletable),"aria-disabled":!!ie||void 0,tabIndex:Ie||pe?0:void 0,onClick:le,onKeyDown:function handleKeyDown(t){t.currentTarget===t.target&&isDeleteKeyboardEvent(t)&&t.preventDefault(),fe&&fe(t)},onKeyUp:function handleKeyUp(t){t.currentTarget===t.target&&(pe&&isDeleteKeyboardEvent(t)?pe(t):"Escape"===t.key&&we.current&&we.current.blur()),Re&&Re(t)},ref:Pe},He,Se),Xe||Qe,u.createElement("span",{className:(0,R.Z)(v.label,Ve&&v.labelSmall)},ce),qe)}));const $=(0,v.Z)((function styles(t){var r="light"===t.palette.type?t.palette.grey[300]:t.palette.grey[700],i=(0,_.U1)(t.palette.text.primary,.26);return{root:{fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:t.palette.getContrastText(r),backgroundColor:r,borderRadius:16,whiteSpace:"nowrap",transition:t.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],fontSize:t.typography.pxToRem(12)},"& $avatarColorPrimary":{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.dark},"& $avatarColorSecondary":{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:t.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,_._4)(r,.08)},"&:active":{boxShadow:t.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,_._4)(t.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,_._4)(t.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:(0,_._4)(r,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,_._4)(t.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,_._4)(t.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,_.U1)(t.palette.text.primary,t.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:t.palette.primary.main,border:"1px solid ".concat(t.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,_.U1)(t.palette.primary.main,t.palette.action.hoverOpacity)}},outlinedSecondary:{color:t.palette.secondary.main,border:"1px solid ".concat(t.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,_.U1)(t.palette.secondary.main,t.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===t.palette.type?t.palette.grey[700]:t.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:i,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,_.U1)(i,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:(0,_.U1)(t.palette.primary.contrastText,.7),"&:hover, &:active":{color:t.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,_.U1)(t.palette.secondary.contrastText,.7),"&:hover, &:active":{color:t.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:(0,_.U1)(t.palette.primary.main,.7),"&:hover, &:active":{color:t.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:(0,_.U1)(t.palette.secondary.main,.7),"&:hover, &:active":{color:t.palette.secondary.main}}}}),{name:"MuiChip"})(W)},43832:(t,r,i)=>{"use strict";i.d(r,{Z:()=>Z});var o=i(22122),s=i(81253),u=i(96156),R=i(67294),m=(i(45697),i(86010)),v=i(14670),_=i(93871),M=R.forwardRef((function Container(t,r){var i=t.classes,u=t.className,v=t.component,M=void 0===v?"div":v,Z=t.disableGutters,q=void 0!==Z&&Z,W=t.fixed,$=void 0!==W&&W,X=t.maxWidth,Y=void 0===X?"lg":X,ee=(0,s.Z)(t,["classes","className","component","disableGutters","fixed","maxWidth"]);return R.createElement(M,(0,o.Z)({className:(0,m.Z)(i.root,u,$&&i.fixed,q&&i.disableGutters,!1!==Y&&i["maxWidth".concat((0,_.Z)(String(Y)))]),ref:r},ee))}));const Z=(0,v.Z)((function styles(t){return{root:(0,u.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:t.spacing(2),paddingRight:t.spacing(2),display:"block"},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),disableGutters:{paddingLeft:0,paddingRight:0},fixed:Object.keys(t.breakpoints.values).reduce((function(r,i){var o=t.breakpoints.values[i];return 0!==o&&(r[t.breakpoints.up(i)]={maxWidth:o}),r}),{}),maxWidthXs:(0,u.Z)({},t.breakpoints.up("xs"),{maxWidth:Math.max(t.breakpoints.values.xs,444)}),maxWidthSm:(0,u.Z)({},t.breakpoints.up("sm"),{maxWidth:t.breakpoints.values.sm}),maxWidthMd:(0,u.Z)({},t.breakpoints.up("md"),{maxWidth:t.breakpoints.values.md}),maxWidthLg:(0,u.Z)({},t.breakpoints.up("lg"),{maxWidth:t.breakpoints.values.lg}),maxWidthXl:(0,u.Z)({},t.breakpoints.up("xl"),{maxWidth:t.breakpoints.values.xl})}}),{name:"MuiContainer"})(M)},41749:(t,r,i)=>{"use strict";i.d(r,{Z:()=>Z});var o=i(81253),s=i(22122),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=[0,1,2,3,4,5,6,7,8,9,10],_=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function getOffset(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=parseFloat(t);return"".concat(i/r).concat(String(t).replace(String(i),"")||"px")}var M=u.forwardRef((function Grid(t,r){var i=t.alignContent,m=void 0===i?"stretch":i,v=t.alignItems,_=void 0===v?"stretch":v,M=t.classes,Z=t.className,q=t.component,W=void 0===q?"div":q,$=t.container,X=void 0!==$&&$,Y=t.direction,ee=void 0===Y?"row":Y,ae=t.item,ie=void 0!==ae&&ae,de=t.justify,ce=void 0===de?"flex-start":de,le=t.lg,pe=void 0!==le&&le,fe=t.md,Re=void 0!==fe&&fe,ye=t.sm,be=void 0!==ye&&ye,xe=t.spacing,_e=void 0===xe?0:xe,Se=t.wrap,we=void 0===Se?"wrap":Se,Pe=t.xl,Te=void 0!==Pe&&Pe,Ie=t.xs,Ve=void 0!==Ie&&Ie,ze=t.zeroMinWidth,He=void 0!==ze&&ze,qe=(0,o.Z)(t,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),We=(0,R.Z)(M.root,Z,X&&[M.container,0!==_e&&M["spacing-xs-".concat(String(_e))]],ie&&M.item,He&&M.zeroMinWidth,"row"!==ee&&M["direction-xs-".concat(String(ee))],"wrap"!==we&&M["wrap-xs-".concat(String(we))],"stretch"!==_&&M["align-items-xs-".concat(String(_))],"stretch"!==m&&M["align-content-xs-".concat(String(m))],"flex-start"!==ce&&M["justify-xs-".concat(String(ce))],!1!==Ve&&M["grid-xs-".concat(String(Ve))],!1!==be&&M["grid-sm-".concat(String(be))],!1!==Re&&M["grid-md-".concat(String(Re))],!1!==pe&&M["grid-lg-".concat(String(pe))],!1!==Te&&M["grid-xl-".concat(String(Te))]);return u.createElement(W,(0,s.Z)({className:We,ref:r},qe))}));const Z=(0,m.Z)((function styles(t){return(0,s.Z)({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function generateGutter(t,r){var i={};return v.forEach((function(o){var s=t.spacing(o);0!==s&&(i["spacing-".concat(r,"-").concat(o)]={margin:"-".concat(getOffset(s,2)),width:"calc(100% + ".concat(getOffset(s),")"),"& > $item":{padding:getOffset(s,2)}})})),i}(t,"xs"),t.breakpoints.keys.reduce((function(r,i){return function generateGrid(t,r,i){var o={};_.forEach((function(t){var r="grid-".concat(i,"-").concat(t);if(!0!==t)if("auto"!==t){var s="".concat(Math.round(t/12*1e8)/1e6,"%");o[r]={flexBasis:s,flexGrow:0,maxWidth:s}}else o[r]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else o[r]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===i?(0,s.Z)(t,o):t[r.breakpoints.up(i)]=o}(r,t,i),r}),{}))}),{name:"MuiGrid"})(M)},17812:(t,r,i)=>{"use strict";i.d(r,{Z:()=>q});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=i(59693),_=i(54720),M=i(93871),Z=u.forwardRef((function IconButton(t,r){var i=t.edge,m=void 0!==i&&i,v=t.children,Z=t.classes,q=t.className,W=t.color,$=void 0===W?"default":W,X=t.disabled,Y=void 0!==X&&X,ee=t.disableFocusRipple,ae=void 0!==ee&&ee,ie=t.size,de=void 0===ie?"medium":ie,ce=(0,s.Z)(t,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return u.createElement(_.Z,(0,o.Z)({className:(0,R.Z)(Z.root,q,"default"!==$&&Z["color".concat((0,M.Z)($))],Y&&Z.disabled,"small"===de&&Z["size".concat((0,M.Z)(de))],{start:Z.edgeStart,end:Z.edgeEnd}[m]),centerRipple:!0,focusRipple:!ae,disabled:Y,ref:r},ce),u.createElement("span",{className:Z.label},v))}));const q=(0,m.Z)((function styles(t){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:t.palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,v.U1)(t.palette.action.active,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:t.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main,"&:hover":{backgroundColor:(0,v.U1)(t.palette.primary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:t.palette.secondary.main,"&:hover":{backgroundColor:(0,v.U1)(t.palette.secondary.main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:t.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(Z)},66987:(t,r,i)=>{"use strict";i.d(r,{Z:()=>o});const o=i(67294).createContext({})},50343:(t,r,i)=>{"use strict";i.d(r,{Z:()=>Ve});var o=i(22122),s=i(81253),u=i(67294),R=(i(59864),i(45697),i(86010)),m=i(14670),v=i(73935),_=i(79437),M=i(30626),Z=i(80713),q=i(82568),W=i(13768),$=i(28481),X=i(12666),Y=i(8920),ee=i(5653),ae=i(17294);function getScale(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var ie={entering:{opacity:1,transform:getScale(1)},entered:{opacity:1,transform:"none"}},de=u.forwardRef((function Grow(t,r){var i=t.children,R=t.disableStrictModeCompat,m=void 0!==R&&R,v=t.in,_=t.onEnter,M=t.onEntered,Z=t.onEntering,q=t.onExit,W=t.onExited,de=t.onExiting,ce=t.style,le=t.timeout,pe=void 0===le?"auto":le,fe=t.TransitionComponent,Re=void 0===fe?X.ZP:fe,ye=(0,s.Z)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),be=u.useRef(),xe=u.useRef(),_e=(0,Y.Z)(),Se=_e.unstable_strictMode&&!m,we=u.useRef(null),Pe=(0,ae.Z)(i.ref,r),Te=(0,ae.Z)(Se?we:void 0,Pe),Ie=function normalizedTransitionCallback(t){return function(r,i){if(t){var o=Se?[we.current,r]:[r,i],s=(0,$.Z)(o,2),u=s[0],R=s[1];void 0===R?t(u):t(u,R)}}},Ve=Ie(Z),ze=Ie((function(t,r){(0,ee.n)(t);var i,o=(0,ee.C)({style:ce,timeout:pe},{mode:"enter"}),s=o.duration,u=o.delay;"auto"===pe?(i=_e.transitions.getAutoHeightDuration(t.clientHeight),xe.current=i):i=s,t.style.transition=[_e.transitions.create("opacity",{duration:i,delay:u}),_e.transitions.create("transform",{duration:.666*i,delay:u})].join(","),_&&_(t,r)})),He=Ie(M),qe=Ie(de),We=Ie((function(t){var r,i=(0,ee.C)({style:ce,timeout:pe},{mode:"exit"}),o=i.duration,s=i.delay;"auto"===pe?(r=_e.transitions.getAutoHeightDuration(t.clientHeight),xe.current=r):r=o,t.style.transition=[_e.transitions.create("opacity",{duration:r,delay:s}),_e.transitions.create("transform",{duration:.666*r,delay:s||.333*r})].join(","),t.style.opacity="0",t.style.transform=getScale(.75),q&&q(t)})),Xe=Ie(W);return u.useEffect((function(){return function(){clearTimeout(be.current)}}),[]),u.createElement(Re,(0,o.Z)({appear:!0,in:v,nodeRef:Se?we:void 0,onEnter:ze,onEntered:He,onEntering:Ve,onExit:We,onExited:Xe,onExiting:qe,addEndListener:function addEndListener(t,r){var i=Se?t:r;"auto"===pe&&(be.current=setTimeout(i,xe.current||0))},timeout:"auto"===pe?null:pe},ye),(function(t,r){return u.cloneElement(i,(0,o.Z)({style:(0,o.Z)({opacity:0,transform:getScale(.75),visibility:"exited"!==t||v?void 0:"hidden"},ie[t],ce,i.props.style),ref:Te},r))}))}));de.muiSupportAuto=!0;const ce=de;var le=i(79895);function getOffsetTop(t,r){var i=0;return"number"==typeof r?i=r:"center"===r?i=t.height/2:"bottom"===r&&(i=t.height),i}function getOffsetLeft(t,r){var i=0;return"number"==typeof r?i=r:"center"===r?i=t.width/2:"right"===r&&(i=t.width),i}function getTransformOriginValue(t){return[t.horizontal,t.vertical].map((function(t){return"number"==typeof t?"".concat(t,"px"):t})).join(" ")}function getAnchorEl(t){return"function"==typeof t?t():t}var pe=u.forwardRef((function Popover(t,r){var i=t.action,m=t.anchorEl,$=t.anchorOrigin,X=void 0===$?{vertical:"top",horizontal:"left"}:$,Y=t.anchorPosition,ee=t.anchorReference,ae=void 0===ee?"anchorEl":ee,ie=t.children,de=t.classes,pe=t.className,fe=t.container,Re=t.elevation,ye=void 0===Re?8:Re,be=t.getContentAnchorEl,xe=t.marginThreshold,_e=void 0===xe?16:xe,Se=t.onEnter,we=t.onEntered,Pe=t.onEntering,Te=t.onExit,Ie=t.onExited,Ve=t.onExiting,ze=t.open,He=t.PaperProps,qe=void 0===He?{}:He,We=t.transformOrigin,Xe=void 0===We?{vertical:"top",horizontal:"left"}:We,Qe=t.TransitionComponent,Ye=void 0===Qe?ce:Qe,et=t.transitionDuration,tt=void 0===et?"auto":et,nt=t.TransitionProps,rt=void 0===nt?{}:nt,it=(0,s.Z)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),ot=u.useRef(),st=u.useCallback((function(t){if("anchorPosition"===ae)return Y;var r=getAnchorEl(m),i=(r&&1===r.nodeType?r:(0,M.Z)(ot.current).body).getBoundingClientRect(),o=0===t?X.vertical:"center";return{top:i.top+getOffsetTop(i,o),left:i.left+getOffsetLeft(i,X.horizontal)}}),[m,X.horizontal,X.vertical,Y,ae]),dt=u.useCallback((function(t){var r=0;if(be&&"anchorEl"===ae){var i=be(t);if(i&&t.contains(i)){var o=function getScrollParent(t,r){for(var i=r,o=0;i&&i!==t;)o+=(i=i.parentElement).scrollTop;return o}(t,i);r=i.offsetTop+i.clientHeight/2-o||0}0}return r}),[X.vertical,ae,be]),ut=u.useCallback((function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:getOffsetTop(t,Xe.vertical)+r,horizontal:getOffsetLeft(t,Xe.horizontal)}}),[Xe.horizontal,Xe.vertical]),ct=u.useCallback((function(t){var r=dt(t),i={width:t.offsetWidth,height:t.offsetHeight},o=ut(i,r);if("none"===ae)return{top:null,left:null,transformOrigin:getTransformOriginValue(o)};var s=st(r),u=s.top-o.vertical,R=s.left-o.horizontal,v=u+i.height,_=R+i.width,M=(0,Z.Z)(getAnchorEl(m)),q=M.innerHeight-_e,W=M.innerWidth-_e;if(u<_e){var $=u-_e;u-=$,o.vertical+=$}else if(v>q){var X=v-q;u-=X,o.vertical+=X}if(R<_e){var Y=R-_e;R-=Y,o.horizontal+=Y}else if(_>W){var ee=_-W;R-=ee,o.horizontal+=ee}return{top:"".concat(Math.round(u),"px"),left:"".concat(Math.round(R),"px"),transformOrigin:getTransformOriginValue(o)}}),[m,ae,st,dt,ut,_e]),lt=u.useCallback((function(){var t=ot.current;if(t){var r=ct(t);null!==r.top&&(t.style.top=r.top),null!==r.left&&(t.style.left=r.left),t.style.transformOrigin=r.transformOrigin}}),[ct]),pt=u.useCallback((function(t){ot.current=v.findDOMNode(t)}),[]);u.useEffect((function(){ze&<()})),u.useImperativeHandle(i,(function(){return ze?{updatePosition:function updatePosition(){lt()}}:null}),[ze,lt]),u.useEffect((function(){if(ze){var t=(0,_.Z)((function(){lt()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[ze,lt]);var gt=tt;"auto"!==tt||Ye.muiSupportAuto||(gt=void 0);var ht=fe||(m?(0,M.Z)(getAnchorEl(m)).body:void 0);return u.createElement(W.Z,(0,o.Z)({container:ht,open:ze,ref:r,BackdropProps:{invisible:!0},className:(0,R.Z)(de.root,pe)},it),u.createElement(Ye,(0,o.Z)({appear:!0,in:ze,onEnter:Se,onEntered:we,onExit:Te,onExited:Ie,onExiting:Ve,timeout:gt},rt,{onEntering:(0,q.Z)((function handleEntering(t,r){Pe&&Pe(t,r),lt()}),rt.onEntering)}),u.createElement(le.Z,(0,o.Z)({elevation:ye,ref:pt},qe,{className:(0,R.Z)(de.paper,qe.className)}),ie)))}));const fe=(0,m.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(pe);var Re=i(66987),ye=u.forwardRef((function List(t,r){var i=t.children,m=t.classes,v=t.className,_=t.component,M=void 0===_?"ul":_,Z=t.dense,q=void 0!==Z&&Z,W=t.disablePadding,$=void 0!==W&&W,X=t.subheader,Y=(0,s.Z)(t,["children","classes","className","component","dense","disablePadding","subheader"]),ee=u.useMemo((function(){return{dense:q}}),[q]);return u.createElement(Re.Z.Provider,{value:ee},u.createElement(M,(0,o.Z)({className:(0,R.Z)(m.root,v,q&&m.dense,!$&&m.padding,X&&m.subheader),ref:r},Y),X,i))}));const be=(0,m.Z)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(ye);var xe=i(75840);function nextItem(t,r,i){return t===r?t.firstChild:r&&r.nextElementSibling?r.nextElementSibling:i?null:t.firstChild}function previousItem(t,r,i){return t===r?i?t.firstChild:t.lastChild:r&&r.previousElementSibling?r.previousElementSibling:i?null:t.lastChild}function textCriteriaMatches(t,r){if(void 0===r)return!0;var i=t.innerText;return void 0===i&&(i=t.textContent),0!==(i=i.trim().toLowerCase()).length&&(r.repeating?i[0]===r.keys[0]:0===i.indexOf(r.keys.join("")))}function moveFocus(t,r,i,o,s,u){for(var R=!1,m=s(t,r,!!r&&i);m;){if(m===t.firstChild){if(R)return;R=!0}var v=!o&&(m.disabled||"true"===m.getAttribute("aria-disabled"));if(m.hasAttribute("tabindex")&&textCriteriaMatches(m,u)&&!v)return void m.focus();m=s(t,m,i)}}var _e="undefined"==typeof window?u.useEffect:u.useLayoutEffect;const Se=u.forwardRef((function MenuList(t,r){var i=t.actions,R=t.autoFocus,m=void 0!==R&&R,_=t.autoFocusItem,Z=void 0!==_&&_,q=t.children,W=t.className,$=t.disabledItemsFocusable,X=void 0!==$&&$,Y=t.disableListWrap,ee=void 0!==Y&&Y,ie=t.onKeyDown,de=t.variant,ce=void 0===de?"selectedMenu":de,le=(0,s.Z)(t,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),pe=u.useRef(null),fe=u.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});_e((function(){m&&pe.current.focus()}),[m]),u.useImperativeHandle(i,(function(){return{adjustStyleForScrollbar:function adjustStyleForScrollbar(t,r){var i=!pe.current.style.width;if(t.clientHeight0&&(R-s.lastTime>500?(s.keys=[],s.repeating=!0,s.previousKeyMatched=!0):s.repeating&&u!==s.keys[0]&&(s.repeating=!1)),s.lastTime=R,s.keys.push(u);var m=o&&!s.repeating&&textCriteriaMatches(o,s);s.previousKeyMatched&&(m||moveFocus(r,o,!1,X,nextItem,s))?t.preventDefault():s.previousKeyMatched=!1}ie&&ie(t)},tabIndex:m?0:-1},le),we)}));var we=i(34236),Pe={vertical:"top",horizontal:"right"},Te={vertical:"top",horizontal:"left"},Ie=u.forwardRef((function Menu(t,r){var i=t.autoFocus,m=void 0===i||i,_=t.children,M=t.classes,Z=t.disableAutoFocusItem,q=void 0!==Z&&Z,W=t.MenuListProps,$=void 0===W?{}:W,X=t.onClose,ee=t.onEntering,ae=t.open,ie=t.PaperProps,de=void 0===ie?{}:ie,ce=t.PopoverClasses,le=t.transitionDuration,pe=void 0===le?"auto":le,Re=t.variant,ye=void 0===Re?"selectedMenu":Re,be=(0,s.Z)(t,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),xe=(0,Y.Z)(),_e=m&&!q&&ae,Ie=u.useRef(null),Ve=u.useRef(null),ze=-1;u.Children.map(_,(function(t,r){u.isValidElement(t)&&(t.props.disabled||("menu"!==ye&&t.props.selected||-1===ze)&&(ze=r))}));var He=u.Children.map(_,(function(t,r){return r===ze?u.cloneElement(t,{ref:function ref(r){Ve.current=v.findDOMNode(r),(0,we.Z)(t.ref,r)}}):t}));return u.createElement(fe,(0,o.Z)({getContentAnchorEl:function getContentAnchorEl(){return Ve.current},classes:ce,onClose:X,onEntering:function handleEntering(t,r){Ie.current&&Ie.current.adjustStyleForScrollbar(t,xe),ee&&ee(t,r)},anchorOrigin:"rtl"===xe.direction?Pe:Te,transformOrigin:"rtl"===xe.direction?Pe:Te,PaperProps:(0,o.Z)({},de,{classes:(0,o.Z)({},de.classes,{root:M.paper})}),open:ae,ref:r,transitionDuration:pe},be),u.createElement(Se,(0,o.Z)({onKeyDown:function handleListKeyDown(t){"Tab"===t.key&&(t.preventDefault(),X&&X(t,"tabKeyDown"))},actions:Ie,autoFocus:m&&(-1===ze||q),autoFocusItem:_e,variant:ye},$,{className:(0,R.Z)(M.list,$.className)}),He))}));const Ve=(0,m.Z)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(Ie)},13768:(t,r,i)=>{"use strict";i.d(r,{Z:()=>fe});var o=i(81253),s=i(22122),u=i(67294),R=i(73935),m=(i(45697),i(75959)),v=i(93869),_=i(30626),M=i(76234),Z=i(82568),q=i(17294),W=i(55192),$=i(92781);var X=i(5991),Y=i(42921),ee=i(75840),ae=i(80713);function ariaHidden(t,r){r?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function getPaddingRight(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function ariaHiddenSiblings(t,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],s=arguments.length>4?arguments[4]:void 0,u=[r,i].concat((0,Y.Z)(o)),R=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===u.indexOf(t)&&-1===R.indexOf(t.tagName)&&ariaHidden(t,s)}))}function findIndexOf(t,r){var i=-1;return t.some((function(t,o){return!!r(t)&&(i=o,!0)})),i}function handleContainer(t,r){var i,o=[],s=[],u=t.container;if(!r.disableScrollLock){if(function isOverflowing(t){var r=(0,_.Z)(t);return r.body===t?(0,ae.Z)(r).innerWidth>r.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(u)){var R=(0,ee.Z)();o.push({value:u.style.paddingRight,key:"padding-right",el:u}),u.style["padding-right"]="".concat(getPaddingRight(u)+R,"px"),i=(0,_.Z)(u).querySelectorAll(".mui-fixed"),[].forEach.call(i,(function(t){s.push(t.style.paddingRight),t.style.paddingRight="".concat(getPaddingRight(t)+R,"px")}))}var m=u.parentElement,v="HTML"===m.nodeName&&"scroll"===window.getComputedStyle(m)["overflow-y"]?m:u;o.push({value:v.style.overflow,key:"overflow",el:v}),v.style.overflow="hidden"}return function restore(){i&&[].forEach.call(i,(function(t,r){s[r]?t.style.paddingRight=s[r]:t.style.removeProperty("padding-right")})),o.forEach((function(t){var r=t.value,i=t.el,o=t.key;r?i.style.setProperty(o,r):i.style.removeProperty(o)}))}}var ie=function(){function ModalManager(){!function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,ModalManager),this.modals=[],this.containers=[]}return(0,X.Z)(ModalManager,[{key:"add",value:function add(t,r){var i=this.modals.indexOf(t);if(-1!==i)return i;i=this.modals.length,this.modals.push(t),t.modalRef&&ariaHidden(t.modalRef,!1);var o=function getHiddenSiblings(t){var r=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&r.push(t)})),r}(r);ariaHiddenSiblings(r,t.mountNode,t.modalRef,o,!0);var s=findIndexOf(this.containers,(function(t){return t.container===r}));return-1!==s?(this.containers[s].modals.push(t),i):(this.containers.push({modals:[t],container:r,restore:null,hiddenSiblingNodes:o}),i)}},{key:"mount",value:function mount(t,r){var i=findIndexOf(this.containers,(function(r){return-1!==r.modals.indexOf(t)})),o=this.containers[i];o.restore||(o.restore=handleContainer(o,r))}},{key:"remove",value:function remove(t){var r=this.modals.indexOf(t);if(-1===r)return r;var i=findIndexOf(this.containers,(function(r){return-1!==r.modals.indexOf(t)})),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),t.modalRef&&ariaHidden(t.modalRef,!0),ariaHiddenSiblings(o.container,t.mountNode,t.modalRef,o.hiddenSiblingNodes,!1),this.containers.splice(i,1);else{var s=o.modals[o.modals.length-1];s.modalRef&&ariaHidden(s.modalRef,!1)}return r}},{key:"isTopModal",value:function isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),ModalManager}();const de=function Unstable_TrapFocus(t){var r=t.children,i=t.disableAutoFocus,o=void 0!==i&&i,s=t.disableEnforceFocus,m=void 0!==s&&s,v=t.disableRestoreFocus,M=void 0!==v&&v,Z=t.getDoc,W=t.isEnabled,$=t.open,X=u.useRef(),Y=u.useRef(null),ee=u.useRef(null),ae=u.useRef(),ie=u.useRef(null),de=u.useCallback((function(t){ie.current=R.findDOMNode(t)}),[]),ce=(0,q.Z)(r.ref,de),le=u.useRef();return u.useEffect((function(){le.current=$}),[$]),!le.current&&$&&"undefined"!=typeof window&&(ae.current=Z().activeElement),u.useEffect((function(){if($){var t=(0,_.Z)(ie.current);o||!ie.current||ie.current.contains(t.activeElement)||(ie.current.hasAttribute("tabIndex")||ie.current.setAttribute("tabIndex",-1),ie.current.focus());var r=function contain(){null!==ie.current&&(t.hasFocus()&&!m&&W()&&!X.current?ie.current&&!ie.current.contains(t.activeElement)&&ie.current.focus():X.current=!1)},i=function loopFocus(r){!m&&W()&&9===r.keyCode&&t.activeElement===ie.current&&(X.current=!0,r.shiftKey?ee.current.focus():Y.current.focus())};t.addEventListener("focus",r,!0),t.addEventListener("keydown",i,!0);var s=setInterval((function(){r()}),50);return function(){clearInterval(s),t.removeEventListener("focus",r,!0),t.removeEventListener("keydown",i,!0),M||(ae.current&&ae.current.focus&&ae.current.focus(),ae.current=null)}}}),[o,m,M,W,$]),u.createElement(u.Fragment,null,u.createElement("div",{tabIndex:0,ref:Y,"data-test":"sentinelStart"}),u.cloneElement(r,{ref:ce}),u.createElement("div",{tabIndex:0,ref:ee,"data-test":"sentinelEnd"}))};var ce={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}};const le=u.forwardRef((function SimpleBackdrop(t,r){var i=t.invisible,R=void 0!==i&&i,m=t.open,v=(0,o.Z)(t,["invisible","open"]);return m?u.createElement("div",(0,s.Z)({"aria-hidden":!0,ref:r},v,{style:(0,s.Z)({},ce.root,R?ce.invisible:{},v.style)})):null}));var pe=new ie;const fe=u.forwardRef((function Modal(t,r){var i=(0,m.Z)(),X=(0,v.Z)({name:"MuiModal",props:(0,s.Z)({},t),theme:i}),Y=X.BackdropComponent,ee=void 0===Y?le:Y,ae=X.BackdropProps,ie=X.children,ce=X.closeAfterTransition,fe=void 0!==ce&&ce,Re=X.container,ye=X.disableAutoFocus,be=void 0!==ye&&ye,xe=X.disableBackdropClick,_e=void 0!==xe&&xe,Se=X.disableEnforceFocus,we=void 0!==Se&&Se,Pe=X.disableEscapeKeyDown,Te=void 0!==Pe&&Pe,Ie=X.disablePortal,Ve=void 0!==Ie&&Ie,ze=X.disableRestoreFocus,He=void 0!==ze&&ze,qe=X.disableScrollLock,We=void 0!==qe&&qe,Xe=X.hideBackdrop,Qe=void 0!==Xe&&Xe,Ye=X.keepMounted,et=void 0!==Ye&&Ye,tt=X.manager,nt=void 0===tt?pe:tt,rt=X.onBackdropClick,it=X.onClose,ot=X.onEscapeKeyDown,st=X.onRendered,dt=X.open,ut=(0,o.Z)(X,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),ct=u.useState(!0),lt=ct[0],pt=ct[1],gt=u.useRef({}),ht=u.useRef(null),ft=u.useRef(null),Rt=(0,q.Z)(ft,r),mt=function getHasTransition(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(X),yt=function getDoc(){return(0,_.Z)(ht.current)},vt=function getModal(){return gt.current.modalRef=ft.current,gt.current.mountNode=ht.current,gt.current},bt=function handleMounted(){nt.mount(vt(),{disableScrollLock:We}),ft.current.scrollTop=0},xt=(0,W.Z)((function(){var t=function getContainer(t){return t="function"==typeof t?t():t,R.findDOMNode(t)}(Re)||yt().body;nt.add(vt(),t),ft.current&&bt()})),Et=u.useCallback((function(){return nt.isTopModal(vt())}),[nt]),Ct=(0,W.Z)((function(t){ht.current=t,t&&(st&&st(),dt&&Et()?bt():ariaHidden(ft.current,!0))})),_t=u.useCallback((function(){nt.remove(vt())}),[nt]);if(u.useEffect((function(){return function(){_t()}}),[_t]),u.useEffect((function(){dt?xt():mt&&fe||_t()}),[dt,_t,mt,fe,xt]),!et&&!dt&&(!mt||lt))return null;var St=function styles(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(i||{zIndex:$.Z}),wt={};return void 0===ie.props.tabIndex&&(wt.tabIndex=ie.props.tabIndex||"-1"),mt&&(wt.onEnter=(0,Z.Z)((function handleEnter(){pt(!1)}),ie.props.onEnter),wt.onExited=(0,Z.Z)((function handleExited(){pt(!0),fe&&_t()}),ie.props.onExited)),u.createElement(M.Z,{ref:Ct,container:Re,disablePortal:Ve},u.createElement("div",(0,s.Z)({ref:Rt,onKeyDown:function handleKeyDown(t){"Escape"===t.key&&Et()&&(ot&&ot(t),Te||(t.stopPropagation(),it&&it(t,"escapeKeyDown")))},role:"presentation"},ut,{style:(0,s.Z)({},St.root,!dt&<?St.hidden:{},ut.style)}),Qe?null:u.createElement(ee,(0,s.Z)({open:dt,onClick:function handleBackdropClick(t){t.target===t.currentTarget&&(rt&&rt(t),!_e&&it&&it(t,"backdropClick"))}},ae)),u.createElement(de,{disableEnforceFocus:we,disableAutoFocus:be,disableRestoreFocus:He,getDoc:yt,isEnabled:Et,open:dt},u.cloneElement(ie,wt))))}))},79895:(t,r,i)=>{"use strict";i.d(r,{Z:()=>_});var o=i(81253),s=i(22122),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=u.forwardRef((function Paper(t,r){var i=t.classes,m=t.className,v=t.component,_=void 0===v?"div":v,M=t.square,Z=void 0!==M&&M,q=t.elevation,W=void 0===q?1:q,$=t.variant,X=void 0===$?"elevation":$,Y=(0,o.Z)(t,["classes","className","component","square","elevation","variant"]);return u.createElement(_,(0,s.Z)({className:(0,R.Z)(i.root,m,"outlined"===X?i.outlined:i["elevation".concat(W)],!Z&&i.rounded),ref:r},Y))}));const _=(0,m.Z)((function styles(t){var r={};return t.shadows.forEach((function(t,i){r["elevation".concat(i)]={boxShadow:t}})),(0,s.Z)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},r)}),{name:"MuiPaper"})(v)},76234:(t,r,i)=>{"use strict";i.d(r,{Z:()=>v});var o=i(67294),s=i(73935),u=(i(45697),i(34236)),R=i(17294);var m="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;const v=o.forwardRef((function Portal(t,r){var i=t.children,v=t.container,_=t.disablePortal,M=void 0!==_&&_,Z=t.onRendered,q=o.useState(null),W=q[0],$=q[1],X=(0,R.Z)(o.isValidElement(i)?i.ref:null,r);return m((function(){M||$(function getContainer(t){return t="function"==typeof t?t():t,s.findDOMNode(t)}(v)||document.body)}),[v,M]),m((function(){if(W&&!M)return(0,u.Z)(r,W),function(){(0,u.Z)(r,null)}}),[r,W,M]),m((function(){Z&&(W||M)&&Z()}),[Z,W,M]),M?o.isValidElement(i)?o.cloneElement(i,{ref:X}):i:W?s.createPortal(i,W):W}))},28358:(t,r,i)=>{"use strict";i.d(r,{Z:()=>M});var o=i(22122),s=i(81253),u=i(96156),R=i(67294),m=(i(45697),i(86010)),v=i(14670),_=R.forwardRef((function Toolbar(t,r){var i=t.classes,u=t.className,v=t.component,_=void 0===v?"div":v,M=t.disableGutters,Z=void 0!==M&&M,q=t.variant,W=void 0===q?"regular":q,$=(0,s.Z)(t,["classes","className","component","disableGutters","variant"]);return R.createElement(_,(0,o.Z)({className:(0,m.Z)(i.root,i[W],u,!Z&&i.gutters),ref:r},$))}));const M=(0,v.Z)((function styles(t){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:(0,u.Z)({paddingLeft:t.spacing(2),paddingRight:t.spacing(2)},t.breakpoints.up("sm"),{paddingLeft:t.spacing(3),paddingRight:t.spacing(3)}),regular:t.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(_)},22318:(t,r,i)=>{"use strict";i.d(r,{Z:()=>Z});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(86010)),m=i(14670),v=i(93871),_={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},M=u.forwardRef((function Typography(t,r){var i=t.align,m=void 0===i?"inherit":i,M=t.classes,Z=t.className,q=t.color,W=void 0===q?"initial":q,$=t.component,X=t.display,Y=void 0===X?"initial":X,ee=t.gutterBottom,ae=void 0!==ee&&ee,ie=t.noWrap,de=void 0!==ie&&ie,ce=t.paragraph,le=void 0!==ce&&ce,pe=t.variant,fe=void 0===pe?"body1":pe,Re=t.variantMapping,ye=void 0===Re?_:Re,be=(0,s.Z)(t,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),xe=$||(le?"p":ye[fe]||_[fe])||"span";return u.createElement(xe,(0,o.Z)({className:(0,R.Z)(M.root,Z,"inherit"!==fe&&M[fe],"initial"!==W&&M["color".concat((0,v.Z)(W))],de&&M.noWrap,ae&&M.gutterBottom,le&&M.paragraph,"inherit"!==m&&M["align".concat((0,v.Z)(m))],"initial"!==Y&&M["display".concat((0,v.Z)(Y))]),ref:r},be))}));const Z=(0,m.Z)((function styles(t){return{root:{margin:0},body2:t.typography.body2,body1:t.typography.body1,caption:t.typography.caption,button:t.typography.button,h1:t.typography.h1,h2:t.typography.h2,h3:t.typography.h3,h4:t.typography.h4,h5:t.typography.h5,h6:t.typography.h6,subtitle1:t.typography.subtitle1,subtitle2:t.typography.subtitle2,overline:t.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorTextPrimary:{color:t.palette.text.primary},colorTextSecondary:{color:t.palette.text.secondary},colorError:{color:t.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(M)},59693:(t,r,i)=>{"use strict";i.d(r,{mi:()=>getContrastRatio,_4:()=>emphasize,U1:()=>fade,_j:()=>darken,$n:()=>lighten});var o=i(60288);function clamp(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(r,t),i)}function decomposeColor(t){if(t.type)return t;if("#"===t.charAt(0))return decomposeColor(function hexToRgb(t){t=t.substr(1);var r=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),i=t.match(r);return i&&1===i[0].length&&(i=i.map((function(t){return t+t}))),i?"rgb".concat(4===i.length?"a":"","(").concat(i.map((function(t,r){return r<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var r=t.indexOf("("),i=t.substring(0,r);if(-1===["rgb","rgba","hsl","hsla"].indexOf(i))throw new Error((0,o.Z)(3,t));var s=t.substring(r+1,t.length-1).split(",");return{type:i,values:s=s.map((function(t){return parseFloat(t)}))}}function recomposeColor(t){var r=t.type,i=t.values;return-1!==r.indexOf("rgb")?i=i.map((function(t,r){return r<3?parseInt(t,10):t})):-1!==r.indexOf("hsl")&&(i[1]="".concat(i[1],"%"),i[2]="".concat(i[2],"%")),"".concat(r,"(").concat(i.join(", "),")")}function getContrastRatio(t,r){var i=getLuminance(t),o=getLuminance(r);return(Math.max(i,o)+.05)/(Math.min(i,o)+.05)}function getLuminance(t){var r="hsl"===(t=decomposeColor(t)).type?decomposeColor(function hslToRgb(t){var r=(t=decomposeColor(t)).values,i=r[0],o=r[1]/100,s=r[2]/100,u=o*Math.min(s,1-s),R=function f(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+i/30)%12;return s-u*Math.max(Math.min(r-3,9-r,1),-1)},m="rgb",v=[Math.round(255*R(0)),Math.round(255*R(8)),Math.round(255*R(4))];return"hsla"===t.type&&(m+="a",v.push(r[3])),recomposeColor({type:m,values:v})}(t)).values:t.values;return r=r.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function emphasize(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return getLuminance(t)>.5?darken(t,r):lighten(t,r)}function fade(t,r){return t=decomposeColor(t),r=clamp(r),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=r,recomposeColor(t)}function darken(t,r){if(t=decomposeColor(t),r=clamp(r),-1!==t.type.indexOf("hsl"))t.values[2]*=1-r;else if(-1!==t.type.indexOf("rgb"))for(var i=0;i<3;i+=1)t.values[i]*=1-r;return recomposeColor(t)}function lighten(t,r){if(t=decomposeColor(t),r=clamp(r),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*r;else if(-1!==t.type.indexOf("rgb"))for(var i=0;i<3;i+=1)t.values[i]+=(255-t.values[i])*r;return recomposeColor(t)}},51947:(t,r,i)=>{"use strict";i.d(r,{Z:()=>be});var o=i(81253),s=i(35953),u=i(22122),R=["xs","sm","md","lg","xl"];function createBreakpoints(t){var r=t.values,i=void 0===r?{xs:0,sm:600,md:960,lg:1280,xl:1920}:r,s=t.unit,m=void 0===s?"px":s,v=t.step,_=void 0===v?5:v,M=(0,o.Z)(t,["values","unit","step"]);function up(t){var r="number"==typeof i[t]?i[t]:t;return"@media (min-width:".concat(r).concat(m,")")}function between(t,r){var o=R.indexOf(r);return o===R.length-1?up(t):"@media (min-width:".concat("number"==typeof i[t]?i[t]:t).concat(m,") and ")+"(max-width:".concat((-1!==o&&"number"==typeof i[R[o+1]]?i[R[o+1]]:r)-_/100).concat(m,")")}return(0,u.Z)({keys:R,values:i,up:up,down:function down(t){var r=R.indexOf(t)+1,o=i[R[r]];return r===R.length?up("xs"):"@media (max-width:".concat(("number"==typeof o&&r>0?o:t)-_/100).concat(m,")")},between:between,only:function only(t){return between(t,t)},width:function width(t){return i[t]}},M)}var m=i(96156);function createMixins(t,r,i){var o;return(0,u.Z)({gutters:function gutters(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,u.Z)({paddingLeft:r(2),paddingRight:r(2)},i,(0,m.Z)({},t.up("sm"),(0,u.Z)({paddingLeft:r(3),paddingRight:r(3)},i[t.up("sm")])))},toolbar:(o={minHeight:56},(0,m.Z)(o,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,m.Z)(o,t.up("sm"),{minHeight:64}),o)},i)}var v=i(60288);const _={black:"#000",white:"#fff"};const M={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};const Z={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"};const q={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"};const W={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};const $={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};const X={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};const Y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};var ee=i(59693),ae={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:_.white,default:M[50]},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}},ie={text:{primary:_.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:M[800],default:"#303030"},action:{active:_.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function addLightOrDark(t,r,i,o){var s=o.light||o,u=o.dark||1.5*o;t[r]||(t.hasOwnProperty(i)?t[r]=t[i]:"light"===r?t.light=(0,ee.$n)(t.main,s):"dark"===r&&(t.dark=(0,ee._j)(t.main,u)))}function createPalette(t){var r=t.primary,i=void 0===r?{light:Z[300],main:Z[500],dark:Z[700]}:r,R=t.secondary,m=void 0===R?{light:q.A200,main:q.A400,dark:q.A700}:R,de=t.error,ce=void 0===de?{light:W[300],main:W[500],dark:W[700]}:de,le=t.warning,pe=void 0===le?{light:$[300],main:$[500],dark:$[700]}:le,fe=t.info,Re=void 0===fe?{light:X[300],main:X[500],dark:X[700]}:fe,ye=t.success,be=void 0===ye?{light:Y[300],main:Y[500],dark:Y[700]}:ye,xe=t.type,_e=void 0===xe?"light":xe,Se=t.contrastThreshold,we=void 0===Se?3:Se,Pe=t.tonalOffset,Te=void 0===Pe?.2:Pe,Ie=(0,o.Z)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function getContrastText(t){return(0,ee.mi)(t,ie.text.primary)>=we?ie.text.primary:ae.text.primary}var Ve=function augmentColor(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=(0,u.Z)({},t)).main&&t[r]&&(t.main=t[r]),!t.main)throw new Error((0,v.Z)(4,r));if("string"!=typeof t.main)throw new Error((0,v.Z)(5,JSON.stringify(t.main)));return addLightOrDark(t,"light",i,Te),addLightOrDark(t,"dark",o,Te),t.contrastText||(t.contrastText=getContrastText(t.main)),t},ze={dark:ie,light:ae};return(0,s.Z)((0,u.Z)({common:_,type:_e,primary:Ve(i),secondary:Ve(m,"A400","A200","A700"),error:Ve(ce),warning:Ve(pe),info:Ve(Re),success:Ve(be),grey:M,contrastThreshold:we,getContrastText:getContrastText,augmentColor:Ve,tonalOffset:Te},ze[_e]),Ie)}function round(t){return Math.round(1e5*t)/1e5}var de={textTransform:"uppercase"},ce='"Roboto", "Helvetica", "Arial", sans-serif';function createTypography(t,r){var i="function"==typeof r?r(t):r,R=i.fontFamily,m=void 0===R?ce:R,v=i.fontSize,_=void 0===v?14:v,M=i.fontWeightLight,Z=void 0===M?300:M,q=i.fontWeightRegular,W=void 0===q?400:q,$=i.fontWeightMedium,X=void 0===$?500:$,Y=i.fontWeightBold,ee=void 0===Y?700:Y,ae=i.htmlFontSize,ie=void 0===ae?16:ae,le=i.allVariants,pe=i.pxToRem,fe=(0,o.Z)(i,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var Re=_/14,ye=pe||function(t){return"".concat(t/ie*Re,"rem")},be=function buildVariant(t,r,i,o,s){return(0,u.Z)({fontFamily:m,fontWeight:t,fontSize:ye(r),lineHeight:i},m===ce?{letterSpacing:"".concat(round(o/r),"em")}:{},s,le)},xe={h1:be(Z,96,1.167,-1.5),h2:be(Z,60,1.2,-.5),h3:be(W,48,1.167,0),h4:be(W,34,1.235,.25),h5:be(W,24,1.334,0),h6:be(X,20,1.6,.15),subtitle1:be(W,16,1.75,.15),subtitle2:be(X,14,1.57,.1),body1:be(W,16,1.5,.15),body2:be(W,14,1.43,.15),button:be(X,14,1.75,.4,de),caption:be(W,12,1.66,.4),overline:be(W,12,2.66,1,de)};return(0,s.Z)((0,u.Z)({htmlFontSize:ie,pxToRem:ye,round:round,fontFamily:m,fontSize:_,fontWeightLight:Z,fontWeightRegular:W,fontWeightMedium:X,fontWeightBold:ee},xe),fe,{clone:!1})}function createShadow(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}const le=["none",createShadow(0,2,1,-1,0,1,1,0,0,1,3,0),createShadow(0,3,1,-2,0,2,2,0,0,1,5,0),createShadow(0,3,3,-2,0,3,4,0,0,1,8,0),createShadow(0,2,4,-1,0,4,5,0,0,1,10,0),createShadow(0,3,5,-1,0,5,8,0,0,1,14,0),createShadow(0,3,5,-1,0,6,10,0,0,1,18,0),createShadow(0,4,5,-2,0,7,10,1,0,2,16,1),createShadow(0,5,5,-3,0,8,10,1,0,3,14,2),createShadow(0,5,6,-3,0,9,12,1,0,3,16,2),createShadow(0,6,6,-3,0,10,14,1,0,4,18,3),createShadow(0,6,7,-4,0,11,15,1,0,4,20,3),createShadow(0,7,8,-4,0,12,17,2,0,5,22,4),createShadow(0,7,8,-4,0,13,19,2,0,5,24,4),createShadow(0,7,9,-4,0,14,21,2,0,5,26,4),createShadow(0,8,9,-5,0,15,22,2,0,6,28,5),createShadow(0,8,10,-5,0,16,24,2,0,6,30,5),createShadow(0,8,11,-5,0,17,26,2,0,6,32,5),createShadow(0,9,11,-5,0,18,28,2,0,7,34,6),createShadow(0,9,12,-6,0,19,29,2,0,7,36,6),createShadow(0,10,13,-6,0,20,31,3,0,8,38,7),createShadow(0,10,13,-6,0,21,33,3,0,8,40,7),createShadow(0,10,14,-6,0,22,35,3,0,8,42,7),createShadow(0,11,14,-7,0,23,36,3,0,9,44,8),createShadow(0,11,15,-7,0,24,38,3,0,9,46,8)];const pe={borderRadius:4};var fe=i(38681);function createSpacing(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var r=(0,fe.h)({spacing:t}),i=function spacing(){for(var t=arguments.length,i=new Array(t),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},r=t.breakpoints,i=void 0===r?{}:r,u=t.mixins,R=void 0===u?{}:u,m=t.palette,v=void 0===m?{}:m,_=t.spacing,M=t.typography,Z=void 0===M?{}:M,q=(0,o.Z)(t,["breakpoints","mixins","palette","spacing","typography"]),W=createPalette(v),$=createBreakpoints(i),X=createSpacing(_),Y=(0,s.Z)({breakpoints:$,direction:"ltr",mixins:createMixins($,X,R),overrides:{},palette:W,props:{},shadows:le,typography:createTypography(W,Z),spacing:X,shape:pe,transitions:Re.ZP,zIndex:ye.Z},q),ee=arguments.length,ae=new Array(ee>1?ee-1:0),ie=1;ie{"use strict";i.d(r,{Z:()=>R});var o=i(22122),s=i(93388),u=i(51947);const R=function makeStyles(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,s.Z)(t,(0,o.Z)({defaultTheme:u.Z},r))}},43366:(t,r,i)=>{"use strict";i.d(r,{x9:()=>u,ZP:()=>R});var o=i(81253),s={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)"},u={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function formatMs(t){return"".concat(Math.round(t),"ms")}const R={easing:s,duration:u,create:function create(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.duration,R=void 0===i?u.standard:i,m=r.easing,v=void 0===m?s.easeInOut:m,_=r.delay,M=void 0===_?0:_;(0,o.Z)(r,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"==typeof R?R:formatMs(R)," ").concat(v," ").concat("string"==typeof M?M:formatMs(M))})).join(",")},getAutoHeightDuration:function getAutoHeightDuration(t){if(!t)return 0;var r=t/36;return Math.round(10*(4+15*Math.pow(r,.25)+r/5))}}},8920:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useTheme});var o=i(75959),s=(i(67294),i(51947));function useTheme(){return(0,o.Z)()||s.Z}},14670:(t,r,i)=>{"use strict";i.d(r,{Z:()=>W});var o=i(22122),s=i(81253),u=i(67294),R=(i(45697),i(8679)),m=i.n(R),v=i(93388),_=i(93869),M=i(75959);const Z=function withStyles(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(i){var R=r.defaultTheme,Z=r.withTheme,q=void 0!==Z&&Z,W=r.name,$=(0,s.Z)(r,["defaultTheme","withTheme","name"]);var X=W,Y=(0,v.Z)(t,(0,o.Z)({defaultTheme:R,Component:i,name:W||i.displayName,classNamePrefix:X},$)),ee=u.forwardRef((function WithStyles(t,r){t.classes;var m,v=t.innerRef,Z=(0,s.Z)(t,["classes","innerRef"]),$=Y((0,o.Z)({},i.defaultProps,t)),X=Z;return("string"==typeof W||q)&&(m=(0,M.Z)()||R,W&&(X=(0,_.Z)({theme:m,name:W,props:Z})),q&&!X.theme&&(X.theme=m)),u.createElement(i,(0,o.Z)({ref:v||r,classes:$},X))}));return m()(ee,i),ee}};var q=i(51947);const W=function styles_withStyles_withStyles(t,r){return Z(t,(0,o.Z)({defaultTheme:q.Z},r))}},92781:(t,r,i)=>{"use strict";i.d(r,{Z:()=>o});const o={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},5653:(t,r,i)=>{"use strict";i.d(r,{n:()=>o,C:()=>getTransitionProps});var o=function reflow(t){return t.scrollTop};function getTransitionProps(t,r){var i=t.timeout,o=t.style,s=void 0===o?{}:o;return{duration:s.transitionDuration||"number"==typeof i?i:i[r.mode]||0,delay:s.transitionDelay}}},93871:(t,r,i)=>{"use strict";i.d(r,{Z:()=>capitalize});var o=i(60288);function capitalize(t){if("string"!=typeof t)throw new Error((0,o.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},82568:(t,r,i)=>{"use strict";function createChainedFunction(){for(var t=arguments.length,r=new Array(t),i=0;icreateChainedFunction})},25209:(t,r,i)=>{"use strict";i.d(r,{Z:()=>createSvgIcon});var o=i(22122),s=i(67294),u=i(81253),R=(i(45697),i(86010)),m=i(14670),v=i(93871),_=s.forwardRef((function SvgIcon(t,r){var i=t.children,m=t.classes,_=t.className,M=t.color,Z=void 0===M?"inherit":M,q=t.component,W=void 0===q?"svg":q,$=t.fontSize,X=void 0===$?"default":$,Y=t.htmlColor,ee=t.titleAccess,ae=t.viewBox,ie=void 0===ae?"0 0 24 24":ae,de=(0,u.Z)(t,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return s.createElement(W,(0,o.Z)({className:(0,R.Z)(m.root,_,"inherit"!==Z&&m["color".concat((0,v.Z)(Z))],"default"!==X&&m["fontSize".concat((0,v.Z)(X))]),focusable:"false",viewBox:ie,color:Y,"aria-hidden":!ee||void 0,role:ee?"img":void 0,ref:r},de),i,ee?s.createElement("title",null,ee):null)}));_.muiName="SvgIcon";const M=(0,m.Z)((function styles(t){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:t.typography.pxToRem(24),transition:t.transitions.create("fill",{duration:t.transitions.duration.shorter})},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},colorAction:{color:t.palette.action.active},colorError:{color:t.palette.error.main},colorDisabled:{color:t.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:t.typography.pxToRem(20)},fontSizeLarge:{fontSize:t.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(_);function createSvgIcon(t,r){var i=function Component(r,i){return s.createElement(M,(0,o.Z)({ref:i},r),t)};return i.muiName=M.muiName,s.memo(s.forwardRef(i))}},79437:(t,r,i)=>{"use strict";function debounce(t){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function debounced(){for(var o=arguments.length,s=new Array(o),u=0;udebounce})},75840:(t,r,i)=>{"use strict";function getScrollbarSize(){var t=document.createElement("div");t.style.width="99px",t.style.height="99px",t.style.position="absolute",t.style.top="-9999px",t.style.overflow="scroll",document.body.appendChild(t);var r=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),r}i.d(r,{Z:()=>getScrollbarSize})},28546:(t,r,i)=>{"use strict";i.r(r),i.d(r,{capitalize:()=>o.Z,createChainedFunction:()=>s.Z,createSvgIcon:()=>u.Z,debounce:()=>R.Z,deprecatedPropType:()=>deprecatedPropType,isMuiElement:()=>m.Z,ownerDocument:()=>v.Z,ownerWindow:()=>_.Z,requirePropFactory:()=>requirePropFactory,setRef:()=>M.Z,unstable_useId:()=>$.Z,unsupportedProp:()=>unsupportedProp,useControlled:()=>Z.Z,useEventCallback:()=>q.Z,useForkRef:()=>W.Z,useIsFocusVisible:()=>X.Z});var o=i(93871),s=i(82568),u=i(25209),R=i(79437);function deprecatedPropType(t,r){return function(){return null}}var m=i(83711),v=i(30626),_=i(80713);function requirePropFactory(t){return function(){return null}}var M=i(34236);function unsupportedProp(t,r,i,o,s){return null}var Z=i(22775),q=i(55192),W=i(17294),$=i(95001),X=i(24896)},83711:(t,r,i)=>{"use strict";i.d(r,{Z:()=>isMuiElement});var o=i(67294);function isMuiElement(t,r){return o.isValidElement(t)&&-1!==r.indexOf(t.type.muiName)}},30626:(t,r,i)=>{"use strict";function ownerDocument(t){return t&&t.ownerDocument||document}i.d(r,{Z:()=>ownerDocument})},80713:(t,r,i)=>{"use strict";i.d(r,{Z:()=>ownerWindow});var o=i(30626);function ownerWindow(t){return(0,o.Z)(t).defaultView||window}},34236:(t,r,i)=>{"use strict";function setRef(t,r){"function"==typeof t?t(r):t&&(t.current=r)}i.d(r,{Z:()=>setRef})},95001:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useId});var o=i(67294);function useId(t){var r=o.useState(t),i=r[0],s=r[1],u=t||i;return o.useEffect((function(){null==i&&s("mui-".concat(Math.round(1e5*Math.random())))}),[i]),u}},22775:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useControlled});var o=i(67294);function useControlled(t){var r=t.controlled,i=t.default,s=(t.name,t.state,o.useRef(void 0!==r).current),u=o.useState(i),R=u[0],m=u[1];return[s?r:R,o.useCallback((function(t){s||m(t)}),[])]}},55192:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useEventCallback});var o=i(67294),s="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function useEventCallback(t){var r=o.useRef(t);return s((function(){r.current=t})),o.useCallback((function(){return r.current.apply(void 0,arguments)}),[])}},17294:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useForkRef});var o=i(67294),s=i(34236);function useForkRef(t,r){return o.useMemo((function(){return null==t&&null==r?null:function(i){(0,s.Z)(t,i),(0,s.Z)(r,i)}}),[t,r])}},24896:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useIsFocusVisible});var o=i(67294),s=i(73935),u=!0,R=!1,m=null,v={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function handleKeyDown(t){t.metaKey||t.altKey||t.ctrlKey||(u=!0)}function handlePointerDown(){u=!1}function handleVisibilityChange(){"hidden"===this.visibilityState&&R&&(u=!0)}function isFocusVisible(t){var r=t.target;try{return r.matches(":focus-visible")}catch(t){}return u||function focusTriggersKeyboardModality(t){var r=t.type,i=t.tagName;return!("INPUT"!==i||!v[r]||t.readOnly)||"TEXTAREA"===i&&!t.readOnly||!!t.isContentEditable}(r)}function handleBlurVisible(){R=!0,window.clearTimeout(m),m=window.setTimeout((function(){R=!1}),100)}function useIsFocusVisible(){return{isFocusVisible:isFocusVisible,onBlurVisible:handleBlurVisible,ref:o.useCallback((function(t){var r=s.findDOMNode(t);null!=r&&function prepare(t){t.addEventListener("keydown",handleKeyDown,!0),t.addEventListener("mousedown",handlePointerDown,!0),t.addEventListener("pointerdown",handlePointerDown,!0),t.addEventListener("touchstart",handlePointerDown,!0),t.addEventListener("visibilitychange",handleVisibilityChange,!0)}(r.ownerDocument)}),[])}}},82067:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"}),"AccountCircle");r.Z=R},69351:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"}),"ClearSharp");r.Z=R},60625:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange");r.Z=R},10637:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");r.Z=R},64566:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");r.Z=R},35736:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M14.59 8L12 10.59 9.41 8 8 9.41 10.59 12 8 14.59 9.41 16 12 13.41 14.59 16 16 14.59 13.41 12 16 9.41 14.59 8zM12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"HighlightOff");r.Z=R},32466:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}),"MailOutline");r.Z=R},48884:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");r.Z=R},53093:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}),"Share");r.Z=R},21727:(t,r,i)=>{"use strict";var o=i(95318),s=i(20862);r.Z=void 0;var u=s(i(67294)),R=(0,o(i(2108)).default)(u.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");r.Z=R},2108:(t,r,i)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function get(){return o.createSvgIcon}});var o=i(28546)},93869:(t,r,i)=>{"use strict";function getThemeProps(t){var r=t.theme,i=t.name,o=t.props;if(!r||!r.props||!r.props[i])return o;var s,u=r.props[i];for(s in u)void 0===o[s]&&(o[s]=u[s]);return o}i.d(r,{Z:()=>getThemeProps})},93388:(t,r,i)=>{"use strict";i.d(r,{Z:()=>makeStyles});var o=i(81253),s=i(22122),u=i(67294),R=i(54013),m=i(65835);const v={set:function set(t,r,i,o){var s=t.get(r);s||(s=new Map,t.set(r,s)),s.set(i,o)},get:function get(t,r,i){var o=t.get(r);return o?o.get(i):void 0},delete:function _delete(t,r,i){t.get(r).delete(i)}};var _=i(75959);i(45697);const M="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var Z=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var q=Date.now(),W="fnValues"+q,$="fnStyle"+ ++q;const X=function functionPlugin(){return{onCreateRule:function onCreateRule(t,r,i){if("function"!=typeof r)return null;var o=(0,R.JH)(t,{},i);return o[$]=r,o},onProcessStyle:function onProcessStyle(t,r){if(W in r||$ in r)return t;var i={};for(var o in t){var s=t[o];"function"==typeof s&&(delete t[o],i[o]=s)}return r[W]=i,t},onUpdate:function onUpdate(t,r,i,o){var s=r,u=s[$];u&&(s.style=u(t)||{});var R=s[W];if(R)for(var m in R)s.prop(m,R[m](t),o)}}};var Y=i(5019),ee=i(63057),ae=i(52942),ie=i(83961),de=i(33827),ce=i(42921),le="",pe="",fe="",Re="",ye=de.Z&&"ontouchstart"in document.documentElement;if(de.Z){var be={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},xe=document.createElement("p").style;for(var _e in be)if(_e+"Transform"in xe){le=_e,pe=be[_e];break}"Webkit"===le&&"msHyphens"in xe&&(le="ms",pe=be.ms,Re="edge"),"Webkit"===le&&"-apple-trailing-word"in xe&&(fe="apple")}var Se=le,we=pe,Pe=fe,Te=Re,Ie=ye;var Ve={noPrefill:["appearance"],supportedProperty:function supportedProperty(t){return"appearance"===t&&("ms"===Se?"-webkit-"+t:we+t)}},ze={noPrefill:["color-adjust"],supportedProperty:function supportedProperty(t){return"color-adjust"===t&&("Webkit"===Se?we+"print-"+t:t)}},He=/[-\s]+(.)?/g;function toUpper(t,r){return r?r.toUpperCase():""}function camelize(t){return t.replace(He,toUpper)}function pascalize(t){return camelize("-"+t)}var qe,We={noPrefill:["mask"],supportedProperty:function supportedProperty(t,r){if(!/^mask/.test(t))return!1;if("Webkit"===Se){var i="mask-image";if(camelize(i)in r)return t;if(Se+pascalize(i)in r)return we+t}return t}},Xe={noPrefill:["text-orientation"],supportedProperty:function supportedProperty(t){return"text-orientation"===t&&("apple"!==Pe||Ie?t:we+t)}},Qe={noPrefill:["transform"],supportedProperty:function supportedProperty(t,r,i){return"transform"===t&&(i.transform?t:we+t)}},Ye={noPrefill:["transition"],supportedProperty:function supportedProperty(t,r,i){return"transition"===t&&(i.transition?t:we+t)}},et={noPrefill:["writing-mode"],supportedProperty:function supportedProperty(t){return"writing-mode"===t&&("Webkit"===Se||"ms"===Se&&"edge"!==Te?we+t:t)}},tt={noPrefill:["user-select"],supportedProperty:function supportedProperty(t){return"user-select"===t&&("Moz"===Se||"ms"===Se||"apple"===Pe?we+t:t)}},nt={supportedProperty:function supportedProperty(t,r){return!!/^break-/.test(t)&&("Webkit"===Se?"WebkitColumn"+pascalize(t)in r&&we+"column-"+t:"Moz"===Se&&("page"+pascalize(t)in r&&"page-"+t))}},rt={supportedProperty:function supportedProperty(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===Se)return t;var i=t.replace("-inline","");return Se+pascalize(i)in r&&we+i}},it={supportedProperty:function supportedProperty(t,r){return camelize(t)in r&&t}},ot={supportedProperty:function supportedProperty(t,r){var i=pascalize(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:Se+i in r?we+t:"Webkit"!==Se&&"Webkit"+i in r&&"-webkit-"+t}},st={supportedProperty:function supportedProperty(t){return"scroll-snap"===t.substring(0,11)&&("ms"===Se?""+we+t:t)}},dt={supportedProperty:function supportedProperty(t){return"overscroll-behavior"===t&&("ms"===Se?we+"scroll-chaining":t)}},ut={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},ct={supportedProperty:function supportedProperty(t,r){var i=ut[t];return!!i&&(Se+pascalize(i)in r&&we+i)}},lt={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},pt=Object.keys(lt),gt=function prefixCss(t){return we+t},ht=[Ve,ze,We,Xe,Qe,Ye,et,tt,nt,rt,it,ot,st,dt,ct,{supportedProperty:function supportedProperty(t,r,i){var o=i.multiple;if(pt.indexOf(t)>-1){var s=lt[t];if(!Array.isArray(s))return Se+pascalize(s)in r&&we+s;if(!o)return!1;for(var u=0;ur?1:-1:t.length-r.length};return{onProcessStyle:function onProcessStyle(r,i){if("style"!==i.type)return r;for(var o={},s=Object.keys(r).sort(t),u=0;u0&&void 0!==arguments[0]?arguments[0]:{},r=t.disableGlobal,i=void 0!==r&&r,o=t.productionPrefix,s=void 0===o?"jss":o,u=t.seed,R=void 0===u?"":u,m=""===R?"":"".concat(R,"-"),v=0,_=function getNextCounterId(){return v+=1};return function(t,r){var o=r.options.name;if(o&&0===o.indexOf("Mui")&&!r.options.link&&!i){if(-1!==Z.indexOf(t.key))return"Mui-".concat(t.key);var u="".concat(m).concat(o,"-").concat(t.key);return r.options.theme[M]&&""===R?"".concat(u,"-").concat(_()):u}return"".concat(m).concat(s).concat(_())}}(),jss:wt,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},kt=u.createContext(Dt);var At=-1e9;function increment(){return At+=1}var Pt=i(35953);function getStylesCreator(t){var r="function"==typeof t;return{create:function create(i,o){var u;try{u=r?t(i):t}catch(t){throw t}if(!o||!i.overrides||!i.overrides[o])return u;var R=i.overrides[o],m=(0,s.Z)({},u);return Object.keys(R).forEach((function(t){m[t]=(0,Pt.Z)(m[t],R[t])})),m},options:{}}}const Ft={};function getClasses(t,r,i){var o=t.state;if(t.stylesOptions.disableGeneration)return r||{};o.cacheClasses||(o.cacheClasses={value:null,lastProp:null,lastJSS:{}});var s=!1;return o.classes!==o.cacheClasses.lastJSS&&(o.cacheClasses.lastJSS=o.classes,s=!0),r!==o.cacheClasses.lastProp&&(o.cacheClasses.lastProp=r,s=!0),s&&(o.cacheClasses.value=(0,m.Z)({baseClasses:o.cacheClasses.lastJSS,newClasses:r,Component:i})),o.cacheClasses.value}function attach(t,r){var i=t.state,o=t.theme,u=t.stylesOptions,_=t.stylesCreator,M=t.name;if(!u.disableGeneration){var Z=v.get(u.sheetsManager,_,o);Z||(Z={refs:0,staticSheet:null,dynamicStyles:null},v.set(u.sheetsManager,_,o,Z));var q=(0,s.Z)({},_.options,u,{theme:o,flip:"boolean"==typeof u.flip?u.flip:"rtl"===o.direction});q.generateId=q.serverGenerateClassName||q.generateClassName;var W=u.sheetsRegistry;if(0===Z.refs){var $;u.sheetsCache&&($=v.get(u.sheetsCache,_,o));var X=_.create(o,M);$||(($=u.jss.createStyleSheet(X,(0,s.Z)({link:!1},q))).attach(),u.sheetsCache&&v.set(u.sheetsCache,_,o,$)),W&&W.add($),Z.staticSheet=$,Z.dynamicStyles=(0,R._$)(X)}if(Z.dynamicStyles){var Y=u.jss.createStyleSheet(Z.dynamicStyles,(0,s.Z)({link:!0},q));Y.update(r),Y.attach(),i.dynamicSheet=Y,i.classes=(0,m.Z)({baseClasses:Z.staticSheet.classes,newClasses:Y.classes}),W&&W.add(Y)}else i.classes=Z.staticSheet.classes;Z.refs+=1}}function update(t,r){var i=t.state;i.dynamicSheet&&i.dynamicSheet.update(r)}function detach(t){var r=t.state,i=t.theme,o=t.stylesOptions,s=t.stylesCreator;if(!o.disableGeneration){var u=v.get(o.sheetsManager,s,i);u.refs-=1;var R=o.sheetsRegistry;0===u.refs&&(v.delete(o.sheetsManager,s,i),o.jss.removeStyleSheet(u.staticSheet),R&&R.remove(u.staticSheet)),r.dynamicSheet&&(o.jss.removeStyleSheet(r.dynamicSheet),R&&R.remove(r.dynamicSheet))}}function useSynchronousEffect(t,r){var i,o=u.useRef([]),s=u.useMemo((function(){return{}}),r);o.current!==s&&(o.current=s,i=t()),u.useEffect((function(){return function(){i&&i()}}),[s])}function makeStyles(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,R=r.classNamePrefix,m=r.Component,v=r.defaultTheme,M=void 0===v?Ft:v,Z=(0,o.Z)(r,["name","classNamePrefix","Component","defaultTheme"]),q=getStylesCreator(t),W=i||R||"makeStyles";q.options={index:increment(),name:i,meta:W,classNamePrefix:W};var $=function useStyles(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,_.Z)()||M,o=(0,s.Z)({},u.useContext(kt),Z),R=u.useRef(),v=u.useRef();useSynchronousEffect((function(){var s={name:i,state:{},stylesCreator:q,stylesOptions:o,theme:r};return attach(s,t),v.current=!1,R.current=s,function(){detach(s)}}),[r,q]),u.useEffect((function(){v.current&&update(R.current,t),v.current=!0}));var W=getClasses(R.current,t.classes,m);return W};return $}},65835:(t,r,i)=>{"use strict";i.d(r,{Z:()=>mergeClasses});var o=i(22122);function mergeClasses(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.baseClasses,i=t.newClasses;t.Component;if(!i)return r;var s=(0,o.Z)({},r);return Object.keys(i).forEach((function(t){i[t]&&(s[t]="".concat(r[t]," ").concat(i[t]))})),s}},75959:(t,r,i)=>{"use strict";i.d(r,{Z:()=>useTheme});var o=i(67294);const s=o.createContext(null);function useTheme(){return o.useContext(s)}},71410:(t,r,i)=>{"use strict";i.d(r,{k:()=>handleBreakpoints});var o=i(90484),s=(i(45697),{xs:0,sm:600,md:960,lg:1280,xl:1920}),u={keys:["xs","sm","md","lg","xl"],up:function up(t){return"@media (min-width:".concat(s[t],"px)")}};function handleBreakpoints(t,r,i){if(Array.isArray(r)){var s=t.theme.breakpoints||u;return r.reduce((function(t,o,u){return t[s.up(s.keys[u])]=i(r[u]),t}),{})}if("object"===(0,o.Z)(r)){var R=t.theme.breakpoints||u;return Object.keys(r).reduce((function(t,o){return t[R.up(o)]=i(r[o]),t}),{})}return i(r)}},19668:(t,r,i)=>{"use strict";i.d(r,{Z:()=>s});var o=i(35953);const s=function merge(t,r){return r?(0,o.Z)(t,r,{clone:!1}):t}},38681:(t,r,i)=>{"use strict";i.d(r,{h:()=>createUnarySpacing,Z:()=>Z});var o=i(28481),s=i(71410),u=i(19668);var R={m:"margin",p:"padding"},m={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},v={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_=function memoize(t){var r={};return function(i){return void 0===r[i]&&(r[i]=t(i)),r[i]}}((function(t){if(t.length>2){if(!v[t])return[t];t=v[t]}var r=t.split(""),i=(0,o.Z)(r,2),s=i[0],u=i[1],_=R[s],M=m[u]||"";return Array.isArray(M)?M.map((function(t){return _+t})):[_+M]})),M=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function createUnarySpacing(t){var r=t.spacing||8;return"number"==typeof r?function(t){return r*t}:Array.isArray(r)?function(t){return r[t]}:"function"==typeof r?r:function(){}}function getStyleFromPropValue(t,r){return function(i){return t.reduce((function(t,o){return t[o]=function getValue(t,r){if("string"==typeof r)return r;var i=t(Math.abs(r));return r>=0?i:"number"==typeof i?-i:"-".concat(i)}(r,i),t}),{})}}function spacing(t){var r=createUnarySpacing(t.theme);return Object.keys(t).map((function(i){if(-1===M.indexOf(i))return null;var o=getStyleFromPropValue(_(i),r),u=t[i];return(0,s.k)(t,u,o)})).reduce(u.Z,{})}spacing.propTypes={},spacing.filterProps=M;const Z=spacing},35953:(t,r,i)=>{"use strict";i.d(r,{Z:()=>deepmerge});var o=i(22122),s=i(90484);function isPlainObject(t){return t&&"object"===(0,s.Z)(t)&&t.constructor===Object}function deepmerge(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},s=i.clone?(0,o.Z)({},t):t;return isPlainObject(t)&&isPlainObject(r)&&Object.keys(r).forEach((function(o){"__proto__"!==o&&(isPlainObject(r[o])&&o in t?s[o]=deepmerge(t[o],r[o],i):s[o]=r[o])})),s}},60288:(t,r,i)=>{"use strict";function formatMuiErrorMessage(t){for(var r="https://material-ui.com/production-error/?code="+t,i=1;iformatMuiErrorMessage})},7648:(t,r,i)=>{"use strict";i.d(r,{Z:()=>m});var o=i(67294);function _extends(){return(_extends=Object.assign||function(t){for(var r=1;r{"use strict";var o=function(){function defineProperties(t,r){for(var i=0;i{"use strict";const o=i(73325),s=/^[\da-fA-F]+$/,u=/^\d+$/,R=new WeakMap;function getJsxTokens(t){t=t.Parser.acorn||t;let r=R.get(t);if(!r){const i=t.tokTypes,o=t.TokContext,s=t.TokenType,u=new o("...",!0,!0),_={tc_oTag:u,tc_cTag:m,tc_expr:v},M={jsxName:new s("jsxName"),jsxText:new s("jsxText",{beforeExpr:!0}),jsxTagStart:new s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new s("jsxTagEnd")};M.jsxTagStart.updateContext=function(){this.context.push(v),this.context.push(u),this.exprAllowed=!1},M.jsxTagEnd.updateContext=function(t){let r=this.context.pop();r===u&&t===i.slash||r===m?(this.context.pop(),this.exprAllowed=this.curContext()===v):this.exprAllowed=!0},r={tokContexts:_,tokTypes:M},R.set(t,r)}return r}function getQualifiedJSXName(t){return t?"JSXIdentifier"===t.type?t.name:"JSXNamespacedName"===t.type?t.namespace.name+":"+t.name.name:"JSXMemberExpression"===t.type?getQualifiedJSXName(t.object)+"."+getQualifiedJSXName(t.property):void 0:t}t.exports=function(t){return t=t||{},function(r){return function plugin(t,r){const R=r.acorn||i(1234),m=getJsxTokens(R),v=R.tokTypes,_=m.tokTypes,M=R.tokContexts,Z=m.tokContexts.tc_oTag,q=m.tokContexts.tc_cTag,W=m.tokContexts.tc_expr,$=R.isNewLine,X=R.isIdentifierStart,Y=R.isIdentifierChar;return class extends r{static get acornJsx(){return m}jsx_readToken(){let t="",r=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let i=this.input.charCodeAt(this.pos);switch(i){case 60:case 123:return this.pos===this.start?60===i&&this.exprAllowed?(++this.pos,this.finishToken(_.jsxTagStart)):this.getTokenFromCode(i):(t+=this.input.slice(r,this.pos),this.finishToken(_.jsxText,t));case 38:t+=this.input.slice(r,this.pos),t+=this.jsx_readEntity(),r=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===i?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:$(i)?(t+=this.input.slice(r,this.pos),t+=this.jsx_readNewLine(!0),r=this.pos):++this.pos}}}jsx_readNewLine(t){let r,i=this.input.charCodeAt(this.pos);return++this.pos,13===i&&10===this.input.charCodeAt(this.pos)?(++this.pos,r=t?"\n":"\r\n"):r=String.fromCharCode(i),this.options.locations&&(++this.curLine,this.lineStart=this.pos),r}jsx_readString(t){let r="",i=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let o=this.input.charCodeAt(this.pos);if(o===t)break;38===o?(r+=this.input.slice(i,this.pos),r+=this.jsx_readEntity(),i=this.pos):$(o)?(r+=this.input.slice(i,this.pos),r+=this.jsx_readNewLine(!1),i=this.pos):++this.pos}return r+=this.input.slice(i,this.pos++),this.finishToken(v.string,r)}jsx_readEntity(){let t,r="",i=0,R=this.input[this.pos];"&"!==R&&this.raise(this.pos,"Entity must start with an ampersand");let m=++this.pos;for(;this.pos")}let R=s.name?"Element":"Fragment";return i["opening"+R]=s,i["closing"+R]=u,i.children=o,this.type===v.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(i,"JSX"+R)}jsx_parseText(){let t=this.parseLiteral(this.value);return t.type="JSXText",t}jsx_parseElement(){let t=this.start,r=this.startLoc;return this.next(),this.jsx_parseElementAt(t,r)}parseExprAtom(t){return this.type===_.jsxText?this.jsx_parseText():this.type===_.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(t)}readToken(t){let r=this.curContext();if(r===W)return this.jsx_readToken();if(r===Z||r===q){if(X(t))return this.jsx_readWord();if(62==t)return++this.pos,this.finishToken(_.jsxTagEnd);if((34===t||39===t)&&r==Z)return this.jsx_readString(t)}return 60===t&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(_.jsxTagStart)):super.readToken(t)}updateContext(t){if(this.type==v.braceL){var r=this.curContext();r==Z?this.context.push(M.b_expr):r==W?this.context.push(M.b_tmpl):super.updateContext(t),this.exprAllowed=!0}else{if(this.type!==v.slash||t!==_.jsxTagStart)return super.updateContext(t);this.context.length-=2,this.context.push(q),this.exprAllowed=!1}}}}({allowNamespaces:!1!==t.allowNamespaces,allowNamespacedObjects:!!t.allowNamespacedObjects},r)}},Object.defineProperty(t.exports,"tokTypes",{get:function get_tokTypes(){return getJsxTokens(i(1234)).tokTypes},configurable:!0,enumerable:!0})},73325:t=>{t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}},1234:function(t,r){!function(t){"use strict";var r={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",o={5:i,"5module":i+" export import",6:i+" const class extends export import super"},s=/^in(stanceof)?$/,u="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",m=new RegExp("["+u+"]"),v=new RegExp("["+u+R+"]");u=R=null;var _=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],M=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(t,r){for(var i=65536,o=0;ot)return!1;if((i+=r[o+1])>=t)return!0}}function isIdentifierStart(t,r){return t<65?36===t:t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&m.test(String.fromCharCode(t)):!1!==r&&isInAstralSet(t,_)))}function isIdentifierChar(t,r){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||(t<=65535?t>=170&&v.test(String.fromCharCode(t)):!1!==r&&(isInAstralSet(t,_)||isInAstralSet(t,M)))))}var Z=function TokenType(t,r){void 0===r&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function binop(t,r){return new Z(t,{beforeExpr:!0,binop:r})}var q={beforeExpr:!0},W={startsExpr:!0},$={};function kw(t,r){return void 0===r&&(r={}),r.keyword=t,$[t]=new Z(t,r)}var X={num:new Z("num",W),regexp:new Z("regexp",W),string:new Z("string",W),name:new Z("name",W),eof:new Z("eof"),bracketL:new Z("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Z("]"),braceL:new Z("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Z("}"),parenL:new Z("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Z(")"),comma:new Z(",",q),semi:new Z(";",q),colon:new Z(":",q),dot:new Z("."),question:new Z("?",q),questionDot:new Z("?."),arrow:new Z("=>",q),template:new Z("template"),invalidTemplate:new Z("invalidTemplate"),ellipsis:new Z("...",q),backQuote:new Z("`",W),dollarBraceL:new Z("${",{beforeExpr:!0,startsExpr:!0}),eq:new Z("=",{beforeExpr:!0,isAssign:!0}),assign:new Z("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Z("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Z("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Z("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Z("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",q),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",q),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",q),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",W),_if:kw("if"),_return:kw("return",q),_switch:kw("switch"),_throw:kw("throw",q),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",W),_super:kw("super",W),_class:kw("class",W),_extends:kw("extends",q),_export:kw("export"),_import:kw("import",W),_null:kw("null",W),_true:kw("true",W),_false:kw("false",W),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Y=/\r\n?|\n|\u2028|\u2029/,ee=new RegExp(Y.source,"g");function isNewLine(t,r){return 10===t||13===t||!r&&(8232===t||8233===t)}var ae=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,de=Object.prototype,ce=de.hasOwnProperty,le=de.toString;function has(t,r){return ce.call(t,r)}var pe=Array.isArray||function(t){return"[object Array]"===le.call(t)};function wordsRegexp(t){return new RegExp("^(?:"+t.replace(/ /g,"|")+")$")}var fe=function Position(t,r){this.line=t,this.column=r};fe.prototype.offset=function offset(t){return new fe(this.line,this.column+t)};var Re=function SourceLocation(t,r,i){this.start=r,this.end=i,null!==t.sourceFile&&(this.source=t.sourceFile)};function getLineInfo(t,r){for(var i=1,o=0;;){ee.lastIndex=o;var s=ee.exec(t);if(!(s&&s.index=2015&&(r.ecmaVersion-=2009),null==r.allowReserved&&(r.allowReserved=r.ecmaVersion<5),pe(r.onToken)){var o=r.onToken;r.onToken=function(t){return o.push(t)}}return pe(r.onComment)&&(r.onComment=pushComment(r,r.onComment)),r}function pushComment(t,r){return function(i,o,s,u,R,m){var v={type:i?"Block":"Line",value:o,start:s,end:u};t.locations&&(v.loc=new Re(this,R,m)),t.ranges&&(v.range=[s,u]),r.push(v)}}var xe=1,_e=2,Se=xe|_e,we=4,Pe=8,Te=16,Ie=32,Ve=64,ze=128;function functionFlags(t,r){return _e|(t?we:0)|(r?Pe:0)}var He=0,qe=1,We=2,Xe=3,Qe=4,Ye=5,et=function Parser(t,i,s){this.options=t=getOptions(t),this.sourceFile=t.sourceFile,this.keywords=wordsRegexp(o[t.ecmaVersion>=6?6:"module"===t.sourceType?"5module":5]);var u="";!0!==t.allowReserved&&(u=r[t.ecmaVersion>=6?6:5===t.ecmaVersion?5:3],"module"===t.sourceType&&(u+=" await")),this.reservedWords=wordsRegexp(u);var R=(u?u+" ":"")+r.strict;this.reservedWordsStrict=wordsRegexp(R),this.reservedWordsStrictBind=wordsRegexp(R+" "+r.strictBind),this.input=String(i),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf("\n",s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Y).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=X.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===t.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&t.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(xe),this.regexpState=null},tt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},inNonArrowFunction:{configurable:!0}};et.prototype.parse=function parse(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},tt.inFunction.get=function(){return(this.currentVarScope().flags&_e)>0},tt.inGenerator.get=function(){return(this.currentVarScope().flags&Pe)>0},tt.inAsync.get=function(){return(this.currentVarScope().flags&we)>0},tt.allowSuper.get=function(){return(this.currentThisScope().flags&Ve)>0},tt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ze)>0},tt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},tt.inNonArrowFunction.get=function(){return(this.currentThisScope().flags&_e)>0},et.extend=function extend(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,o=0;o=,?^&]/.test(s)||"!"===s&&"="===this.input.charAt(o+1))}t+=r[0].length,ie.lastIndex=t,t+=ie.exec(this.input)[0].length,";"===this.input[t]&&t++}},nt.eat=function(t){return this.type===t&&(this.next(),!0)},nt.isContextual=function(t){return this.type===X.name&&this.value===t&&!this.containsEsc},nt.eatContextual=function(t){return!!this.isContextual(t)&&(this.next(),!0)},nt.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},nt.canInsertSemicolon=function(){return this.type===X.eof||this.type===X.braceR||Y.test(this.input.slice(this.lastTokEnd,this.start))},nt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},nt.semicolon=function(){this.eat(X.semi)||this.insertSemicolon()||this.unexpected()},nt.afterTrailingComma=function(t,r){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),r||this.next(),!0},nt.expect=function(t){this.eat(t)||this.unexpected()},nt.unexpected=function(t){this.raise(null!=t?t:this.start,"Unexpected token")},nt.checkPatternErrors=function(t,r){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var i=r?t.parenthesizedAssign:t.parenthesizedBind;i>-1&&this.raiseRecoverable(i,"Parenthesized pattern")}},nt.checkExpressionErrors=function(t,r){if(!t)return!1;var i=t.shorthandAssign,o=t.doubleProto;if(!r)return i>=0||o>=0;i>=0&&this.raise(i,"Shorthand property assignments are valid only in destructuring patterns"),o>=0&&this.raiseRecoverable(o,"Redefinition of __proto__ property")},nt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(u,!1,!t);case X._class:return t&&this.unexpected(),this.parseClass(u,!0);case X._if:return this.parseIfStatement(u);case X._return:return this.parseReturnStatement(u);case X._switch:return this.parseSwitchStatement(u);case X._throw:return this.parseThrowStatement(u);case X._try:return this.parseTryStatement(u);case X._const:case X._var:return o=o||this.value,t&&"var"!==o&&this.unexpected(),this.parseVarStatement(u,o);case X._while:return this.parseWhileStatement(u);case X._with:return this.parseWithStatement(u);case X.braceL:return this.parseBlock(!0,u);case X.semi:return this.parseEmptyStatement(u);case X._export:case X._import:if(this.options.ecmaVersion>10&&s===X._import){ie.lastIndex=this.pos;var R=ie.exec(this.input),m=this.pos+R[0].length,v=this.input.charCodeAt(m);if(40===v||46===v)return this.parseExpressionStatement(u,this.parseExpression())}return this.options.allowImportExportEverywhere||(r||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===X._import?this.parseImport(u):this.parseExport(u,i);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!t);var _=this.value,M=this.parseExpression();return s===X.name&&"Identifier"===M.type&&this.eat(X.colon)?this.parseLabeledStatement(u,_,M,t):this.parseExpressionStatement(u,M)}},it.parseBreakContinueStatement=function(t,r){var i="break"===r;this.next(),this.eat(X.semi)||this.insertSemicolon()?t.label=null:this.type!==X.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var o=0;o=6?this.eat(X.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},it.parseForStatement=function(t){this.next();var r=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ot),this.enterScope(0),this.expect(X.parenL),this.type===X.semi)return r>-1&&this.unexpected(r),this.parseFor(t,null);var i=this.isLet();if(this.type===X._var||this.type===X._const||i){var o=this.startNode(),s=i?"let":this.value;return this.next(),this.parseVar(o,!0,s),this.finishNode(o,"VariableDeclaration"),(this.type===X._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===o.declarations.length?(this.options.ecmaVersion>=9&&(this.type===X._in?r>-1&&this.unexpected(r):t.await=r>-1),this.parseForIn(t,o)):(r>-1&&this.unexpected(r),this.parseFor(t,o))}var u=new DestructuringErrors,R=this.parseExpression(!0,u);return this.type===X._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===X._in?r>-1&&this.unexpected(r):t.await=r>-1),this.toAssignable(R,!1,u),this.checkLValPattern(R),this.parseForIn(t,R)):(this.checkExpressionErrors(u,!0),r>-1&&this.unexpected(r),this.parseFor(t,R))},it.parseFunctionStatement=function(t,r,i){return this.next(),this.parseFunction(t,ut|(i?0:ct),!1,r)},it.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(X._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},it.parseReturnStatement=function(t){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(X.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},it.parseSwitchStatement=function(t){var r;this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(X.braceL),this.labels.push(st),this.enterScope(0);for(var i=!1;this.type!==X.braceR;)if(this.type===X._case||this.type===X._default){var o=this.type===X._case;r&&this.finishNode(r,"SwitchCase"),t.cases.push(r=this.startNode()),r.consequent=[],this.next(),o?r.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,r.test=null),this.expect(X.colon)}else r||this.unexpected(),r.consequent.push(this.parseStatement(null));return this.exitScope(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},it.parseThrowStatement=function(t){return this.next(),Y.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var dt=[];it.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===X._catch){var r=this.startNode();if(this.next(),this.eat(X.parenL)){r.param=this.parseBindingAtom();var i="Identifier"===r.param.type;this.enterScope(i?Ie:0),this.checkLValPattern(r.param,i?Qe:We),this.expect(X.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),r.param=null,this.enterScope(0);r.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(r,"CatchClause")}return t.finalizer=this.eat(X._finally)?this.parseBlock():null,t.handler||t.finalizer||this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},it.parseVarStatement=function(t,r){return this.next(),this.parseVar(t,!1,r),this.semicolon(),this.finishNode(t,"VariableDeclaration")},it.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(ot),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},it.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},it.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},it.parseLabeledStatement=function(t,r,i,o){for(var s=0,u=this.labels;s=0;m--){var v=this.labels[m];if(v.statementStart!==t.start)break;v.statementStart=this.start,v.kind=R}return this.labels.push({name:r,kind:R,statementStart:this.start}),t.body=this.parseStatement(o?-1===o.indexOf("label")?o+"label":o:"label"),this.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")},it.parseExpressionStatement=function(t,r){return t.expression=r,this.semicolon(),this.finishNode(t,"ExpressionStatement")},it.parseBlock=function(t,r,i){for(void 0===t&&(t=!0),void 0===r&&(r=this.startNode()),r.body=[],this.expect(X.braceL),t&&this.enterScope(0);this.type!==X.braceR;){var o=this.parseStatement(null);r.body.push(o)}return i&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(r,"BlockStatement")},it.parseFor=function(t,r){return t.init=r,this.expect(X.semi),t.test=this.type===X.semi?null:this.parseExpression(),this.expect(X.semi),t.update=this.type===X.parenR?null:this.parseExpression(),this.expect(X.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},it.parseForIn=function(t,r){var i=this.type===X._in;return this.next(),"VariableDeclaration"===r.type&&null!=r.declarations[0].init&&(!i||this.options.ecmaVersion<8||this.strict||"var"!==r.kind||"Identifier"!==r.declarations[0].id.type)&&this.raise(r.start,(i?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=r,t.right=i?this.parseExpression():this.parseMaybeAssign(),this.expect(X.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,i?"ForInStatement":"ForOfStatement")},it.parseVar=function(t,r,i){for(t.declarations=[],t.kind=i;;){var o=this.startNode();if(this.parseVarId(o,i),this.eat(X.eq)?o.init=this.parseMaybeAssign(r):"const"!==i||this.type===X._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===o.id.type||r&&(this.type===X._in||this.isContextual("of"))?o.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),t.declarations.push(this.finishNode(o,"VariableDeclarator")),!this.eat(X.comma))break}return t},it.parseVarId=function(t,r){t.id=this.parseBindingAtom(),this.checkLValPattern(t.id,"var"===r?qe:We,!1)};var ut=1,ct=2,lt=4;it.parseFunction=function(t,r,i,o){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!o)&&(this.type===X.star&&r&ct&&this.unexpected(),t.generator=this.eat(X.star)),this.options.ecmaVersion>=8&&(t.async=!!o),r&ut&&(t.id=r<&&this.type!==X.name?null:this.parseIdent(),!t.id||r&ct||this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?qe:We:Xe));var s=this.yieldPos,u=this.awaitPos,R=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(t.async,t.generator)),r&ut||(t.id=this.type===X.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,i,!1),this.yieldPos=s,this.awaitPos=u,this.awaitIdentPos=R,this.finishNode(t,r&ut?"FunctionDeclaration":"FunctionExpression")},it.parseFunctionParams=function(t){this.expect(X.parenL),t.params=this.parseBindingList(X.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},it.parseClass=function(t,r){this.next();var i=this.strict;this.strict=!0,this.parseClassId(t,r),this.parseClassSuper(t);var o=this.startNode(),s=!1;for(o.body=[],this.expect(X.braceL);this.type!==X.braceR;){var u=this.parseClassElement(null!==t.superClass);u&&(o.body.push(u),"MethodDefinition"===u.type&&"constructor"===u.kind&&(s&&this.raise(u.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=i,this.next(),t.body=this.finishNode(o,"ClassBody"),this.finishNode(t,r?"ClassDeclaration":"ClassExpression")},it.parseClassElement=function(t){var r=this;if(this.eat(X.semi))return null;var i=this.startNode(),tryContextual=function(t,o){void 0===o&&(o=!1);var s=r.start,u=r.startLoc;return!(!r.eatContextual(t)||(r.type===X.parenL||o&&r.canInsertSemicolon())&&(i.key&&r.unexpected(),i.computed=!1,i.key=r.startNodeAt(s,u),i.key.name=t,r.finishNode(i.key,"Identifier"),1))};i.kind="method",i.static=tryContextual("static");var o=this.eat(X.star),s=!1;o||(this.options.ecmaVersion>=8&&tryContextual("async",!0)?(s=!0,o=this.options.ecmaVersion>=9&&this.eat(X.star)):tryContextual("get")?i.kind="get":tryContextual("set")&&(i.kind="set")),i.key||this.parsePropertyName(i);var u=i.key,R=!1;return i.computed||i.static||!("Identifier"===u.type&&"constructor"===u.name||"Literal"===u.type&&"constructor"===u.value)?i.static&&"Identifier"===u.type&&"prototype"===u.name&&this.raise(u.start,"Classes may not have a static property named prototype"):("method"!==i.kind&&this.raise(u.start,"Constructor can't have get/set modifier"),o&&this.raise(u.start,"Constructor can't be a generator"),s&&this.raise(u.start,"Constructor can't be an async method"),i.kind="constructor",R=t),this.parseClassMethod(i,o,s,R),"get"===i.kind&&0!==i.value.params.length&&this.raiseRecoverable(i.value.start,"getter should have no params"),"set"===i.kind&&1!==i.value.params.length&&this.raiseRecoverable(i.value.start,"setter should have exactly one param"),"set"===i.kind&&"RestElement"===i.value.params[0].type&&this.raiseRecoverable(i.value.params[0].start,"Setter cannot use rest params"),i},it.parseClassMethod=function(t,r,i,o){return t.value=this.parseMethod(r,i,o),this.finishNode(t,"MethodDefinition")},it.parseClassId=function(t,r){this.type===X.name?(t.id=this.parseIdent(),r&&this.checkLValSimple(t.id,We,!1)):(!0===r&&this.unexpected(),t.id=null)},it.parseClassSuper=function(t){t.superClass=this.eat(X._extends)?this.parseExprSubscripts():null},it.parseExport=function(t,r){if(this.next(),this.eat(X.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseIdent(!0),this.checkExport(r,t.exported.name,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==X.string&&this.unexpected(),t.source=this.parseExprAtom(),this.semicolon(),this.finishNode(t,"ExportAllDeclaration");if(this.eat(X._default)){var i;if(this.checkExport(r,"default",this.lastTokStart),this.type===X._function||(i=this.isAsyncFunction())){var o=this.startNode();this.next(),i&&this.next(),t.declaration=this.parseFunction(o,ut|lt,!1,i)}else if(this.type===X._class){var s=this.startNode();t.declaration=this.parseClass(s,"nullableID")}else t.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(t,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())t.declaration=this.parseStatement(null),"VariableDeclaration"===t.declaration.type?this.checkVariableExport(r,t.declaration.declarations):this.checkExport(r,t.declaration.id.name,t.declaration.id.start),t.specifiers=[],t.source=null;else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(r),this.eatContextual("from"))this.type!==X.string&&this.unexpected(),t.source=this.parseExprAtom();else{for(var u=0,R=t.specifiers;u=6&&t)switch(t.type){case"Identifier":this.inAsync&&"await"===t.name&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",i&&this.checkPatternErrors(i,!0);for(var o=0,s=t.properties;o=8&&!u&&"async"===R.name&&!this.canInsertSemicolon()&&this.eat(X._function))return this.parseFunction(this.startNodeAt(o,s),0,!1,!0);if(i&&!this.canInsertSemicolon()){if(this.eat(X.arrow))return this.parseArrowExpression(this.startNodeAt(o,s),[R],!1);if(this.options.ecmaVersion>=8&&"async"===R.name&&this.type===X.name&&!u)return R=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(X.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(o,s),[R],!0)}return R;case X.regexp:var m=this.value;return(r=this.parseLiteral(m.value)).regex={pattern:m.pattern,flags:m.flags},r;case X.num:case X.string:return this.parseLiteral(this.value);case X._null:case X._true:case X._false:return(r=this.startNode()).value=this.type===X._null?null:this.type===X._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,"Literal");case X.parenL:var v=this.start,_=this.parseParenAndDistinguishExpression(i);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(_)&&(t.parenthesizedAssign=v),t.parenthesizedBind<0&&(t.parenthesizedBind=v)),_;case X.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(X.bracketR,!0,!0,t),this.finishNode(r,"ArrayExpression");case X.braceL:return this.parseObj(!1,t);case X._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case X._class:return this.parseClass(this.startNode(),!1);case X._new:return this.parseNew();case X.backQuote:return this.parseTemplate();case X._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},gt.parseExprImport=function(){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var r=this.parseIdent(!0);switch(this.type){case X.parenL:return this.parseDynamicImport(t);case X.dot:return t.meta=r,this.parseImportMeta(t);default:this.unexpected()}},gt.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),!this.eat(X.parenR)){var r=this.start;this.eat(X.comma)&&this.eat(X.parenR)?this.raiseRecoverable(r,"Trailing comma is not allowed in import()"):this.unexpected(r)}return this.finishNode(t,"ImportExpression")},gt.parseImportMeta=function(t){this.next();var r=this.containsEsc;return t.property=this.parseIdent(!0),"meta"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),r&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},gt.parseLiteral=function(t){var r=this.startNode();return r.value=t,r.raw=this.input.slice(this.start,this.end),110===r.raw.charCodeAt(r.raw.length-1)&&(r.bigint=r.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(r,"Literal")},gt.parseParenExpression=function(){this.expect(X.parenL);var t=this.parseExpression();return this.expect(X.parenR),t},gt.parseParenAndDistinguishExpression=function(t){var r,i=this.start,o=this.startLoc,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var u,R=this.start,m=this.startLoc,v=[],_=!0,M=!1,Z=new DestructuringErrors,q=this.yieldPos,W=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==X.parenR;){if(_?_=!1:this.expect(X.comma),s&&this.afterTrailingComma(X.parenR,!0)){M=!0;break}if(this.type===X.ellipsis){u=this.start,v.push(this.parseParenItem(this.parseRestBinding())),this.type===X.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}v.push(this.parseMaybeAssign(!1,Z,this.parseParenItem))}var $=this.start,Y=this.startLoc;if(this.expect(X.parenR),t&&!this.canInsertSemicolon()&&this.eat(X.arrow))return this.checkPatternErrors(Z,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=q,this.awaitPos=W,this.parseParenArrowList(i,o,v);v.length&&!M||this.unexpected(this.lastTokStart),u&&this.unexpected(u),this.checkExpressionErrors(Z,!0),this.yieldPos=q||this.yieldPos,this.awaitPos=W||this.awaitPos,v.length>1?((r=this.startNodeAt(R,m)).expressions=v,this.finishNodeAt(r,"SequenceExpression",$,Y)):r=v[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var ee=this.startNodeAt(i,o);return ee.expression=r,this.finishNode(ee,"ParenthesizedExpression")}return r},gt.parseParenItem=function(t){return t},gt.parseParenArrowList=function(t,r,i){return this.parseArrowExpression(this.startNodeAt(t,r),i)};var ht=[];gt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode(),r=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(X.dot)){t.meta=r;var i=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),i&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction||this.raiseRecoverable(t.start,"'new.target' can only be used in functions"),this.finishNode(t,"MetaProperty")}var o=this.start,s=this.startLoc,u=this.type===X._import;return t.callee=this.parseSubscripts(this.parseExprAtom(),o,s,!0),u&&"ImportExpression"===t.callee.type&&this.raise(o,"Cannot use new with import()"),this.eat(X.parenL)?t.arguments=this.parseExprList(X.parenR,this.options.ecmaVersion>=8,!1):t.arguments=ht,this.finishNode(t,"NewExpression")},gt.parseTemplateElement=function(t){var r=t.isTagged,i=this.startNode();return this.type===X.invalidTemplate?(r||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),i.value={raw:this.value,cooked:null}):i.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),i.tail=this.type===X.backQuote,this.finishNode(i,"TemplateElement")},gt.parseTemplate=function(t){void 0===t&&(t={});var r=t.isTagged;void 0===r&&(r=!1);var i=this.startNode();this.next(),i.expressions=[];var o=this.parseTemplateElement({isTagged:r});for(i.quasis=[o];!o.tail;)this.type===X.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(X.dollarBraceL),i.expressions.push(this.parseExpression()),this.expect(X.braceR),i.quasis.push(o=this.parseTemplateElement({isTagged:r}));return this.next(),this.finishNode(i,"TemplateLiteral")},gt.isAsyncProp=function(t){return!t.computed&&"Identifier"===t.key.type&&"async"===t.key.name&&(this.type===X.name||this.type===X.num||this.type===X.string||this.type===X.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===X.star)&&!Y.test(this.input.slice(this.lastTokEnd,this.start))},gt.parseObj=function(t,r){var i=this.startNode(),o=!0,s={};for(i.properties=[],this.next();!this.eat(X.braceR);){if(o)o=!1;else if(this.expect(X.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(X.braceR))break;var u=this.parseProperty(t,r);t||this.checkPropClash(u,s,r),i.properties.push(u)}return this.finishNode(i,t?"ObjectPattern":"ObjectExpression")},gt.parseProperty=function(t,r){var i,o,s,u,R=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(X.ellipsis))return t?(R.argument=this.parseIdent(!1),this.type===X.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(R,"RestElement")):(this.type===X.parenL&&r&&(r.parenthesizedAssign<0&&(r.parenthesizedAssign=this.start),r.parenthesizedBind<0&&(r.parenthesizedBind=this.start)),R.argument=this.parseMaybeAssign(!1,r),this.type===X.comma&&r&&r.trailingComma<0&&(r.trailingComma=this.start),this.finishNode(R,"SpreadElement"));this.options.ecmaVersion>=6&&(R.method=!1,R.shorthand=!1,(t||r)&&(s=this.start,u=this.startLoc),t||(i=this.eat(X.star)));var m=this.containsEsc;return this.parsePropertyName(R),!t&&!m&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(R)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(X.star),this.parsePropertyName(R,r)):o=!1,this.parsePropertyValue(R,t,i,o,s,u,r,m),this.finishNode(R,"Property")},gt.parsePropertyValue=function(t,r,i,o,s,u,R,m){if((i||o)&&this.type===X.colon&&this.unexpected(),this.eat(X.colon))t.value=r?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,R),t.kind="init";else if(this.options.ecmaVersion>=6&&this.type===X.parenL)r&&this.unexpected(),t.kind="init",t.method=!0,t.value=this.parseMethod(i,o);else if(r||m||!(this.options.ecmaVersion>=5)||t.computed||"Identifier"!==t.key.type||"get"!==t.key.name&&"set"!==t.key.name||this.type===X.comma||this.type===X.braceR||this.type===X.eq)this.options.ecmaVersion>=6&&!t.computed&&"Identifier"===t.key.type?((i||o)&&this.unexpected(),this.checkUnreserved(t.key),"await"!==t.key.name||this.awaitIdentPos||(this.awaitIdentPos=s),t.kind="init",r?t.value=this.parseMaybeDefault(s,u,this.copyNode(t.key)):this.type===X.eq&&R?(R.shorthandAssign<0&&(R.shorthandAssign=this.start),t.value=this.parseMaybeDefault(s,u,this.copyNode(t.key))):t.value=this.copyNode(t.key),t.shorthand=!0):this.unexpected();else{(i||o)&&this.unexpected(),t.kind=t.key.name,this.parsePropertyName(t),t.value=this.parseMethod(!1);var v="get"===t.kind?0:1;if(t.value.params.length!==v){var _=t.value.start;"get"===t.kind?this.raiseRecoverable(_,"getter should have no params"):this.raiseRecoverable(_,"setter should have exactly one param")}else"set"===t.kind&&"RestElement"===t.value.params[0].type&&this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")}},gt.parsePropertyName=function(t){if(this.options.ecmaVersion>=6){if(this.eat(X.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(X.bracketR),t.key;t.computed=!1}return t.key=this.type===X.num||this.type===X.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},gt.initFunction=function(t){t.id=null,this.options.ecmaVersion>=6&&(t.generator=t.expression=!1),this.options.ecmaVersion>=8&&(t.async=!1)},gt.parseMethod=function(t,r,i){var o=this.startNode(),s=this.yieldPos,u=this.awaitPos,R=this.awaitIdentPos;return this.initFunction(o),this.options.ecmaVersion>=6&&(o.generator=t),this.options.ecmaVersion>=8&&(o.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(functionFlags(r,o.generator)|Ve|(i?ze:0)),this.expect(X.parenL),o.params=this.parseBindingList(X.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(o,!1,!0),this.yieldPos=s,this.awaitPos=u,this.awaitIdentPos=R,this.finishNode(o,"FunctionExpression")},gt.parseArrowExpression=function(t,r,i){var o=this.yieldPos,s=this.awaitPos,u=this.awaitIdentPos;return this.enterScope(functionFlags(i,!1)|Te),this.initFunction(t),this.options.ecmaVersion>=8&&(t.async=!!i),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(r,!0),this.parseFunctionBody(t,!0,!1),this.yieldPos=o,this.awaitPos=s,this.awaitIdentPos=u,this.finishNode(t,"ArrowFunctionExpression")},gt.parseFunctionBody=function(t,r,i){var o=r&&this.type!==X.braceL,s=this.strict,u=!1;if(o)t.body=this.parseMaybeAssign(),t.expression=!0,this.checkParams(t,!1);else{var R=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);s&&!R||(u=this.strictDirective(this.end))&&R&&this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list");var m=this.labels;this.labels=[],u&&(this.strict=!0),this.checkParams(t,!s&&!u&&!r&&!i&&this.isSimpleParamList(t.params)),this.strict&&t.id&&this.checkLValSimple(t.id,Ye),t.body=this.parseBlock(!1,void 0,u&&!s),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=m}this.exitScope()},gt.isSimpleParamList=function(t){for(var r=0,i=t;r-1||s.functions.indexOf(t)>-1||s.var.indexOf(t)>-1,s.lexical.push(t),this.inModule&&s.flags&xe&&delete this.undefinedExports[t]}else if(r===Qe)this.currentScope().lexical.push(t);else if(r===Xe){var u=this.currentScope();o=this.treatFunctionsAsVar?u.lexical.indexOf(t)>-1:u.lexical.indexOf(t)>-1||u.var.indexOf(t)>-1,u.functions.push(t)}else for(var R=this.scopeStack.length-1;R>=0;--R){var m=this.scopeStack[R];if(m.lexical.indexOf(t)>-1&&!(m.flags&Ie&&m.lexical[0]===t)||!this.treatFunctionsAsVarInScope(m)&&m.functions.indexOf(t)>-1){o=!0;break}if(m.var.push(t),this.inModule&&m.flags&xe&&delete this.undefinedExports[t],m.flags&Se)break}o&&this.raiseRecoverable(i,"Identifier '"+t+"' has already been declared")},Rt.checkLocalExport=function(t){-1===this.scopeStack[0].lexical.indexOf(t.name)&&-1===this.scopeStack[0].var.indexOf(t.name)&&(this.undefinedExports[t.name]=t)},Rt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Rt.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t];if(r.flags&Se)return r}},Rt.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t];if(r.flags&Se&&!(r.flags&Te))return r}};var yt=function Node(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Re(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},vt=et.prototype;function finishNodeAt(t,r,i,o){return t.type=r,t.end=i,this.options.locations&&(t.loc.end=o),this.options.ranges&&(t.range[1]=i),t}vt.startNode=function(){return new yt(this,this.start,this.startLoc)},vt.startNodeAt=function(t,r){return new yt(this,t,r)},vt.finishNode=function(t,r){return finishNodeAt.call(this,t,r,this.lastTokEnd,this.lastTokEndLoc)},vt.finishNodeAt=function(t,r,i,o){return finishNodeAt.call(this,t,r,i,o)},vt.copyNode=function(t){var r=new yt(this,t.start,this.startLoc);for(var i in t)r[i]=t[i];return r};var bt=function TokContext(t,r,i,o,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=o,this.generator=!!s},xt={b_stat:new bt("{",!1),b_expr:new bt("{",!0),b_tmpl:new bt("${",!1),p_stat:new bt("(",!1),p_expr:new bt("(",!0),q_tmpl:new bt("`",!0,!0,(function(t){return t.tryReadTemplateToken()})),f_stat:new bt("function",!1),f_expr:new bt("function",!0),f_expr_gen:new bt("function",!0,!1,null,!0),f_gen:new bt("function",!1,!1,null,!0)},Et=et.prototype;Et.initialContext=function(){return[xt.b_stat]},Et.braceIsBlock=function(t){var r=this.curContext();return r===xt.f_expr||r===xt.f_stat||(t!==X.colon||r!==xt.b_stat&&r!==xt.b_expr?t===X._return||t===X.name&&this.exprAllowed?Y.test(this.input.slice(this.lastTokEnd,this.start)):t===X._else||t===X.semi||t===X.eof||t===X.parenR||t===X.arrow||(t===X.braceL?r===xt.b_stat:t!==X._var&&t!==X._const&&t!==X.name&&!this.exprAllowed):!r.isExpr)},Et.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var r=this.context[t];if("function"===r.token)return r.generator}return!1},Et.updateContext=function(t){var r,i=this.type;i.keyword&&t===X.dot?this.exprAllowed=!1:(r=i.updateContext)?r.call(this,t):this.exprAllowed=i.beforeExpr},X.parenR.updateContext=X.braceR.updateContext=function(){if(1!==this.context.length){var t=this.context.pop();t===xt.b_stat&&"function"===this.curContext().token&&(t=this.context.pop()),this.exprAllowed=!t.isExpr}else this.exprAllowed=!0},X.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?xt.b_stat:xt.b_expr),this.exprAllowed=!0},X.dollarBraceL.updateContext=function(){this.context.push(xt.b_tmpl),this.exprAllowed=!0},X.parenL.updateContext=function(t){var r=t===X._if||t===X._for||t===X._with||t===X._while;this.context.push(r?xt.p_stat:xt.p_expr),this.exprAllowed=!0},X.incDec.updateContext=function(){},X._function.updateContext=X._class.updateContext=function(t){!t.beforeExpr||t===X._else||t===X.semi&&this.curContext()!==xt.p_stat||t===X._return&&Y.test(this.input.slice(this.lastTokEnd,this.start))||(t===X.colon||t===X.braceL)&&this.curContext()===xt.b_stat?this.context.push(xt.f_stat):this.context.push(xt.f_expr),this.exprAllowed=!1},X.backQuote.updateContext=function(){this.curContext()===xt.q_tmpl?this.context.pop():this.context.push(xt.q_tmpl),this.exprAllowed=!1},X.star.updateContext=function(t){if(t===X._function){var r=this.context.length-1;this.context[r]===xt.f_expr?this.context[r]=xt.f_expr_gen:this.context[r]=xt.f_gen}this.exprAllowed=!0},X.name.updateContext=function(t){var r=!1;this.options.ecmaVersion>=6&&t!==X.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(r=!0),this.exprAllowed=r};var Ct="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",_t=Ct+" Extended_Pictographic",St={9:Ct,10:_t,11:_t,12:_t+" EBase EComp EMod EPres ExtPict"},wt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",Dt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",kt=Dt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",At=kt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Pt={9:Dt,10:kt,11:At,12:At+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi"},Ft={};function buildUnicodeData(t){var r=Ft[t]={binary:wordsRegexp(St[t]+" "+wt),nonBinary:{General_Category:wordsRegexp(wt),Script:wordsRegexp(Pt[t])}};r.nonBinary.Script_Extensions=r.nonBinary.Script,r.nonBinary.gc=r.nonBinary.General_Category,r.nonBinary.sc=r.nonBinary.Script,r.nonBinary.scx=r.nonBinary.Script_Extensions}buildUnicodeData(9),buildUnicodeData(10),buildUnicodeData(11),buildUnicodeData(12);var Tt=et.prototype,Ot=function RegExpValidationState(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Ft[t.options.ecmaVersion>=12?12:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function codePointToString(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}function isSyntaxCharacter(t){return 36===t||t>=40&&t<=43||46===t||63===t||t>=91&&t<=94||t>=123&&t<=125}function isRegExpIdentifierStart(t){return isIdentifierStart(t,!0)||36===t||95===t}function isRegExpIdentifierPart(t){return isIdentifierChar(t,!0)||36===t||95===t||8204===t||8205===t}function isControlLetter(t){return t>=65&&t<=90||t>=97&&t<=122}function isValidUnicode(t){return t>=0&&t<=1114111}function isCharacterClassEscape(t){return 100===t||68===t||115===t||83===t||119===t||87===t}function isUnicodePropertyNameCharacter(t){return isControlLetter(t)||95===t}function isUnicodePropertyValueCharacter(t){return isUnicodePropertyNameCharacter(t)||isDecimalDigit(t)}function isDecimalDigit(t){return t>=48&&t<=57}function isHexDigit(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function hexToInt(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t-48}function isOctalDigit(t){return t>=48&&t<=55}Ot.prototype.reset=function reset(t,r,i){var o=-1!==i.indexOf("u");this.start=0|t,this.source=r+"",this.flags=i,this.switchU=o&&this.parser.options.ecmaVersion>=6,this.switchN=o&&this.parser.options.ecmaVersion>=9},Ot.prototype.raise=function raise(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},Ot.prototype.at=function at(t,r){void 0===r&&(r=!1);var i=this.source,o=i.length;if(t>=o)return-1;var s=i.charCodeAt(t);if(!r&&!this.switchU||s<=55295||s>=57344||t+1>=o)return s;var u=i.charCodeAt(t+1);return u>=56320&&u<=57343?(s<<10)+u-56613888:s},Ot.prototype.nextIndex=function nextIndex(t,r){void 0===r&&(r=!1);var i=this.source,o=i.length;if(t>=o)return o;var s,u=i.charCodeAt(t);return!r&&!this.switchU||u<=55295||u>=57344||t+1>=o||(s=i.charCodeAt(t+1))<56320||s>57343?t+1:t+2},Ot.prototype.current=function current(t){return void 0===t&&(t=!1),this.at(this.pos,t)},Ot.prototype.lookahead=function lookahead(t){return void 0===t&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},Ot.prototype.advance=function advance(t){void 0===t&&(t=!1),this.pos=this.nextIndex(this.pos,t)},Ot.prototype.eat=function eat(t,r){return void 0===r&&(r=!1),this.current(r)===t&&(this.advance(r),!0)},Tt.validateRegExpFlags=function(t){for(var r=t.validFlags,i=t.flags,o=0;o-1&&this.raise(t.start,"Duplicate regular expression flag")}},Tt.validateRegExpPattern=function(t){this.regexp_pattern(t),!t.switchN&&this.options.ecmaVersion>=9&&t.groupNames.length>0&&(t.switchN=!0,this.regexp_pattern(t))},Tt.regexp_pattern=function(t){t.pos=0,t.lastIntValue=0,t.lastStringValue="",t.lastAssertionIsQuantifiable=!1,t.numCapturingParens=0,t.maxBackReference=0,t.groupNames.length=0,t.backReferenceNames.length=0,this.regexp_disjunction(t),t.pos!==t.source.length&&(t.eat(41)&&t.raise("Unmatched ')'"),(t.eat(93)||t.eat(125))&&t.raise("Lone quantifier brackets")),t.maxBackReference>t.numCapturingParens&&t.raise("Invalid escape");for(var r=0,i=t.backReferenceNames;r=9&&(i=t.eat(60)),t.eat(61)||t.eat(33))return this.regexp_disjunction(t),t.eat(41)||t.raise("Unterminated group"),t.lastAssertionIsQuantifiable=!i,!0}return t.pos=r,!1},Tt.regexp_eatQuantifier=function(t,r){return void 0===r&&(r=!1),!!this.regexp_eatQuantifierPrefix(t,r)&&(t.eat(63),!0)},Tt.regexp_eatQuantifierPrefix=function(t,r){return t.eat(42)||t.eat(43)||t.eat(63)||this.regexp_eatBracedQuantifier(t,r)},Tt.regexp_eatBracedQuantifier=function(t,r){var i=t.pos;if(t.eat(123)){var o=0,s=-1;if(this.regexp_eatDecimalDigits(t)&&(o=t.lastIntValue,t.eat(44)&&this.regexp_eatDecimalDigits(t)&&(s=t.lastIntValue),t.eat(125)))return-1!==s&&s=9?this.regexp_groupSpecifier(t):63===t.current()&&t.raise("Invalid group"),this.regexp_disjunction(t),t.eat(41))return t.numCapturingParens+=1,!0;t.raise("Unterminated group")}return!1},Tt.regexp_eatExtendedAtom=function(t){return t.eat(46)||this.regexp_eatReverseSolidusAtomEscape(t)||this.regexp_eatCharacterClass(t)||this.regexp_eatUncapturingGroup(t)||this.regexp_eatCapturingGroup(t)||this.regexp_eatInvalidBracedQuantifier(t)||this.regexp_eatExtendedPatternCharacter(t)},Tt.regexp_eatInvalidBracedQuantifier=function(t){return this.regexp_eatBracedQuantifier(t,!0)&&t.raise("Nothing to repeat"),!1},Tt.regexp_eatSyntaxCharacter=function(t){var r=t.current();return!!isSyntaxCharacter(r)&&(t.lastIntValue=r,t.advance(),!0)},Tt.regexp_eatPatternCharacters=function(t){for(var r=t.pos,i=0;-1!==(i=t.current())&&!isSyntaxCharacter(i);)t.advance();return t.pos!==r},Tt.regexp_eatExtendedPatternCharacter=function(t){var r=t.current();return!(-1===r||36===r||r>=40&&r<=43||46===r||63===r||91===r||94===r||124===r||(t.advance(),0))},Tt.regexp_groupSpecifier=function(t){if(t.eat(63)){if(this.regexp_eatGroupName(t))return-1!==t.groupNames.indexOf(t.lastStringValue)&&t.raise("Duplicate capture group name"),void t.groupNames.push(t.lastStringValue);t.raise("Invalid group")}},Tt.regexp_eatGroupName=function(t){if(t.lastStringValue="",t.eat(60)){if(this.regexp_eatRegExpIdentifierName(t)&&t.eat(62))return!0;t.raise("Invalid capture group name")}return!1},Tt.regexp_eatRegExpIdentifierName=function(t){if(t.lastStringValue="",this.regexp_eatRegExpIdentifierStart(t)){for(t.lastStringValue+=codePointToString(t.lastIntValue);this.regexp_eatRegExpIdentifierPart(t);)t.lastStringValue+=codePointToString(t.lastIntValue);return!0}return!1},Tt.regexp_eatRegExpIdentifierStart=function(t){var r=t.pos,i=this.options.ecmaVersion>=11,o=t.current(i);return t.advance(i),92===o&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(o=t.lastIntValue),isRegExpIdentifierStart(o)?(t.lastIntValue=o,!0):(t.pos=r,!1)},Tt.regexp_eatRegExpIdentifierPart=function(t){var r=t.pos,i=this.options.ecmaVersion>=11,o=t.current(i);return t.advance(i),92===o&&this.regexp_eatRegExpUnicodeEscapeSequence(t,i)&&(o=t.lastIntValue),isRegExpIdentifierPart(o)?(t.lastIntValue=o,!0):(t.pos=r,!1)},Tt.regexp_eatAtomEscape=function(t){return!!(this.regexp_eatBackReference(t)||this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)||t.switchN&&this.regexp_eatKGroupName(t))||(t.switchU&&(99===t.current()&&t.raise("Invalid unicode escape"),t.raise("Invalid escape")),!1)},Tt.regexp_eatBackReference=function(t){var r=t.pos;if(this.regexp_eatDecimalEscape(t)){var i=t.lastIntValue;if(t.switchU)return i>t.maxBackReference&&(t.maxBackReference=i),!0;if(i<=t.numCapturingParens)return!0;t.pos=r}return!1},Tt.regexp_eatKGroupName=function(t){if(t.eat(107)){if(this.regexp_eatGroupName(t))return t.backReferenceNames.push(t.lastStringValue),!0;t.raise("Invalid named reference")}return!1},Tt.regexp_eatCharacterEscape=function(t){return this.regexp_eatControlEscape(t)||this.regexp_eatCControlLetter(t)||this.regexp_eatZero(t)||this.regexp_eatHexEscapeSequence(t)||this.regexp_eatRegExpUnicodeEscapeSequence(t,!1)||!t.switchU&&this.regexp_eatLegacyOctalEscapeSequence(t)||this.regexp_eatIdentityEscape(t)},Tt.regexp_eatCControlLetter=function(t){var r=t.pos;if(t.eat(99)){if(this.regexp_eatControlLetter(t))return!0;t.pos=r}return!1},Tt.regexp_eatZero=function(t){return 48===t.current()&&!isDecimalDigit(t.lookahead())&&(t.lastIntValue=0,t.advance(),!0)},Tt.regexp_eatControlEscape=function(t){var r=t.current();return 116===r?(t.lastIntValue=9,t.advance(),!0):110===r?(t.lastIntValue=10,t.advance(),!0):118===r?(t.lastIntValue=11,t.advance(),!0):102===r?(t.lastIntValue=12,t.advance(),!0):114===r&&(t.lastIntValue=13,t.advance(),!0)},Tt.regexp_eatControlLetter=function(t){var r=t.current();return!!isControlLetter(r)&&(t.lastIntValue=r%32,t.advance(),!0)},Tt.regexp_eatRegExpUnicodeEscapeSequence=function(t,r){void 0===r&&(r=!1);var i=t.pos,o=r||t.switchU;if(t.eat(117)){if(this.regexp_eatFixedHexDigits(t,4)){var s=t.lastIntValue;if(o&&s>=55296&&s<=56319){var u=t.pos;if(t.eat(92)&&t.eat(117)&&this.regexp_eatFixedHexDigits(t,4)){var R=t.lastIntValue;if(R>=56320&&R<=57343)return t.lastIntValue=1024*(s-55296)+(R-56320)+65536,!0}t.pos=u,t.lastIntValue=s}return!0}if(o&&t.eat(123)&&this.regexp_eatHexDigits(t)&&t.eat(125)&&isValidUnicode(t.lastIntValue))return!0;o&&t.raise("Invalid unicode escape"),t.pos=i}return!1},Tt.regexp_eatIdentityEscape=function(t){if(t.switchU)return!!this.regexp_eatSyntaxCharacter(t)||!!t.eat(47)&&(t.lastIntValue=47,!0);var r=t.current();return!(99===r||t.switchN&&107===r||(t.lastIntValue=r,t.advance(),0))},Tt.regexp_eatDecimalEscape=function(t){t.lastIntValue=0;var r=t.current();if(r>=49&&r<=57){do{t.lastIntValue=10*t.lastIntValue+(r-48),t.advance()}while((r=t.current())>=48&&r<=57);return!0}return!1},Tt.regexp_eatCharacterClassEscape=function(t){var r=t.current();if(isCharacterClassEscape(r))return t.lastIntValue=-1,t.advance(),!0;if(t.switchU&&this.options.ecmaVersion>=9&&(80===r||112===r)){if(t.lastIntValue=-1,t.advance(),t.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(t)&&t.eat(125))return!0;t.raise("Invalid property name")}return!1},Tt.regexp_eatUnicodePropertyValueExpression=function(t){var r=t.pos;if(this.regexp_eatUnicodePropertyName(t)&&t.eat(61)){var i=t.lastStringValue;if(this.regexp_eatUnicodePropertyValue(t)){var o=t.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(t,i,o),!0}}if(t.pos=r,this.regexp_eatLoneUnicodePropertyNameOrValue(t)){var s=t.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(t,s),!0}return!1},Tt.regexp_validateUnicodePropertyNameAndValue=function(t,r,i){has(t.unicodeProperties.nonBinary,r)||t.raise("Invalid property name"),t.unicodeProperties.nonBinary[r].test(i)||t.raise("Invalid property value")},Tt.regexp_validateUnicodePropertyNameOrValue=function(t,r){t.unicodeProperties.binary.test(r)||t.raise("Invalid property name")},Tt.regexp_eatUnicodePropertyName=function(t){var r=0;for(t.lastStringValue="";isUnicodePropertyNameCharacter(r=t.current());)t.lastStringValue+=codePointToString(r),t.advance();return""!==t.lastStringValue},Tt.regexp_eatUnicodePropertyValue=function(t){var r=0;for(t.lastStringValue="";isUnicodePropertyValueCharacter(r=t.current());)t.lastStringValue+=codePointToString(r),t.advance();return""!==t.lastStringValue},Tt.regexp_eatLoneUnicodePropertyNameOrValue=function(t){return this.regexp_eatUnicodePropertyValue(t)},Tt.regexp_eatCharacterClass=function(t){if(t.eat(91)){if(t.eat(94),this.regexp_classRanges(t),t.eat(93))return!0;t.raise("Unterminated character class")}return!1},Tt.regexp_classRanges=function(t){for(;this.regexp_eatClassAtom(t);){var r=t.lastIntValue;if(t.eat(45)&&this.regexp_eatClassAtom(t)){var i=t.lastIntValue;!t.switchU||-1!==r&&-1!==i||t.raise("Invalid character class"),-1!==r&&-1!==i&&r>i&&t.raise("Range out of order in character class")}}},Tt.regexp_eatClassAtom=function(t){var r=t.pos;if(t.eat(92)){if(this.regexp_eatClassEscape(t))return!0;if(t.switchU){var i=t.current();(99===i||isOctalDigit(i))&&t.raise("Invalid class escape"),t.raise("Invalid escape")}t.pos=r}var o=t.current();return 93!==o&&(t.lastIntValue=o,t.advance(),!0)},Tt.regexp_eatClassEscape=function(t){var r=t.pos;if(t.eat(98))return t.lastIntValue=8,!0;if(t.switchU&&t.eat(45))return t.lastIntValue=45,!0;if(!t.switchU&&t.eat(99)){if(this.regexp_eatClassControlLetter(t))return!0;t.pos=r}return this.regexp_eatCharacterClassEscape(t)||this.regexp_eatCharacterEscape(t)},Tt.regexp_eatClassControlLetter=function(t){var r=t.current();return!(!isDecimalDigit(r)&&95!==r||(t.lastIntValue=r%32,t.advance(),0))},Tt.regexp_eatHexEscapeSequence=function(t){var r=t.pos;if(t.eat(120)){if(this.regexp_eatFixedHexDigits(t,2))return!0;t.switchU&&t.raise("Invalid escape"),t.pos=r}return!1},Tt.regexp_eatDecimalDigits=function(t){var r=t.pos,i=0;for(t.lastIntValue=0;isDecimalDigit(i=t.current());)t.lastIntValue=10*t.lastIntValue+(i-48),t.advance();return t.pos!==r},Tt.regexp_eatHexDigits=function(t){var r=t.pos,i=0;for(t.lastIntValue=0;isHexDigit(i=t.current());)t.lastIntValue=16*t.lastIntValue+hexToInt(i),t.advance();return t.pos!==r},Tt.regexp_eatLegacyOctalEscapeSequence=function(t){if(this.regexp_eatOctalDigit(t)){var r=t.lastIntValue;if(this.regexp_eatOctalDigit(t)){var i=t.lastIntValue;r<=3&&this.regexp_eatOctalDigit(t)?t.lastIntValue=64*r+8*i+t.lastIntValue:t.lastIntValue=8*r+i}else t.lastIntValue=r;return!0}return!1},Tt.regexp_eatOctalDigit=function(t){var r=t.current();return isOctalDigit(r)?(t.lastIntValue=r-48,t.advance(),!0):(t.lastIntValue=0,!1)},Tt.regexp_eatFixedHexDigits=function(t,r){var i=t.pos;t.lastIntValue=0;for(var o=0;o>10),56320+(1023&t)))}It.next=function(t){!t&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Bt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},It.getToken=function(){return this.next(),new Bt(this)},"undefined"!=typeof Symbol&&(It[Symbol.iterator]=function(){var t=this;return{next:function(){var r=t.getToken();return{done:r.type===X.eof,value:r}}}}),It.curContext=function(){return this.context[this.context.length-1]},It.nextToken=function(){var t=this.curContext();return t&&t.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(X.eof):t.override?t.override(this):void this.readToken(this.fullCharCodeAtPos())},It.readToken=function(t){return isIdentifierStart(t,this.options.ecmaVersion>=6)||92===t?this.readWord():this.getTokenFromCode(t)},It.fullCharCodeAtPos=function(){var t=this.input.charCodeAt(this.pos);return t<=55295||t>=57344?t:(t<<10)+this.input.charCodeAt(this.pos+1)-56613888},It.skipBlockComment=function(){var t,r=this.options.onComment&&this.curPosition(),i=this.pos,o=this.input.indexOf("*/",this.pos+=2);if(-1===o&&this.raise(this.pos-2,"Unterminated comment"),this.pos=o+2,this.options.locations)for(ee.lastIndex=i;(t=ee.exec(this.input))&&t.index8&&t<14||t>=5760&&ae.test(String.fromCharCode(t))))break e;++this.pos}}},It.finishToken=function(t,r){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var i=this.type;this.type=t,this.value=r,this.updateContext(i)},It.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var r=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===t&&46===r?(this.pos+=3,this.finishToken(X.ellipsis)):(++this.pos,this.finishToken(X.dot))},It.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===t?this.finishOp(X.assign,2):this.finishOp(X.slash,1)},It.readToken_mult_modulo_exp=function(t){var r=this.input.charCodeAt(this.pos+1),i=1,o=42===t?X.star:X.modulo;return this.options.ecmaVersion>=7&&42===t&&42===r&&(++i,o=X.starstar,r=this.input.charCodeAt(this.pos+2)),61===r?this.finishOp(X.assign,i+1):this.finishOp(o,i)},It.readToken_pipe_amp=function(t){var r=this.input.charCodeAt(this.pos+1);return r===t?this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(X.assign,3):this.finishOp(124===t?X.logicalOR:X.logicalAND,2):61===r?this.finishOp(X.assign,2):this.finishOp(124===t?X.bitwiseOR:X.bitwiseAND,1)},It.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(X.assign,2):this.finishOp(X.bitwiseXOR,1)},It.readToken_plus_min=function(t){var r=this.input.charCodeAt(this.pos+1);return r===t?45!==r||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!Y.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(X.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===r?this.finishOp(X.assign,2):this.finishOp(X.plusMin,1)},It.readToken_lt_gt=function(t){var r=this.input.charCodeAt(this.pos+1),i=1;return r===t?(i=62===t&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+i)?this.finishOp(X.assign,i+1):this.finishOp(X.bitShift,i)):33!==r||60!==t||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===r&&(i=2),this.finishOp(X.relational,i)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},It.readToken_eq_excl=function(t){var r=this.input.charCodeAt(this.pos+1);return 61===r?this.finishOp(X.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===t&&62===r&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(X.arrow)):this.finishOp(61===t?X.eq:X.prefix,1)},It.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var r=this.input.charCodeAt(this.pos+1);if(46===r){var i=this.input.charCodeAt(this.pos+2);if(i<48||i>57)return this.finishOp(X.questionDot,2)}if(63===r)return t>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(X.assign,3):this.finishOp(X.coalesce,2)}return this.finishOp(X.question,1)},It.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(X.parenL);case 41:return++this.pos,this.finishToken(X.parenR);case 59:return++this.pos,this.finishToken(X.semi);case 44:return++this.pos,this.finishToken(X.comma);case 91:return++this.pos,this.finishToken(X.bracketL);case 93:return++this.pos,this.finishToken(X.bracketR);case 123:return++this.pos,this.finishToken(X.braceL);case 125:return++this.pos,this.finishToken(X.braceR);case 58:return++this.pos,this.finishToken(X.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(X.backQuote);case 48:var r=this.input.charCodeAt(this.pos+1);if(120===r||88===r)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===r||79===r)return this.readRadixNumber(8);if(98===r||66===r)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(X.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(t)+"'")},It.finishOp=function(t,r){var i=this.input.slice(this.pos,this.pos+r);return this.pos+=r,this.finishToken(t,i)},It.readRegexp=function(){for(var t,r,i=this.pos;;){this.pos>=this.input.length&&this.raise(i,"Unterminated regular expression");var o=this.input.charAt(this.pos);if(Y.test(o)&&this.raise(i,"Unterminated regular expression"),t)t=!1;else{if("["===o)r=!0;else if("]"===o&&r)r=!1;else if("/"===o&&!r)break;t="\\"===o}++this.pos}var s=this.input.slice(i,this.pos);++this.pos;var u=this.pos,R=this.readWord1();this.containsEsc&&this.unexpected(u);var m=this.regexpState||(this.regexpState=new Ot(this));m.reset(i,s,R),this.validateRegExpFlags(m),this.validateRegExpPattern(m);var v=null;try{v=new RegExp(s,R)}catch(t){}return this.finishToken(X.regexp,{pattern:s,flags:R,value:v})},It.readInt=function(t,r,i){for(var o=this.options.ecmaVersion>=12&&void 0===r,s=i&&48===this.input.charCodeAt(this.pos),u=this.pos,R=0,m=0,v=0,_=null==r?1/0:r;v<_;++v,++this.pos){var M=this.input.charCodeAt(this.pos),Z=void 0;if(o&&95===M)s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===m&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===v&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),m=M;else{if((Z=M>=97?M-97+10:M>=65?M-65+10:M>=48&&M<=57?M-48:1/0)>=t)break;m=M,R=R*t+Z}}return o&&95===m&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===u||null!=r&&this.pos-u!==r?null:R},It.readRadixNumber=function(t){var r=this.pos;this.pos+=2;var i=this.readInt(t);return null==i&&this.raise(this.start+2,"Expected number in radix "+t),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(i=stringToBigInt(this.input.slice(r,this.pos)),++this.pos):isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(X.num,i)},It.readNumber=function(t){var r=this.pos;t||null!==this.readInt(10,void 0,!0)||this.raise(r,"Invalid number");var i=this.pos-r>=2&&48===this.input.charCodeAt(r);i&&this.strict&&this.raise(r,"Invalid number");var o=this.input.charCodeAt(this.pos);if(!i&&!t&&this.options.ecmaVersion>=11&&110===o){var s=stringToBigInt(this.input.slice(r,this.pos));return++this.pos,isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(X.num,s)}i&&/[89]/.test(this.input.slice(r,this.pos))&&(i=!1),46!==o||i||(++this.pos,this.readInt(10),o=this.input.charCodeAt(this.pos)),69!==o&&101!==o||i||(43!==(o=this.input.charCodeAt(++this.pos))&&45!==o||++this.pos,null===this.readInt(10)&&this.raise(r,"Invalid number")),isIdentifierStart(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var u=stringToNumber(this.input.slice(r,this.pos),i);return this.finishToken(X.num,u)},It.readCodePoint=function(){var t;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},It.readString=function(t){for(var r="",i=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var o=this.input.charCodeAt(this.pos);if(o===t)break;92===o?(r+=this.input.slice(i,this.pos),r+=this.readEscapedChar(!1),i=this.pos):(isNewLine(o,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return r+=this.input.slice(i,this.pos++),this.finishToken(X.string,r)};var Nt={};It.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t!==Nt)throw t;this.readInvalidTemplateToken()}this.inTemplateElement=!1},It.invalidStringToken=function(t,r){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Nt;this.raise(t,r)},It.readTmplToken=function(){for(var t="",r=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var i=this.input.charCodeAt(this.pos);if(96===i||36===i&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==X.template&&this.type!==X.invalidTemplate?(t+=this.input.slice(r,this.pos),this.finishToken(X.template,t)):36===i?(this.pos+=2,this.finishToken(X.dollarBraceL)):(++this.pos,this.finishToken(X.backQuote));if(92===i)t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!0),r=this.pos;else if(isNewLine(i)){switch(t+=this.input.slice(r,this.pos),++this.pos,i){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:t+="\n";break;default:t+=String.fromCharCode(i)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),r=this.pos}else++this.pos}},It.readInvalidTemplateToken=function(){for(;this.pos=48&&r<=55){var o=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(o,8);return s>255&&(o=o.slice(0,-1),s=parseInt(o,8)),this.pos+=o.length-1,r=this.input.charCodeAt(this.pos),"0"===o&&56!==r&&57!==r||!this.strict&&!t||this.invalidStringToken(this.pos-1-o.length,t?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return isNewLine(r)?"":String.fromCharCode(r)}},It.readHexChar=function(t){var r=this.pos,i=this.readInt(16,t);return null===i&&this.invalidStringToken(r,"Bad character escape sequence"),i},It.readWord1=function(){this.containsEsc=!1;for(var t="",r=!0,i=this.pos,o=this.options.ecmaVersion>=6;this.pos{"use strict";var o=i(27418);function compare(t,r){if(t===r)return 0;for(var i=t.length,o=r.length,s=0,u=Math.min(i,o);s=0;_--)if(Z[_]!==q[_])return!1;for(_=Z.length-1;_>=0;_--)if(!_deepEqual(t[v=Z[_]],r[v],i,o))return!1;return!0}(t,r,i,o))}return i?t===r:t==r}function isArguments(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function expectedException(t,r){if(!t||!r)return!1;if("[object RegExp]"==Object.prototype.toString.call(r))return r.test(t);try{if(t instanceof r)return!0}catch(t){}return!Error.isPrototypeOf(r)&&!0===r.call({},t)}function _throws(t,r,i,o){var u;if("function"!=typeof r)throw new TypeError('"block" argument must be a function');"string"==typeof i&&(o=i,i=null),u=function _tryBlock(t){var r;try{t()}catch(t){r=t}return r}(r),o=(i&&i.name?" ("+i.name+").":".")+(o?" "+o:"."),t&&!u&&fail(u,i,"Missing expected exception"+o);var R="string"==typeof o,m=!t&&u&&!i;if((!t&&s.isError(u)&&R&&expectedException(u,i)||m)&&fail(u,i,"Got unwanted exception"+o),t&&u&&i&&!expectedException(u,i)||!t&&u)throw u}v.AssertionError=function AssertionError(t){this.name="AssertionError",this.actual=t.actual,this.expected=t.expected,this.operator=t.operator,t.message?(this.message=t.message,this.generatedMessage=!1):(this.message=function getMessage(t){return truncate(inspect(t.actual),128)+" "+t.operator+" "+truncate(inspect(t.expected),128)}(this),this.generatedMessage=!0);var r=t.stackStartFunction||fail;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var i=new Error;if(i.stack){var o=i.stack,s=getName(r),u=o.indexOf("\n"+s);if(u>=0){var R=o.indexOf("\n",u+1);o=o.substring(R+1)}this.stack=o}}},s.inherits(v.AssertionError,Error),v.fail=fail,v.ok=ok,v.equal=function equal(t,r,i){t!=r&&fail(t,r,i,"==",v.equal)},v.notEqual=function notEqual(t,r,i){t==r&&fail(t,r,i,"!=",v.notEqual)},v.deepEqual=function deepEqual(t,r,i){_deepEqual(t,r,!1)||fail(t,r,i,"deepEqual",v.deepEqual)},v.deepStrictEqual=function deepStrictEqual(t,r,i){_deepEqual(t,r,!0)||fail(t,r,i,"deepStrictEqual",v.deepStrictEqual)},v.notDeepEqual=function notDeepEqual(t,r,i){_deepEqual(t,r,!1)&&fail(t,r,i,"notDeepEqual",v.notDeepEqual)},v.notDeepStrictEqual=function notDeepStrictEqual(t,r,i){_deepEqual(t,r,!0)&&fail(t,r,i,"notDeepStrictEqual",notDeepStrictEqual)},v.strictEqual=function strictEqual(t,r,i){t!==r&&fail(t,r,i,"===",v.strictEqual)},v.notStrictEqual=function notStrictEqual(t,r,i){t===r&&fail(t,r,i,"!==",v.notStrictEqual)},v.throws=function(t,r,i){_throws(!0,t,r,i)},v.doesNotThrow=function(t,r,i){_throws(!1,t,r,i)},v.ifError=function(t){if(t)throw t},v.strict=o((function strict(t,r){t||fail(t,!0,r,"==",strict)}),v,{equal:v.strictEqual,deepEqual:v.deepStrictEqual,notEqual:v.notStrictEqual,notDeepEqual:v.notDeepStrictEqual}),v.strict.strict=v.strict;var M=Object.keys||function(t){var r=[];for(var i in t)u.call(t,i)&&r.push(i);return r}},9669:(t,r,i)=>{t.exports=i(51609)},55448:(t,r,i)=>{"use strict";var o=i(64867),s=i(36026),u=i(4372),R=i(15327),m=i(94097),v=i(84109),_=i(67985),M=i(85061);t.exports=function xhrAdapter(t){return new Promise((function dispatchXhrRequest(r,i){var Z=t.data,q=t.headers;o.isFormData(Z)&&delete q["Content-Type"];var W=new XMLHttpRequest;if(t.auth){var $=t.auth.username||"",X=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";q.Authorization="Basic "+btoa($+":"+X)}var Y=m(t.baseURL,t.url);if(W.open(t.method.toUpperCase(),R(Y,t.params,t.paramsSerializer),!0),W.timeout=t.timeout,W.onreadystatechange=function handleLoad(){if(W&&4===W.readyState&&(0!==W.status||W.responseURL&&0===W.responseURL.indexOf("file:"))){var o="getAllResponseHeaders"in W?v(W.getAllResponseHeaders()):null,u={data:t.responseType&&"text"!==t.responseType?W.response:W.responseText,status:W.status,statusText:W.statusText,headers:o,config:t,request:W};s(r,i,u),W=null}},W.onabort=function handleAbort(){W&&(i(M("Request aborted",t,"ECONNABORTED",W)),W=null)},W.onerror=function handleError(){i(M("Network Error",t,null,W)),W=null},W.ontimeout=function handleTimeout(){var r="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(r=t.timeoutErrorMessage),i(M(r,t,"ECONNABORTED",W)),W=null},o.isStandardBrowserEnv()){var ee=(t.withCredentials||_(Y))&&t.xsrfCookieName?u.read(t.xsrfCookieName):void 0;ee&&(q[t.xsrfHeaderName]=ee)}if("setRequestHeader"in W&&o.forEach(q,(function setRequestHeader(t,r){void 0===Z&&"content-type"===r.toLowerCase()?delete q[r]:W.setRequestHeader(r,t)})),o.isUndefined(t.withCredentials)||(W.withCredentials=!!t.withCredentials),t.responseType)try{W.responseType=t.responseType}catch(r){if("json"!==t.responseType)throw r}"function"==typeof t.onDownloadProgress&&W.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&W.upload&&W.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function onCanceled(t){W&&(W.abort(),i(t),W=null)})),Z||(Z=null),W.send(Z)}))}},51609:(t,r,i)=>{"use strict";var o=i(64867),s=i(91849),u=i(30321),R=i(47185);function createInstance(t){var r=new u(t),i=s(u.prototype.request,r);return o.extend(i,u.prototype,r),o.extend(i,r),i}var m=createInstance(i(45655));m.Axios=u,m.create=function create(t){return createInstance(R(m.defaults,t))},m.Cancel=i(65263),m.CancelToken=i(14972),m.isCancel=i(26502),m.all=function all(t){return Promise.all(t)},m.spread=i(8713),m.isAxiosError=i(16268),t.exports=m,t.exports.default=m},65263:t=>{"use strict";function Cancel(t){this.message=t}Cancel.prototype.toString=function toString(){return"Cancel"+(this.message?": "+this.message:"")},Cancel.prototype.__CANCEL__=!0,t.exports=Cancel},14972:(t,r,i)=>{"use strict";var o=i(65263);function CancelToken(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function promiseExecutor(t){r=t}));var i=this;t((function cancel(t){i.reason||(i.reason=new o(t),r(i.reason))}))}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason)throw this.reason},CancelToken.source=function source(){var t;return{token:new CancelToken((function executor(r){t=r})),cancel:t}},t.exports=CancelToken},26502:t=>{"use strict";t.exports=function isCancel(t){return!(!t||!t.__CANCEL__)}},30321:(t,r,i)=>{"use strict";var o=i(64867),s=i(15327),u=i(80782),R=i(13572),m=i(47185);function Axios(t){this.defaults=t,this.interceptors={request:new u,response:new u}}Axios.prototype.request=function request(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=m(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=[R,void 0],i=Promise.resolve(t);for(this.interceptors.request.forEach((function unshiftRequestInterceptors(t){r.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function pushResponseInterceptors(t){r.push(t.fulfilled,t.rejected)}));r.length;)i=i.then(r.shift(),r.shift());return i},Axios.prototype.getUri=function getUri(t){return t=m(this.defaults,t),s(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function forEachMethodNoData(t){Axios.prototype[t]=function(r,i){return this.request(m(i||{},{method:t,url:r,data:(i||{}).data}))}})),o.forEach(["post","put","patch"],(function forEachMethodWithData(t){Axios.prototype[t]=function(r,i,o){return this.request(m(o||{},{method:t,url:r,data:i}))}})),t.exports=Axios},80782:(t,r,i)=>{"use strict";var o=i(64867);function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function use(t,r){return this.handlers.push({fulfilled:t,rejected:r}),this.handlers.length-1},InterceptorManager.prototype.eject=function eject(t){this.handlers[t]&&(this.handlers[t]=null)},InterceptorManager.prototype.forEach=function forEach(t){o.forEach(this.handlers,(function forEachHandler(r){null!==r&&t(r)}))},t.exports=InterceptorManager},94097:(t,r,i)=>{"use strict";var o=i(91793),s=i(7303);t.exports=function buildFullPath(t,r){return t&&!o(r)?s(t,r):r}},85061:(t,r,i)=>{"use strict";var o=i(80481);t.exports=function createError(t,r,i,s,u){var R=new Error(t);return o(R,r,i,s,u)}},13572:(t,r,i)=>{"use strict";var o=i(64867),s=i(18527),u=i(26502),R=i(45655);function throwIfCancellationRequested(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function dispatchRequest(t){return throwIfCancellationRequested(t),t.headers=t.headers||{},t.data=s(t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function cleanHeaderConfig(r){delete t.headers[r]})),(t.adapter||R.adapter)(t).then((function onAdapterResolution(r){return throwIfCancellationRequested(t),r.data=s(r.data,r.headers,t.transformResponse),r}),(function onAdapterRejection(r){return u(r)||(throwIfCancellationRequested(t),r&&r.response&&(r.response.data=s(r.response.data,r.response.headers,t.transformResponse))),Promise.reject(r)}))}},80481:t=>{"use strict";t.exports=function enhanceError(t,r,i,o,s){return t.config=r,i&&(t.code=i),t.request=o,t.response=s,t.isAxiosError=!0,t.toJSON=function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},47185:(t,r,i)=>{"use strict";var o=i(64867);t.exports=function mergeConfig(t,r){r=r||{};var i={},s=["url","method","data"],u=["headers","auth","proxy","params"],R=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],m=["validateStatus"];function getMergedValue(t,r){return o.isPlainObject(t)&&o.isPlainObject(r)?o.merge(t,r):o.isPlainObject(r)?o.merge({},r):o.isArray(r)?r.slice():r}function mergeDeepProperties(s){o.isUndefined(r[s])?o.isUndefined(t[s])||(i[s]=getMergedValue(void 0,t[s])):i[s]=getMergedValue(t[s],r[s])}o.forEach(s,(function valueFromConfig2(t){o.isUndefined(r[t])||(i[t]=getMergedValue(void 0,r[t]))})),o.forEach(u,mergeDeepProperties),o.forEach(R,(function defaultToConfig2(s){o.isUndefined(r[s])?o.isUndefined(t[s])||(i[s]=getMergedValue(void 0,t[s])):i[s]=getMergedValue(void 0,r[s])})),o.forEach(m,(function merge(o){o in r?i[o]=getMergedValue(t[o],r[o]):o in t&&(i[o]=getMergedValue(void 0,t[o]))}));var v=s.concat(u).concat(R).concat(m),_=Object.keys(t).concat(Object.keys(r)).filter((function filterAxiosKeys(t){return-1===v.indexOf(t)}));return o.forEach(_,mergeDeepProperties),i}},36026:(t,r,i)=>{"use strict";var o=i(85061);t.exports=function settle(t,r,i){var s=i.config.validateStatus;i.status&&s&&!s(i.status)?r(o("Request failed with status code "+i.status,i.config,null,i.request,i)):t(i)}},18527:(t,r,i)=>{"use strict";var o=i(64867);t.exports=function transformData(t,r,i){return o.forEach(i,(function transform(i){t=i(t,r)})),t}},45655:(t,r,i)=>{"use strict";var o=i(64867),s=i(16016),u={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(t,r){!o.isUndefined(t)&&o.isUndefined(t["Content-Type"])&&(t["Content-Type"]=r)}var R={adapter:function getDefaultAdapter(){var t;return("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(t=i(55448)),t}(),transformRequest:[function transformRequest(t,r){return s(r,"Accept"),s(r,"Content-Type"),o.isFormData(t)||o.isArrayBuffer(t)||o.isBuffer(t)||o.isStream(t)||o.isFile(t)||o.isBlob(t)?t:o.isArrayBufferView(t)?t.buffer:o.isURLSearchParams(t)?(setContentTypeIfUnset(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):o.isObject(t)?(setContentTypeIfUnset(r,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function transformResponse(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function validateStatus(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function forEachMethodNoData(t){R.headers[t]={}})),o.forEach(["post","put","patch"],(function forEachMethodWithData(t){R.headers[t]=o.merge(u)})),t.exports=R},91849:t=>{"use strict";t.exports=function bind(t,r){return function wrap(){for(var i=new Array(arguments.length),o=0;o{"use strict";var o=i(64867);function encode(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function buildURL(t,r,i){if(!r)return t;var s;if(i)s=i(r);else if(o.isURLSearchParams(r))s=r.toString();else{var u=[];o.forEach(r,(function serialize(t,r){null!=t&&(o.isArray(t)?r+="[]":t=[t],o.forEach(t,(function parseValue(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),u.push(encode(r)+"="+encode(t))})))})),s=u.join("&")}if(s){var R=t.indexOf("#");-1!==R&&(t=t.slice(0,R)),t+=(-1===t.indexOf("?")?"?":"&")+s}return t}},7303:t=>{"use strict";t.exports=function combineURLs(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}},4372:(t,r,i)=>{"use strict";var o=i(64867);t.exports=o.isStandardBrowserEnv()?function standardBrowserEnv(){return{write:function write(t,r,i,s,u,R){var m=[];m.push(t+"="+encodeURIComponent(r)),o.isNumber(i)&&m.push("expires="+new Date(i).toGMTString()),o.isString(s)&&m.push("path="+s),o.isString(u)&&m.push("domain="+u),!0===R&&m.push("secure"),document.cookie=m.join("; ")},read:function read(t){var r=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function remove(t){this.write(t,"",Date.now()-864e5)}}}():{write:function write(){},read:function read(){return null},remove:function remove(){}}},91793:t=>{"use strict";t.exports=function isAbsoluteURL(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},16268:t=>{"use strict";t.exports=function isAxiosError(t){return"object"==typeof t&&!0===t.isAxiosError}},67985:(t,r,i)=>{"use strict";var o=i(64867);t.exports=o.isStandardBrowserEnv()?function standardBrowserEnv(){var t,r=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");function resolveURL(t){var o=t;return r&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}return t=resolveURL(window.location.href),function isURLSameOrigin(r){var i=o.isString(r)?resolveURL(r):r;return i.protocol===t.protocol&&i.host===t.host}}():function isURLSameOrigin(){return!0}},16016:(t,r,i)=>{"use strict";var o=i(64867);t.exports=function normalizeHeaderName(t,r){o.forEach(t,(function processHeader(i,o){o!==r&&o.toUpperCase()===r.toUpperCase()&&(t[r]=i,delete t[o])}))}},84109:(t,r,i)=>{"use strict";var o=i(64867),s=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function parseHeaders(t){var r,i,u,R={};return t?(o.forEach(t.split("\n"),(function parser(t){if(u=t.indexOf(":"),r=o.trim(t.substr(0,u)).toLowerCase(),i=o.trim(t.substr(u+1)),r){if(R[r]&&s.indexOf(r)>=0)return;R[r]="set-cookie"===r?(R[r]?R[r]:[]).concat([i]):R[r]?R[r]+", "+i:i}})),R):R}},8713:t=>{"use strict";t.exports=function spread(t){return function wrap(r){return t.apply(null,r)}}},64867:(t,r,i)=>{"use strict";var o=i(91849),s=Object.prototype.toString;function isArray(t){return"[object Array]"===s.call(t)}function isUndefined(t){return void 0===t}function isObject(t){return null!==t&&"object"==typeof t}function isPlainObject(t){if("[object Object]"!==s.call(t))return!1;var r=Object.getPrototypeOf(t);return null===r||r===Object.prototype}function isFunction(t){return"[object Function]"===s.call(t)}function forEach(t,r){if(null!=t)if("object"!=typeof t&&(t=[t]),isArray(t))for(var i=0,o=t.length;i{"use strict";i.d(r,{_:()=>s});var o=i(67294);i(85651),i(26710),i(85446);const s=o.createContext()},55541:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>DetailCard});var o=i(67294),s=i(62996),u=i(41120),R=i(93379),m=i.n(R),v=i(3834),_={insert:"head",singleton:!1};m()(v.Z,_);v.Z.locals;var M=i(22318),Z=i(18463),q=i(51907),W=i(79912),$=i(282),X=i(53854),Y=i(10637),ee=i(21727),ae=(i(49633),i(44405));function BsUnlock(t){return(0,ae.w_)({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M9.655 8H2.333c-.264 0-.398.068-.471.121a.73.73 0 00-.224.296 1.626 1.626 0 00-.138.59V14c0 .342.076.531.14.635.064.106.151.18.256.237a1.122 1.122 0 00.436.127l.013.001h7.322c.264 0 .398-.068.471-.121a.73.73 0 00.224-.296 1.627 1.627 0 00.138-.59V9c0-.342-.076-.531-.14-.635a.658.658 0 00-.255-.237A1.122 1.122 0 009.655 8zm.012-1H2.333C.5 7 .5 9 .5 9v5c0 2 1.833 2 1.833 2h7.334c1.833 0 1.833-2 1.833-2V9c0-2-1.833-2-1.833-2zM8.5 4a3.5 3.5 0 117 0v3h-1V4a2.5 2.5 0 00-5 0v3h-1V4z",clipRule:"evenodd"}}]})(t)}var ie=i(45155),de=i(71267),ce=i(69351);const le=(0,u.Z)((t=>({root:{"& > *":{margin:t.spacing(1),display:"grid"},flexGrow:1},formControl:{margin:t.spacing(1),width:200},selectEmpty:{marginTop:t.spacing(1)},chip:{margin:.5},heading:{fontSize:t.typography.pxToRem(15),fontWeight:t.typography.fontWeightRegular}})));function DetailCard(t){let{details:r}=t;const i=(new Date).getFullYear();console.log(i);const{setUrl:u}=(0,o.useContext)(s._),R=le();return(0,o.useEffect)((()=>{u(window.location.href)})),"null"!==r?o.createElement("div",{id:r.id},o.createElement(Z.Z,{className:"detail-Card"},o.createElement(W.Z,null,r.end_year&&r.end_year"1"===t.issn_type?o.createElement("li",null,"Print ISSN: ",t.issn):"2"===t.issn_type?o.createElement("li",null,"Electronic ISSN: ",t.issn):"3"===t.issn_type?o.createElement("li",null,"Other ISSN: ",t.issn):null)))),r.publisher&&r.publisher.map((t=>o.createElement("div",{key:t.id}," ",o.createElement("div",null,o.createElement($.Z,{href:t.website,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(X.WRS,null),"Publisher: ",t.name),o.createElement($.Z,{href:t.oa_policies,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(X.WRS,null),"Publisher policies")))))),o.createElement(M.Z,{variant:"h5",component:"h2"}),o.createElement(M.Z,{className:R.pos,color:"textSecondary"},r.country&&r.country.map((t=>o.createElement("div",{key:t.id},t.name))),!r.end_year&&o.createElement("div",null,"Since ",r.starting_year)),o.createElement(M.Z,{variant:"body2",component:"p",style:{textAlign:"left"}},r.oa_status?o.createElement("div",null,"UNKNOWN"!==r.oa_status.status?o.createElement("div",null,"Gold"===r.oa_status.status?o.createElement("p",null,o.createElement("abbr",{title:r.oa_status.description},"Open Acces Status:",o.createElement($.Z,{href:"https://oa100.snf.ch/en/context/open-access/versions-of-open-access/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(de.Z,{size:"small",avatar:o.createElement(BsUnlock,null),label:r.oa_status.status,className:R.chip,style:{background:"#FFD700",textAlign:"left"}})))):"Diamond"===r.oa_status.status?o.createElement(o.Fragment,null,o.createElement("abbr",{title:r.oa_status.description},"Open Acces Status:",o.createElement($.Z,{href:"https://oa100.snf.ch/en/context/open-access/versions-of-open-access/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(de.Z,{size:"small",avatar:o.createElement(ie.aBR,null),label:r.oa_status.status,className:R.chip,style:{background:"#B9F2FF",textAlign:"left"}})))):"Full"===r.oa_status.status?o.createElement("p",null,o.createElement("abbr",{title:r.oa_status.description},"Open Acces Status:",o.createElement($.Z,{href:"https://oa100.snf.ch/en/context/open-access/versions-of-open-access/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(de.Z,{size:"small",avatar:o.createElement(BsUnlock,null),label:r.oa_status.status,className:R.chip,style:{background:"#ADD8E6",textAlign:"left"}})))):"hybrid"===r.oa_status.status?o.createElement("p",null,o.createElement("abbr",{title:r.oa_status.description},"Open Acces Status:",o.createElement($.Z,{href:"https://oa100.snf.ch/en/context/open-access/versions-of-open-access/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(de.Z,{size:"small",avatar:o.createElement(BsUnlock,null),label:r.oa_status.status,className:R.chip,style:{background:"#cfcdaa",textAlign:"left"}})))):"Green"===r.oa_status.status?o.createElement("p",null,o.createElement("abbr",{title:r.oa_status.description},"Open Acces Status:",o.createElement($.Z,{href:"https://oa100.snf.ch/en/context/open-access/versions-of-open-access/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(de.Z,{size:"small",avatar:o.createElement(BsUnlock,null),label:r.oa_status.status,className:R.chip,style:{background:"#DAF7A6",textAlign:"left"}})))):"none"===r.oa_status.status?o.createElement("p",null,o.createElement("abbr",{title:r.oa_status.description},"Open Acces Status:",o.createElement($.Z,{href:"https://oa100.snf.ch/en/context/open-access/versions-of-open-access/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(de.Z,{size:"small",avatar:o.createElement(ce.Z,null),label:r.oa_status.status,className:R.chip,style:{background:"#FF7F7F",textAlign:"left"}})))):null):null):null),r.language&&r.language.map((t=>o.createElement(M.Z,{variant:"body2",component:"p",style:{textAlign:"left"}},o.createElement("p",null,o.createElement("small",null,"Language: ",t.name))))),o.createElement(M.Z,{variant:"body2",component:"p",style:{textAlign:"left"}},r.doaj_seal&&o.createElement("div",null,o.createElement($.Z,{href:"https://doaj.org/apply/seal/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(Y.Z,null)," DOAJ seal")),r.doaj_status&&o.createElement("div",null,o.createElement($.Z,{href:"https://doaj.org/toc/"+r.issn[0].issn,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(Y.Z,null),"Listed on DOAJ")),r.lockss&&o.createElement("div",null,o.createElement($.Z,{href:"https://www.lockss.org/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(Y.Z,null),"Preserved with LOCKSS")),r.portico&&o.createElement("div",null,o.createElement($.Z,{href:"https://www.portico.org/",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(Y.Z,null),"Preserved with Portico")),r.nlch&&o.createElement("div",null,o.createElement($.Z,{href:"https://consortium.ch/nationallizenzen/?lang=en",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(Y.Z,null),"Swiss National licences")),r.qoam_av_score&&o.createElement("div",null,o.createElement("br",null),o.createElement($.Z,{href:"https://www.qoam.eu/",target:"blank",rel:"noopener noreferrer",size:"small"},"QOAM score : ",r.qoam_av_score)),r.ror?o.createElement("div",null,o.createElement($.Z,{href:"https://ror.org/"+r.ror,target:"blank",rel:"noopener noreferrer",size:"small"},"Ror ID: ",r.ror)):null,r.fundref?o.createElement("div",null,o.createElement($.Z,{href:"https://search.crossref.org/funding?q="+r.fundref,target:"blank",rel:"noopener noreferrer",size:"small"},"Fundref Id: ",r.fundref)):null)),o.createElement(q.Z,null,r.website?o.createElement($.Z,{href:r.website,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(X.WRS,null)," Website "):null,r.oa_options?o.createElement($.Z,{href:r.oa_options,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(X.WRS,null),"Open Access Infos"):null,r.ir_name?o.createElement("div",null,o.createElement($.Z,{href:r.ir_url,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(X.WRS,null),r.ir_name)):null))):null}},80381:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>ye});var o=i(67294),s=i(41120),u=i(93379),R=i.n(u),m=i(79881),v={insert:"head",singleton:!1};R()(m.Z,v);m.Z.locals;var _=i(67401),M=i(67708),Z=i(50743),q=i(61201),W=i(22318),$=i(64566),X=i(22122),Y=i(81253),ee=(i(45697),i(86010)),ae=i(14670),ie=i(93871),de=o.forwardRef((function Badge(t,r){var i=t.anchorOrigin,s=void 0===i?{vertical:"top",horizontal:"right"}:i,u=t.badgeContent,R=t.children,m=t.classes,v=t.className,_=t.color,M=void 0===_?"default":_,Z=t.component,q=void 0===Z?"span":Z,W=t.invisible,$=t.max,ae=void 0===$?99:$,de=t.overlap,ce=void 0===de?"rectangle":de,le=t.showZero,pe=void 0!==le&&le,fe=t.variant,Re=void 0===fe?"standard":fe,ye=(0,Y.Z)(t,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),be=W;null==W&&(0===u&&!pe||null==u&&"dot"!==Re)&&(be=!0);var xe="";return"dot"!==Re&&(xe=u>ae?"".concat(ae,"+"):u),o.createElement(q,(0,X.Z)({className:(0,ee.Z)(m.root,v),ref:r},ye),R,o.createElement("span",{className:(0,ee.Z)(m.badge,m["".concat(s.horizontal).concat((0,ie.Z)(s.vertical),"}")],m["anchorOrigin".concat((0,ie.Z)(s.vertical)).concat((0,ie.Z)(s.horizontal)).concat((0,ie.Z)(ce))],"default"!==M&&m["color".concat((0,ie.Z)(M))],be&&m.invisible,"dot"===Re&&m.dot)},xe))}));const ce=(0,ae.Z)((function styles(t){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:t.palette.primary.main,color:t.palette.primary.contrastText},colorSecondary:{backgroundColor:t.palette.secondary.main,color:t.palette.secondary.contrastText},colorError:{backgroundColor:t.palette.error.main,color:t.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:t.transitions.create("transform",{easing:t.transitions.easing.easeInOut,duration:t.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(de);var le=i(53854),pe=i(41749),fe=i(43832);const Re=(0,s.Z)((t=>({root:{flexGrow:1},chip:{margin:.5}})));const ye=function ResultCard_ResultCard(t){let{result:r}=t;const i=Re(),s=[];null==r||r.map((t=>{var r;return null===(r=t.term)||void 0===r?void 0:r.map((r=>s.push([r,[t.id,t.comment,t.condition_type]])))}));const u=function groupBy(t,r){return t.reduce(((t,i)=>{const o=i[0][r][0].description;return t[o]||(t[o]=[]),t[o].push(i),t}),{})}(s,"version"),R=Object.entries(u);null==R||R.map((t=>function orderVersion(t){"Submitted version"===t[0]?t.unshift(3):"Published version"===t[0]?t.unshift(1):"Accepted version"===t[0]&&t.unshift(2)}(t))),R.sort(),console.log(R);const m=null==R?void 0:R.map((t=>o.createElement("div",{className:i.root},o.createElement(M.Z,{className:"term-version"},o.createElement(Z.Z,{expandIcon:o.createElement($.Z,null),"aria-controls":"panel1a-content",id:"panel1a-header"},o.createElement(W.Z,{className:i.heading},null==t?void 0:t.map((t=>o.createElement(ce,{anchorOrigin:{vertical:"top",horizontal:"right"},style:{padding:"0.1rem",color:"black"},badgeContent:"object"==typeof t&&t.length},"string"==typeof t&&t," ","object"==typeof t&&t.length>1?o.createElement(le.Gdq,null):"object"==typeof t&&o.createElement(le.Gxq,null)))))),o.createElement(q.Z,null,o.createElement(W.Z,null,o.createElement(fe.Z,{maxWidth:"xl"},o.createElement(pe.Z,{container:!0,spacing:.5,direction:"row"},null==t?void 0:t.map((t=>"object"==typeof t&&(null==t?void 0:t.map((t=>o.createElement(_.default,{term:t}))))))))))))));return o.createElement("div",{className:i.root},m)}},67401:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>de});var o=i(67294),s=i(41120),u=(i(49633),i(71267)),R=i(10637),m=i(35736),v=i(22318),_=i(60625),M=i(44405);function FaCoins(t){return(0,M.w_)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M0 405.3V448c0 35.3 86 64 192 64s192-28.7 192-64v-42.7C342.7 434.4 267.2 448 192 448S41.3 434.4 0 405.3zM320 128c106 0 192-28.7 192-64S426 0 320 0 128 28.7 128 64s86 64 192 64zM0 300.4V352c0 35.3 86 64 192 64s192-28.7 192-64v-51.6c-41.3 34-116.9 51.6-192 51.6S41.3 334.4 0 300.4zm416 11c57.3-11.1 96-31.7 96-55.4v-42.7c-23.2 16.4-57.3 27.6-96 34.5v63.6zM192 160C86 160 0 195.8 0 240s86 80 192 80 192-35.8 192-80-86-80-192-80zm219.3 56.3c60-10.8 100.7-32 100.7-56.3v-42.7c-35.5 25.1-96.5 38.6-160.7 41.8 29.5 14.3 51.2 33.5 60 57.2z"}}]})(t)}function RiFilePaper2Line(t){return(0,M.w_)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M20 2a3 3 0 0 1 3 3v2h-2v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3v-2h16v2a1 1 0 0 0 .883.993L18 20a1 1 0 0 0 .993-.883L19 19V4H6a1 1 0 0 0-.993.883L5 5v10H3V5a3 3 0 0 1 3-3h14z"}}]}]})(t)}var Z=i(282),q=i(53854),W=i(45155),$=i(43832),X=i(41749),Y=i(18463),ee=i(51907),ae=i(79912);const ie=(0,s.Z)((t=>({card:{width:"100%",marginTop:"1rem",textAlign:"left"},root:{flexGrow:1,textAlign:"left"},chip:{margin:.5},heading:{fontSize:t.typography.pxToRem(15),fontWeight:t.typography.fontWeightRegular}})));const de=function TermCard(t){var r,i;let{term:s}=t;const M=ie();console.log("cost factor data: ".concat(s[0].cost_factor[0].cost_factor_type.name));const de=null===(r=s[0].licence)||void 0===r?void 0:r.map((t=>o.createElement(o.Fragment,null,o.createElement(Z.Z,{href:t.website,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(u.Z,{size:"small",avatar:o.createElement(RiFilePaper2Line,null),label:t.name_or_abbrev,className:M.chip,style:{background:"#FFFFFF",textAlign:"left"},title:"Licence Information"}))))),ce=null===(i=s[0].cost_factor)||void 0===i?void 0:i.map((t=>o.createElement(o.Fragment,null,o.createElement(u.Z,{key:t.cost_factor_type.id,size:"small",avatar:o.createElement(FaCoins,null),label:t.cost_factor_type.name+" : "+t.amount+" "+t.symbol,className:M.chip,style:{background:"#FFFFFF"},title:t.comment})))),le=s[0].ir_archiving&&s[0].ir_archiving?o.createElement(u.Z,{size:"small",avatar:o.createElement(R.Z,null),label:"IR Archiving",style:{background:"#DAF7A6"},title:"This is more information"}):o.createElement(u.Z,{size:"small",avatar:o.createElement(m.Z,null),label:"IR Archiving",style:{background:"#f50057"},title:"This is more information"}),pe=s[0].ir_archiving&&s[0].ir_archiving?o.createElement(u.Z,{size:"small",avatar:o.createElement(_.Z,null),label:"Embargo: "+s[0].embargo_months+" Month(s)",style:{background:"#FFFFFF"},title:"This is more information"}):o.createElement("a",null);return o.createElement("div",null,o.createElement(Y.Z,{key:s.id,className:"term-Card",style:{textAlign:"left"}},o.createElement(ae.Z,null,o.createElement(v.Z,{className:M.title,color:"textSecondary",gutterBottom:!0},s.map((t=>t[0]&&o.createElement(o.Fragment,null,o.createElement("p",null,"Condition set N° ",t[0],": ",t[1]),o.createElement("p",null,o.createElement("small",null,"Condition type: ",t[2].condition_issuer))))),"Term ID: ",s[0].id),o.createElement(v.Z,{variant:"h5",component:"h2"}),o.createElement(v.Z,{className:M.pos,color:"textSecondary"}),o.createElement(v.Z,{variant:"body2",component:"p"},o.createElement($.Z,{maxWidth:"xs"},o.createElement(X.Z,{container:!0},o.createElement(X.Z,{item:!0,xs:6,sm:2},ce,de,le,pe))),o.createElement("div",{style:{marginTop:"1rem"}},s[0].comment?o.createElement("div",{style:{textAlign:"left"}},o.createElement("p",null,o.createElement("small",null,o.createElement(W.rNr,{style:{padding:"0.05rem"}}),s[0].comment))):null))),o.createElement(ee.Z,null,s[0].source?o.createElement(Z.Z,{href:s[0].source,target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(q.WRS,null)," More Information "):null)))}},59119:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>Footer});var o=i(67294),s=i(93379),u=i.n(s),R=i(54905),m={insert:"head",singleton:!1};u()(R.Z,m);R.Z.locals;var v=i(43832),_=i(41749),M=i(87748),Z=i(22122),q=i(81253),W=(i(45697),i(86010)),$=i(93871),X=i(14670),Y=i(24896),ee=i(17294),ae=i(22318),ie=o.forwardRef((function Link(t,r){var i=t.classes,s=t.className,u=t.color,R=void 0===u?"primary":u,m=t.component,v=void 0===m?"a":m,_=t.onBlur,M=t.onFocus,X=t.TypographyClasses,ie=t.underline,de=void 0===ie?"hover":ie,ce=t.variant,le=void 0===ce?"inherit":ce,pe=(0,q.Z)(t,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),fe=(0,Y.Z)(),Re=fe.isFocusVisible,ye=fe.onBlurVisible,be=fe.ref,xe=o.useState(!1),_e=xe[0],Se=xe[1],we=(0,ee.Z)(r,be);return o.createElement(ae.Z,(0,Z.Z)({className:(0,W.Z)(i.root,i["underline".concat((0,$.Z)(de))],s,_e&&i.focusVisible,"button"===v&&i.button),classes:X,color:R,component:v,onBlur:function handleBlur(t){_e&&(ye(),Se(!1)),_&&_(t)},onFocus:function handleFocus(t){Re(t)&&Se(!0),M&&M(t)},ref:we,variant:le},pe))}));const de=(0,X.Z)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(ie);function Footer(){return o.createElement("footer",{className:"footer"},o.createElement(v.Z,{maxWidth:"xl"},o.createElement(M.Z,{px:{xs:3,sm:10},py:{xs:5,sm:10},bgcolor:"whitesmoke",color:"black"},o.createElement(v.Z,{maxWidth:"xl"},o.createElement(_.Z,{container:!0,spacing:5},o.createElement(_.Z,{item:!0,xs:12,sm:4},o.createElement(M.Z,{borderBottom:1},"Sponsor"),o.createElement(M.Z,null,o.createElement(de,{href:"https://www.swissuniversities.ch/",color:"inherit"},"Home - swissuniversities")),o.createElement(M.Z,null,o.createElement(de,{href:"https://www.swissuniversities.ch/en/topics/digitalisation/p-5-scientific-information",color:"inherit"},"P5 - scientific-information"))),o.createElement(_.Z,{item:!0,xs:12,sm:4},o.createElement(M.Z,{borderBottom:1},"OACCT Creators"),o.createElement(M.Z,null,o.createElement(de,{href:"https://www.epfl.ch/en/",color:"inherit"},"Ecole polytechnique fédérale de Lausanne (EPFL)")),o.createElement(M.Z,null,o.createElement(de,{href:"https://www.unige.ch/",color:"inherit"},"Université de Genève"))),o.createElement(_.Z,{item:!0,xs:12,sm:4},o.createElement(M.Z,{borderBottom:1},"Contact"),o.createElement(M.Z,null,o.createElement(de,{href:"mailto:publishsupport@epfl.ch?subject=OACCT contact request",color:"inherit"},"contact")))),o.createElement(M.Z,{textAlign:"center",pt:{xs:5,sm:10},pb:{xs:5,sm:0}},"Open Access Compliance Check Tool ® ",(new Date).getFullYear())))))}},56022:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>MenuAppBar});var o=i(67294),s=i(41120),u=i(45258),R=i(28358),m=i(22318),v=i(17812),_=i(48884),M=i(82067),Z=i(22122),q=i(81253),W=(i(45697),i(86010)),$=i(14670),X=o.forwardRef((function FormGroup(t,r){var i=t.classes,s=t.className,u=t.row,R=void 0!==u&&u,m=(0,q.Z)(t,["classes","className","row"]);return o.createElement("div",(0,Z.Z)({className:(0,W.Z)(i.root,s,R&&i.row),ref:r},m))}));const Y=(0,$.Z)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(X);var ee=i(96156),ae=i(54720),ie=i(83711),de=i(17294),ce=i(66987),le=i(73935),pe="undefined"==typeof window?o.useEffect:o.useLayoutEffect,fe=o.forwardRef((function ListItem(t,r){var i=t.alignItems,s=void 0===i?"center":i,u=t.autoFocus,R=void 0!==u&&u,m=t.button,v=void 0!==m&&m,_=t.children,M=t.classes,$=t.className,X=t.component,Y=t.ContainerComponent,ee=void 0===Y?"li":Y,fe=t.ContainerProps,Re=(fe=void 0===fe?{}:fe).className,ye=(0,q.Z)(fe,["className"]),be=t.dense,xe=void 0!==be&&be,_e=t.disabled,Se=void 0!==_e&&_e,we=t.disableGutters,Pe=void 0!==we&&we,Te=t.divider,Ie=void 0!==Te&&Te,Ve=t.focusVisibleClassName,ze=t.selected,He=void 0!==ze&&ze,qe=(0,q.Z)(t,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),We=o.useContext(ce.Z),Xe={dense:xe||We.dense||!1,alignItems:s},Qe=o.useRef(null);pe((function(){R&&Qe.current&&Qe.current.focus()}),[R]);var Ye=o.Children.toArray(_),et=Ye.length&&(0,ie.Z)(Ye[Ye.length-1],["ListItemSecondaryAction"]),tt=o.useCallback((function(t){Qe.current=le.findDOMNode(t)}),[]),nt=(0,de.Z)(tt,r),rt=(0,Z.Z)({className:(0,W.Z)(M.root,$,Xe.dense&&M.dense,!Pe&&M.gutters,Ie&&M.divider,Se&&M.disabled,v&&M.button,"center"!==s&&M.alignItemsFlexStart,et&&M.secondaryAction,He&&M.selected),disabled:Se},qe),it=X||"li";return v&&(rt.component=X||"div",rt.focusVisibleClassName=(0,W.Z)(M.focusVisible,Ve),it=ae.Z),et?(it=rt.component||X?it:"div","li"===ee&&("li"===it?it="div":"li"===rt.component&&(rt.component="div")),o.createElement(ce.Z.Provider,{value:Xe},o.createElement(ee,(0,Z.Z)({className:(0,W.Z)(M.container,Re),ref:nt},ye),o.createElement(it,rt,Ye),Ye.pop()))):o.createElement(ce.Z.Provider,{value:Xe},o.createElement(it,(0,Z.Z)({ref:nt},rt),Ye))}));const Re=(0,$.Z)((function styles(t){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:t.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:t.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(t.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:t.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(fe);var ye=o.forwardRef((function MenuItem(t,r){var i,s=t.classes,u=t.className,R=t.component,m=void 0===R?"li":R,v=t.disableGutters,_=void 0!==v&&v,M=t.ListItemClasses,$=t.role,X=void 0===$?"menuitem":$,Y=t.selected,ee=t.tabIndex,ae=(0,q.Z)(t,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return t.disabled||(i=void 0!==ee?ee:-1),o.createElement(Re,(0,Z.Z)({button:!0,role:X,tabIndex:i,component:m,selected:Y,disableGutters:_,classes:(0,Z.Z)({dense:s.dense},M),className:(0,W.Z)(s.root,u,Y&&s.selected,!_&&s.gutters),ref:r},ae))}));const be=(0,$.Z)((function styles(t){return{root:(0,Z.Z)({},t.typography.body1,(0,ee.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},t.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,Z.Z)({},t.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(ye);var xe=i(50343),_e=i(73727),Se=i(93379),we=i.n(Se),Pe=i(43972),Te={insert:"head",singleton:!1};we()(Pe.Z,Te);Pe.Z.locals;var Ie=i(7648),Ve=i(43832);const ze=(0,s.Z)((t=>({root:{flexGrow:1},menuButton:{marginRight:t.spacing(2)},title:{flexGrow:1}})));function MenuAppBar(){const t=ze(),[r,i]=o.useState(!1),[s,Z]=o.useState(null),q=Boolean(s),handleMenu=t=>{Z(t.currentTarget)},handleClose=()=>{Z(null)};return o.createElement("div",{className:t.root},o.createElement(Ve.Z,{maxWidth:"xl"},o.createElement(Y,null),o.createElement(u.Z,{className:"App-header",color:"inherit",position:"static"},o.createElement(R.Z,null,o.createElement(v.Z,{"aria-controls":"simple-menu","aria-haspopup":"true",edge:"start",className:t.menuButton,color:"inherit","aria-label":"menu",onClick:handleMenu},o.createElement(_.Z,null)),o.createElement(xe.Z,{id:"simple-menu",anchorEl:s,keepMounted:!0,open:Boolean(s),onClose:handleClose},o.createElement(be,{component:_e.rU,to:"/",onClick:handleClose},"Check Tool"),o.createElement(be,{component:_e.rU,to:"/api",onClick:handleClose},"API"),o.createElement(be,{component:_e.rU,to:"/login",onClick:handleClose},"Login"),o.createElement(be,{component:_e.rU,to:"/help",onClick:handleClose},"Help"),o.createElement(be,{component:_e.rU,to:"/about",onClick:handleClose},"About")),o.createElement(m.Z,{variant:"title",color:"inherit",className:t.title},o.createElement(Ie.Z,null)),r&&o.createElement("div",null,o.createElement(v.Z,{"aria-label":"account of current user","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:handleMenu,color:"inherit"},o.createElement(M.Z,null)),o.createElement(xe.Z,{id:"menu-appbar",anchorEl:s,anchorOrigin:{vertical:"top",horizontal:"right"},keepMounted:!0,transformOrigin:{vertical:"top",horizontal:"right"},open:q,onClose:handleClose},o.createElement(be,{onClick:handleClose},"Admin"),o.createElement(be,{onClick:handleClose},"My account")))))))}},18009:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>_});var o=i(67294),s=i(45258),u=i(28358),R=i(22318),m=i(7648),v=i(73727);const _=function NavBar(){return o.createElement(s.Z,{className:"App-header",position:"static"},o.createElement(u.Z,null,o.createElement(R.Z,{variant:"title",color:"inherit"},o.createElement(v.rU,{to:"/"},o.createElement(m.Z,null)))))}},93680:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>About});var o=i(67294);function About(){return o.createElement("div",null,o.createElement("h1",null,"OACCT – About (draft!)"),o.createElement("div",null,"The OACCT (Open Access Compliance Check Tool) is an online resource, tailored to the Swiss academic community's needs, that gathers the most important information concerning Open-Access publishing. Its principal goal is to guide Swiss researchers in deciding where and how to publish their works in compliance with funders’ and institutional Open Access policies. OACCT provides a list of journals with information aggregated from several sources on a regular basis:",o.createElement("ul",null,o.createElement("li",null,"Journal ISSNs (source: ISSN International centre)"),o.createElement("li",null,"Publication conditions (source: Sherpa/Romeo)"),o.createElement("li",null,"Swiss institutions from swissuniversities"),o.createElement("li",null,"Funders from…"),o.createElement("li",null,"To be completed"))),o.createElement("h2",null,"Data reuse & licence"),o.createElement("div",null,"Please see our terms of use to learn how the data provided by our service may be reused."),o.createElement("h2",null,"Financing"),o.createElement("div",null,"The OACCT project was co-financed by swissuniversities within the P5 Program “Scientific information: Access, processing and safeguarding” and developed by the university libraries of EPFL and Université de Genève with the support of the Universitätsbibliothek Bern and Université de Lausanne"))}},54643:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>Help});var o=i(67294);function Help(){return o.createElement("div",null,o.createElement("h1",null,"OACCT – Help (draft!)"),o.createElement("h2",null,"How to use the tool"),o.createElement("div",null,"A database search can be performed by using three search boxes (Institution, funder and journal). The search results contain the following information:",o.createElement("ul",null,o.createElement("li",null,"General information about the selected journal with a link to the journal’s publication conditions"),o.createElement("li",null,"APC discount or information regarding a specific deal for Gold OA"),o.createElement("li",null,"Information about Green OA conditions (source: Sherpa/Romeo)"),o.createElement("li",null,"QOAM score"),o.createElement("li",null,"To be completed"))),o.createElement("div",null,"API info to be added (maybe on a different page)"),o.createElement("h2",null,"Data reuse & licence"),o.createElement("div",null,"Please see our terms of use to obtain information about how the data provided by this service may be reused."))}},16230:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>Noresult});var o=i(67294),s=i(93379),u=i.n(s),R=i(85811),m={insert:"head",singleton:!1};u()(R.Z,m);R.Z.locals;function Noresult(){return o.createElement("div",null,o.createElement("body",null,o.createElement("div",{id:"notfound"},o.createElement("div",{class:"notfound"},o.createElement("div",{class:"notfound-404"},o.createElement("h1",null,"Oops!"),o.createElement("h2",null,"404 - The Page can't be found")),o.createElement("a",{href:"/"},"Go TO Homepage")))))}},4282:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>SearchFilterFields_SearchFilterFields});var o=i(67294),s=i(93379),u=i.n(s),R=i(38290),m={insert:"head",singleton:!1};u()(R.Z,m);R.Z.locals;var v=i(41120),_=i(282),M=i(22122),Z=i(81253),q=(i(45697),i(86010));function hasValue(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function isFilled(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(hasValue(t.value)&&""!==t.value||r&&hasValue(t.defaultValue)&&""!==t.defaultValue)}var W=i(14670),$=i(93871),X=i(83711),Y=o.createContext();const ee=Y;var ae=o.forwardRef((function FormControl(t,r){var i=t.children,s=t.classes,u=t.className,R=t.color,m=void 0===R?"primary":R,v=t.component,_=void 0===v?"div":v,W=t.disabled,Y=void 0!==W&&W,ae=t.error,ie=void 0!==ae&&ae,de=t.fullWidth,ce=void 0!==de&&de,le=t.focused,pe=t.hiddenLabel,fe=void 0!==pe&&pe,Re=t.margin,ye=void 0===Re?"none":Re,be=t.required,xe=void 0!==be&&be,_e=t.size,Se=t.variant,we=void 0===Se?"standard":Se,Pe=(0,Z.Z)(t,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),Te=o.useState((function(){var t=!1;return i&&o.Children.forEach(i,(function(r){if((0,X.Z)(r,["Input","Select"])){var i=(0,X.Z)(r,["Select"])?r.props.input:r;i&&function isAdornedStart(t){return t.startAdornment}(i.props)&&(t=!0)}})),t})),Ie=Te[0],Ve=Te[1],ze=o.useState((function(){var t=!1;return i&&o.Children.forEach(i,(function(r){(0,X.Z)(r,["Input","Select"])&&isFilled(r.props,!0)&&(t=!0)})),t})),He=ze[0],qe=ze[1],We=o.useState(!1),Xe=We[0],Qe=We[1],Ye=void 0!==le?le:Xe;Y&&Ye&&Qe(!1);var et=o.useCallback((function(){qe(!0)}),[]),tt={adornedStart:Ie,setAdornedStart:Ve,color:m,disabled:Y,error:ie,filled:He,focused:Ye,fullWidth:ce,hiddenLabel:fe,margin:("small"===_e?"dense":void 0)||ye,onBlur:function onBlur(){Qe(!1)},onEmpty:o.useCallback((function(){qe(!1)}),[]),onFilled:et,onFocus:function onFocus(){Qe(!0)},registerEffect:undefined,required:xe,variant:we};return o.createElement(ee.Provider,{value:tt},o.createElement(_,(0,M.Z)({className:(0,q.Z)(s.root,u,"none"!==ye&&s["margin".concat((0,$.Z)(ye))],ce&&s.fullWidth),ref:r},Pe),i))}));const ie=(0,W.Z)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(ae);var de=i(60288);function formControlState(t){var r=t.props,i=t.states,o=t.muiFormControl;return i.reduce((function(t,i){return t[i]=r[i],o&&void 0===r[i]&&(t[i]=o[i]),t}),{})}var ce=i(17294),le=i(79437);function getStyleValue(t,r){return parseInt(t[r],10)||0}var pe="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,fe={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const Re=o.forwardRef((function TextareaAutosize(t,r){var i=t.onChange,s=t.rows,u=t.rowsMax,R=t.rowsMin,m=void 0===R?1:R,v=t.style,_=t.value,q=(0,Z.Z)(t,["onChange","rows","rowsMax","rowsMin","style","value"]),W=s||m,$=o.useRef(null!=_).current,X=o.useRef(null),Y=(0,ce.Z)(r,X),ee=o.useRef(null),ae=o.useRef(0),ie=o.useState({}),de=ie[0],Re=ie[1],ye=o.useCallback((function(){var r=X.current,i=window.getComputedStyle(r),o=ee.current;o.style.width=i.width,o.value=r.value||t.placeholder||"x","\n"===o.value.slice(-1)&&(o.value+=" ");var s=i["box-sizing"],R=getStyleValue(i,"padding-bottom")+getStyleValue(i,"padding-top"),m=getStyleValue(i,"border-bottom-width")+getStyleValue(i,"border-top-width"),v=o.scrollHeight-R;o.value="x";var _=o.scrollHeight-R,M=v;W&&(M=Math.max(Number(W)*_,M)),u&&(M=Math.min(Number(u)*_,M));var Z=(M=Math.max(M,_))+("border-box"===s?R+m:0),q=Math.abs(M-v)<=1;Re((function(t){return ae.current<20&&(Z>0&&Math.abs((t.outerHeightStyle||0)-Z)>1||t.overflow!==q)?(ae.current+=1,{overflow:q,outerHeightStyle:Z}):t}))}),[u,W,t.placeholder]);o.useEffect((function(){var t=(0,le.Z)((function(){ae.current=0,ye()}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}),[ye]),pe((function(){ye()})),o.useEffect((function(){ae.current=0}),[_]);return o.createElement(o.Fragment,null,o.createElement("textarea",(0,M.Z)({value:_,onChange:function handleChange(t){ae.current=0,$||ye(),i&&i(t)},ref:Y,rows:W,style:(0,M.Z)({height:de.outerHeightStyle,overflow:de.overflow?"hidden":null},v)},q)),o.createElement("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:ee,tabIndex:-1,style:(0,M.Z)({},fe,v)}))}));var ye="undefined"==typeof window?o.useEffect:o.useLayoutEffect,be=o.forwardRef((function InputBase(t,r){var i=t["aria-describedby"],s=t.autoComplete,u=t.autoFocus,R=t.classes,m=t.className,v=(t.color,t.defaultValue),_=t.disabled,W=t.endAdornment,X=(t.error,t.fullWidth),ae=void 0!==X&&X,ie=t.id,le=t.inputComponent,pe=void 0===le?"input":le,fe=t.inputProps,be=void 0===fe?{}:fe,xe=t.inputRef,_e=(t.margin,t.multiline),Se=void 0!==_e&&_e,we=t.name,Pe=t.onBlur,Te=t.onChange,Ie=t.onClick,Ve=t.onFocus,ze=t.onKeyDown,He=t.onKeyUp,qe=t.placeholder,We=t.readOnly,Xe=t.renderSuffix,Qe=t.rows,Ye=t.rowsMax,et=t.rowsMin,tt=t.startAdornment,nt=t.type,rt=void 0===nt?"text":nt,it=t.value,ot=(0,Z.Z)(t,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","type","value"]),st=null!=be.value?be.value:it,dt=o.useRef(null!=st).current,ut=o.useRef(),ct=o.useCallback((function(t){0}),[]),lt=(0,ce.Z)(be.ref,ct),pt=(0,ce.Z)(xe,lt),gt=(0,ce.Z)(ut,pt),ht=o.useState(!1),ft=ht[0],Rt=ht[1],mt=function useFormControl(){return o.useContext(Y)}();var yt=formControlState({props:t,muiFormControl:mt,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});yt.focused=mt?mt.focused:ft,o.useEffect((function(){!mt&&_&&ft&&(Rt(!1),Pe&&Pe())}),[mt,_,ft,Pe]);var vt=mt&&mt.onFilled,bt=mt&&mt.onEmpty,xt=o.useCallback((function(t){isFilled(t)?vt&&vt():bt&&bt()}),[vt,bt]);ye((function(){dt&&xt({value:st})}),[st,xt,dt]);o.useEffect((function(){xt(ut.current)}),[]);var Et=pe,Ct=(0,M.Z)({},be,{ref:gt});"string"!=typeof Et?Ct=(0,M.Z)({inputRef:gt,type:rt},Ct,{ref:null}):Se?!Qe||Ye||et?(Ct=(0,M.Z)({rows:Qe,rowsMax:Ye},Ct),Et=Re):Et="textarea":Ct=(0,M.Z)({type:rt},Ct);return o.useEffect((function(){mt&&mt.setAdornedStart(Boolean(tt))}),[mt,tt]),o.createElement("div",(0,M.Z)({className:(0,q.Z)(R.root,R["color".concat((0,$.Z)(yt.color||"primary"))],m,yt.disabled&&R.disabled,yt.error&&R.error,ae&&R.fullWidth,yt.focused&&R.focused,mt&&R.formControl,Se&&R.multiline,tt&&R.adornedStart,W&&R.adornedEnd,"dense"===yt.margin&&R.marginDense),onClick:function handleClick(t){ut.current&&t.currentTarget===t.target&&ut.current.focus(),Ie&&Ie(t)},ref:r},ot),tt,o.createElement(ee.Provider,{value:null},o.createElement(Et,(0,M.Z)({"aria-invalid":yt.error,"aria-describedby":i,autoComplete:s,autoFocus:u,defaultValue:v,disabled:yt.disabled,id:ie,onAnimationStart:function handleAutoFill(t){xt("mui-auto-fill-cancel"===t.animationName?ut.current:{value:"x"})},name:we,placeholder:qe,readOnly:We,required:yt.required,rows:Qe,value:st,onKeyDown:ze,onKeyUp:He},Ct,{className:(0,q.Z)(R.input,be.className,yt.disabled&&R.disabled,Se&&R.inputMultiline,yt.hiddenLabel&&R.inputHiddenLabel,tt&&R.inputAdornedStart,W&&R.inputAdornedEnd,"search"===rt&&R.inputTypeSearch,"dense"===yt.margin&&R.inputMarginDense),onBlur:function handleBlur(t){Pe&&Pe(t),be.onBlur&&be.onBlur(t),mt&&mt.onBlur?mt.onBlur(t):Rt(!1)},onChange:function handleChange(t){if(!dt){var r=t.target||ut.current;if(null==r)throw new Error((0,de.Z)(1));xt({value:r.value})}for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s0?.75*R+8:.01;return o.createElement("fieldset",(0,M.Z)({"aria-hidden":!0,style:(0,M.Z)((0,Te.Z)({},"padding".concat((0,$.Z)(W)),8),v),className:(0,q.Z)(i.root,s),ref:r},_),o.createElement("legend",{className:i.legend,style:{width:m?X:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))}));const ze=(0,W.Z)((function styles(t){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Ve);var He=o.forwardRef((function OutlinedInput(t,r){var i=t.classes,s=t.fullWidth,u=void 0!==s&&s,R=t.inputComponent,m=void 0===R?"input":R,v=t.label,_=t.labelWidth,W=void 0===_?0:_,$=t.multiline,X=void 0!==$&&$,Y=t.notched,ee=t.type,ae=void 0===ee?"text":ee,ie=(0,Z.Z)(t,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return o.createElement(xe,(0,M.Z)({renderSuffix:function renderSuffix(t){return o.createElement(ze,{className:i.notchedOutline,label:v,labelWidth:W,notched:void 0!==Y?Y:Boolean(t.startAdornment||t.filled||t.focused)})},classes:(0,M.Z)({},i,{root:(0,q.Z)(i.root,i.underline),notchedOutline:null}),fullWidth:u,inputComponent:m,multiline:X,ref:r,type:ae},ie))}));He.muiName="Input";const qe=(0,W.Z)((function styles(t){var r="light"===t.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:t.shape.borderRadius,"&:hover $notchedOutline":{borderColor:t.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:r}},"&$focused $notchedOutline":{borderColor:t.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:t.palette.error.main},"&$disabled $notchedOutline":{borderColor:t.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:t.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:r},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===t.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===t.palette.type?null:"#fff",caretColor:"light"===t.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(He);function useFormControl_useFormControl(){return o.useContext(ee)}var We=o.forwardRef((function FormLabel(t,r){var i=t.children,s=t.classes,u=t.className,R=(t.color,t.component),m=void 0===R?"label":R,v=(t.disabled,t.error,t.filled,t.focused,t.required,(0,Z.Z)(t,["children","classes","className","color","component","disabled","error","filled","focused","required"])),_=formControlState({props:t,muiFormControl:useFormControl_useFormControl(),states:["color","required","focused","disabled","error","filled"]});return o.createElement(m,(0,M.Z)({className:(0,q.Z)(s.root,s["color".concat((0,$.Z)(_.color||"primary"))],u,_.disabled&&s.disabled,_.error&&s.error,_.filled&&s.filled,_.focused&&s.focused,_.required&&s.required),ref:r},v),i,_.required&&o.createElement("span",{"aria-hidden":!0,className:(0,q.Z)(s.asterisk,_.error&&s.error)}," ","*"))}));const Xe=(0,W.Z)((function styles(t){return{root:(0,M.Z)({color:t.palette.text.secondary},t.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:t.palette.primary.main},"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),colorSecondary:{"&$focused":{color:t.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:t.palette.error.main}}}}),{name:"MuiFormLabel"})(We);var Qe=o.forwardRef((function InputLabel(t,r){var i=t.classes,s=t.className,u=t.disableAnimation,R=void 0!==u&&u,m=(t.margin,t.shrink),v=(t.variant,(0,Z.Z)(t,["classes","className","disableAnimation","margin","shrink","variant"])),_=useFormControl_useFormControl(),W=m;void 0===W&&_&&(W=_.filled||_.focused||_.adornedStart);var $=formControlState({props:t,muiFormControl:_,states:["margin","variant"]});return o.createElement(Xe,(0,M.Z)({"data-shrink":W,className:(0,q.Z)(i.root,s,_&&i.formControl,!R&&i.animated,W&&i.shrink,"dense"===$.margin&&i.marginDense,{filled:i.filled,outlined:i.outlined}[$.variant]),classes:{focused:i.focused,disabled:i.disabled,error:i.error,required:i.required,asterisk:i.asterisk},ref:r},v))}));const Ye=(0,W.Z)((function styles(t){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:t.transitions.create(["color","transform"],{duration:t.transitions.duration.shorter,easing:t.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(Qe);var et=o.forwardRef((function FormHelperText(t,r){var i=t.children,s=t.classes,u=t.className,R=t.component,m=void 0===R?"p":R,v=(t.disabled,t.error,t.filled,t.focused,t.margin,t.required,t.variant,(0,Z.Z)(t,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),_=formControlState({props:t,muiFormControl:useFormControl_useFormControl(),states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(m,(0,M.Z)({className:(0,q.Z)(s.root,("filled"===_.variant||"outlined"===_.variant)&&s.contained,u,_.disabled&&s.disabled,_.error&&s.error,_.filled&&s.filled,_.focused&&s.focused,_.required&&s.required,"dense"===_.margin&&s.marginDense),ref:r},v)," "===i?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):i)}));const tt=(0,W.Z)((function styles(t){return{root:(0,M.Z)({color:t.palette.text.secondary},t.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:t.palette.text.disabled},"&$error":{color:t.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(et);var nt=i(65835),rt=i(28481),it=i(90484),ot=(i(59864),i(30626)),st=i(50343),dt=i(22775);function areEqualValues(t,r){return"object"===(0,it.Z)(r)&&null!==r?t===r:String(t)===String(r)}const ut=o.forwardRef((function SelectInput(t,r){var i=t["aria-label"],s=t.autoFocus,u=t.autoWidth,R=t.children,m=t.classes,v=t.className,_=t.defaultValue,W=t.disabled,X=t.displayEmpty,Y=t.IconComponent,ee=t.inputRef,ae=t.labelId,ie=t.MenuProps,le=void 0===ie?{}:ie,pe=t.multiple,fe=t.name,Re=t.onBlur,ye=t.onChange,be=t.onClose,xe=t.onFocus,_e=t.onOpen,Se=t.open,we=t.readOnly,Pe=t.renderValue,Te=t.SelectDisplayProps,Ie=void 0===Te?{}:Te,Ve=t.tabIndex,ze=(t.type,t.value),He=t.variant,qe=void 0===He?"standard":He,We=(0,Z.Z)(t,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),Xe=(0,dt.Z)({controlled:ze,default:_,name:"Select"}),Qe=(0,rt.Z)(Xe,2),Ye=Qe[0],et=Qe[1],tt=o.useRef(null),nt=o.useState(null),it=nt[0],ut=nt[1],ct=o.useRef(null!=Se).current,lt=o.useState(),pt=lt[0],gt=lt[1],ht=o.useState(!1),ft=ht[0],Rt=ht[1],mt=(0,ce.Z)(r,ee);o.useImperativeHandle(mt,(function(){return{focus:function focus(){it.focus()},node:tt.current,value:Ye}}),[it,Ye]),o.useEffect((function(){s&&it&&it.focus()}),[s,it]),o.useEffect((function(){if(it){var t=(0,ot.Z)(it).getElementById(ae);if(t){var r=function handler(){getSelection().isCollapsed&&it.focus()};return t.addEventListener("click",r),function(){t.removeEventListener("click",r)}}}}),[ae,it]);var yt,vt,bt=function update(t,r){t?_e&&_e(r):be&&be(r),ct||(gt(u?null:it.clientWidth),Rt(t))},xt=o.Children.toArray(R),Et=function handleItemClick(t){return function(r){var i;if(pe||bt(!1,r),pe){i=Array.isArray(Ye)?Ye.slice():[];var o=Ye.indexOf(t.props.value);-1===o?i.push(t.props.value):i.splice(o,1)}else i=t.props.value;t.props.onClick&&t.props.onClick(r),Ye!==i&&(et(i),ye&&(r.persist(),Object.defineProperty(r,"target",{writable:!0,value:{value:i,name:fe}}),ye(r,t)))}},Ct=null!==it&&(ct?Se:ft);delete We["aria-invalid"];var _t=[],St=!1;(isFilled({value:Ye})||X)&&(Pe?yt=Pe(Ye):St=!0);var wt=xt.map((function(t){if(!o.isValidElement(t))return null;var r;if(pe){if(!Array.isArray(Ye))throw new Error((0,de.Z)(2));(r=Ye.some((function(r){return areEqualValues(r,t.props.value)})))&&St&&_t.push(t.props.children)}else(r=areEqualValues(Ye,t.props.value))&&St&&(vt=t.props.children);return r&&!0,o.cloneElement(t,{"aria-selected":r?"true":void 0,onClick:Et(t),onKeyUp:function onKeyUp(r){" "===r.key&&r.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(r)},role:"option",selected:r,value:void 0,"data-value":t.props.value})}));St&&(yt=pe?_t.join(", "):vt);var Dt,kt=pt;!u&&ct&&it&&(kt=it.clientWidth),Dt=void 0!==Ve?Ve:W?null:0;var At=Ie.id||(fe?"mui-component-select-".concat(fe):void 0);return o.createElement(o.Fragment,null,o.createElement("div",(0,M.Z)({className:(0,q.Z)(m.root,m.select,m.selectMenu,m[qe],v,W&&m.disabled),ref:ut,tabIndex:Dt,role:"button","aria-disabled":W?"true":void 0,"aria-expanded":Ct?"true":void 0,"aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[ae,At].filter(Boolean).join(" ")||void 0,onKeyDown:function handleKeyDown(t){if(!we){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),bt(!0,t))}},onMouseDown:W||we?null:function handleMouseDown(t){0===t.button&&(t.preventDefault(),it.focus(),bt(!0,t))},onBlur:function handleBlur(t){!Ct&&Re&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:Ye,name:fe}}),Re(t))},onFocus:xe},Ie,{id:At}),function isEmpty(t){return null==t||"string"==typeof t&&!t.trim()}(yt)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):yt),o.createElement("input",(0,M.Z)({value:Array.isArray(Ye)?Ye.join(","):Ye,name:fe,ref:tt,"aria-hidden":!0,onChange:function handleChange(t){var r=xt.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==r){var i=xt[r];et(i.props.value),ye&&ye(t,i)}},tabIndex:-1,className:m.nativeInput,autoFocus:s},We)),o.createElement(Y,{className:(0,q.Z)(m.icon,m["icon".concat((0,$.Z)(qe))],Ct&&m.iconOpen,W&&m.disabled)}),o.createElement(st.Z,(0,M.Z)({id:"menu-".concat(fe||""),anchorEl:it,open:Ct,onClose:function handleClose(t){bt(!1,t)}},le,{MenuListProps:(0,M.Z)({"aria-labelledby":ae,role:"listbox",disableListWrap:!0},le.MenuListProps),PaperProps:(0,M.Z)({},le.PaperProps,{style:(0,M.Z)({minWidth:kt},null!=le.PaperProps?le.PaperProps.style:null)})}),wt))}));var ct=i(25209);const lt=(0,ct.Z)(o.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");const pt=o.forwardRef((function NativeSelectInput(t,r){var i=t.classes,s=t.className,u=t.disabled,R=t.IconComponent,m=t.inputRef,v=t.variant,_=void 0===v?"standard":v,W=(0,Z.Z)(t,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",(0,M.Z)({className:(0,q.Z)(i.root,i.select,i[_],s,u&&i.disabled),disabled:u,ref:m||r},W)),t.multiple?null:o.createElement(R,{className:(0,q.Z)(i.icon,i["icon".concat((0,$.Z)(_))],u&&i.disabled)}))}));var gt=function styles(t){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===t.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:t.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:t.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:t.palette.action.active,"&$disabled":{color:t.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},ht=o.createElement(Se,null),ft=o.forwardRef((function NativeSelect(t,r){var i=t.children,s=t.classes,u=t.IconComponent,R=void 0===u?lt:u,m=t.input,v=void 0===m?ht:m,_=t.inputProps,q=(t.variant,(0,Z.Z)(t,["children","classes","IconComponent","input","inputProps","variant"])),W=formControlState({props:t,muiFormControl:useFormControl_useFormControl(),states:["variant"]});return o.cloneElement(v,(0,M.Z)({inputComponent:pt,inputProps:(0,M.Z)({children:i,classes:s,IconComponent:R,variant:W.variant,type:void 0},_,v?v.props.inputProps:{}),ref:r},q))}));ft.muiName="Select";(0,W.Z)(gt,{name:"MuiNativeSelect"})(ft);var Rt=gt,mt=o.createElement(Se,null),yt=o.createElement(Pe,null),vt=o.forwardRef((function Select(t,r){var i=t.autoWidth,s=void 0!==i&&i,u=t.children,R=t.classes,m=t.displayEmpty,v=void 0!==m&&m,_=t.IconComponent,q=void 0===_?lt:_,W=t.id,$=t.input,X=t.inputProps,Y=t.label,ee=t.labelId,ae=t.labelWidth,ie=void 0===ae?0:ae,de=t.MenuProps,ce=t.multiple,le=void 0!==ce&&ce,pe=t.native,fe=void 0!==pe&&pe,Re=t.onClose,ye=t.onOpen,be=t.open,xe=t.renderValue,_e=t.SelectDisplayProps,Se=t.variant,we=void 0===Se?"standard":Se,Pe=(0,Z.Z)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),Te=fe?pt:ut,Ie=formControlState({props:t,muiFormControl:useFormControl_useFormControl(),states:["variant"]}).variant||we,Ve=$||{standard:mt,outlined:o.createElement(qe,{label:Y,labelWidth:ie}),filled:yt}[Ie];return o.cloneElement(Ve,(0,M.Z)({inputComponent:Te,inputProps:(0,M.Z)({children:u,IconComponent:q,variant:Ie,type:void 0,multiple:le},fe?{id:W}:{autoWidth:s,displayEmpty:v,labelId:ee,MenuProps:de,onClose:Re,onOpen:ye,open:be,renderValue:xe,SelectDisplayProps:(0,M.Z)({id:W},_e)},X,{classes:X?(0,nt.Z)({baseClasses:R,newClasses:X.classes,Component:Select}):R},$?$.props.inputProps:{}),ref:r},Pe))}));vt.muiName="Select";const bt=(0,W.Z)(Rt,{name:"MuiSelect"})(vt);var xt={standard:Se,filled:Pe,outlined:qe},Et=o.forwardRef((function TextField(t,r){var i=t.autoComplete,s=t.autoFocus,u=void 0!==s&&s,R=t.children,m=t.classes,v=t.className,_=t.color,W=void 0===_?"primary":_,$=t.defaultValue,X=t.disabled,Y=void 0!==X&&X,ee=t.error,ae=void 0!==ee&&ee,de=t.FormHelperTextProps,ce=t.fullWidth,le=void 0!==ce&&ce,pe=t.helperText,fe=t.hiddenLabel,Re=t.id,ye=t.InputLabelProps,be=t.inputProps,xe=t.InputProps,_e=t.inputRef,Se=t.label,we=t.multiline,Pe=void 0!==we&&we,Te=t.name,Ie=t.onBlur,Ve=t.onChange,ze=t.onFocus,He=t.placeholder,qe=t.required,We=void 0!==qe&&qe,Xe=t.rows,Qe=t.rowsMax,et=t.select,nt=void 0!==et&&et,rt=t.SelectProps,it=t.type,ot=t.value,st=t.variant,dt=void 0===st?"standard":st,ut=(0,Z.Z)(t,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]);var ct={};if("outlined"===dt&&(ye&&void 0!==ye.shrink&&(ct.notched=ye.shrink),Se)){var lt,pt=null!==(lt=null==ye?void 0:ye.required)&&void 0!==lt?lt:We;ct.label=o.createElement(o.Fragment,null,Se,pt&&" *")}nt&&(rt&&rt.native||(ct.id=void 0),ct["aria-describedby"]=void 0);var gt=pe&&Re?"".concat(Re,"-helper-text"):void 0,ht=Se&&Re?"".concat(Re,"-label"):void 0,ft=xt[dt],Rt=o.createElement(ft,(0,M.Z)({"aria-describedby":gt,autoComplete:i,autoFocus:u,defaultValue:$,fullWidth:le,multiline:Pe,name:Te,rows:Xe,rowsMax:Qe,type:it,value:ot,id:Re,inputRef:_e,onBlur:Ie,onChange:Ve,onFocus:ze,placeholder:He,inputProps:be},ct,xe));return o.createElement(ie,(0,M.Z)({className:(0,q.Z)(m.root,v),disabled:Y,error:ae,fullWidth:le,hiddenLabel:fe,ref:r,required:We,color:W,variant:dt},ut),Se&&o.createElement(Ye,(0,M.Z)({htmlFor:Re,id:ht},ye),Se),nt?o.createElement(bt,(0,M.Z)({"aria-describedby":gt,id:Re,labelId:ht,value:ot,input:Rt},rt),R):Rt,pe&&o.createElement(tt,(0,M.Z)({id:gt},de),pe))}));const Ct=(0,W.Z)({root:{}},{name:"MuiTextField"})(Et);var _t="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,St=function(){for(var t=["Edge","Trident","Firefox"],r=0;r=0)return 1;return 0}();var wt=_t&&window.Promise?function microtaskDebounce(t){var r=!1;return function(){r||(r=!0,window.Promise.resolve().then((function(){r=!1,t()})))}}:function taskDebounce(t){var r=!1;return function(){r||(r=!0,setTimeout((function(){r=!1,t()}),St))}};function isFunction(t){return t&&"[object Function]"==={}.toString.call(t)}function getStyleComputedProperty(t,r){if(1!==t.nodeType)return[];var i=t.ownerDocument.defaultView.getComputedStyle(t,null);return r?i[r]:i}function getParentNode(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function getScrollParent(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var r=getStyleComputedProperty(t),i=r.overflow,o=r.overflowX,s=r.overflowY;return/(auto|scroll|overlay)/.test(i+s+o)?t:getScrollParent(getParentNode(t))}function getReferenceNode(t){return t&&t.referenceNode?t.referenceNode:t}var Dt=_t&&!(!window.MSInputMethodContext||!document.documentMode),kt=_t&&/MSIE 10/.test(navigator.userAgent);function isIE(t){return 11===t?Dt:10===t?kt:Dt||kt}function getOffsetParent(t){if(!t)return document.documentElement;for(var r=isIE(10)?document.body:null,i=t.offsetParent||null;i===r&&t.nextElementSibling;)i=(t=t.nextElementSibling).offsetParent;var o=i&&i.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===getStyleComputedProperty(i,"position")?getOffsetParent(i):i:t?t.ownerDocument.documentElement:document.documentElement}function getRoot(t){return null!==t.parentNode?getRoot(t.parentNode):t}function findCommonOffsetParent(t,r){if(!(t&&t.nodeType&&r&&r.nodeType))return document.documentElement;var i=t.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING,o=i?t:r,s=i?r:t,u=document.createRange();u.setStart(o,0),u.setEnd(s,0);var R=u.commonAncestorContainer;if(t!==R&&r!==R||o.contains(s))return function isOffsetContainer(t){var r=t.nodeName;return"BODY"!==r&&("HTML"===r||getOffsetParent(t.firstElementChild)===t)}(R)?R:getOffsetParent(R);var m=getRoot(t);return m.host?findCommonOffsetParent(m.host,r):findCommonOffsetParent(t,getRoot(r).host)}function getScroll(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",i="top"===r?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var s=t.ownerDocument.documentElement,u=t.ownerDocument.scrollingElement||s;return u[i]}return t[i]}function includeScroll(t,r){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=getScroll(r,"top"),s=getScroll(r,"left"),u=i?-1:1;return t.top+=o*u,t.bottom+=o*u,t.left+=s*u,t.right+=s*u,t}function getBordersSize(t,r){var i="x"===r?"Left":"Top",o="Left"===i?"Right":"Bottom";return parseFloat(t["border"+i+"Width"])+parseFloat(t["border"+o+"Width"])}function getSize(t,r,i,o){return Math.max(r["offset"+t],r["scroll"+t],i["client"+t],i["offset"+t],i["scroll"+t],isIE(10)?parseInt(i["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function getWindowSizes(t){var r=t.body,i=t.documentElement,o=isIE(10)&&getComputedStyle(i);return{height:getSize("Height",r,i,o),width:getSize("Width",r,i,o)}}var classCallCheck=function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")},At=function(){function defineProperties(t,r){for(var i=0;i2&&void 0!==arguments[2]&&arguments[2],o=isIE(10),s="HTML"===r.nodeName,u=getBoundingClientRect(t),R=getBoundingClientRect(r),m=getScrollParent(t),v=getStyleComputedProperty(r),_=parseFloat(v.borderTopWidth),M=parseFloat(v.borderLeftWidth);i&&s&&(R.top=Math.max(R.top,0),R.left=Math.max(R.left,0));var Z=getClientRect({top:u.top-R.top-_,left:u.left-R.left-M,width:u.width,height:u.height});if(Z.marginTop=0,Z.marginLeft=0,!o&&s){var q=parseFloat(v.marginTop),W=parseFloat(v.marginLeft);Z.top-=_-q,Z.bottom-=_-q,Z.left-=M-W,Z.right-=M-W,Z.marginTop=q,Z.marginLeft=W}return(o&&!i?r.contains(m):r===m&&"BODY"!==m.nodeName)&&(Z=includeScroll(Z,r)),Z}function getViewportOffsetRectRelativeToArtbitraryNode(t){var r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.ownerDocument.documentElement,o=getOffsetRectRelativeToArbitraryNode(t,i),s=Math.max(i.clientWidth,window.innerWidth||0),u=Math.max(i.clientHeight,window.innerHeight||0),R=r?0:getScroll(i),m=r?0:getScroll(i,"left"),v={top:R-o.top+o.marginTop,left:m-o.left+o.marginLeft,width:s,height:u};return getClientRect(v)}function isFixed(t){var r=t.nodeName;if("BODY"===r||"HTML"===r)return!1;if("fixed"===getStyleComputedProperty(t,"position"))return!0;var i=getParentNode(t);return!!i&&isFixed(i)}function getFixedPositionOffsetParent(t){if(!t||!t.parentElement||isIE())return document.documentElement;for(var r=t.parentElement;r&&"none"===getStyleComputedProperty(r,"transform");)r=r.parentElement;return r||document.documentElement}function getBoundaries(t,r,i,o){var s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u={top:0,left:0},R=s?getFixedPositionOffsetParent(t):findCommonOffsetParent(t,getReferenceNode(r));if("viewport"===o)u=getViewportOffsetRectRelativeToArtbitraryNode(R,s);else{var m=void 0;"scrollParent"===o?"BODY"===(m=getScrollParent(getParentNode(r))).nodeName&&(m=t.ownerDocument.documentElement):m="window"===o?t.ownerDocument.documentElement:o;var v=getOffsetRectRelativeToArbitraryNode(m,R,s);if("HTML"!==m.nodeName||isFixed(R))u=v;else{var _=getWindowSizes(t.ownerDocument),M=_.height,Z=_.width;u.top+=v.top-v.marginTop,u.bottom=M+v.top,u.left+=v.left-v.marginLeft,u.right=Z+v.left}}var q="number"==typeof(i=i||0);return u.left+=q?i:i.left||0,u.top+=q?i:i.top||0,u.right-=q?i:i.right||0,u.bottom-=q?i:i.bottom||0,u}function getArea(t){return t.width*t.height}function computeAutoPlacement(t,r,i,o,s){var u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var R=getBoundaries(i,o,u,s),m={top:{width:R.width,height:r.top-R.top},right:{width:R.right-r.right,height:R.height},bottom:{width:R.width,height:R.bottom-r.bottom},left:{width:r.left-R.left,height:R.height}},v=Object.keys(m).map((function(t){return Pt({key:t},m[t],{area:getArea(m[t])})})).sort((function(t,r){return r.area-t.area})),_=v.filter((function(t){var r=t.width,o=t.height;return r>=i.clientWidth&&o>=i.clientHeight})),M=_.length>0?_[0].key:v[0].key,Z=t.split("-")[1];return M+(Z?"-"+Z:"")}function getReferenceOffsets(t,r,i){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,s=o?getFixedPositionOffsetParent(r):findCommonOffsetParent(r,getReferenceNode(i));return getOffsetRectRelativeToArbitraryNode(i,s,o)}function getOuterSizes(t){var r=t.ownerDocument.defaultView.getComputedStyle(t),i=parseFloat(r.marginTop||0)+parseFloat(r.marginBottom||0),o=parseFloat(r.marginLeft||0)+parseFloat(r.marginRight||0);return{width:t.offsetWidth+o,height:t.offsetHeight+i}}function getOppositePlacement(t){var r={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return r[t]}))}function getPopperOffsets(t,r,i){i=i.split("-")[0];var o=getOuterSizes(t),s={width:o.width,height:o.height},u=-1!==["right","left"].indexOf(i),R=u?"top":"left",m=u?"left":"top",v=u?"height":"width",_=u?"width":"height";return s[R]=r[R]+r[v]/2-o[v]/2,s[m]=i===m?r[m]-o[_]:r[getOppositePlacement(m)],s}function find(t,r){return Array.prototype.find?t.find(r):t.filter(r)[0]}function runModifiers(t,r,i){return(void 0===i?t:t.slice(0,function findIndex(t,r,i){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[r]===i}));var o=find(t,(function(t){return t[r]===i}));return t.indexOf(o)}(t,"name",i))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&isFunction(i)&&(r.offsets.popper=getClientRect(r.offsets.popper),r.offsets.reference=getClientRect(r.offsets.reference),r=i(r,t))})),r}function popper_update(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=getReferenceOffsets(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=computeAutoPlacement(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=getPopperOffsets(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=runModifiers(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function isModifierEnabled(t,r){return t.some((function(t){var i=t.name;return t.enabled&&i===r}))}function getSupportedPropertyName(t){for(var r=[!1,"ms","Webkit","Moz","O"],i=t.charAt(0).toUpperCase()+t.slice(1),o=0;o1&&void 0!==arguments[1]&&arguments[1],i=Ot.indexOf(t),o=Ot.slice(i+1).concat(Ot.slice(0,i));return r?o.reverse():o}var Bt="flip",It="clockwise",Nt="counterclockwise";function parseOffset(t,r,i,o){var s=[0,0],u=-1!==["right","left"].indexOf(o),R=t.split(/(\+|\-)/).map((function(t){return t.trim()})),m=R.indexOf(find(R,(function(t){return-1!==t.search(/,|\s/)})));R[m]&&-1===R[m].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var v=/\s*,\s*|\s+/,_=-1!==m?[R.slice(0,m).concat([R[m].split(v)[0]]),[R[m].split(v)[1]].concat(R.slice(m+1))]:[R];return(_=_.map((function(t,o){var s=(1===o?!u:u)?"height":"width",R=!1;return t.reduce((function(t,r){return""===t[t.length-1]&&-1!==["+","-"].indexOf(r)?(t[t.length-1]=r,R=!0,t):R?(t[t.length-1]+=r,R=!1,t):t.concat(r)}),[]).map((function(t){return function toValue(t,r,i,o){var s=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),u=+s[1],R=s[2];if(!u)return t;if(0===R.indexOf("%")){var m=void 0;switch(R){case"%p":m=i;break;case"%":case"%r":default:m=o}return getClientRect(m)[r]/100*u}if("vh"===R||"vw"===R)return("vh"===R?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*u;return u}(t,s,r,i)}))}))).forEach((function(t,r){t.forEach((function(i,o){isNumeric(i)&&(s[r]+=i*("-"===t[o-1]?-1:1))}))})),s}var Lt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function onCreate(){},onUpdate:function onUpdate(){},modifiers:{shift:{order:100,enabled:!0,fn:function shift(t){var r=t.placement,i=r.split("-")[0],o=r.split("-")[1];if(o){var s=t.offsets,u=s.reference,R=s.popper,m=-1!==["bottom","top"].indexOf(i),v=m?"left":"top",_=m?"width":"height",M={start:popper_defineProperty({},v,u[v]),end:popper_defineProperty({},v,u[v]+u[_]-R[_])};t.offsets.popper=Pt({},R,M[o])}return t}},offset:{order:200,enabled:!0,fn:function offset(t,r){var i=r.offset,o=t.placement,s=t.offsets,u=s.popper,R=s.reference,m=o.split("-")[0],v=void 0;return v=isNumeric(+i)?[+i,0]:parseOffset(i,u,R,m),"left"===m?(u.top+=v[0],u.left-=v[1]):"right"===m?(u.top+=v[0],u.left+=v[1]):"top"===m?(u.left+=v[0],u.top-=v[1]):"bottom"===m&&(u.left+=v[0],u.top+=v[1]),t.popper=u,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function preventOverflow(t,r){var i=r.boundariesElement||getOffsetParent(t.instance.popper);t.instance.reference===i&&(i=getOffsetParent(i));var o=getSupportedPropertyName("transform"),s=t.instance.popper.style,u=s.top,R=s.left,m=s[o];s.top="",s.left="",s[o]="";var v=getBoundaries(t.instance.popper,t.instance.reference,r.padding,i,t.positionFixed);s.top=u,s.left=R,s[o]=m,r.boundaries=v;var _=r.priority,M=t.offsets.popper,Z={primary:function primary(t){var i=M[t];return M[t]v[t]&&!r.escapeWithReference&&(o=Math.min(M[i],v[t]-("right"===t?M.width:M.height))),popper_defineProperty({},i,o)}};return _.forEach((function(t){var r=-1!==["left","top"].indexOf(t)?"primary":"secondary";M=Pt({},M,Z[r](t))})),t.offsets.popper=M,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function keepTogether(t){var r=t.offsets,i=r.popper,o=r.reference,s=t.placement.split("-")[0],u=Math.floor,R=-1!==["top","bottom"].indexOf(s),m=R?"right":"bottom",v=R?"left":"top",_=R?"width":"height";return i[m]u(o[m])&&(t.offsets.popper[v]=u(o[m])),t}},arrow:{order:500,enabled:!0,fn:function arrow(t,r){var i;if(!isModifierRequired(t.instance.modifiers,"arrow","keepTogether"))return t;var o=r.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var s=t.placement.split("-")[0],u=t.offsets,R=u.popper,m=u.reference,v=-1!==["left","right"].indexOf(s),_=v?"height":"width",M=v?"Top":"Left",Z=M.toLowerCase(),q=v?"left":"top",W=v?"bottom":"right",$=getOuterSizes(o)[_];m[W]-$R[W]&&(t.offsets.popper[Z]+=m[Z]+$-R[W]),t.offsets.popper=getClientRect(t.offsets.popper);var X=m[Z]+m[_]/2-$/2,Y=getStyleComputedProperty(t.instance.popper),ee=parseFloat(Y["margin"+M]),ae=parseFloat(Y["border"+M+"Width"]),ie=X-t.offsets.popper[Z]-ee-ae;return ie=Math.max(Math.min(R[_]-$,ie),0),t.arrowElement=o,t.offsets.arrow=(popper_defineProperty(i={},Z,Math.round(ie)),popper_defineProperty(i,q,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function flip(t,r){if(isModifierEnabled(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var i=getBoundaries(t.instance.popper,t.instance.reference,r.padding,r.boundariesElement,t.positionFixed),o=t.placement.split("-")[0],s=getOppositePlacement(o),u=t.placement.split("-")[1]||"",R=[];switch(r.behavior){case Bt:R=[o,s];break;case It:R=clockwise(o);break;case Nt:R=clockwise(o,!0);break;default:R=r.behavior}return R.forEach((function(m,v){if(o!==m||R.length===v+1)return t;o=t.placement.split("-")[0],s=getOppositePlacement(o);var _=t.offsets.popper,M=t.offsets.reference,Z=Math.floor,q="left"===o&&Z(_.right)>Z(M.left)||"right"===o&&Z(_.left)Z(M.top)||"bottom"===o&&Z(_.top)Z(i.right),X=Z(_.top)Z(i.bottom),ee="left"===o&&W||"right"===o&&$||"top"===o&&X||"bottom"===o&&Y,ae=-1!==["top","bottom"].indexOf(o),ie=!!r.flipVariations&&(ae&&"start"===u&&W||ae&&"end"===u&&$||!ae&&"start"===u&&X||!ae&&"end"===u&&Y),de=!!r.flipVariationsByContent&&(ae&&"start"===u&&$||ae&&"end"===u&&W||!ae&&"start"===u&&Y||!ae&&"end"===u&&X),ce=ie||de;(q||ee||ce)&&(t.flipped=!0,(q||ee)&&(o=R[v+1]),ce&&(u=function getOppositeVariation(t){return"end"===t?"start":"start"===t?"end":t}(u)),t.placement=o+(u?"-"+u:""),t.offsets.popper=Pt({},t.offsets.popper,getPopperOffsets(t.instance.popper,t.offsets.reference,t.placement)),t=runModifiers(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function inner(t){var r=t.placement,i=r.split("-")[0],o=t.offsets,s=o.popper,u=o.reference,R=-1!==["left","right"].indexOf(i),m=-1===["top","left"].indexOf(i);return s[R?"left":"top"]=u[i]-(m?s[R?"width":"height"]:0),t.placement=getOppositePlacement(r),t.offsets.popper=getClientRect(s),t}},hide:{order:800,enabled:!0,fn:function hide(t){if(!isModifierRequired(t.instance.modifiers,"hide","preventOverflow"))return t;var r=t.offsets.reference,i=find(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(r.bottomi.right||r.top>i.bottom||r.right2&&void 0!==arguments[2]?arguments[2]:{};classCallCheck(this,Popper),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=wt(this.update.bind(this)),this.options=Pt({},Popper.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(Pt({},Popper.Defaults.modifiers,o.modifiers)).forEach((function(t){i.options.modifiers[t]=Pt({},Popper.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return Pt({name:t},i.options.modifiers[t])})).sort((function(t,r){return t.order-r.order})),this.modifiers.forEach((function(t){t.enabled&&isFunction(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return At(Popper,[{key:"update",value:function update$$1(){return popper_update.call(this)}},{key:"destroy",value:function destroy$$1(){return destroy.call(this)}},{key:"enableEventListeners",value:function enableEventListeners$$1(){return enableEventListeners.call(this)}},{key:"disableEventListeners",value:function disableEventListeners$$1(){return disableEventListeners.call(this)}}]),Popper}();jt.Utils=("undefined"!=typeof window?window:i.g).PopperUtils,jt.placements=Tt,jt.Defaults=Lt;const Mt=jt;var Vt=i(75959),Zt=i(76234),zt=i(82568),Ht=i(34236);function getAnchorEl(t){return"function"==typeof t?t():t}var Ut="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,qt={};const Wt=o.forwardRef((function Popper(t,r){var i=t.anchorEl,s=t.children,u=t.container,R=t.disablePortal,m=void 0!==R&&R,v=t.keepMounted,_=void 0!==v&&v,q=t.modifiers,W=t.open,$=t.placement,X=void 0===$?"bottom":$,Y=t.popperOptions,ee=void 0===Y?qt:Y,ae=t.popperRef,ie=t.style,de=t.transition,le=void 0!==de&&de,pe=(0,Z.Z)(t,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),fe=o.useRef(null),Re=(0,ce.Z)(fe,r),ye=o.useRef(null),be=(0,ce.Z)(ye,ae),xe=o.useRef(be);Ut((function(){xe.current=be}),[be]),o.useImperativeHandle(ae,(function(){return ye.current}),[]);var _e=o.useState(!0),Se=_e[0],we=_e[1],Pe=function flipPlacement(t,r){if("ltr"===(r&&r.direction||"ltr"))return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(X,(0,Vt.Z)()),Te=o.useState(Pe),Ie=Te[0],Ve=Te[1];o.useEffect((function(){ye.current&&ye.current.update()}));var ze=o.useCallback((function(){if(fe.current&&i&&W){ye.current&&(ye.current.destroy(),xe.current(null));var t=function handlePopperUpdate(t){Ve(t.placement)},r=(getAnchorEl(i),new Mt(getAnchorEl(i),fe.current,(0,M.Z)({placement:Pe},ee,{modifiers:(0,M.Z)({},m?{}:{preventOverflow:{boundariesElement:"window"}},q,ee.modifiers),onCreate:(0,zt.Z)(t,ee.onCreate),onUpdate:(0,zt.Z)(t,ee.onUpdate)})));xe.current(r)}}),[i,m,q,W,Pe,ee]),He=o.useCallback((function(t){(0,Ht.Z)(Re,t),ze()}),[Re,ze]),qe=function handleClose(){ye.current&&(ye.current.destroy(),xe.current(null))};if(o.useEffect((function(){return function(){qe()}}),[]),o.useEffect((function(){W||le||qe()}),[W,le]),!_&&!W&&(!le||Se))return null;var We={placement:Ie};return le&&(We.TransitionProps={in:W,onEnter:function handleEnter(){we(!1)},onExited:function handleExited(){we(!0),qe()}}),o.createElement(Zt.Z,{disablePortal:m,container:u},o.createElement("div",(0,M.Z)({ref:He,role:"tooltip"},pe,{style:(0,M.Z)({position:"fixed",top:0,left:0,display:W||!_||le?null:"none"},ie)}),"function"==typeof s?s(We):s))}));var $t=o.forwardRef((function ListSubheader(t,r){var i=t.classes,s=t.className,u=t.color,R=void 0===u?"default":u,m=t.component,v=void 0===m?"li":m,_=t.disableGutters,W=void 0!==_&&_,X=t.disableSticky,Y=void 0!==X&&X,ee=t.inset,ae=void 0!==ee&&ee,ie=(0,Z.Z)(t,["classes","className","color","component","disableGutters","disableSticky","inset"]);return o.createElement(v,(0,M.Z)({className:(0,q.Z)(i.root,s,"default"!==R&&i["color".concat((0,$.Z)(R))],ae&&i.inset,!Y&&i.sticky,!W&&i.gutters),ref:r},ie))}));const Gt=(0,W.Z)((function styles(t){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:t.palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},colorPrimary:{color:t.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})($t);var Kt=i(79895),Xt=i(17812),Jt=i(71267);const Qt=(0,ct.Z)(o.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Yt=(0,ct.Z)(o.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");var ta=i(95001),aa=i(55192);function stripDiacritics(t){return void 0!==t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function useAutocomplete_findIndex(t,r){for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},r=t.ignoreAccents,i=void 0===r||r,o=t.ignoreCase,s=void 0===o||o,u=t.limit,R=t.matchFrom,m=void 0===R?"any":R,v=t.stringify,_=t.trim,M=void 0!==_&&_;return function(t,r){var o=r.inputValue,R=r.getOptionLabel,_=M?o.trim():o;s&&(_=_.toLowerCase()),i&&(_=stripDiacritics(_));var Z=t.filter((function(t){var r=(v||R)(t);return s&&(r=r.toLowerCase()),i&&(r=stripDiacritics(r)),"start"===m?0===r.indexOf(_):r.indexOf(_)>-1}));return"number"==typeof u?Z.slice(0,u):Z}}();function useAutocomplete(t){var r=t.autoComplete,i=void 0!==r&&r,s=t.autoHighlight,u=void 0!==s&&s,R=t.autoSelect,m=void 0!==R&&R,v=t.blurOnSelect,_=void 0!==v&&v,Z=t.clearOnBlur,q=void 0===Z?!t.freeSolo:Z,W=t.clearOnEscape,$=void 0!==W&&W,X=t.componentName,Y=void 0===X?"useAutocomplete":X,ee=t.debug,ae=void 0!==ee&&ee,ie=t.defaultValue,de=void 0===ie?t.multiple?[]:null:ie,ce=t.disableClearable,le=void 0!==ce&&ce,pe=t.disableCloseOnSelect,fe=void 0!==pe&&pe,Re=t.disabledItemsFocusable,ye=void 0!==Re&&Re,be=t.disableListWrap,xe=void 0!==be&&be,_e=t.filterOptions,Se=void 0===_e?ra:_e,we=t.filterSelectedOptions,Pe=void 0!==we&&we,Te=t.freeSolo,Ie=void 0!==Te&&Te,Ve=t.getOptionDisabled,ze=t.getOptionLabel,He=void 0===ze?function(t){return t}:ze,qe=t.getOptionSelected,We=void 0===qe?function(t,r){return t===r}:qe,Xe=t.groupBy,Qe=t.handleHomeEndKeys,Ye=void 0===Qe?!t.freeSolo:Qe,et=t.id,tt=t.includeInputInList,nt=void 0!==tt&&tt,it=t.inputValue,ot=t.multiple,st=void 0!==ot&&ot,ut=t.onChange,ct=t.onClose,lt=t.onHighlightChange,pt=t.onInputChange,gt=t.onOpen,ht=t.open,ft=t.openOnFocus,Rt=void 0!==ft&&ft,mt=t.options,yt=t.selectOnFocus,vt=void 0===yt?!t.freeSolo:yt,bt=t.value,xt=(0,ta.Z)(et),Et=He;var Ct=o.useRef(!1),_t=o.useRef(!0),St=o.useRef(null),wt=o.useRef(null),Dt=o.useState(null),kt=Dt[0],At=Dt[1],Pt=o.useState(-1),Ft=Pt[0],Tt=Pt[1],Ot=u?0:-1,Bt=o.useRef(Ot),It=(0,dt.Z)({controlled:bt,default:de,name:Y}),Nt=(0,rt.Z)(It,2),Lt=Nt[0],jt=Nt[1],Mt=(0,dt.Z)({controlled:it,default:"",name:Y,state:"inputValue"}),Vt=(0,rt.Z)(Mt,2),Zt=Vt[0],zt=Vt[1],Ut=o.useState(!1),qt=Ut[0],Wt=Ut[1],$t=(0,aa.Z)((function(t,r){var i;if(st)i="";else if(null==r)i="";else{var o=Et(r);i="string"==typeof o?o:""}Zt!==i&&(zt(i),pt&&pt(t,i,"reset"))}));o.useEffect((function(){$t(null,Lt)}),[Lt,$t]);var Gt=(0,dt.Z)({controlled:ht,default:!1,name:Y,state:"open"}),Kt=(0,rt.Z)(Gt,2),Xt=Kt[0],Jt=Kt[1],Qt=!st&&null!=Lt&&Zt===Et(Lt),Yt=Xt,ia=Yt?Se(mt.filter((function(t){return!Pe||!(st?Lt:[Lt]).some((function(r){return null!==r&&We(t,r)}))})),{inputValue:Qt?"":Zt,getOptionLabel:Et}):[],oa=(0,aa.Z)((function(t){-1===t?St.current.focus():kt.querySelector('[data-tag-index="'.concat(t,'"]')).focus()}));o.useEffect((function(){st&&Ft>Lt.length-1&&(Tt(-1),oa(-1))}),[Lt,st,Ft,oa]);var sa=(0,aa.Z)((function(t){var r=t.event,i=t.index,o=t.reason,s=void 0===o?"auto":o;if(Bt.current=i,-1===i?St.current.removeAttribute("aria-activedescendant"):St.current.setAttribute("aria-activedescendant","".concat(xt,"-option-").concat(i)),lt&<(r,-1===i?null:ia[i],s),wt.current){var u=wt.current.querySelector("[data-focus]");u&&u.removeAttribute("data-focus");var R=wt.current.parentElement.querySelector('[role="listbox"]');if(R)if(-1!==i){var m=wt.current.querySelector('[data-option-index="'.concat(i,'"]'));if(m&&(m.setAttribute("data-focus","true"),R.scrollHeight>R.clientHeight&&"mouse"!==s)){var v=m,_=R.clientHeight+R.scrollTop,M=v.offsetTop+v.offsetHeight;M>_?R.scrollTop=M-R.clientHeight:v.offsetTop-v.offsetHeight*(Xe?1.3:0)1?0:t:r>t?r===t+1&&nt?-1:xe||Math.abs(o)>1?t:0:r}(),u);if(sa({index:v,reason:m,event:r}),i&&"reset"!==o)if(-1===v)St.current.value=Zt;else{var _=Et(ia[v]);St.current.value=_,0===_.toLowerCase().indexOf(Zt.toLowerCase())&&Zt.length>0&&St.current.setSelectionRange(Zt.length,_.length)}}})),ca=o.useCallback((function(){if(Yt){var t=st?Lt[0]:Lt;if(0!==ia.length&&null!=t){if(wt.current)if(Pe||null==t)Bt.current>=ia.length-1?sa({index:ia.length-1}):sa({index:Bt.current});else{var r=ia[Bt.current];if(st&&r&&-1!==useAutocomplete_findIndex(Lt,(function(t){return We(r,t)})))return;var i=useAutocomplete_findIndex(ia,(function(r){return We(r,t)}));-1===i?ua({diff:"reset"}):sa({index:i})}}else ua({diff:"reset"})}}),[0===ia.length,!st&&Lt,Pe,ua,sa,Yt,Zt,st]),ga=(0,aa.Z)((function(t){(0,Ht.Z)(wt,t),t&&ca()}));o.useEffect((function(){ca()}),[ca]);var ha=function handleOpen(t){Xt||(Jt(!0),gt&>(t))},fa=function handleClose(t,r){Xt&&(Jt(!1),ct&&ct(t,r))},ya=function handleValue(t,r,i,o){Lt!==r&&(ut&&ut(t,r,i,o),jt(r))},va=o.useRef(!1),ba=function selectNewValue(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"select-option",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",s=i,u=r;if(st){var R=useAutocomplete_findIndex(u=Array.isArray(Lt)?Lt.slice():[],(function(t){return We(r,t)}));-1===R?u.push(r):"freeSolo"!==o&&(u.splice(R,1),s="remove-option")}$t(t,u),ya(t,u,s,{option:r}),fe||fa(t,s),(!0===_||"touch"===_&&va.current||"mouse"===_&&!va.current)&&St.current.blur()};var xa=function handleFocusTag(t,r){if(st){fa(t,"toggleInput");var i=Ft;-1===Ft?""===Zt&&"previous"===r&&(i=Lt.length-1):((i+="next"===r?1:-1)<0&&(i=0),i===Lt.length&&(i=-1)),i=function validTagIndex(t,r){if(-1===t)return-1;for(var i=t;;){if("next"===r&&i===Lt.length||"previous"===r&&-1===i)return-1;var o=kt.querySelector('[data-tag-index="'.concat(i,'"]'));if(!o||o.hasAttribute("tabindex")&&!o.disabled&&"true"!==o.getAttribute("aria-disabled"))return i;i+="next"===r?1:-1}}(i,r),Tt(i),oa(i)}},Ea=function handleClear(t){Ct.current=!0,zt(""),pt&&pt(t,"","clear"),ya(t,st?[]:null,"clear")},Ca=function handleKeyDown(t){return function(r){switch(-1!==Ft&&-1===["ArrowLeft","ArrowRight"].indexOf(r.key)&&(Tt(-1),oa(-1)),r.key){case"Home":Yt&&Ye&&(r.preventDefault(),ua({diff:"start",direction:"next",reason:"keyboard",event:r}));break;case"End":Yt&&Ye&&(r.preventDefault(),ua({diff:"end",direction:"previous",reason:"keyboard",event:r}));break;case"PageUp":r.preventDefault(),ua({diff:-5,direction:"previous",reason:"keyboard",event:r}),ha(r);break;case"PageDown":r.preventDefault(),ua({diff:5,direction:"next",reason:"keyboard",event:r}),ha(r);break;case"ArrowDown":r.preventDefault(),ua({diff:1,direction:"next",reason:"keyboard",event:r}),ha(r);break;case"ArrowUp":r.preventDefault(),ua({diff:-1,direction:"previous",reason:"keyboard",event:r}),ha(r);break;case"ArrowLeft":xa(r,"previous");break;case"ArrowRight":xa(r,"next");break;case"Enter":if(229===r.which)break;if(-1!==Bt.current&&Yt){var o=ia[Bt.current],s=!!Ve&&Ve(o);if(r.preventDefault(),s)return;ba(r,o,"select-option"),i&&St.current.setSelectionRange(St.current.value.length,St.current.value.length)}else Ie&&""!==Zt&&!1===Qt&&(st&&r.preventDefault(),ba(r,Zt,"create-option","freeSolo"));break;case"Escape":Yt?(r.preventDefault(),r.stopPropagation(),fa(r,"escape")):$&&(""!==Zt||st&&Lt.length>0)&&(r.preventDefault(),r.stopPropagation(),Ea(r));break;case"Backspace":if(st&&""===Zt&&Lt.length>0){var u=-1===Ft?Lt.length-1:Ft,R=Lt.slice();R.splice(u,1),ya(r,R,"remove-option",{option:Lt[u]})}}t.onKeyDown&&t.onKeyDown(r)}},_a=function handleFocus(t){Wt(!0),Rt&&!Ct.current&&ha(t)},wa=function handleBlur(t){null===wt.current||document.activeElement!==wt.current.parentElement?(Wt(!1),_t.current=!0,Ct.current=!1,ae&&""!==Zt||(m&&-1!==Bt.current&&Yt?ba(t,ia[Bt.current],"blur"):m&&Ie&&""!==Zt?ba(t,Zt,"blur","freeSolo"):q&&$t(t,Lt),fa(t,"blur"))):St.current.focus()},Da=function handleInputChange(t){var r=t.target.value;Zt!==r&&(zt(r),pt&&pt(t,r,"input")),""===r?le||st||ya(t,null,"clear"):ha(t)},ka=function handleOptionMouseOver(t){sa({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},Aa=function handleOptionTouchStart(){va.current=!0},Fa=function handleOptionClick(t){var r=Number(t.currentTarget.getAttribute("data-option-index"));ba(t,ia[r],"select-option"),va.current=!1},Oa=function handleTagDelete(t){return function(r){var i=Lt.slice();i.splice(t,1),ya(r,i,"remove-option",{option:Lt[t]})}},Ba=function handlePopupIndicator(t){Xt?fa(t,"toggleInput"):ha(t)},Ia=function handleMouseDown(t){t.target.getAttribute("id")!==xt&&t.preventDefault()},ja=function handleClick(){St.current.focus(),vt&&_t.current&&St.current.selectionEnd-St.current.selectionStart==0&&St.current.select(),_t.current=!1},Ma=function handleInputMouseDown(t){""!==Zt&&Xt||Ba(t)},za=Ie&&Zt.length>0;za=za||(st?Lt.length>0:null!==Lt);var Ha=ia;if(Xe){new Map;Ha=ia.reduce((function(t,r,i){var o=Xe(r);return t.length>0&&t[t.length-1].group===o?t[t.length-1].options.push(r):t.push({key:i,index:i,group:o,options:[r]}),t}),[])}return{getRootProps:function getRootProps(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,M.Z)({"aria-owns":Yt?"".concat(xt,"-popup"):null,role:"combobox","aria-expanded":Yt},t,{onKeyDown:Ca(t),onMouseDown:Ia,onClick:ja})},getInputLabelProps:function getInputLabelProps(){return{id:"".concat(xt,"-label"),htmlFor:xt}},getInputProps:function getInputProps(){return{id:xt,value:Zt,onBlur:wa,onFocus:_a,onChange:Da,onMouseDown:Ma,"aria-activedescendant":Yt?"":null,"aria-autocomplete":i?"both":"list","aria-controls":Yt?"".concat(xt,"-popup"):null,autoComplete:"off",ref:St,autoCapitalize:"none",spellCheck:"false"}},getClearProps:function getClearProps(){return{tabIndex:-1,onClick:Ea}},getPopupIndicatorProps:function getPopupIndicatorProps(){return{tabIndex:-1,onClick:Ba}},getTagProps:function getTagProps(t){var r=t.index;return{key:r,"data-tag-index":r,tabIndex:-1,onDelete:Oa(r)}},getListboxProps:function getListboxProps(){return{role:"listbox",id:"".concat(xt,"-popup"),"aria-labelledby":"".concat(xt,"-label"),ref:ga,onMouseDown:function onMouseDown(t){t.preventDefault()}}},getOptionProps:function getOptionProps(t){var r=t.index,i=t.option,o=(st?Lt:[Lt]).some((function(t){return null!=t&&We(i,t)})),s=!!Ve&&Ve(i);return{key:r,tabIndex:-1,role:"option",id:"".concat(xt,"-option-").concat(r),onMouseOver:ka,onClick:Fa,onTouchStart:Aa,"data-option-index":r,"aria-disabled":s,"aria-selected":o}},id:xt,inputValue:Zt,value:Lt,dirty:za,popupOpen:Yt,focused:qt||-1!==Ft,anchorEl:kt,setAnchorEl:At,focusedTag:Ft,groupedOptions:Ha}}function DisablePortal(t){t.anchorEl,t.open;var r=(0,Z.Z)(t,["anchorEl","open"]);return o.createElement("div",r)}var ia=o.createElement(Qt,{fontSize:"small"}),oa=o.createElement(Yt,null),sa=o.forwardRef((function Autocomplete(t,r){t.autoComplete,t.autoHighlight,t.autoSelect,t.blurOnSelect;var i,s=t.ChipProps,u=t.classes,R=t.className,m=t.clearOnBlur,v=(void 0===m&&t.freeSolo,t.clearOnEscape,t.clearText),_=void 0===v?"Clear":v,W=t.closeIcon,$=void 0===W?ia:W,X=t.closeText,Y=void 0===X?"Close":X,ee=(t.debug,t.defaultValue),ae=(void 0===ee&&t.multiple,t.disableClearable),ie=void 0!==ae&&ae,de=(t.disableCloseOnSelect,t.disabled),ce=void 0!==de&&de,le=(t.disabledItemsFocusable,t.disableListWrap,t.disablePortal),pe=void 0!==le&&le,fe=(t.filterOptions,t.filterSelectedOptions,t.forcePopupIcon),Re=void 0===fe?"auto":fe,ye=t.freeSolo,be=void 0!==ye&&ye,xe=t.fullWidth,_e=void 0!==xe&&xe,Se=t.getLimitTagsText,we=void 0===Se?function(t){return"+".concat(t)}:Se,Pe=(t.getOptionDisabled,t.getOptionLabel),Te=void 0===Pe?function(t){return t}:Pe,Ie=(t.getOptionSelected,t.groupBy),Ve=t.handleHomeEndKeys,ze=(void 0===Ve&&t.freeSolo,t.id,t.includeInputInList,t.inputValue,t.limitTags),He=void 0===ze?-1:ze,qe=t.ListboxComponent,We=void 0===qe?"ul":qe,Xe=t.ListboxProps,Qe=t.loading,Ye=void 0!==Qe&&Qe,et=t.loadingText,tt=void 0===et?"Loading…":et,nt=t.multiple,rt=void 0!==nt&&nt,it=t.noOptionsText,ot=void 0===it?"No options":it,st=(t.onChange,t.onClose,t.onHighlightChange,t.onInputChange,t.onOpen,t.open,t.openOnFocus,t.openText),dt=void 0===st?"Open":st,ut=(t.options,t.PaperComponent),ct=void 0===ut?Kt.Z:ut,lt=t.PopperComponent,pt=void 0===lt?Wt:lt,gt=t.popupIcon,ht=void 0===gt?oa:gt,ft=t.renderGroup,Rt=t.renderInput,mt=t.renderOption,yt=t.renderTags,vt=t.selectOnFocus,bt=(void 0===vt&&t.freeSolo,t.size),xt=void 0===bt?"medium":bt,Et=(t.value,(0,Z.Z)(t,["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","classes","className","clearOnBlur","clearOnEscape","clearText","closeIcon","closeText","debug","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","getOptionSelected","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"])),Ct=pe?DisablePortal:pt,_t=useAutocomplete((0,M.Z)({},t,{componentName:"Autocomplete"})),St=_t.getRootProps,wt=_t.getInputProps,Dt=_t.getInputLabelProps,kt=_t.getPopupIndicatorProps,At=_t.getClearProps,Pt=_t.getTagProps,Ft=_t.getListboxProps,Tt=_t.getOptionProps,Ot=_t.value,Bt=_t.dirty,It=_t.id,Nt=_t.popupOpen,Lt=_t.focused,jt=_t.focusedTag,Mt=_t.anchorEl,Vt=_t.setAnchorEl,Zt=_t.inputValue,zt=_t.groupedOptions;if(rt&&Ot.length>0){var Ht=function getCustomizedTagProps(t){return(0,M.Z)({className:(0,q.Z)(u.tag,"small"===xt&&u.tagSizeSmall),disabled:ce},Pt(t))};i=yt?yt(Ot,Ht):Ot.map((function(t,r){return o.createElement(Jt.Z,(0,M.Z)({label:Te(t),size:xt},Ht({index:r}),s))}))}if(He>-1&&Array.isArray(i)){var Ut=i.length-He;!Lt&&Ut>0&&(i=i.splice(0,He)).push(o.createElement("span",{className:u.tag,key:i.length},we(Ut)))}var qt=ft||function defaultRenderGroup(t){return o.createElement("li",{key:t.key},o.createElement(Gt,{className:u.groupLabel,component:"div"},t.group),o.createElement("ul",{className:u.groupUl},t.children))},$t=mt||Te,Qt=function renderListOption(t,r){var i=Tt({option:t,index:r});return o.createElement("li",(0,M.Z)({},i,{className:u.option}),$t(t,{selected:i["aria-selected"],inputValue:Zt}))},Yt=!ie&&!ce,ta=(!be||!0===Re)&&!1!==Re;return o.createElement(o.Fragment,null,o.createElement("div",(0,M.Z)({ref:r,className:(0,q.Z)(u.root,R,Lt&&u.focused,_e&&u.fullWidth,Yt&&u.hasClearIcon,ta&&u.hasPopupIcon)},St(Et)),Rt({id:It,disabled:ce,fullWidth:!0,size:"small"===xt?"small":void 0,InputLabelProps:Dt(),InputProps:{ref:Vt,className:u.inputRoot,startAdornment:i,endAdornment:o.createElement("div",{className:u.endAdornment},Yt?o.createElement(Xt.Z,(0,M.Z)({},At(),{"aria-label":_,title:_,className:(0,q.Z)(u.clearIndicator,Bt&&u.clearIndicatorDirty)}),$):null,ta?o.createElement(Xt.Z,(0,M.Z)({},kt(),{disabled:ce,"aria-label":Nt?Y:dt,title:Nt?Y:dt,className:(0,q.Z)(u.popupIndicator,Nt&&u.popupIndicatorOpen)}),ht):null)},inputProps:(0,M.Z)({className:(0,q.Z)(u.input,-1===jt&&u.inputFocused),disabled:ce},wt())})),Nt&&Mt?o.createElement(Ct,{className:(0,q.Z)(u.popper,pe&&u.popperDisablePortal),style:{width:Mt?Mt.clientWidth:null},role:"presentation",anchorEl:Mt,open:!0},o.createElement(ct,{className:u.paper},Ye&&0===zt.length?o.createElement("div",{className:u.loading},tt):null,0!==zt.length||be||Ye?null:o.createElement("div",{className:u.noOptions},ot),zt.length>0?o.createElement(We,(0,M.Z)({className:u.listbox},Ft(),Xe),zt.map((function(t,r){return Ie?qt({key:t.key,group:t.group,children:t.options.map((function(r,i){return Qt(r,t.index+i)}))}):Qt(t,r)}))):null)):null)}));const ua=(0,W.Z)((function styles(t){var r;return{root:{"&$focused $clearIndicatorDirty":{visibility:"visible"},"@media (pointer: fine)":{"&:hover $clearIndicatorDirty":{visibility:"visible"}}},fullWidth:{width:"100%"},focused:{},tag:{margin:3,maxWidth:"calc(100% - 6px)"},tagSizeSmall:{margin:2,maxWidth:"calc(100% - 4px)"},hasPopupIcon:{},hasClearIcon:{},inputRoot:{flexWrap:"wrap","$hasPopupIcon &, $hasClearIcon &":{paddingRight:30},"$hasPopupIcon$hasClearIcon &":{paddingRight:56},"& $input":{width:0,minWidth:30},'&[class*="MuiInput-root"]':{paddingBottom:1,"& $input":{padding:4},"& $input:first-child":{padding:"6px 0"}},'&[class*="MuiInput-root"][class*="MuiInput-marginDense"]':{"& $input":{padding:"4px 4px 5px"},"& $input:first-child":{padding:"3px 0 6px"}},'&[class*="MuiOutlinedInput-root"]':{padding:9,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9.5px 4px"},"& $input:first-child":{paddingLeft:6},"& $endAdornment":{right:9}},'&[class*="MuiOutlinedInput-root"][class*="MuiOutlinedInput-marginDense"]':{padding:6,"& $input":{padding:"4.5px 4px"}},'&[class*="MuiFilledInput-root"]':{paddingTop:19,paddingLeft:8,"$hasPopupIcon &, $hasClearIcon &":{paddingRight:39},"$hasPopupIcon$hasClearIcon &":{paddingRight:65},"& $input":{padding:"9px 4px"},"& $endAdornment":{right:9}},'&[class*="MuiFilledInput-root"][class*="MuiFilledInput-marginDense"]':{paddingBottom:1,"& $input":{padding:"4.5px 4px"}}},input:{flexGrow:1,textOverflow:"ellipsis",opacity:0},inputFocused:{opacity:1},endAdornment:{position:"absolute",right:0,top:"calc(50% - 14px)"},clearIndicator:{marginRight:-2,padding:4,visibility:"hidden"},clearIndicatorDirty:{},popupIndicator:{padding:2,marginRight:-2},popupIndicatorOpen:{transform:"rotate(180deg)"},popper:{zIndex:t.zIndex.modal},popperDisablePortal:{position:"absolute"},paper:(0,M.Z)({},t.typography.body1,{overflow:"hidden",margin:"4px 0"}),listbox:{listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},loading:{color:t.palette.text.secondary,padding:"14px 16px"},noOptions:{color:t.palette.text.secondary,padding:"14px 16px"},option:(r={minHeight:48,display:"flex",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},(0,Te.Z)(r,t.breakpoints.up("sm"),{minHeight:"auto"}),(0,Te.Z)(r,'&[aria-selected="true"]',{backgroundColor:t.palette.action.selected}),(0,Te.Z)(r,'&[data-focus="true"]',{backgroundColor:t.palette.action.hover}),(0,Te.Z)(r,"&:active",{backgroundColor:t.palette.action.selected}),(0,Te.Z)(r,'&[aria-disabled="true"]',{opacity:t.palette.action.disabledOpacity,pointerEvents:"none"}),r),groupLabel:{backgroundColor:t.palette.background.paper,top:-8},groupUl:{padding:0,"& $option":{paddingLeft:24}}}}),{name:"MuiAutocomplete"})(sa);var ca=i(95100);let ga=(new Date).toISOString().slice(0,10);var ha="ge(journalcondition.valid_until,"+ga+"),le(journalcondition.valid_from,"+ga+"),ge(organizationcondition.valid_until,"+ga+"),le(organizationcondition.valid_from,"+ga+")";const searchCondi=(t,r)=>ca.Z.request({url:"/conditionset/?and(eq(journalcondition.journal.id,".concat(t,"),eq(organizationcondition.organization.id,").concat(r,"),").concat(ha,")"),method:"GET"}),searchInstitFunder=(t,r,i)=>ca.Z.request({url:"/conditionset/?(eq(organizationcondition.organization.id,".concat(t,")|eq(organizationcondition.organization.id,").concat(r,"))&ne(condition_type.id,").concat(i,")&and(").concat(ha,")"),method:"GET"}),searchCondi3=(t,r,i)=>ca.Z.request({url:"/conditionset/?(eq(organizationcondition.organization.id,".concat(t,")|eq(organizationcondition.organization.id,").concat(i,"))&eq(journalcondition.journal.id,").concat(r,")&and(").concat(ha,")"),method:"GET"}),searchorganizationonly=(t,r)=>ca.Z.request({url:"/conditionset/?and(eq(organizationcondition.organization.id,".concat(t,"),ne(condition_type.id,").concat(r,"),").concat(ha,")"),method:"GET"}),searchjournalonly=(t,r)=>ca.Z.request({url:"/conditionset/?and(eq(journalcondition.journal.id,".concat(t,"),ne(condition_type.id,").concat(r,"),").concat(ha,")"),method:"GET"});var fa=i(26710),ya=i(85446),va=i(85651),ba=i(67708),xa=i(50743),Ea=i(64566),Ca=i(22318),_a=i(61201),wa=i(41749),Da=i(87748),ka=i(43832),Aa=i(62996),Fa=i(80381),Oa=i(55541),Ba=44,Ia=o.forwardRef((function CircularProgress(t,r){var i=t.classes,s=t.className,u=t.color,R=void 0===u?"primary":u,m=t.disableShrink,v=void 0!==m&&m,_=t.size,W=void 0===_?40:_,X=t.style,Y=t.thickness,ee=void 0===Y?3.6:Y,ae=t.value,ie=void 0===ae?0:ae,de=t.variant,ce=void 0===de?"indeterminate":de,le=(0,Z.Z)(t,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),pe={},fe={},Re={};if("determinate"===ce||"static"===ce){var ye=2*Math.PI*((Ba-ee)/2);pe.strokeDasharray=ye.toFixed(3),Re["aria-valuenow"]=Math.round(ie),pe.strokeDashoffset="".concat(((100-ie)/100*ye).toFixed(3),"px"),fe.transform="rotate(-90deg)"}return o.createElement("div",(0,M.Z)({className:(0,q.Z)(i.root,s,"inherit"!==R&&i["color".concat((0,$.Z)(R))],{determinate:i.determinate,indeterminate:i.indeterminate,static:i.static}[ce]),style:(0,M.Z)({width:W,height:W},fe,X),ref:r,role:"progressbar"},Re,le),o.createElement("svg",{className:i.svg,viewBox:"".concat(22," ").concat(22," ").concat(Ba," ").concat(Ba)},o.createElement("circle",{className:(0,q.Z)(i.circle,v&&i.circleDisableShrink,{determinate:i.circleDeterminate,indeterminate:i.circleIndeterminate,static:i.circleStatic}[ce]),style:pe,cx:Ba,cy:Ba,r:(Ba-ee)/2,fill:"none",strokeWidth:ee})))}));const ja=(0,W.Z)((function styles(t){return{root:{display:"inline-block"},static:{transition:t.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:t.transitions.create("transform")},colorPrimary:{color:t.palette.primary.main},colorSecondary:{color:t.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:t.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:t.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(Ia);var Ma=i(54720),za=o.forwardRef((function Fab(t,r){var i=t.children,s=t.classes,u=t.className,R=t.color,m=void 0===R?"default":R,v=t.component,_=void 0===v?"button":v,W=t.disabled,X=void 0!==W&&W,Y=t.disableFocusRipple,ee=void 0!==Y&&Y,ae=t.focusVisibleClassName,ie=t.size,de=void 0===ie?"large":ie,ce=t.variant,le=void 0===ce?"round":ce,pe=(0,Z.Z)(t,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return o.createElement(Ma.Z,(0,M.Z)({className:(0,q.Z)(s.root,u,"round"!==le&&s.extended,"large"!==de&&s["size".concat((0,$.Z)(de))],X&&s.disabled,{primary:s.primary,secondary:s.secondary,inherit:s.colorInherit}[m]),component:_,disabled:X,focusRipple:!ee,focusVisibleClassName:(0,q.Z)(s.focusVisible,ae),ref:r},pe),o.createElement("span",{className:s.label},i))}));const Ha=(0,W.Z)((function styles(t){return{root:(0,M.Z)({},t.typography.button,{boxSizing:"border-box",minHeight:36,transition:t.transitions.create(["background-color","box-shadow","border"],{duration:t.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:t.shadows[6],"&:active":{boxShadow:t.shadows[12]},color:t.palette.getContrastText(t.palette.grey[300]),backgroundColor:t.palette.grey[300],"&:hover":{backgroundColor:t.palette.grey.A100,"@media (hover: none)":{backgroundColor:t.palette.grey[300]},"&$disabled":{backgroundColor:t.palette.action.disabledBackground},textDecoration:"none"},"&$focusVisible":{boxShadow:t.shadows[6]},"&$disabled":{color:t.palette.action.disabled,boxShadow:t.shadows[0],backgroundColor:t.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:t.palette.primary.contrastText,backgroundColor:t.palette.primary.main,"&:hover":{backgroundColor:t.palette.primary.dark,"@media (hover: none)":{backgroundColor:t.palette.primary.main}}},secondary:{color:t.palette.secondary.contrastText,backgroundColor:t.palette.secondary.main,"&:hover":{backgroundColor:t.palette.secondary.dark,"@media (hover: none)":{backgroundColor:t.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(za);var Ga=i(53093),Ka=i(13768),Ja=i(12666),en=i(43366),tn=i(5653),an={entering:{opacity:1},entered:{opacity:1}},nn={enter:en.x9.enteringScreen,exit:en.x9.leavingScreen};const rn=o.forwardRef((function Fade(t,r){var i=t.children,s=t.disableStrictModeCompat,u=void 0!==s&&s,R=t.in,m=t.onEnter,v=t.onEntered,_=t.onEntering,q=t.onExit,W=t.onExited,$=t.onExiting,X=t.style,Y=t.TransitionComponent,ee=void 0===Y?Ja.ZP:Y,ae=t.timeout,ie=void 0===ae?nn:ae,de=(0,Z.Z)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),le=(0,Ie.Z)(),pe=le.unstable_strictMode&&!u,fe=o.useRef(null),Re=(0,ce.Z)(i.ref,r),ye=(0,ce.Z)(pe?fe:void 0,Re),be=function normalizedTransitionCallback(t){return function(r,i){if(t){var o=pe?[fe.current,r]:[r,i],s=(0,rt.Z)(o,2),u=s[0],R=s[1];void 0===R?t(u):t(u,R)}}},xe=be(_),_e=be((function(t,r){(0,tn.n)(t);var i=(0,tn.C)({style:X,timeout:ie},{mode:"enter"});t.style.webkitTransition=le.transitions.create("opacity",i),t.style.transition=le.transitions.create("opacity",i),m&&m(t,r)})),Se=be(v),we=be($),Pe=be((function(t){var r=(0,tn.C)({style:X,timeout:ie},{mode:"exit"});t.style.webkitTransition=le.transitions.create("opacity",r),t.style.transition=le.transitions.create("opacity",r),q&&q(t)})),Te=be(W);return o.createElement(ee,(0,M.Z)({appear:!0,in:R,nodeRef:pe?fe:void 0,onEnter:_e,onEntered:Se,onEntering:xe,onExit:Pe,onExited:Te,onExiting:we,timeout:ie},de),(function(t,r){return o.cloneElement(i,(0,M.Z)({style:(0,M.Z)({opacity:0,visibility:"exited"!==t||R?void 0:"hidden"},an[t],X,i.props.style),ref:ye},r))}))}));var sn=o.forwardRef((function Backdrop(t,r){var i=t.children,s=t.classes,u=t.className,R=t.invisible,m=void 0!==R&&R,v=t.open,_=t.transitionDuration,W=t.TransitionComponent,$=void 0===W?rn:W,X=(0,Z.Z)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return o.createElement($,(0,M.Z)({in:v,timeout:_},X),o.createElement("div",{className:(0,q.Z)(s.root,u,m&&s.invisible),"aria-hidden":!0,ref:r},i))}));const dn=(0,W.Z)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(sn);var un={enter:en.x9.enteringScreen,exit:en.x9.leavingScreen},cn=o.forwardRef((function Dialog(t,r){var i=t.BackdropProps,s=t.children,u=t.classes,R=t.className,m=t.disableBackdropClick,v=void 0!==m&&m,_=t.disableEscapeKeyDown,W=void 0!==_&&_,X=t.fullScreen,Y=void 0!==X&&X,ee=t.fullWidth,ae=void 0!==ee&&ee,ie=t.maxWidth,de=void 0===ie?"sm":ie,ce=t.onBackdropClick,le=t.onClose,pe=t.onEnter,fe=t.onEntered,Re=t.onEntering,ye=t.onEscapeKeyDown,be=t.onExit,xe=t.onExited,_e=t.onExiting,Se=t.open,we=t.PaperComponent,Pe=void 0===we?Kt.Z:we,Te=t.PaperProps,Ie=void 0===Te?{}:Te,Ve=t.scroll,ze=void 0===Ve?"paper":Ve,He=t.TransitionComponent,qe=void 0===He?rn:He,We=t.transitionDuration,Xe=void 0===We?un:We,Qe=t.TransitionProps,Ye=t["aria-describedby"],et=t["aria-labelledby"],tt=(0,Z.Z)(t,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),nt=o.useRef();return o.createElement(Ka.Z,(0,M.Z)({className:(0,q.Z)(u.root,R),BackdropComponent:dn,BackdropProps:(0,M.Z)({transitionDuration:Xe},i),closeAfterTransition:!0,disableBackdropClick:v,disableEscapeKeyDown:W,onEscapeKeyDown:ye,onClose:le,open:Se,ref:r},tt),o.createElement(qe,(0,M.Z)({appear:!0,in:Se,timeout:Xe,onEnter:pe,onEntering:Re,onEntered:fe,onExit:be,onExiting:_e,onExited:xe,role:"none presentation"},Qe),o.createElement("div",{className:(0,q.Z)(u.container,u["scroll".concat((0,$.Z)(ze))]),onMouseUp:function handleBackdropClick(t){t.target===t.currentTarget&&t.target===nt.current&&(nt.current=null,ce&&ce(t),!v&&le&&le(t,"backdropClick"))},onMouseDown:function handleMouseDown(t){nt.current=t.target}},o.createElement(Pe,(0,M.Z)({elevation:24,role:"dialog","aria-describedby":Ye,"aria-labelledby":et},Ie,{className:(0,q.Z)(u.paper,u["paperScroll".concat((0,$.Z)(ze))],u["paperWidth".concat((0,$.Z)(String(de)))],Ie.className,Y&&u.paperFullScreen,ae&&u.paperFullWidth)}),s))))}));const ln=(0,W.Z)((function styles(t){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(t.breakpoints.values.xs,444),"&$paperScrollBody":(0,Te.Z)({},t.breakpoints.down(Math.max(t.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:t.breakpoints.values.sm,"&$paperScrollBody":(0,Te.Z)({},t.breakpoints.down(t.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:t.breakpoints.values.md,"&$paperScrollBody":(0,Te.Z)({},t.breakpoints.down(t.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:t.breakpoints.values.lg,"&$paperScrollBody":(0,Te.Z)({},t.breakpoints.down(t.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:t.breakpoints.values.xl,"&$paperScrollBody":(0,Te.Z)({},t.breakpoints.down(t.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(cn);var pn=o.forwardRef((function DialogActions(t,r){var i=t.disableSpacing,s=void 0!==i&&i,u=t.classes,R=t.className,m=(0,Z.Z)(t,["disableSpacing","classes","className"]);return o.createElement("div",(0,M.Z)({className:(0,q.Z)(u.root,R,!s&&u.spacing),ref:r},m))}));const gn=(0,W.Z)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(pn);var hn=o.forwardRef((function DialogContent(t,r){var i=t.classes,s=t.className,u=t.dividers,R=void 0!==u&&u,m=(0,Z.Z)(t,["classes","className","dividers"]);return o.createElement("div",(0,M.Z)({className:(0,q.Z)(i.root,s,R&&i.dividers),ref:r},m))}));const Rn=(0,W.Z)((function styles(t){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(t.palette.divider),borderBottom:"1px solid ".concat(t.palette.divider)}}}),{name:"MuiDialogContent"})(hn);var mn=o.forwardRef((function DialogContentText(t,r){return o.createElement(Ca.Z,(0,M.Z)({component:"p",variant:"body1",color:"textSecondary",ref:r},t))}));const yn=(0,W.Z)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(mn);var vn=o.forwardRef((function DialogTitle(t,r){var i=t.children,s=t.classes,u=t.className,R=t.disableTypography,m=void 0!==R&&R,v=(0,Z.Z)(t,["children","classes","className","disableTypography"]);return o.createElement("div",(0,M.Z)({className:(0,q.Z)(s.root,u),ref:r},v),m?i:o.createElement(Ca.Z,{component:"h2",variant:"h6"},i))}));const bn=(0,W.Z)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(vn);var xn=i(73935);function setTranslateValue(t,r){var i=function getTranslateValue(t,r){var i,o=r.getBoundingClientRect();if(r.fakeTransform)i=r.fakeTransform;else{var s=window.getComputedStyle(r);i=s.getPropertyValue("-webkit-transform")||s.getPropertyValue("transform")}var u=0,R=0;if(i&&"none"!==i&&"string"==typeof i){var m=i.split("(")[1].split(")")[0].split(",");u=parseInt(m[4],10),R=parseInt(m[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(u-o.left,"px)"):"right"===t?"translateX(-".concat(o.left+o.width-u,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(R-o.top,"px)"):"translateY(-".concat(o.top+o.height-R,"px)")}(t,r);i&&(r.style.webkitTransform=i,r.style.transform=i)}var En={enter:en.x9.enteringScreen,exit:en.x9.leavingScreen};const Cn=o.forwardRef((function Slide(t,r){var i=t.children,s=t.direction,u=void 0===s?"down":s,R=t.in,m=t.onEnter,v=t.onEntered,_=t.onEntering,q=t.onExit,W=t.onExited,$=t.onExiting,X=t.style,Y=t.timeout,ee=void 0===Y?En:Y,ae=t.TransitionComponent,ie=void 0===ae?Ja.ZP:ae,de=(0,Z.Z)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),pe=(0,Ie.Z)(),fe=o.useRef(null),Re=o.useCallback((function(t){fe.current=xn.findDOMNode(t)}),[]),ye=(0,ce.Z)(i.ref,Re),be=(0,ce.Z)(ye,r),xe=function normalizedTransitionCallback(t){return function(r){t&&(void 0===r?t(fe.current):t(fe.current,r))}},_e=xe((function(t,r){setTranslateValue(u,t),(0,tn.n)(t),m&&m(t,r)})),Se=xe((function(t,r){var i=(0,tn.C)({timeout:ee,style:X},{mode:"enter"});t.style.webkitTransition=pe.transitions.create("-webkit-transform",(0,M.Z)({},i,{easing:pe.transitions.easing.easeOut})),t.style.transition=pe.transitions.create("transform",(0,M.Z)({},i,{easing:pe.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",_&&_(t,r)})),we=xe(v),Pe=xe($),Te=xe((function(t){var r=(0,tn.C)({timeout:ee,style:X},{mode:"exit"});t.style.webkitTransition=pe.transitions.create("-webkit-transform",(0,M.Z)({},r,{easing:pe.transitions.easing.sharp})),t.style.transition=pe.transitions.create("transform",(0,M.Z)({},r,{easing:pe.transitions.easing.sharp})),setTranslateValue(u,t),q&&q(t)})),Ve=xe((function(t){t.style.webkitTransition="",t.style.transition="",W&&W(t)})),ze=o.useCallback((function(){fe.current&&setTranslateValue(u,fe.current)}),[u]);return o.useEffect((function(){if(!R&&"down"!==u&&"right"!==u){var t=(0,le.Z)((function(){fe.current&&setTranslateValue(u,fe.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[u,R]),o.useEffect((function(){R||ze()}),[R,ze]),o.createElement(ie,(0,M.Z)({nodeRef:fe,onEnter:_e,onEntered:we,onEntering:Se,onExit:Te,onExited:Ve,onExiting:Pe,appear:!0,in:R,timeout:ee},de),(function(t,r){return o.cloneElement(i,(0,M.Z)({ref:be,style:(0,M.Z)({visibility:"exited"!==t||R?void 0:"hidden"},X,i.props.style)},r))}))}));var _n=i(85270),Sn=i(5977);function SearchFilterFields_extends(){return(SearchFilterFields_extends=Object.assign||function(t){for(var r=1;r({root:{flexGrow:1},chip:{margin:.5}})));function SearchFilterFields_SearchFilterFields(){const t=(0,Sn.k6)();console.log(t);let r=function useQuery(){return new URLSearchParams((0,Sn.TH)().search)}();const[i,s]=o.useState(!1),u=Dn(),{getSelectedInstitId:R,getSelectedJournalId:m,getSelectedFunderId:v,institList:M,journalList:Z,funderList:q,institId:W,journalId:$,funderId:X,setInstitId:Y,setJournalId:ee,setFunderId:ae,url:de}=(0,o.useContext)(Aa._),[ce,le]=(0,o.useState)([]),[pe,fe]=(0,o.useState)([]),[Re,ye]=(0,o.useState)([]),[be,xe]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(fe("null"),console.log(t),"/check"===t.location.pathname)if(console.log("this an url to check"),fe("fromUrl"),!r.get("institution")||r.get("funder")||r.get("journal"))if(r.get("institution")||r.get("journal")||!r.get("funder"))if(r.get("funder")||r.get("institution")||!r.get("journal")){if(r.get("institution")&&r.get("funder")&&!r.get("journal")){const sendGetInstit=async()=>{try{const t=await(0,va.fn)(r.get("institution"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetFunder=async()=>{try{const t=await(0,ya.ob)(r.get("funder"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchInstitFunder(r.get("institution"),r.get("funder"),1);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetInstit().then(sendGetFunder())),t.push({pathname:"check",search:"institution=".concat(r.get("institution"),"&funder=").concat(r.get("funder"))})}else if(r.get("institution")&&r.get("journal")&&!r.get("funder")){const sendGetInstit=async()=>{try{const t=await(0,va.fn)(r.get("institution"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetJournal=async()=>{try{const t=await(0,fa.$f)(r.get("journal"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchCondi(r.get("journal"),r.get("institution"));console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetInstit().then(sendGetJournal)),t.push({pathname:"check",search:"institution=".concat(r.get("institution"),"&journal=").concat(r.get("journal"))})}else if(!r.get("institution")&&r.get("journal")&&r.get("funder")){const sendGetFunder=async()=>{try{const t=await(0,ya.ob)(r.get("funder"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetJournal=async()=>{try{const t=await(0,fa.$f)(r.get("journal"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchCondi(r.get("journal"),r.get("funder"));console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetFunder().then(sendGetJournal())),t.push({pathname:"check",search:"funder=".concat(r.get("funder"),"&journal=").concat(r.get("journal"))})}else if(r.get("institution")&&r.get("journal")&&r.get("funder")){console.log("main check !");const i=[],sendGetInstit=async()=>{try{const t=await(0,va.fn)(r.get("institution"));console.log(t.data),i.push(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetFunder=async()=>{try{const t=await(0,ya.ob)(r.get("funder"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetJournal=async()=>{try{const t=await(0,fa.$f)(r.get("journal"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchCondi3(r.get("institution"),r.get("journal"),r.get("funder"));console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})(),sendGetInstit().then(sendGetFunder()).then(sendGetJournal()),t.push({pathname:"check",search:"institution=".concat(r.get("institution"),"&funder=").concat(r.get("funder"),"&journal=").concat(r.get("journal"))})}}else{const sendGetrequest=async()=>{try{const t=await(0,fa.$f)(r.get("journal"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchjournalonly(r.get("journal"),2);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetrequest()),t.push({pathname:"check",search:"journal=".concat(r.get("journal"))})}else{const sendGetrequest=async()=>{try{const t=await(0,ya.ob)(r.get("funder"));console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchorganizationonly(r.get("funder"),1);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetrequest()),t.push({pathname:"check",search:"funder=".concat(r.get("funder"))})}else{const sendSearchInstitOnly=async()=>{try{const t=await searchorganizationonly(r.get("institution"),1);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)};console.log(pe);const sendGetrequest=async()=>{try{const t=await(0,va.fn)(r.get("institution"));ye((r=>[...r,t.data]))}catch(t){console.error(t)}};sendSearchInstitOnly().then(sendGetrequest()),t.push({pathname:"check",search:"institution=".concat(r.get("institution"))})}}),[]),o.useEffect((()=>{"/"===t.location.pathname&&(le([]),fe("null"),ye([]))}),[de]);const handleClose=()=>{s(!1)};return console.log("all conditions SET: ".concat(ce)),console.log(pe),console.log("Selected Institution ID: ".concat(W," , Selected Funder: ").concat(X,", Selected Journal ID: ").concat($)),o.createElement(Da.Z,null,o.createElement("div",{className:u.root},o.createElement(ka.Z,{maxWidth:"xl"},o.createElement(wa.Z,{container:!0,spacing:1,direction:"row"},o.createElement("form",{className:u.root,style:{marginTop:"8rem"},noValidate:!0,autoComplete:"on",onSubmit:function handleSubmit(r){if(xe(!0),r.preventDefault(),le([]),fe([]),ye([]),W||$||X||(xe(!1),fe("null")),!W||$||X)if(W||$||!X)if(X||W||!$){if(W&&X&&!$){const sendGetInstit=async()=>{try{const t=await(0,va.fn)(W);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetFunder=async()=>{try{const t=await(0,ya.ob)(X);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchInstitFunder(W,X,1);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetInstit().then(sendGetFunder())),t.push({pathname:"check",search:"institution=".concat(W,"&funder=").concat(X)})}else if(W&&$&&!X){const sendGetInstit=async()=>{try{const t=await(0,va.fn)(W);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetJournal=async()=>{try{const t=await(0,fa.$f)($);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchCondi($,W);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetInstit().then(sendGetJournal)),t.push({pathname:"check",search:"institution=".concat(W,"&journal=").concat($)})}else if(!W&&$&&X){const sendGetFunder=async()=>{try{const t=await(0,ya.ob)(X);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetJournal=async()=>{try{const t=await(0,fa.$f)($);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchCondi($,X);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetJournal().then(sendGetFunder())),t.push({pathname:"check",search:"funder=".concat(X,"&journal=").concat($)})}else if(W&&$&&X){console.log("main check !");const sendGetInstit=async()=>{try{const t=await(0,va.fn)(W);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetFunder=async()=>{try{const t=await(0,ya.ob)(X);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}},sendGetJournal=async()=>{try{const t=await(0,fa.$f)($);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchCondi3(W,$,X);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})(),sendGetInstit().then(sendGetFunder()).then(sendGetJournal()),t.push({pathname:"check",search:"institution=".concat(W,"&funder=").concat(X,"&journal=").concat($)})}}else{const sendGetrequest=async()=>{try{const t=await(0,fa.$f)($);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchjournalonly($,2);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetrequest()),t.push({pathname:"check",search:"journal=".concat($)})}else{const sendGetrequest=async()=>{try{const t=await(0,ya.ob)(X);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};(async()=>{try{const t=await searchorganizationonly(X,1);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)})().then(sendGetrequest()),t.push({pathname:"check",search:"funder=".concat(X)})}else{const sendSearchInstitOnly=async()=>{try{const t=await searchorganizationonly(W,1);console.log(t.data),le((r=>[...r,t.data]))}catch(t){console.error(t)}xe(!1)};console.log(pe);const sendGetrequest=async()=>{try{const t=await(0,va.fn)(W);console.log(t.data),ye((r=>[...r,t.data]))}catch(t){console.error(t)}};sendSearchInstitOnly().then(sendGetrequest()),t.push({pathname:"check",search:"institution=".concat(W)})}},color:"inherit"},o.createElement(ie,{className:"form-input",style:{width:340}},o.createElement(ua,{freeSolo:!0,autoSelect:!0,selectOnFocus:!0,clearOnBlur:!0,id:"institution",options:M.map((t=>t.name)),renderOption:t=>o.createElement("a",{style:{textAlign:"left"}},t),onInputChange:function handleInstit(t,r){r?R(r):Y("")},renderInput:t=>o.createElement(Ct,SearchFilterFields_extends({},t,{label:"Swiss Institutions",value:W,variant:"outlined"}))})),o.createElement(ie,{className:"form-input",style:{width:340}},o.createElement(ua,{freeSolo:!0,id:"funder",options:q.map((t=>t.name)),renderOption:t=>o.createElement("a",{style:{textAlign:"left"}},t),onInputChange:function handleFunder(t,r){console.log(r),r?v(r):ae("")},renderInput:t=>o.createElement(Ct,SearchFilterFields_extends({},t,{label:"Funder",value:X,variant:"outlined"}))})),o.createElement(ie,{className:"form-input",style:{width:340}},o.createElement(ua,{freeSolo:!0,id:"journal",options:Z.map((t=>t.name)),renderOption:t=>o.createElement("a",{style:{textAlign:"left"}},t),onInputChange:function handleJournal(t,r){r?m(r):ee("")},renderInput:t=>o.createElement(Ct,SearchFilterFields_extends({},t,{label:"Journal",value:$,variant:"outlined"}))})),o.createElement(ie,{className:"form-input",style:{width:340}},!be&&o.createElement(_.Z,{className:"App-btn",variant:"contained",type:"submit"},"Check"),be&&o.createElement(_.Z,{className:"App-btn",variant:"contained",type:"submit",disabled:!0},o.createElement(ja,{color:"white"}),"Checking..."))))),o.createElement(ka.Z,{maxWidth:"xl"},function detailsResult(){if(console.log("details: ".concat(pe)),console.log(Re),"null"!==pe)return o.createElement("div",{className:u.root},o.createElement(ba.Z,{style:{marginBottom:"2rem"},defaultExpanded:"true"},o.createElement(xa.Z,{expandIcon:o.createElement(Ea.Z,null),"aria-controls":"panel1a-content",id:"panel1a-header"},o.createElement(Ca.Z,{className:u.heading},o.createElement("p",null,"Selected option(s)"))),o.createElement(ka.Z,{maxWidth:"xl"},o.createElement(wa.Z,{container:!0,spacing:.5,direction:"row"},null==Re?void 0:Re.map((t=>o.createElement(wa.Z,{key:t.id,item:!0},o.createElement(_a.Z,null,o.createElement(Oa.default,{details:t})))))))))}(),function conditionResults(){return o.createElement("div",{className:u.root},null==ce?void 0:ce.map((t=>o.createElement(Fa.default,{result:t}))))}(),"/"===t.location.pathname&&o.createElement(_n.default,null),"/check"===t.location.pathname&&o.createElement(Ha,{onClick:function handlShare(t){s(!0),navigator.clipboard.writeText(de)},color:"primary","aria-label":"add"},o.createElement(Ga.Z,null)),o.createElement(ln,{open:i,TransitionComponent:wn,keepMounted:!0,onClose:handleClose,"aria-labelledby":"alert-dialog-slide-title","aria-describedby":"alert-dialog-slide-description"},o.createElement(bn,{id:"alert-dialog-slide-title"},"Share your Result!"),o.createElement(Rn,null,o.createElement(yn,{id:"alert-dialog-slide-description"},de)),o.createElement(gn,null,o.createElement(_.Z,{onClick:handleClose,color:"primary"},"Copy to clipboard!"))))))}},85270:(t,r,i)=>{"use strict";i.r(r),i.d(r,{default:()=>Welcome});var o=i(67294),s=i(93379),u=i.n(s),R=i(33133),m={insert:"head",singleton:!1};u()(R.Z,m);R.Z.locals;var v=i(43832),_=i(41749),M=i(87748),Z=i(41120),q=i(18463),W=i(51907),$=i(79912),X=i(22318),Y=i(282),ee=i(32466);const ae=(0,Z.Z)((t=>({root:{flexGrow:1}})));function Welcome(){const t=ae();return o.createElement("div",{className:t.root},o.createElement(v.Z,{maxWidth:"xl"},o.createElement(_.Z,{container:!0,spacing:3},o.createElement(_.Z,{item:!0,xs:!0},o.createElement(M.Z,{className:"box"},o.createElement(q.Z,{className:"paper"},o.createElement($.Z,null,o.createElement(X.Z,{gutterBottom:!0},o.createElement("h2",null,"Welcome!")),o.createElement(X.Z,null,o.createElement("p",null,"The OACCT (Open Access Compliance Check Tool) is an online resource, tailored to the Swiss academic community's needs, that gathers the most important information concerning Open-Access publishing."))),o.createElement(W.Z,null,o.createElement(Y.Z,{href:"mailto:publishsupport@epfl.ch?subject=OACCT contact request",color:"inherit",target:"blank",rel:"noopener noreferrer",size:"small"},o.createElement(ee.Z,null),"Contact us"))))),o.createElement(_.Z,{item:!0,xs:!0},o.createElement(M.Z,{className:"box"},o.createElement(q.Z,{className:"paper"},o.createElement($.Z,null,o.createElement(X.Z,{gutterBottom:!0},o.createElement("h2",null,"Mission")),o.createElement(X.Z,null,o.createElement("p",null,"Its principal goal is to guide Swiss researchers in deciding where and how to publish their works in compliance with funders’ and institutional Open Access policies"))),o.createElement(W.Z,null)))),o.createElement(_.Z,{item:!0,xs:!0},o.createElement(M.Z,{className:"box"},o.createElement(q.Z,{className:"paper"},o.createElement($.Z,null,o.createElement(X.Z,{gutterBottom:!0},o.createElement("h2",null,"Where do our data come from?")),o.createElement(X.Z,null,o.createElement("p",null,"OACCT provides a list of journals with information aggregated from several sources on a regular basis:",o.createElement("ul",null,o.createElement("li",null,"Journal ISSNs (source: ISSN International centre)"),o.createElement("li",null,"Publication conditions (source: Sherpa/Romeo)"),o.createElement("li",null,"Swiss institutions from swissuniversities"))))),o.createElement(W.Z,null)))))))}},95100:(t,r,i)=>{"use strict";i.d(r,{Z:()=>s});var o=i(9669);const s=i.n(o)().create({baseURL:"/api/"})},85446:(t,r,i)=>{"use strict";i.d(r,{ob:()=>getFunder});var o=i(95100);const getFunder=t=>o.Z.request({url:"/funder/".concat(t),method:"GET"})},85651:(t,r,i)=>{"use strict";i.d(r,{fn:()=>getInstitution});var o=i(95100);const getInstitution=t=>o.Z.request({url:"/organization/".concat(t),method:"GET"})},26710:(t,r,i)=>{"use strict";i.d(r,{$f:()=>getJournal});var o=i(95100);const getJournal=t=>o.Z.request({url:"/journal/".concat(t),method:"GET"})},2399:(t,r,i)=>{"use strict";const o=i(78776);r.REGULAR=new Map([["d",o().addRange(48,57)],["D",o().addRange(0,47).addRange(58,65535)],["s",o(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",o().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,65535)],["w",o(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",o(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,65535)]]),r.UNICODE=new Map([["d",o().addRange(48,57)],["D",o().addRange(0,47).addRange(58,1114111)],["s",o(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",o().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",o(95).addRange(48,57).addRange(65,90).addRange(97,122)],["W",o(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,1114111)]]),r.UNICODE_IGNORE_CASE=new Map([["d",o().addRange(48,57)],["D",o().addRange(0,47).addRange(58,1114111)],["s",o(32,160,5760,8239,8287,12288,65279).addRange(9,13).addRange(8192,8202).addRange(8232,8233)],["S",o().addRange(0,8).addRange(14,31).addRange(33,159).addRange(161,5759).addRange(5761,8191).addRange(8203,8231).addRange(8234,8238).addRange(8240,8286).addRange(8288,12287).addRange(12289,65278).addRange(65280,1114111)],["w",o(95,383,8490).addRange(48,57).addRange(65,90).addRange(97,122)],["W",o(96).addRange(0,47).addRange(58,64).addRange(91,94).addRange(123,382).addRange(384,8489).addRange(8491,1114111)]])},23955:t=>{t.exports=new Map([[75,8490],[83,383],[107,8490],[115,383],[181,924],[197,8491],[223,7838],[229,8491],[383,83],[452,453],[453,452],[455,456],[456,455],[458,459],[459,458],[497,498],[498,497],[618,42926],[642,42949],[669,42930],[837,8126],[914,976],[917,1013],[920,1012],[921,8126],[922,1008],[924,181],[928,982],[929,1009],[931,962],[934,981],[937,8486],[952,1012],[962,931],[969,8486],[976,914],[977,1012],[981,934],[982,928],[1008,922],[1009,929],[1012,[920,977,952]],[1013,917],[1042,7296],[1044,7297],[1054,7298],[1057,7299],[1058,7301],[1066,7302],[1074,7296],[1076,7297],[1086,7298],[1089,7299],[1090,[7300,7301]],[1098,7302],[1122,7303],[1123,7303],[4304,7312],[4305,7313],[4306,7314],[4307,7315],[4308,7316],[4309,7317],[4310,7318],[4311,7319],[4312,7320],[4313,7321],[4314,7322],[4315,7323],[4316,7324],[4317,7325],[4318,7326],[4319,7327],[4320,7328],[4321,7329],[4322,7330],[4323,7331],[4324,7332],[4325,7333],[4326,7334],[4327,7335],[4328,7336],[4329,7337],[4330,7338],[4331,7339],[4332,7340],[4333,7341],[4334,7342],[4335,7343],[4336,7344],[4337,7345],[4338,7346],[4339,7347],[4340,7348],[4341,7349],[4342,7350],[4343,7351],[4344,7352],[4345,7353],[4346,7354],[4349,7357],[4350,7358],[4351,7359],[5024,43888],[5025,43889],[5026,43890],[5027,43891],[5028,43892],[5029,43893],[5030,43894],[5031,43895],[5032,43896],[5033,43897],[5034,43898],[5035,43899],[5036,43900],[5037,43901],[5038,43902],[5039,43903],[5040,43904],[5041,43905],[5042,43906],[5043,43907],[5044,43908],[5045,43909],[5046,43910],[5047,43911],[5048,43912],[5049,43913],[5050,43914],[5051,43915],[5052,43916],[5053,43917],[5054,43918],[5055,43919],[5056,43920],[5057,43921],[5058,43922],[5059,43923],[5060,43924],[5061,43925],[5062,43926],[5063,43927],[5064,43928],[5065,43929],[5066,43930],[5067,43931],[5068,43932],[5069,43933],[5070,43934],[5071,43935],[5072,43936],[5073,43937],[5074,43938],[5075,43939],[5076,43940],[5077,43941],[5078,43942],[5079,43943],[5080,43944],[5081,43945],[5082,43946],[5083,43947],[5084,43948],[5085,43949],[5086,43950],[5087,43951],[5088,43952],[5089,43953],[5090,43954],[5091,43955],[5092,43956],[5093,43957],[5094,43958],[5095,43959],[5096,43960],[5097,43961],[5098,43962],[5099,43963],[5100,43964],[5101,43965],[5102,43966],[5103,43967],[5104,5112],[5105,5113],[5106,5114],[5107,5115],[5108,5116],[5109,5117],[5112,5104],[5113,5105],[5114,5106],[5115,5107],[5116,5108],[5117,5109],[7296,[1042,1074]],[7297,[1044,1076]],[7298,[1054,1086]],[7299,[1057,1089]],[7300,[7301,1090]],[7301,[1058,7300,1090]],[7302,[1066,1098]],[7303,[1122,1123]],[7304,[42570,42571]],[7312,4304],[7313,4305],[7314,4306],[7315,4307],[7316,4308],[7317,4309],[7318,4310],[7319,4311],[7320,4312],[7321,4313],[7322,4314],[7323,4315],[7324,4316],[7325,4317],[7326,4318],[7327,4319],[7328,4320],[7329,4321],[7330,4322],[7331,4323],[7332,4324],[7333,4325],[7334,4326],[7335,4327],[7336,4328],[7337,4329],[7338,4330],[7339,4331],[7340,4332],[7341,4333],[7342,4334],[7343,4335],[7344,4336],[7345,4337],[7346,4338],[7347,4339],[7348,4340],[7349,4341],[7350,4342],[7351,4343],[7352,4344],[7353,4345],[7354,4346],[7357,4349],[7358,4350],[7359,4351],[7566,42950],[7776,7835],[7835,7776],[7838,223],[8064,8072],[8065,8073],[8066,8074],[8067,8075],[8068,8076],[8069,8077],[8070,8078],[8071,8079],[8072,8064],[8073,8065],[8074,8066],[8075,8067],[8076,8068],[8077,8069],[8078,8070],[8079,8071],[8080,8088],[8081,8089],[8082,8090],[8083,8091],[8084,8092],[8085,8093],[8086,8094],[8087,8095],[8088,8080],[8089,8081],[8090,8082],[8091,8083],[8092,8084],[8093,8085],[8094,8086],[8095,8087],[8096,8104],[8097,8105],[8098,8106],[8099,8107],[8100,8108],[8101,8109],[8102,8110],[8103,8111],[8104,8096],[8105,8097],[8106,8098],[8107,8099],[8108,8100],[8109,8101],[8110,8102],[8111,8103],[8115,8124],[8124,8115],[8126,[837,921]],[8131,8140],[8140,8131],[8179,8188],[8188,8179],[8486,[937,969]],[8490,75],[8491,[197,229]],[42570,7304],[42571,7304],[42900,42948],[42926,618],[42930,669],[42931,43859],[42932,42933],[42933,42932],[42934,42935],[42935,42934],[42936,42937],[42937,42936],[42938,42939],[42939,42938],[42940,42941],[42941,42940],[42942,42943],[42943,42942],[42946,42947],[42947,42946],[42948,42900],[42949,642],[42950,7566],[43859,42931],[43888,5024],[43889,5025],[43890,5026],[43891,5027],[43892,5028],[43893,5029],[43894,5030],[43895,5031],[43896,5032],[43897,5033],[43898,5034],[43899,5035],[43900,5036],[43901,5037],[43902,5038],[43903,5039],[43904,5040],[43905,5041],[43906,5042],[43907,5043],[43908,5044],[43909,5045],[43910,5046],[43911,5047],[43912,5048],[43913,5049],[43914,5050],[43915,5051],[43916,5052],[43917,5053],[43918,5054],[43919,5055],[43920,5056],[43921,5057],[43922,5058],[43923,5059],[43924,5060],[43925,5061],[43926,5062],[43927,5063],[43928,5064],[43929,5065],[43930,5066],[43931,5067],[43932,5068],[43933,5069],[43934,5070],[43935,5071],[43936,5072],[43937,5073],[43938,5074],[43939,5075],[43940,5076],[43941,5077],[43942,5078],[43943,5079],[43944,5080],[43945,5081],[43946,5082],[43947,5083],[43948,5084],[43949,5085],[43950,5086],[43951,5087],[43952,5088],[43953,5089],[43954,5090],[43955,5091],[43956,5092],[43957,5093],[43958,5094],[43959,5095],[43960,5096],[43961,5097],[43962,5098],[43963,5099],[43964,5100],[43965,5101],[43966,5102],[43967,5103],[66560,66600],[66561,66601],[66562,66602],[66563,66603],[66564,66604],[66565,66605],[66566,66606],[66567,66607],[66568,66608],[66569,66609],[66570,66610],[66571,66611],[66572,66612],[66573,66613],[66574,66614],[66575,66615],[66576,66616],[66577,66617],[66578,66618],[66579,66619],[66580,66620],[66581,66621],[66582,66622],[66583,66623],[66584,66624],[66585,66625],[66586,66626],[66587,66627],[66588,66628],[66589,66629],[66590,66630],[66591,66631],[66592,66632],[66593,66633],[66594,66634],[66595,66635],[66596,66636],[66597,66637],[66598,66638],[66599,66639],[66600,66560],[66601,66561],[66602,66562],[66603,66563],[66604,66564],[66605,66565],[66606,66566],[66607,66567],[66608,66568],[66609,66569],[66610,66570],[66611,66571],[66612,66572],[66613,66573],[66614,66574],[66615,66575],[66616,66576],[66617,66577],[66618,66578],[66619,66579],[66620,66580],[66621,66581],[66622,66582],[66623,66583],[66624,66584],[66625,66585],[66626,66586],[66627,66587],[66628,66588],[66629,66589],[66630,66590],[66631,66591],[66632,66592],[66633,66593],[66634,66594],[66635,66595],[66636,66596],[66637,66597],[66638,66598],[66639,66599],[66736,66776],[66737,66777],[66738,66778],[66739,66779],[66740,66780],[66741,66781],[66742,66782],[66743,66783],[66744,66784],[66745,66785],[66746,66786],[66747,66787],[66748,66788],[66749,66789],[66750,66790],[66751,66791],[66752,66792],[66753,66793],[66754,66794],[66755,66795],[66756,66796],[66757,66797],[66758,66798],[66759,66799],[66760,66800],[66761,66801],[66762,66802],[66763,66803],[66764,66804],[66765,66805],[66766,66806],[66767,66807],[66768,66808],[66769,66809],[66770,66810],[66771,66811],[66776,66736],[66777,66737],[66778,66738],[66779,66739],[66780,66740],[66781,66741],[66782,66742],[66783,66743],[66784,66744],[66785,66745],[66786,66746],[66787,66747],[66788,66748],[66789,66749],[66790,66750],[66791,66751],[66792,66752],[66793,66753],[66794,66754],[66795,66755],[66796,66756],[66797,66757],[66798,66758],[66799,66759],[66800,66760],[66801,66761],[66802,66762],[66803,66763],[66804,66764],[66805,66765],[66806,66766],[66807,66767],[66808,66768],[66809,66769],[66810,66770],[66811,66771],[68736,68800],[68737,68801],[68738,68802],[68739,68803],[68740,68804],[68741,68805],[68742,68806],[68743,68807],[68744,68808],[68745,68809],[68746,68810],[68747,68811],[68748,68812],[68749,68813],[68750,68814],[68751,68815],[68752,68816],[68753,68817],[68754,68818],[68755,68819],[68756,68820],[68757,68821],[68758,68822],[68759,68823],[68760,68824],[68761,68825],[68762,68826],[68763,68827],[68764,68828],[68765,68829],[68766,68830],[68767,68831],[68768,68832],[68769,68833],[68770,68834],[68771,68835],[68772,68836],[68773,68837],[68774,68838],[68775,68839],[68776,68840],[68777,68841],[68778,68842],[68779,68843],[68780,68844],[68781,68845],[68782,68846],[68783,68847],[68784,68848],[68785,68849],[68786,68850],[68800,68736],[68801,68737],[68802,68738],[68803,68739],[68804,68740],[68805,68741],[68806,68742],[68807,68743],[68808,68744],[68809,68745],[68810,68746],[68811,68747],[68812,68748],[68813,68749],[68814,68750],[68815,68751],[68816,68752],[68817,68753],[68818,68754],[68819,68755],[68820,68756],[68821,68757],[68822,68758],[68823,68759],[68824,68760],[68825,68761],[68826,68762],[68827,68763],[68828,68764],[68829,68765],[68830,68766],[68831,68767],[68832,68768],[68833,68769],[68834,68770],[68835,68771],[68836,68772],[68837,68773],[68838,68774],[68839,68775],[68840,68776],[68841,68777],[68842,68778],[68843,68779],[68844,68780],[68845,68781],[68846,68782],[68847,68783],[68848,68784],[68849,68785],[68850,68786],[71840,71872],[71841,71873],[71842,71874],[71843,71875],[71844,71876],[71845,71877],[71846,71878],[71847,71879],[71848,71880],[71849,71881],[71850,71882],[71851,71883],[71852,71884],[71853,71885],[71854,71886],[71855,71887],[71856,71888],[71857,71889],[71858,71890],[71859,71891],[71860,71892],[71861,71893],[71862,71894],[71863,71895],[71864,71896],[71865,71897],[71866,71898],[71867,71899],[71868,71900],[71869,71901],[71870,71902],[71871,71903],[71872,71840],[71873,71841],[71874,71842],[71875,71843],[71876,71844],[71877,71845],[71878,71846],[71879,71847],[71880,71848],[71881,71849],[71882,71850],[71883,71851],[71884,71852],[71885,71853],[71886,71854],[71887,71855],[71888,71856],[71889,71857],[71890,71858],[71891,71859],[71892,71860],[71893,71861],[71894,71862],[71895,71863],[71896,71864],[71897,71865],[71898,71866],[71899,71867],[71900,71868],[71901,71869],[71902,71870],[71903,71871],[93760,93792],[93761,93793],[93762,93794],[93763,93795],[93764,93796],[93765,93797],[93766,93798],[93767,93799],[93768,93800],[93769,93801],[93770,93802],[93771,93803],[93772,93804],[93773,93805],[93774,93806],[93775,93807],[93776,93808],[93777,93809],[93778,93810],[93779,93811],[93780,93812],[93781,93813],[93782,93814],[93783,93815],[93784,93816],[93785,93817],[93786,93818],[93787,93819],[93788,93820],[93789,93821],[93790,93822],[93791,93823],[93792,93760],[93793,93761],[93794,93762],[93795,93763],[93796,93764],[93797,93765],[93798,93766],[93799,93767],[93800,93768],[93801,93769],[93802,93770],[93803,93771],[93804,93772],[93805,93773],[93806,93774],[93807,93775],[93808,93776],[93809,93777],[93810,93778],[93811,93779],[93812,93780],[93813,93781],[93814,93782],[93815,93783],[93816,93784],[93817,93785],[93818,93786],[93819,93787],[93820,93788],[93821,93789],[93822,93790],[93823,93791],[125184,125218],[125185,125219],[125186,125220],[125187,125221],[125188,125222],[125189,125223],[125190,125224],[125191,125225],[125192,125226],[125193,125227],[125194,125228],[125195,125229],[125196,125230],[125197,125231],[125198,125232],[125199,125233],[125200,125234],[125201,125235],[125202,125236],[125203,125237],[125204,125238],[125205,125239],[125206,125240],[125207,125241],[125208,125242],[125209,125243],[125210,125244],[125211,125245],[125212,125246],[125213,125247],[125214,125248],[125215,125249],[125216,125250],[125217,125251],[125218,125184],[125219,125185],[125220,125186],[125221,125187],[125222,125188],[125223,125189],[125224,125190],[125225,125191],[125226,125192],[125227,125193],[125228,125194],[125229,125195],[125230,125196],[125231,125197],[125232,125198],[125233,125199],[125234,125200],[125235,125201],[125236,125202],[125237,125203],[125238,125204],[125239,125205],[125240,125206],[125241,125207],[125242,125208],[125243,125209],[125244,125210],[125245,125211],[125246,125212],[125247,125213],[125248,125214],[125249,125215],[125250,125216],[125251,125217]])},78854:(t,r,i)=>{"use strict";const o=i(23161).generate,s=i(89077).parse,u=i(78776),R=i(48710),m=i(73276),v=i(23955),_=i(2399),M=u().addRange(0,1114111),Z=u().addRange(0,65535),q=M.clone().remove(10,13,8232,8233),W=q.clone().intersection(Z),getCharacterClassEscapeSet=(t,r,i)=>r?i?_.UNICODE_IGNORE_CASE.get(t):_.UNICODE.get(t):_.REGULAR.get(t),getUnicodePropertyValueSet=(t,r)=>{const o=r?`${t}/${r}`:`Binary_Property/${t}`;try{return i(14640)(`./${o}.js`)}catch(i){throw new Error(`Failed to recognize value \`${r}\` for property \`${t}\`.`)}},getUnicodePropertyEscapeSet=(t,r)=>{const i=t.split("="),o=i[0];let s;if(1==i.length)s=(t=>{try{const r="General_Category",i=m(r,t);return getUnicodePropertyValueSet(r,i)}catch(t){}const r=R(t);return getUnicodePropertyValueSet(r)})(o);else{const t=R(o),r=m(t,i[1]);s=getUnicodePropertyValueSet(t,r)}return r?M.clone().remove(s):s.clone()};u.prototype.iuAddRange=function(t,r){const i=this;do{const r=caseFold(t);r&&i.add(r)}while(++t<=r);return i};const update=(t,r)=>{let i=s(r,$.useUnicodeFlag?"u":"");switch(i.type){case"characterClass":case"group":case"value":break;default:i=wrap(i,r)}Object.assign(t,i)},wrap=(t,r)=>({type:"group",behavior:"ignore",body:[t],raw:`(?:${r})`}),caseFold=t=>v.get(t)||!1,updateNamedReference=(t,r)=>{delete t.name,t.matchIndex=r},processTerm=(t,r,i)=>{switch(t.type){case"dot":update(t,(o=$.unicode,s=$.dotAll,s?o?M:Z:o?q:W).toString(r));break;case"characterClass":t=((t,r)=>{let i=u();for(const r of t.body)switch(r.type){case"value":if(i.add(r.codePoint),$.ignoreCase&&$.unicode&&!$.useUnicodeFlag){const t=caseFold(r.codePoint);t&&i.add(t)}break;case"characterClassRange":const t=r.min.codePoint,o=r.max.codePoint;i.addRange(t,o),$.ignoreCase&&$.unicode&&!$.useUnicodeFlag&&i.iuAddRange(t,o);break;case"characterClassEscape":i.add(getCharacterClassEscapeSet(r.value,$.unicode,$.ignoreCase));break;case"unicodePropertyEscape":i.add(getUnicodePropertyEscapeSet(r.value,r.negative));break;default:throw new Error(`Unknown term type: ${r.type}`)}return t.negative&&(i=($.unicode?M:Z).clone().remove(i)),update(t,i.toString(r)),t})(t,r);break;case"unicodePropertyEscape":update(t,getUnicodePropertyEscapeSet(t.value,t.negative).toString(r));break;case"characterClassEscape":update(t,getCharacterClassEscapeSet(t.value,$.unicode,$.ignoreCase).toString(r));break;case"group":if(i.lastIndex++,t.name){const r=t.name.value;if(i.names[r])throw new Error(`Multiple groups with the same name (${r}) are not allowed.`);const o=i.lastIndex;delete t.name,i.names[r]=o,i.onNamedGroup&&i.onNamedGroup.call(null,r,o),i.unmatchedReferences[r]&&(i.unmatchedReferences[r].forEach((t=>{updateNamedReference(t,o)})),delete i.unmatchedReferences[r])}case"alternative":case"disjunction":case"quantifier":t.body=t.body.map((t=>processTerm(t,r,i)));break;case"value":const R=t.codePoint,m=u(R);if($.ignoreCase&&$.unicode&&!$.useUnicodeFlag){const t=caseFold(R);t&&m.add(t)}update(t,m.toString(r));break;case"reference":if(t.name){const r=t.name.value,o=i.names[r];if(o){updateNamedReference(t,o);break}i.unmatchedReferences[r]||(i.unmatchedReferences[r]=[]),i.unmatchedReferences[r].push(t)}break;case"anchor":case"empty":case"group":break;default:throw new Error(`Unknown term type: ${t.type}`)}var o,s;return t},$={ignoreCase:!1,unicode:!1,dotAll:!1,useUnicodeFlag:!1};t.exports=(t,r,i)=>{const u={unicodePropertyEscape:i&&i.unicodePropertyEscape,namedGroups:i&&i.namedGroup,lookbehind:i&&i.lookbehind};$.ignoreCase=r&&r.includes("i"),$.unicode=r&&r.includes("u");const R=i&&i.dotAllFlag;$.dotAll=R&&r&&r.includes("s"),$.useUnicodeFlag=i&&i.useUnicodeFlag;const m={hasUnicodeFlag:$.useUnicodeFlag,bmpOnly:!$.unicode},v={onNamedGroup:i&&i.onNamedGroup,lastIndex:0,names:Object.create(null),unmatchedReferences:Object.create(null)},_=s(t,r,u);return processTerm(_,m,v),(t=>{const r=Object.keys(t.unmatchedReferences);if(r.length>0)throw new Error(`Unknown group names: ${r}`)})(v),o(_)}},66485:t=>{t.exports=function clipboardCopy(t){if(navigator.clipboard)return navigator.clipboard.writeText(t).catch((function(t){throw void 0!==t?t:new DOMException("The request is not allowed","NotAllowedError")}));var r=document.createElement("span");r.textContent=t,r.style.whiteSpace="pre",r.style.webkitUserSelect="auto",r.style.userSelect="all",document.body.appendChild(r);var i=window.getSelection(),o=window.document.createRange();i.removeAllRanges(),o.selectNode(r),i.addRange(o);var s=!1;try{s=window.document.execCommand("copy")}catch(t){console.log("error",t)}return i.removeAllRanges(),window.document.body.removeChild(r),s?Promise.resolve():Promise.reject(new DOMException("The request is not allowed","NotAllowedError"))}},86010:(t,r,i)=>{"use strict";function toVal(t){var r,i,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(r=0;r__WEBPACK_DEFAULT_EXPORT__})},13099:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},96077:(t,r,i)=>{var o=i(70111);t.exports=function(t){if(!o(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},31530:(t,r,i)=>{"use strict";var o=i(28710).charAt;t.exports=function(t,r,i){return r+(i?o(t,r).length:1)}},19670:(t,r,i)=>{var o=i(70111);t.exports=function(t){if(!o(t))throw TypeError(String(t)+" is not an object");return t}},18533:(t,r,i)=>{"use strict";var o=i(42092).forEach,s=i(9341)("forEach");t.exports=s?[].forEach:function forEach(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}},41318:(t,r,i)=>{var o=i(45656),s=i(17466),u=i(51400),createMethod=function(t){return function(r,i,R){var m,v=o(r),_=s(v.length),M=u(R,_);if(t&&i!=i){for(;_>M;)if((m=v[M++])!=m)return!0}else for(;_>M;M++)if((t||M in v)&&v[M]===i)return t||M||0;return!t&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},42092:(t,r,i)=>{var o=i(49974),s=i(68361),u=i(47908),R=i(17466),m=i(65417),v=[].push,createMethod=function(t){var r=1==t,i=2==t,_=3==t,M=4==t,Z=6==t,q=7==t,W=5==t||Z;return function($,X,Y,ee){for(var ae,ie,de=u($),ce=s(de),le=o(X,Y,3),pe=R(ce.length),fe=0,Re=ee||m,ye=r?Re($,pe):i||q?Re($,0):void 0;pe>fe;fe++)if((W||fe in ce)&&(ie=le(ae=ce[fe],fe,de),t))if(r)ye[fe]=ie;else if(ie)switch(t){case 3:return!0;case 5:return ae;case 6:return fe;case 2:v.call(ye,ae)}else switch(t){case 4:return!1;case 7:v.call(ye,ae)}return Z?-1:_||M?M:ye}};t.exports={forEach:createMethod(0),map:createMethod(1),filter:createMethod(2),some:createMethod(3),every:createMethod(4),find:createMethod(5),findIndex:createMethod(6),filterOut:createMethod(7)}},81194:(t,r,i)=>{var o=i(47293),s=i(5112),u=i(7392),R=s("species");t.exports=function(t){return u>=51||!o((function(){var r=[];return(r.constructor={})[R]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},9341:(t,r,i)=>{"use strict";var o=i(47293);t.exports=function(t,r){var i=[][t];return!!i&&o((function(){i.call(null,r||function(){throw 1},1)}))}},65417:(t,r,i)=>{var o=i(70111),s=i(43157),u=i(5112)("species");t.exports=function(t,r){var i;return s(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!s(i.prototype)?o(i)&&null===(i=i[u])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===r?0:r)}},84326:t=>{var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},70648:(t,r,i)=>{var o=i(51694),s=i(84326),u=i(5112)("toStringTag"),R="Arguments"==s(function(){return arguments}());t.exports=o?s:function(t){var r,i,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),u))?i:R?s(r):"Object"==(o=s(r))&&"function"==typeof r.callee?"Arguments":o}},99920:(t,r,i)=>{var o=i(86656),s=i(53887),u=i(31236),R=i(3070);t.exports=function(t,r){for(var i=s(r),m=R.f,v=u.f,_=0;_{var o=i(47293);t.exports=!o((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},14230:(t,r,i)=>{var o=i(84488),s=/"/g;t.exports=function(t,r,i,u){var R=String(o(t)),m="<"+r;return""!==i&&(m+=" "+i+'="'+String(u).replace(s,""")+'"'),m+">"+R+""}},68880:(t,r,i)=>{var o=i(19781),s=i(3070),u=i(79114);t.exports=o?function(t,r,i){return s.f(t,r,u(1,i))}:function(t,r,i){return t[r]=i,t}},79114:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},86135:(t,r,i)=>{"use strict";var o=i(57593),s=i(3070),u=i(79114);t.exports=function(t,r,i){var R=o(r);R in t?s.f(t,R,u(0,i)):t[R]=i}},97235:(t,r,i)=>{var o=i(40857),s=i(86656),u=i(6061),R=i(3070).f;t.exports=function(t){var r=o.Symbol||(o.Symbol={});s(r,t)||R(r,t,{value:u.f(t)})}},19781:(t,r,i)=>{var o=i(47293);t.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:(t,r,i)=>{var o=i(17854),s=i(70111),u=o.document,R=s(u)&&s(u.createElement);t.exports=function(t){return R?u.createElement(t):{}}},48324:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},88113:(t,r,i)=>{var o=i(35005);t.exports=o("navigator","userAgent")||""},7392:(t,r,i)=>{var o,s,u=i(17854),R=i(88113),m=u.process,v=m&&m.versions,_=v&&v.v8;_?s=(o=_.split("."))[0]+o[1]:R&&(!(o=R.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=R.match(/Chrome\/(\d+)/))&&(s=o[1]),t.exports=s&&+s},80748:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:(t,r,i)=>{var o=i(17854),s=i(31236).f,u=i(68880),R=i(31320),m=i(83505),v=i(99920),_=i(54705);t.exports=function(t,r){var i,M,Z,q,W,$=t.target,X=t.global,Y=t.stat;if(i=X?o:Y?o[$]||m($,{}):(o[$]||{}).prototype)for(M in r){if(q=r[M],Z=t.noTargetGet?(W=s(i,M))&&W.value:i[M],!_(X?M:$+(Y?".":"#")+M,t.forced)&&void 0!==Z){if(typeof q==typeof Z)continue;v(q,Z)}(t.sham||Z&&Z.sham)&&u(q,"sham",!0),R(i,M,q,t)}}},47293:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},27007:(t,r,i)=>{"use strict";i(74916);var o=i(31320),s=i(47293),u=i(5112),R=i(22261),m=i(68880),v=u("species"),_=!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),M="$0"==="a".replace(/./,"$0"),Z=u("replace"),q=!!/./[Z]&&""===/./[Z]("a","$0"),W=!s((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));t.exports=function(t,r,i,Z){var $=u(t),X=!s((function(){var r={};return r[$]=function(){return 7},7!=""[t](r)})),Y=X&&!s((function(){var r=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[v]=function(){return i},i.flags="",i[$]=/./[$]),i.exec=function(){return r=!0,null},i[$](""),!r}));if(!X||!Y||"replace"===t&&(!_||!M||q)||"split"===t&&!W){var ee=/./[$],ae=i($,""[t],(function(t,r,i,o,s){return r.exec===R?X&&!s?{done:!0,value:ee.call(r,i,o)}:{done:!0,value:t.call(i,r,o)}:{done:!1}}),{REPLACE_KEEPS_$0:M,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:q}),ie=ae[0],de=ae[1];o(String.prototype,t,ie),o(RegExp.prototype,$,2==r?function(t,r){return de.call(t,this,r)}:function(t){return de.call(t,this)})}Z&&m(RegExp.prototype[$],"sham",!0)}},76677:(t,r,i)=>{var o=i(47293);t.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},49974:(t,r,i)=>{var o=i(13099);t.exports=function(t,r,i){if(o(t),void 0===r)return t;switch(i){case 0:return function(){return t.call(r)};case 1:return function(i){return t.call(r,i)};case 2:return function(i,o){return t.call(r,i,o)};case 3:return function(i,o,s){return t.call(r,i,o,s)}}return function(){return t.apply(r,arguments)}}},27065:(t,r,i)=>{"use strict";var o=i(13099),s=i(70111),u=[].slice,R={},construct=function(t,r,i){if(!(r in R)){for(var o=[],s=0;s{var o=i(40857),s=i(17854),aFunction=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?aFunction(o[t])||aFunction(s[t]):o[t]&&o[t][r]||s[t]&&s[t][r]}},10647:(t,r,i)=>{var o=i(47908),s=Math.floor,u="".replace,R=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;t.exports=function(t,r,i,v,_,M){var Z=i+t.length,q=v.length,W=m;return void 0!==_&&(_=o(_),W=R),u.call(M,W,(function(o,u){var R;switch(u.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,i);case"'":return r.slice(Z);case"<":R=_[u.slice(1,-1)];break;default:var m=+u;if(0===m)return o;if(m>q){var M=s(m/10);return 0===M?o:M<=q?void 0===v[M-1]?u.charAt(1):v[M-1]+u.charAt(1):o}R=v[m-1]}return void 0===R?"":R}))}},17854:(t,r,i)=>{var check=function(t){return t&&t.Math==Math&&t};t.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},86656:t=>{var r={}.hasOwnProperty;t.exports=function(t,i){return r.call(t,i)}},3501:t=>{t.exports={}},60490:(t,r,i)=>{var o=i(35005);t.exports=o("document","documentElement")},64664:(t,r,i)=>{var o=i(19781),s=i(47293),u=i(80317);t.exports=!o&&!s((function(){return 7!=Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a}))},68361:(t,r,i)=>{var o=i(47293),s=i(84326),u="".split;t.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==s(t)?u.call(t,""):Object(t)}:Object},79587:(t,r,i)=>{var o=i(70111),s=i(27674);t.exports=function(t,r,i){var u,R;return s&&"function"==typeof(u=r.constructor)&&u!==i&&o(R=u.prototype)&&R!==i.prototype&&s(t,R),t}},42788:(t,r,i)=>{var o=i(5465),s=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(t){return s.call(t)}),t.exports=o.inspectSource},62423:(t,r,i)=>{var o=i(3501),s=i(70111),u=i(86656),R=i(3070).f,m=i(69711),v=i(76677),_=m("meta"),M=0,Z=Object.isExtensible||function(){return!0},setMetadata=function(t){R(t,_,{value:{objectID:"O"+ ++M,weakData:{}}})},q=t.exports={REQUIRED:!1,fastKey:function(t,r){if(!s(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!u(t,_)){if(!Z(t))return"F";if(!r)return"E";setMetadata(t)}return t[_].objectID},getWeakData:function(t,r){if(!u(t,_)){if(!Z(t))return!0;if(!r)return!1;setMetadata(t)}return t[_].weakData},onFreeze:function(t){return v&&q.REQUIRED&&Z(t)&&!u(t,_)&&setMetadata(t),t}};o[_]=!0},29909:(t,r,i)=>{var o,s,u,R=i(68536),m=i(17854),v=i(70111),_=i(68880),M=i(86656),Z=i(5465),q=i(6200),W=i(3501),$=m.WeakMap;if(R){var X=Z.state||(Z.state=new $),Y=X.get,ee=X.has,ae=X.set;o=function(t,r){return r.facade=t,ae.call(X,t,r),r},s=function(t){return Y.call(X,t)||{}},u=function(t){return ee.call(X,t)}}else{var ie=q("state");W[ie]=!0,o=function(t,r){return r.facade=t,_(t,ie,r),r},s=function(t){return M(t,ie)?t[ie]:{}},u=function(t){return M(t,ie)}}t.exports={set:o,get:s,has:u,enforce:function(t){return u(t)?s(t):o(t,{})},getterFor:function(t){return function(r){var i;if(!v(r)||(i=s(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}}},43157:(t,r,i)=>{var o=i(84326);t.exports=Array.isArray||function isArray(t){return"Array"==o(t)}},54705:(t,r,i)=>{var o=i(47293),s=/#|\.prototype\./,isForced=function(t,r){var i=R[u(t)];return i==v||i!=m&&("function"==typeof r?o(r):!!r)},u=isForced.normalize=function(t){return String(t).replace(s,".").toLowerCase()},R=isForced.data={},m=isForced.NATIVE="N",v=isForced.POLYFILL="P";t.exports=isForced},70111:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},31913:t=>{t.exports=!1},47850:(t,r,i)=>{var o=i(70111),s=i(84326),u=i(5112)("match");t.exports=function(t){var r;return o(t)&&(void 0!==(r=t[u])?!!r:"RegExp"==s(t))}},30133:(t,r,i)=>{var o=i(47293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},68536:(t,r,i)=>{var o=i(17854),s=i(42788),u=o.WeakMap;t.exports="function"==typeof u&&/native code/.test(s(u))},21574:(t,r,i)=>{"use strict";var o=i(19781),s=i(47293),u=i(81956),R=i(25181),m=i(55296),v=i(47908),_=i(68361),M=Object.assign,Z=Object.defineProperty;t.exports=!M||s((function(){if(o&&1!==M({b:1},M(Z({},"a",{enumerable:!0,get:function(){Z(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},r={},i=Symbol(),s="abcdefghijklmnopqrst";return t[i]=7,s.split("").forEach((function(t){r[t]=t})),7!=M({},t)[i]||u(M({},r)).join("")!=s}))?function assign(t,r){for(var i=v(t),s=arguments.length,M=1,Z=R.f,q=m.f;s>M;)for(var W,$=_(arguments[M++]),X=Z?u($).concat(Z($)):u($),Y=X.length,ee=0;Y>ee;)W=X[ee++],o&&!q.call($,W)||(i[W]=$[W]);return i}:M},70030:(t,r,i)=>{var o,s=i(19670),u=i(36048),R=i(80748),m=i(3501),v=i(60490),_=i(80317),M=i(6200),Z=M("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(t){return" - - \ No newline at end of file