UNPKG

@material-ui/core

Version:

React components that implement Google's Material Design.

22 lines 326 kB
/** @license Material-UI v4.10.0 * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],t):t((e=e||self).MaterialUI={},e.React,e.ReactDOM)}(this,(function(e,t,n){"use strict";var r="default"in t?t.default:t,o="default"in n?n.default:n,i={black:"#000",white:"#fff"},a={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"},l={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"},s={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"},c={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"},d={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"},u={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"},p={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"},f=Object.freeze({__proto__:null,common:i,red:a,pink:l,purple:{50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},deepPurple:{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"},indigo:s,blue:c,lightBlue:{50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5"},green:d,lightGreen:{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00"},orange:u,deepOrange:{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037"},grey:p,blueGrey:{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64"}}),m="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},h=m.performance||{};h.now||h.mozNow||h.msNow||h.oNow||h.webkitNow;function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function g(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}function b(e){var t=(e=y(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),x({type:l,values:s})}function y(e){if(e.type)return e;if("#"===e.charAt(0))return y(g(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: Unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function x(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function w(e,t){var n=E(e),r=E(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function E(e){var t="hsl"===(e=y(e)).type?y(b(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return E(e)>.5?S(e,t):R(e,t)}function C(e,t){return e=y(e),t=v(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,x(e)}function S(e,t){if(e=y(e),t=v(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return x(e)}function R(e,t){if(e=y(e),t=v(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return x(e)}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function P(e,t){if(null==e)return{};var n,r,o=T(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function L(e){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e){return e&&"object"===L(e)&&e.constructor===Object}function A(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?M({},e):e;return O(e)&&O(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(O(t[o])&&o in e?r[o]=A(e[o],t[o],n):r[o]=t[o])})),r}function I(e,t){return e(t={exports:{}},t.exports),t.exports /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */}var D="function"==typeof Symbol&&Symbol.for,z=D?Symbol.for("react.element"):60103,B=D?Symbol.for("react.portal"):60106,W=D?Symbol.for("react.fragment"):60107,F=D?Symbol.for("react.strict_mode"):60108,$=D?Symbol.for("react.profiler"):60114,j=D?Symbol.for("react.provider"):60109,H=D?Symbol.for("react.context"):60110,V=D?Symbol.for("react.async_mode"):60111,U=D?Symbol.for("react.concurrent_mode"):60111,q=D?Symbol.for("react.forward_ref"):60112,G=D?Symbol.for("react.suspense"):60113,K=D?Symbol.for("react.suspense_list"):60120,_=D?Symbol.for("react.memo"):60115,X=D?Symbol.for("react.lazy"):60116,Y=D?Symbol.for("react.block"):60121,J=D?Symbol.for("react.fundamental"):60117,Z=D?Symbol.for("react.responder"):60118,Q=D?Symbol.for("react.scope"):60119;function ee(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case z:switch(e=e.type){case V:case U:case W:case $:case F:case G:return e;default:switch(e=e&&e.$$typeof){case H:case q:case X:case _:case j:return e;default:return t}}case B:return t}}}function te(e){return ee(e)===U}var ne={AsyncMode:V,ConcurrentMode:U,ContextConsumer:H,ContextProvider:j,Element:z,ForwardRef:q,Fragment:W,Lazy:X,Memo:_,Portal:B,Profiler:$,StrictMode:F,Suspense:G,isAsyncMode:function(e){return te(e)||ee(e)===V},isConcurrentMode:te,isContextConsumer:function(e){return ee(e)===H},isContextProvider:function(e){return ee(e)===j},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===z},isForwardRef:function(e){return ee(e)===q},isFragment:function(e){return ee(e)===W},isLazy:function(e){return ee(e)===X},isMemo:function(e){return ee(e)===_},isPortal:function(e){return ee(e)===B},isProfiler:function(e){return ee(e)===$},isStrictMode:function(e){return ee(e)===F},isSuspense:function(e){return ee(e)===G},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===W||e===U||e===$||e===F||e===G||e===K||"object"==typeof e&&null!==e&&(e.$$typeof===X||e.$$typeof===_||e.$$typeof===j||e.$$typeof===H||e.$$typeof===q||e.$$typeof===J||e.$$typeof===Z||e.$$typeof===Q||e.$$typeof===Y)},typeOf:ee},re=I((function(e,t){})),oe=(re.AsyncMode,re.ConcurrentMode,re.ContextConsumer,re.ContextProvider,re.Element,re.ForwardRef,re.Fragment,re.Lazy,re.Memo,re.Portal,re.Profiler,re.StrictMode,re.Suspense,re.isAsyncMode,re.isConcurrentMode,re.isContextConsumer,re.isContextProvider,re.isElement,re.isForwardRef,re.isFragment,re.isLazy,re.isMemo,re.isPortal,re.isProfiler,re.isStrictMode,re.isSuspense,re.isValidElementType,re.typeOf,I((function(e){e.exports=ne}))),ie=(oe.ForwardRef,oe.isFragment,oe.isLazy,oe.isMemo,oe.Memo,oe.isValidElementType,Object.getOwnPropertySymbols),ae=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable;function se(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}})()&&Object.assign,Function.call.bind(Object.prototype.hasOwnProperty);function ce(){}function de(){}de.resetWarningCache=ce;var ue=I((function(e){e.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:de,resetWarningCache:ce};return n.PropTypes=n,n}()})),pe=(ue.elementType,ue.bool,ue.func,ue.object,ue.oneOfType,ue.element,["xs","sm","md","lg","xl"]);function fe(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,l=P(e,["values","unit","step"]);function s(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=pe.indexOf(t);return r===pe.length-1?s(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[pe[r+1]]?n[pe[r+1]]:t)-a/100).concat(o,")")}return M({keys:pe,values:n,up:s,down:function(e){var t=pe.indexOf(e)+1,r=n[pe[t]];return t===pe.length?s("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},l)}function me(e,t,n){var r;return M({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return M(M({paddingLeft:t(2),paddingRight:t(2)},n),{},N({},e.up("sm"),M({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},N(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),N(r,e.up("sm"),{minHeight:64}),r)},n)}var he={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:i.white,default:p[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}},ve={text:{primary:i.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:p[800],default:"#303030"},action:{active:i.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 ge(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=R(e.main,o):"dark"===t&&(e.dark=S(e.main,i)))}function be(e){var t=e.primary,n=void 0===t?{light:s[300],main:s[500],dark:s[700]}:t,r=e.secondary,o=void 0===r?{light:l.A200,main:l.A400,dark:l.A700}:r,f=e.error,m=void 0===f?{light:a[300],main:a[500],dark:a[700]}:f,h=e.warning,v=void 0===h?{light:u[300],main:u[500],dark:u[700]}:h,g=e.info,b=void 0===g?{light:c[300],main:c[500],dark:c[700]}:g,y=e.success,x=void 0===y?{light:d[300],main:d[500],dark:d[700]}:y,E=e.type,k=void 0===E?"light":E,C=e.contrastThreshold,S=void 0===C?3:C,R=e.tonalOffset,N=void 0===R?.2:R,T=P(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function L(e){return w(e,ve.text.primary)>=S?ve.text.primary:he.text.primary}var O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=M({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(["Material-UI: The color provided to augmentColor(color) is invalid.","The color object needs to have a `main` property or a `".concat(t,"` property.")].join("\n"));if("string"!=typeof e.main)throw new Error(["Material-UI: The color provided to augmentColor(color) is invalid.","`color.main` should be a string, but `".concat(JSON.stringify(e.main),"` was provided instead."),"","Did you intend to use one of the following approaches?","",'import { green } from "@material-ui/core/colors";',"","const theme1 = createMuiTheme({ palette: {"," primary: green,","} });","","const theme2 = createMuiTheme({ palette: {"," primary: { main: green[500] },","} });"].join("\n"));return ge(e,"light",n,N),ge(e,"dark",r,N),e.contrastText||(e.contrastText=L(e.main)),e},I={dark:ve,light:he};return A(M({common:i,type:k,primary:O(n),secondary:O(o,"A400","A200","A700"),error:O(m),warning:O(v),info:O(b),success:O(x),grey:p,contrastThreshold:S,getContrastText:L,augmentColor:O,tonalOffset:N},I[k]),T)}function ye(e){return Math.round(1e5*e)/1e5}var xe={textTransform:"uppercase"};function we(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?'"Roboto", "Helvetica", "Arial", sans-serif':r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,c=n.fontWeightRegular,d=void 0===c?400:c,u=n.fontWeightMedium,p=void 0===u?500:u,f=n.fontWeightBold,m=void 0===f?700:f,h=n.htmlFontSize,v=void 0===h?16:h,g=n.allVariants,b=n.pxToRem,y=P(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,w=b||function(e){return"".concat(e/v*x,"rem")},E=function(e,t,n,r,i){return M(M(M({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===o?{letterSpacing:"".concat(ye(r/t),"em")}:{}),i),g)},k={h1:E(s,96,1.167,-1.5),h2:E(s,60,1.2,-.5),h3:E(d,48,1.167,0),h4:E(d,34,1.235,.25),h5:E(d,24,1.334,0),h6:E(p,20,1.6,.15),subtitle1:E(d,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(d,16,1.5,.15),body2:E(d,14,1.43,.15),button:E(p,14,1.75,.4,xe),caption:E(d,12,1.66,.4),overline:E(d,12,2.66,1,xe)};return A(M({htmlFontSize:v,pxToRem:w,round:ye,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:p,fontWeightBold:m},k),y,{clone:!1})}function Ee(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var ke=["none",Ee(0,2,1,-1,0,1,1,0,0,1,3,0),Ee(0,3,1,-2,0,2,2,0,0,1,5,0),Ee(0,3,3,-2,0,3,4,0,0,1,8,0),Ee(0,2,4,-1,0,4,5,0,0,1,10,0),Ee(0,3,5,-1,0,5,8,0,0,1,14,0),Ee(0,3,5,-1,0,6,10,0,0,1,18,0),Ee(0,4,5,-2,0,7,10,1,0,2,16,1),Ee(0,5,5,-3,0,8,10,1,0,3,14,2),Ee(0,5,6,-3,0,9,12,1,0,3,16,2),Ee(0,6,6,-3,0,10,14,1,0,4,18,3),Ee(0,6,7,-4,0,11,15,1,0,4,20,3),Ee(0,7,8,-4,0,12,17,2,0,5,22,4),Ee(0,7,8,-4,0,13,19,2,0,5,24,4),Ee(0,7,9,-4,0,14,21,2,0,5,26,4),Ee(0,8,9,-5,0,15,22,2,0,6,28,5),Ee(0,8,10,-5,0,16,24,2,0,6,30,5),Ee(0,8,11,-5,0,17,26,2,0,6,32,5),Ee(0,9,11,-5,0,18,28,2,0,7,34,6),Ee(0,9,12,-6,0,19,29,2,0,7,36,6),Ee(0,10,13,-6,0,20,31,3,0,8,38,7),Ee(0,10,13,-6,0,21,33,3,0,8,40,7),Ee(0,10,14,-6,0,22,35,3,0,8,42,7),Ee(0,11,14,-7,0,23,36,3,0,9,44,8),Ee(0,11,15,-7,0,24,38,3,0,9,46,8)],Ce={borderRadius:4};function Se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Re(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function Ne(e,t){if(e){if("string"==typeof e)return Se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Se(e,t):void 0}}function Te(e){return function(e){if(Array.isArray(e))return Se(e)}(e)||Re(e)||Ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pe(e,t){return t?A(e,t,{clone:!1}):e}var Me={xs:0,sm:600,md:960,lg:1280,xl:1920},Le={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Me[e],"px)")}};function Oe(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||Le;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===L(t)){var o=e.theme.breakpoints||Le;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function Ae(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Ie(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=Ae(e.theme,o)||{};return Oe(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Ae(a,e)||e,i&&(t=i(t))),!1===r?t:N({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function De(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Pe(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function ze(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var Be=De(Ie({prop:"border",themeKey:"borders",transform:ze}),Ie({prop:"borderTop",themeKey:"borders",transform:ze}),Ie({prop:"borderRight",themeKey:"borders",transform:ze}),Ie({prop:"borderBottom",themeKey:"borders",transform:ze}),Ie({prop:"borderLeft",themeKey:"borders",transform:ze}),Ie({prop:"borderColor",themeKey:"palette"}),Ie({prop:"borderRadius",themeKey:"shape"}));var We=De(Ie({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Ie({prop:"display"}),Ie({prop:"overflow"}),Ie({prop:"textOverflow"}),Ie({prop:"visibility"}),Ie({prop:"whiteSpace"})),Fe=De(Ie({prop:"flexBasis"}),Ie({prop:"flexDirection"}),Ie({prop:"flexWrap"}),Ie({prop:"justifyContent"}),Ie({prop:"alignItems"}),Ie({prop:"alignContent"}),Ie({prop:"order"}),Ie({prop:"flex"}),Ie({prop:"flexGrow"}),Ie({prop:"flexShrink"}),Ie({prop:"alignSelf"}),Ie({prop:"justifyItems"}),Ie({prop:"justifySelf"})),$e=De(Ie({prop:"gridGap"}),Ie({prop:"gridColumnGap"}),Ie({prop:"gridRowGap"}),Ie({prop:"gridColumn"}),Ie({prop:"gridRow"}),Ie({prop:"gridAutoFlow"}),Ie({prop:"gridAutoColumns"}),Ie({prop:"gridAutoRows"}),Ie({prop:"gridTemplateColumns"}),Ie({prop:"gridTemplateRows"}),Ie({prop:"gridTemplateAreas"}),Ie({prop:"gridArea"})),je=De(Ie({prop:"color",themeKey:"palette"}),Ie({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),He=De(Ie({prop:"position"}),Ie({prop:"zIndex",themeKey:"zIndex"}),Ie({prop:"top"}),Ie({prop:"right"}),Ie({prop:"bottom"}),Ie({prop:"left"})),Ve=Ie({prop:"boxShadow",themeKey:"shadows"});function Ue(e){return e<=1?"".concat(100*e,"%"):e}var qe=Ie({prop:"width",transform:Ue}),Ge=Ie({prop:"maxWidth",transform:Ue}),Ke=Ie({prop:"minWidth",transform:Ue}),_e=Ie({prop:"height",transform:Ue}),Xe=Ie({prop:"maxHeight",transform:Ue}),Ye=Ie({prop:"minHeight",transform:Ue}),Je=(Ie({prop:"size",cssProperty:"width",transform:Ue}),Ie({prop:"size",cssProperty:"height",transform:Ue}),De(qe,Ge,Ke,_e,Xe,Ye,Ie({prop:"boxSizing"})));function Ze(e){if(Array.isArray(e))return e}function Qe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function et(e,t){return Ze(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||Ne(e,t)||Qe()}var tt={m:"margin",p:"padding"},nt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},rt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ot=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!rt[e])return[e];e=rt[e]}var t=et(e.split(""),2),n=t[0],r=t[1],o=tt[n],i=nt[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),it=["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 at(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function lt(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function st(e){var t=at(e.theme);return Object.keys(e).map((function(n){if(-1===it.indexOf(n))return null;var r=lt(ot(n),t),o=e[n];return Oe(e,o,r)})).reduce(Pe,{})}st.propTypes={},st.filterProps=it;var ct=De(Ie({prop:"fontFamily",themeKey:"typography"}),Ie({prop:"fontSize",themeKey:"typography"}),Ie({prop:"fontStyle",themeKey:"typography"}),Ie({prop:"fontWeight",themeKey:"typography"}),Ie({prop:"letterSpacing"}),Ie({prop:"lineHeight"}),Ie({prop:"textAlign"}));function dt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=at({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var ut={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)"},pt={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ft(e){return"".concat(Math.round(e),"ms")}var mt={easing:ut,duration:pt,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?pt.standard:n,o=t.easing,i=void 0===o?ut.easeInOut:o,a=t.delay,l=void 0===a?0:a;P(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:ft(r)," ").concat(i," ").concat("string"==typeof l?l:ft(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},ht={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function vt(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,l=e.spacing,s=e.typography,c=void 0===s?{}:s,d=P(e,["breakpoints","mixins","palette","spacing","typography"]),u=be(a),p=fe(n),f=dt(l),m=A({breakpoints:p,direction:"ltr",mixins:me(p,f,o),overrides:{},palette:u,props:{},shadows:ke,typography:we(u,c),spacing:f,shape:Ce,transitions:mt,zIndex:ht},d),h=arguments.length,v=new Array(h>1?h-1:0),g=1;g<h;g++)v[g-1]=arguments[g];return m=v.reduce((function(e,t){return A(e,t)}),m)}var gt="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",bt=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function yt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,l=""===a?"":"".concat(a,"-"),s=0,c=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==bt.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[gt]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(l).concat(o).concat(c())}}function xt(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var wt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Et="object"===("undefined"==typeof window?"undefined":wt(window))&&"object"===("undefined"==typeof document?"undefined":wt(document))&&9===document.nodeType;function kt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ct(e,t,n){return t&&kt(e.prototype,t),n&&kt(e,n),e}function St(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Rt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Nt={}.constructor;function Tt(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Tt);if(e.constructor!==Nt)return e;var t={};for(var n in e)t[n]=Tt(e[n]);return t}function Pt(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Tt(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Mt=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n};function Lt(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Mt(e[r]," ");else n=Mt(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}function Ot(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function At(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var s=a[l];for(var c in s){var d=s[c];null!=d&&(r&&(r+="\n"),r+=""+Ot(c+": "+Lt(d)+";",i))}}else for(var u in a){var p=a[u];null!=p&&(r&&(r+="\n"),r+=""+Ot(u+": "+Lt(p)+";",i))}for(var f in t){var m=t[f];null!=m&&"fallbacks"!==f&&(r&&(r+="\n"),r+=""+Ot(f+": "+Lt(m)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),Ot(e+" {"+r,--i)+Ot("}",i)):r}var It=/([[\].#*$><+~=|^:(),"'`\s])/g,Dt="undefined"!=typeof CSS&&CSS.escape,zt=function(e){return Dt?Dt(e):e.replace(It,"\\$1")},Bt=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Wt=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(Rt(Rt(o)),l),o.selectorText="."+zt(o.id)),o}St(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Lt(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?M({},e,{allowEmpty:!0}):e;return At(this.selectorText,this.style,n)},Ct(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Bt),Ft={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Wt(e,t,n)}},$t={indent:1,children:!0},jt=/@([\w-]+)/,Ht=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.query=n.name;var r=e.match(jt);for(var o in this.at=r?r[1]:"unknown",this.options=n,this.rules=new pn(M({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=$t),null==e.indent&&(e.indent=$t.indent),null==e.children&&(e.children=$t.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Vt=/@media|@supports\s+/,Ut={onCreateRule:function(e,t,n){return Vt.test(e)?new Ht(e,t,n):null}},qt={indent:1,children:!0},Gt=/@keyframes\s+([\w-]+)/,Kt=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Gt);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var l in this.id=!1===o?this.name:zt(a(this,i)),this.rules=new pn(M({},n,{parent:this})),t)this.rules.add(l,t[l],M({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=qt),null==e.indent&&(e.indent=qt.indent),null==e.children&&(e.children=qt.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),_t=/@keyframes\s+/,Xt=/\$([\w-]+)/g,Yt=function(e,t){return"string"==typeof e?e.replace(Xt,(function(e,n){return n in t?t[n]:e})):e},Jt=function(e,t,n){var r=e[t],o=Yt(r,n);o!==r&&(e[t]=o)},Zt={onCreateRule:function(e,t,n){return"string"==typeof e&&_t.test(e)?new Kt(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Jt(e,"animation-name",n.keyframes),"animation"in e&&Jt(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Yt(e,r.keyframes);default:return e}}},Qt=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return St(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?M({},e,{allowEmpty:!0}):e;return At(this.key,this.style,n)},t}(Bt),en={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Qt(e,t,n):null}},tn=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=At(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return At(this.at,this.style,e)},e}(),nn=/@font-face/,rn={onCreateRule:function(e,t,n){return nn.test(e)?new tn(e,t,n):null}},on=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return At(this.key,this.style,e)},e}(),an={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new on(e,t,n):null}},ln=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),sn={"@charset":!0,"@import":!0,"@namespace":!0},cn=[Ft,Ut,Zt,en,rn,an,{onCreateRule:function(e,t,n){return e in sn?new ln(e,t,n):null}}],dn={process:!0},un={force:!0,process:!0},pn=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,l=r.Renderer,s=r.generateId,c=r.scoped,d=M({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:l,generateId:s,scoped:c,name:e},n),u=e;e in this.raw&&(u=e+"-d"+this.counter++),this.raw[u]=t,u in this.classes&&(d.selector="."+zt(this.classes[u]));var p=Pt(u,t,d);if(!p)return null;this.register(p);var f=void 0===d.index?this.index.length:d.index;return this.index.splice(f,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Wt?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Kt&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Wt?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Kt&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=dn);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var c in i.onProcessStyle(l.style,l,a),l.style){var d=l.style[c];d!==s[c]&&l.prop(c,d,un)}for(var u in s){var p=l.style[u],f=s[u];null==p&&p!==f&&l.prop(u,null,un)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),fn=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=M({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new pn(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),mn=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),hn=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=T(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},Ct(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),vn=new hn,gn="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),bn="2f1acc6c3a606b082e5eef5e54414ffb";null==gn[bn]&&(gn[bn]=0);var yn=gn[bn]++,xn=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+yn+o+t:i+n.key+"-"+yn+(o?"-"+o:"")+"-"+t}},wn=function(e){var t;return function(){return t||(t=e()),t}};function En(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function kn(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Lt(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0}function Cn(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function Sn(e,t){return e.selectorText=t,e.selectorText===t}var Rn=wn((function(){return document.querySelector("head")}));function Nn(e){var t=vn.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=Rn(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Tn=wn((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Pn=function(e,t,n){var r=e.cssRules.length;(void 0===n||n>r)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},Mn=function(){function e(e){this.getPropertyValue=En,this.setProperty=kn,this.removeProperty=Cn,this.setSelector=Sn,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&vn.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=Tn();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Nn(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Rn().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(o=Pn(n,r.toString({children:!1}),t)))&&(this.insertRules(r.rules,o),o)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var i=e.toString();if(!i)return!1;var a=Pn(n,i,t);return!1!==a&&(this.hasInsertedRules=!0,e.renderable=a,a)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ln=0,On=function(){function e(e){this.id=Ln++,this.version="10.1.1",this.plugins=new mn,this.options={id:{minify:!1},createGenerateId:xn,Renderer:Et?Mn:null,plugins:[]},this.generateId=xn({minify:!1});for(var t=0;t<cn.length;t++)this.plugins.use(cn[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=M({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===vn.index?0:vn.index+1);var r=new fn(e,M({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),vn.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=M({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=Pt(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}(); /** * A better abstraction over CSS. * * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present * @website https://github.com/cssinjs/jss * @license MIT */ var An="undefined"!=typeof CSS&&CSS&&"number"in CSS,In=function(e){return new On(e)},Dn=(In(),Date.now()),zn="fnValues"+Dn,Bn="fnStyle"+ ++Dn;var Wn="@glo