2021-06-20 14:44:22 +02:00
( function ( ) {
var exports = { } ;
2021-06-21 04:55:49 +02:00
exports . id = "pages/_app" ;
exports . ids = [ "pages/_app" ] ;
2021-06-20 14:44:22 +02:00
exports . modules = {
2021-06-21 04:55:49 +02:00
/***/ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / arrayLikeToArray . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _arrayLikeToArray ; }
/* harmony export */ } ) ;
function _arrayLikeToArray ( arr , len ) {
if ( len == null || len > arr . length ) len = arr . length ;
for ( var i = 0 , arr2 = new Array ( len ) ; i < len ; i ++ ) {
arr2 [ i ] = arr [ i ] ;
}
return arr2 ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / arrayWithoutHoles . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _arrayWithoutHoles ; }
/* harmony export */ } ) ;
/* harmony import */ var _arrayLikeToArray _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./arrayLikeToArray.js */ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js" ) ;
function _arrayWithoutHoles ( arr ) {
if ( Array . isArray ( arr ) ) return ( 0 , _arrayLikeToArray _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( arr ) ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / defineProperty . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _defineProperty ; }
/* harmony export */ } ) ;
function _defineProperty ( obj , key , value ) {
if ( key in obj ) {
Object . defineProperty ( obj , key , {
value : value ,
enumerable : true ,
configurable : true ,
writable : true
} ) ;
} else {
obj [ key ] = value ;
}
return obj ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/extends.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / extends . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _extends ; }
/* harmony export */ } ) ;
function _extends ( ) {
_extends = Object . assign || function ( target ) {
for ( var i = 1 ; i < arguments . length ; i ++ ) {
var source = arguments [ i ] ;
for ( var key in source ) {
if ( Object . prototype . hasOwnProperty . call ( source , key ) ) {
target [ key ] = source [ key ] ;
}
}
}
return target ;
} ;
return _extends . apply ( this , arguments ) ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / iterableToArray . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _iterableToArray ; }
/* harmony export */ } ) ;
function _iterableToArray ( iter ) {
if ( typeof Symbol !== "undefined" && iter [ Symbol . iterator ] != null || iter [ "@@iterator" ] != null ) return Array . from ( iter ) ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / nonIterableSpread . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _nonIterableSpread ; }
/* harmony export */ } ) ;
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." ) ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / objectWithoutProperties . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _objectWithoutProperties ; }
/* harmony export */ } ) ;
/* harmony import */ var _objectWithoutPropertiesLoose _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./objectWithoutPropertiesLoose.js */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js" ) ;
function _objectWithoutProperties ( source , excluded ) {
if ( source == null ) return { } ;
var target = ( 0 , _objectWithoutPropertiesLoose _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( source , excluded ) ;
var key , i ;
if ( Object . getOwnPropertySymbols ) {
var sourceSymbolKeys = Object . getOwnPropertySymbols ( source ) ;
for ( i = 0 ; i < sourceSymbolKeys . length ; i ++ ) {
key = sourceSymbolKeys [ i ] ;
if ( excluded . indexOf ( key ) >= 0 ) continue ;
if ( ! Object . prototype . propertyIsEnumerable . call ( source , key ) ) continue ;
target [ key ] = source [ key ] ;
}
}
return target ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / objectWithoutPropertiesLoose . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _objectWithoutPropertiesLoose ; }
/* harmony export */ } ) ;
function _objectWithoutPropertiesLoose ( source , excluded ) {
if ( source == null ) return { } ;
var target = { } ;
var sourceKeys = Object . keys ( source ) ;
var key , i ;
for ( i = 0 ; i < sourceKeys . length ; i ++ ) {
key = sourceKeys [ i ] ;
if ( excluded . indexOf ( key ) >= 0 ) continue ;
target [ key ] = source [ key ] ;
}
return target ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / toConsumableArray . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _toConsumableArray ; }
/* harmony export */ } ) ;
/* harmony import */ var _arrayWithoutHoles _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./arrayWithoutHoles.js */ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js" ) ;
/* harmony import */ var _iterableToArray _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! ./iterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js" ) ;
/* harmony import */ var _unsupportedIterableToArray _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./unsupportedIterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js" ) ;
/* harmony import */ var _nonIterableSpread _js _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! ./nonIterableSpread.js */ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js" ) ;
function _toConsumableArray ( arr ) {
return ( 0 , _arrayWithoutHoles _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( arr ) || ( 0 , _iterableToArray _js _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( arr ) || ( 0 , _unsupportedIterableToArray _js _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default ) ( arr ) || ( 0 , _nonIterableSpread _js _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default ) ( ) ;
}
/***/ } ) ,
/***/ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ babel / runtime / helpers / esm / unsupportedIterableToArray . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _ _ _webpack _module _ _ , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ _unsupportedIterableToArray ; }
/* harmony export */ } ) ;
/* harmony import */ var _arrayLikeToArray _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./arrayLikeToArray.js */ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js" ) ;
function _unsupportedIterableToArray ( o , minLen ) {
if ( ! o ) return ;
if ( typeof o === "string" ) return ( 0 , _arrayLikeToArray _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( o , minLen ) ;
var n = Object . prototype . toString . call ( o ) . slice ( 8 , - 1 ) ;
if ( n === "Object" && o . constructor ) n = o . constructor . name ;
if ( n === "Map" || n === "Set" ) return Array . from ( o ) ;
if ( n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ . test ( n ) ) return ( 0 , _arrayLikeToArray _js _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( o , minLen ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/AppBar/AppBar.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / AppBar / AppBar . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../utils/capitalize */ "./node_modules/@material-ui/core/esm/utils/capitalize.js" ) ;
/* harmony import */ var _Paper _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! ../Paper */ "./node_modules/@material-ui/core/esm/Paper/index.js" ) ;
var styles = function styles ( theme ) {
var backgroundColorDefault = theme . palette . type === 'light' ? theme . palette . grey [ 100 ] : theme . palette . grey [ 900 ] ;
return {
/* Styles applied to the root element. */
root : {
display : 'flex' ,
flexDirection : 'column' ,
width : '100%' ,
boxSizing : 'border-box' ,
// Prevent padding issue with the Modal and fixed positioned AppBar.
zIndex : theme . zIndex . appBar ,
flexShrink : 0
} ,
/* Styles applied to the root element if `position="fixed"`. */
positionFixed : {
position : 'fixed' ,
top : 0 ,
left : 'auto' ,
right : 0 ,
'@media print' : {
// Prevent the app bar to be visible on each printed page.
position : 'absolute'
}
} ,
/* Styles applied to the root element if `position="absolute"`. */
positionAbsolute : {
position : 'absolute' ,
top : 0 ,
left : 'auto' ,
right : 0
} ,
/* Styles applied to the root element if `position="sticky"`. */
positionSticky : {
// ⚠️ sticky is not supported by IE 11.
position : 'sticky' ,
top : 0 ,
left : 'auto' ,
right : 0
} ,
/* Styles applied to the root element if `position="static"`. */
positionStatic : {
position : 'static'
} ,
/* Styles applied to the root element if `position="relative"`. */
positionRelative : {
position : 'relative'
} ,
/* Styles applied to the root element if `color="default"`. */
colorDefault : {
backgroundColor : backgroundColorDefault ,
color : theme . palette . getContrastText ( backgroundColorDefault )
} ,
/* Styles applied to the root element if `color="primary"`. */
colorPrimary : {
backgroundColor : theme . palette . primary . main ,
color : theme . palette . primary . contrastText
} ,
/* Styles applied to the root element if `color="secondary"`. */
colorSecondary : {
backgroundColor : theme . palette . secondary . main ,
color : theme . palette . secondary . contrastText
} ,
/* Styles applied to the root element if `color="inherit"`. */
colorInherit : {
color : 'inherit'
} ,
/* Styles applied to the root element if `color="transparent"`. */
colorTransparent : {
backgroundColor : 'transparent' ,
color : 'inherit'
}
} ;
} ;
var AppBar = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . forwardRef ( function AppBar ( props , ref ) {
var classes = props . classes ,
className = props . className ,
_props$color = props . color ,
color = _props$color === void 0 ? 'primary' : _props$color ,
_props$position = props . position ,
position = _props$position === void 0 ? 'fixed' : _props$position ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( props , [ "classes" , "className" , "color" , "position" ] ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( _Paper _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
square : true ,
component : "header" ,
elevation : 4 ,
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . root , classes [ "position" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( position ) ) ] , classes [ "color" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( color ) ) ] , className , position === 'fixed' && 'mui-fixed' ) ,
ref : ref
} , other ) ) ;
} ) ;
true ? AppBar . propTypes = {
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the d.ts file and run "yarn proptypes" |
// ----------------------------------------------------------------------
/ * *
* The content of the component .
* /
children : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The color of the component . It supports those theme colors that make sense for this component .
* /
color : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'default' , 'inherit' , 'primary' , 'secondary' , 'transparent' ] ) ,
/ * *
* The positioning type . The behavior of the different options is described
* [ in the MDN web docs ] ( https : //developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
* Note : ` sticky ` is not universally supported and will fall back to ` static ` when unavailable .
* /
position : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'absolute' , 'fixed' , 'relative' , 'static' , 'sticky' ] )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default ) ( styles , {
name : 'MuiAppBar'
} ) ( AppBar ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/AppBar/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / AppBar / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _AppBar _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _AppBar _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./AppBar */ "./node_modules/@material-ui/core/esm/AppBar/AppBar.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Button/Button.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Button / Button . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! ../styles/colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js" ) ;
/* harmony import */ var _ButtonBase _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ../ButtonBase */ "./node_modules/@material-ui/core/esm/ButtonBase/index.js" ) ;
/* harmony import */ var _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../utils/capitalize */ "./node_modules/@material-ui/core/esm/utils/capitalize.js" ) ;
var styles = function styles ( theme ) {
return {
/* Styles applied to the root element. */
root : ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( { } , theme . typography . button , {
boxSizing : 'border-box' ,
minWidth : 64 ,
padding : '6px 16px' ,
borderRadius : theme . shape . borderRadius ,
color : theme . palette . text . primary ,
transition : theme . transitions . create ( [ 'background-color' , 'box-shadow' , 'border' ] , {
duration : theme . transitions . duration . short
} ) ,
'&:hover' : {
textDecoration : 'none' ,
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . text . primary , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
} ,
'&$disabled' : {
backgroundColor : 'transparent'
}
} ,
'&$disabled' : {
color : theme . palette . action . disabled
}
} ) ,
/* Styles applied to the span element that wraps the children. */
label : {
width : '100%' ,
// Ensure the correct width for iOS Safari
display : 'inherit' ,
alignItems : 'inherit' ,
justifyContent : 'inherit'
} ,
/* Styles applied to the root element if `variant="text"`. */
text : {
padding : '6px 8px'
} ,
/* Styles applied to the root element if `variant="text"` and `color="primary"`. */
textPrimary : {
color : theme . palette . primary . main ,
'&:hover' : {
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . primary . main , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
}
} ,
/* Styles applied to the root element if `variant="text"` and `color="secondary"`. */
textSecondary : {
color : theme . palette . secondary . main ,
'&:hover' : {
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . secondary . main , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
}
} ,
/* Styles applied to the root element if `variant="outlined"`. */
outlined : {
padding : '5px 15px' ,
border : "1px solid " . concat ( theme . palette . type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)' ) ,
'&$disabled' : {
border : "1px solid " . concat ( theme . palette . action . disabledBackground )
}
} ,
/* Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
outlinedPrimary : {
color : theme . palette . primary . main ,
border : "1px solid " . concat ( ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . primary . main , 0.5 ) ) ,
'&:hover' : {
border : "1px solid " . concat ( theme . palette . primary . main ) ,
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . primary . main , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
}
} ,
/* Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
outlinedSecondary : {
color : theme . palette . secondary . main ,
border : "1px solid " . concat ( ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . secondary . main , 0.5 ) ) ,
'&:hover' : {
border : "1px solid " . concat ( theme . palette . secondary . main ) ,
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . fade ) ( theme . palette . secondary . main , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
} ,
'&$disabled' : {
border : "1px solid " . concat ( theme . palette . action . disabled )
}
} ,
/* Styles applied to the root element if `variant="contained"`. */
contained : {
color : theme . palette . getContrastText ( theme . palette . grey [ 300 ] ) ,
backgroundColor : theme . palette . grey [ 300 ] ,
boxShadow : theme . shadows [ 2 ] ,
'&:hover' : {
backgroundColor : theme . palette . grey . A100 ,
boxShadow : theme . shadows [ 4 ] ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
boxShadow : theme . shadows [ 2 ] ,
backgroundColor : theme . palette . grey [ 300 ]
} ,
'&$disabled' : {
backgroundColor : theme . palette . action . disabledBackground
}
} ,
'&$focusVisible' : {
boxShadow : theme . shadows [ 6 ]
} ,
'&:active' : {
boxShadow : theme . shadows [ 8 ]
} ,
'&$disabled' : {
color : theme . palette . action . disabled ,
boxShadow : theme . shadows [ 0 ] ,
backgroundColor : theme . palette . action . disabledBackground
}
} ,
/* Styles applied to the root element if `variant="contained"` and `color="primary"`. */
containedPrimary : {
color : theme . palette . primary . contrastText ,
backgroundColor : theme . palette . primary . main ,
'&:hover' : {
backgroundColor : theme . palette . primary . dark ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : theme . palette . primary . main
}
}
} ,
/* Styles applied to the root element if `variant="contained"` and `color="secondary"`. */
containedSecondary : {
color : theme . palette . secondary . contrastText ,
backgroundColor : theme . palette . secondary . main ,
'&:hover' : {
backgroundColor : theme . palette . secondary . dark ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : theme . palette . secondary . main
}
}
} ,
/* Styles applied to the root element if `disableElevation={true}`. */
disableElevation : {
boxShadow : 'none' ,
'&:hover' : {
boxShadow : 'none'
} ,
'&$focusVisible' : {
boxShadow : 'none'
} ,
'&:active' : {
boxShadow : 'none'
} ,
'&$disabled' : {
boxShadow : 'none'
}
} ,
/* Pseudo-class applied to the ButtonBase root element if the button is keyboard focused. */
focusVisible : { } ,
/* Pseudo-class applied to the root element if `disabled={true}`. */
disabled : { } ,
/* Styles applied to the root element if `color="inherit"`. */
colorInherit : {
color : 'inherit' ,
borderColor : 'currentColor'
} ,
/* Styles applied to the root element if `size="small"` and `variant="text"`. */
textSizeSmall : {
padding : '4px 5px' ,
fontSize : theme . typography . pxToRem ( 13 )
} ,
/* Styles applied to the root element if `size="large"` and `variant="text"`. */
textSizeLarge : {
padding : '8px 11px' ,
fontSize : theme . typography . pxToRem ( 15 )
} ,
/* Styles applied to the root element if `size="small"` and `variant="outlined"`. */
outlinedSizeSmall : {
padding : '3px 9px' ,
fontSize : theme . typography . pxToRem ( 13 )
} ,
/* Styles applied to the root element if `size="large"` and `variant="outlined"`. */
outlinedSizeLarge : {
padding : '7px 21px' ,
fontSize : theme . typography . pxToRem ( 15 )
} ,
/* Styles applied to the root element if `size="small"` and `variant="contained"`. */
containedSizeSmall : {
padding : '4px 10px' ,
fontSize : theme . typography . pxToRem ( 13 )
} ,
/* Styles applied to the root element if `size="large"` and `variant="contained"`. */
containedSizeLarge : {
padding : '8px 22px' ,
fontSize : theme . typography . pxToRem ( 15 )
} ,
/* Styles applied to the root element if `size="small"`. */
sizeSmall : { } ,
/* Styles applied to the root element if `size="large"`. */
sizeLarge : { } ,
/* Styles applied to the root element if `fullWidth={true}`. */
fullWidth : {
width : '100%'
} ,
/* Styles applied to the startIcon element if supplied. */
startIcon : {
display : 'inherit' ,
marginRight : 8 ,
marginLeft : - 4 ,
'&$iconSizeSmall' : {
marginLeft : - 2
}
} ,
/* Styles applied to the endIcon element if supplied. */
endIcon : {
display : 'inherit' ,
marginRight : - 4 ,
marginLeft : 8 ,
'&$iconSizeSmall' : {
marginRight : - 2
}
} ,
/* Styles applied to the icon element if supplied and `size="small"`. */
iconSizeSmall : {
'& > *:first-child' : {
fontSize : 18
}
} ,
/* Styles applied to the icon element if supplied and `size="medium"`. */
iconSizeMedium : {
'& > *:first-child' : {
fontSize : 20
}
} ,
/* Styles applied to the icon element if supplied and `size="large"`. */
iconSizeLarge : {
'& > *:first-child' : {
fontSize : 22
}
}
} ;
} ;
var Button = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . forwardRef ( function Button ( props , ref ) {
var children = props . children ,
classes = props . classes ,
className = props . className ,
_props$color = props . color ,
color = _props$color === void 0 ? 'default' : _props$color ,
_props$component = props . component ,
component = _props$component === void 0 ? 'button' : _props$component ,
_props$disabled = props . disabled ,
disabled = _props$disabled === void 0 ? false : _props$disabled ,
_props$disableElevati = props . disableElevation ,
disableElevation = _props$disableElevati === void 0 ? false : _props$disableElevati ,
_props$disableFocusRi = props . disableFocusRipple ,
disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi ,
endIconProp = props . endIcon ,
focusVisibleClassName = props . focusVisibleClassName ,
_props$fullWidth = props . fullWidth ,
fullWidth = _props$fullWidth === void 0 ? false : _props$fullWidth ,
_props$size = props . size ,
size = _props$size === void 0 ? 'medium' : _props$size ,
startIconProp = props . startIcon ,
_props$type = props . type ,
type = _props$type === void 0 ? 'button' : _props$type ,
_props$variant = props . variant ,
variant = _props$variant === void 0 ? 'text' : _props$variant ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( props , [ "children" , "classes" , "className" , "color" , "component" , "disabled" , "disableElevation" , "disableFocusRipple" , "endIcon" , "focusVisibleClassName" , "fullWidth" , "size" , "startIcon" , "type" , "variant" ] ) ;
var startIcon = startIconProp && /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( "span" , {
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . startIcon , classes [ "iconSize" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( size ) ) ] )
} , startIconProp ) ;
var endIcon = endIconProp && /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( "span" , {
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . endIcon , classes [ "iconSize" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( size ) ) ] )
} , endIconProp ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( _ButtonBase _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . root , classes [ variant ] , className , color === 'inherit' ? classes . colorInherit : color !== 'default' && classes [ "" . concat ( variant ) . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( color ) ) ] , size !== 'medium' && [ classes [ "" . concat ( variant , "Size" ) . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( size ) ) ] , classes [ "size" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( size ) ) ] ] , disableElevation && classes . disableElevation , disabled && classes . disabled , fullWidth && classes . fullWidth ) ,
component : component ,
disabled : disabled ,
focusRipple : ! disableFocusRipple ,
focusVisibleClassName : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . focusVisible , focusVisibleClassName ) ,
ref : ref ,
type : type
} , other ) , /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( "span" , {
className : classes . label
} , startIcon , children , endIcon ) ) ;
} ) ;
true ? Button . propTypes = {
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the d.ts file and run "yarn proptypes" |
// ----------------------------------------------------------------------
/ * *
* The content of the button .
* /
children : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The color of the component . It supports those theme colors that make sense for this component .
* /
color : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'default' , 'inherit' , 'primary' , 'secondary' ] ) ,
/ * *
* The component used for the root node .
* Either a string to use a HTML element or a component .
* /
component : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . elementType ) ,
/ * *
* If ` true ` , the button will be disabled .
* /
disabled : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , no elevation is used .
* /
disableElevation : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the keyboard focus ripple will be disabled .
* /
disableFocusRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the ripple effect will be disabled .
*
* ⚠ ️ Without a ripple there is no styling for : focus - visible by default . Be sure
* to highlight the element by applying separate styles with the ` focusVisibleClassName ` .
* /
disableRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* Element placed after the children .
* /
endIcon : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* @ ignore
* /
focusVisibleClassName : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* If ` true ` , the button will take up the full width of its container .
* /
fullWidth : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* The URL to link to when the button is clicked .
* If defined , an ` a ` element will be used as the root node .
* /
href : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The size of the button .
* ` small ` is equivalent to the dense button styling .
* /
size : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'large' , 'medium' , 'small' ] ) ,
/ * *
* Element placed before the children .
* /
startIcon : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* @ ignore
* /
type : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOfType ( [ prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'button' , 'reset' , 'submit' ] ) , ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ] ) ,
/ * *
* The variant to use .
* /
variant : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'contained' , 'outlined' , 'text' ] )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( styles , {
name : 'MuiButton'
} ) ( Button ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Button/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Button / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _Button _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _Button _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./Button */ "./node_modules/@material-ui/core/esm/Button/Button.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/ButtonBase/ButtonBase.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / ButtonBase / ButtonBase . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
2021-06-21 04:55:49 +02:00
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var react _dom _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! react-dom */ "react-dom" ) ;
/* harmony import */ var react _dom _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _dom _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ ) ;
/* harmony import */ var _utils _useForkRef _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! ../utils/useForkRef */ "./node_modules/@material-ui/core/esm/utils/useForkRef.js" ) ;
/* harmony import */ var _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ../utils/useEventCallback */ "./node_modules/@material-ui/core/esm/utils/useEventCallback.js" ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _11 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _utils _useIsFocusVisible _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ../utils/useIsFocusVisible */ "./node_modules/@material-ui/core/esm/utils/useIsFocusVisible.js" ) ;
/* harmony import */ var _TouchRipple _ _WEBPACK _IMPORTED _MODULE _10 _ _ = _ _webpack _require _ _ ( /*! ./TouchRipple */ "./node_modules/@material-ui/core/esm/ButtonBase/TouchRipple.js" ) ;
var styles = {
/* Styles applied to the root element. */
root : {
display : 'inline-flex' ,
alignItems : 'center' ,
justifyContent : 'center' ,
position : 'relative' ,
WebkitTapHighlightColor : 'transparent' ,
backgroundColor : 'transparent' ,
// Reset default value
// We disable the focus ring for mouse, touch and keyboard users.
outline : 0 ,
border : 0 ,
margin : 0 ,
// Remove the margin in Safari
borderRadius : 0 ,
padding : 0 ,
// Remove the padding in Firefox
cursor : 'pointer' ,
userSelect : 'none' ,
verticalAlign : 'middle' ,
'-moz-appearance' : 'none' ,
// Reset
'-webkit-appearance' : 'none' ,
// Reset
textDecoration : 'none' ,
// So we take precedent over the style of a native <a /> element.
color : 'inherit' ,
'&::-moz-focus-inner' : {
borderStyle : 'none' // Remove Firefox dotted outline.
} ,
'&$disabled' : {
pointerEvents : 'none' ,
// Disable link interactions
cursor : 'default'
} ,
'@media print' : {
colorAdjust : 'exact'
}
} ,
/* Pseudo-class applied to the root element if `disabled={true}`. */
disabled : { } ,
/* Pseudo-class applied to the root element if keyboard focused. */
focusVisible : { }
} ;
/ * *
* ` ButtonBase ` contains as few styles as possible .
* It aims to be a simple building block for creating a button .
* It contains a load of style reset and some focus / ripple logic .
* /
var ButtonBase = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . forwardRef ( function ButtonBase ( props , ref ) {
var action = props . action ,
buttonRefProp = props . buttonRef ,
_props$centerRipple = props . centerRipple ,
centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple ,
children = props . children ,
classes = props . classes ,
className = props . className ,
_props$component = props . component ,
component = _props$component === void 0 ? 'button' : _props$component ,
_props$disabled = props . disabled ,
disabled = _props$disabled === void 0 ? false : _props$disabled ,
_props$disableRipple = props . disableRipple ,
disableRipple = _props$disableRipple === void 0 ? false : _props$disableRipple ,
_props$disableTouchRi = props . disableTouchRipple ,
disableTouchRipple = _props$disableTouchRi === void 0 ? false : _props$disableTouchRi ,
_props$focusRipple = props . focusRipple ,
focusRipple = _props$focusRipple === void 0 ? false : _props$focusRipple ,
focusVisibleClassName = props . focusVisibleClassName ,
onBlur = props . onBlur ,
onClick = props . onClick ,
onFocus = props . onFocus ,
onFocusVisible = props . onFocusVisible ,
onKeyDown = props . onKeyDown ,
onKeyUp = props . onKeyUp ,
onMouseDown = props . onMouseDown ,
onMouseLeave = props . onMouseLeave ,
onMouseUp = props . onMouseUp ,
onTouchEnd = props . onTouchEnd ,
onTouchMove = props . onTouchMove ,
onTouchStart = props . onTouchStart ,
onDragLeave = props . onDragLeave ,
_props$tabIndex = props . tabIndex ,
tabIndex = _props$tabIndex === void 0 ? 0 : _props$tabIndex ,
TouchRippleProps = props . TouchRippleProps ,
_props$type = props . type ,
type = _props$type === void 0 ? 'button' : _props$type ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( props , [ "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" ] ) ;
var buttonRef = react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useRef ( null ) ;
function getButtonNode ( ) {
// #StrictMode ready
return react _dom _ _WEBPACK _IMPORTED _MODULE _4 _ _ . findDOMNode ( buttonRef . current ) ;
}
var rippleRef = react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useRef ( null ) ;
var _React$useState = react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useState ( false ) ,
focusVisible = _React$useState [ 0 ] ,
setFocusVisible = _React$useState [ 1 ] ;
if ( disabled && focusVisible ) {
setFocusVisible ( false ) ;
}
var _useIsFocusVisible = ( 0 , _utils _useIsFocusVisible _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default ) ( ) ,
isFocusVisible = _useIsFocusVisible . isFocusVisible ,
onBlurVisible = _useIsFocusVisible . onBlurVisible ,
focusVisibleRef = _useIsFocusVisible . ref ;
react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useImperativeHandle ( action , function ( ) {
return {
focusVisible : function focusVisible ( ) {
setFocusVisible ( true ) ;
buttonRef . current . focus ( ) ;
}
} ;
} , [ ] ) ;
react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useEffect ( function ( ) {
if ( focusVisible && focusRipple && ! disableRipple ) {
rippleRef . current . pulsate ( ) ;
}
} , [ disableRipple , focusRipple , focusVisible ] ) ;
function useRippleHandler ( rippleAction , eventCallback ) {
var skipRippleAction = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : disableTouchRipple ;
return ( 0 , _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( function ( event ) {
if ( eventCallback ) {
eventCallback ( event ) ;
}
var ignore = skipRippleAction ;
if ( ! ignore && rippleRef . current ) {
rippleRef . current [ rippleAction ] ( event ) ;
}
return true ;
} ) ;
}
var handleMouseDown = useRippleHandler ( 'start' , onMouseDown ) ;
var handleDragLeave = useRippleHandler ( 'stop' , onDragLeave ) ;
var handleMouseUp = useRippleHandler ( 'stop' , onMouseUp ) ;
var handleMouseLeave = useRippleHandler ( 'stop' , function ( event ) {
if ( focusVisible ) {
event . preventDefault ( ) ;
}
if ( onMouseLeave ) {
onMouseLeave ( event ) ;
}
} ) ;
var handleTouchStart = useRippleHandler ( 'start' , onTouchStart ) ;
var handleTouchEnd = useRippleHandler ( 'stop' , onTouchEnd ) ;
var handleTouchMove = useRippleHandler ( 'stop' , onTouchMove ) ;
var handleBlur = useRippleHandler ( 'stop' , function ( event ) {
if ( focusVisible ) {
onBlurVisible ( event ) ;
setFocusVisible ( false ) ;
}
if ( onBlur ) {
onBlur ( event ) ;
}
} , false ) ;
var handleFocus = ( 0 , _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( function ( event ) {
// Fix for https://github.com/facebook/react/issues/7769
if ( ! buttonRef . current ) {
buttonRef . current = event . currentTarget ;
}
if ( isFocusVisible ( event ) ) {
setFocusVisible ( true ) ;
if ( onFocusVisible ) {
onFocusVisible ( event ) ;
}
}
if ( onFocus ) {
onFocus ( event ) ;
}
} ) ;
var isNonNativeButton = function isNonNativeButton ( ) {
var button = getButtonNode ( ) ;
return component && component !== 'button' && ! ( button . tagName === 'A' && button . href ) ;
} ;
/ * *
* IE 11 shim for https : //developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat
* /
var keydownRef = react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useRef ( false ) ;
var handleKeyDown = ( 0 , _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( function ( event ) {
// Check if key is already down to avoid repeats being counted as multiple activations
if ( focusRipple && ! keydownRef . current && focusVisible && rippleRef . current && event . key === ' ' ) {
keydownRef . current = true ;
event . persist ( ) ;
rippleRef . current . stop ( event , function ( ) {
rippleRef . current . start ( event ) ;
} ) ;
}
if ( event . target === event . currentTarget && isNonNativeButton ( ) && event . key === ' ' ) {
event . preventDefault ( ) ;
}
if ( onKeyDown ) {
onKeyDown ( event ) ;
} // Keyboard accessibility for non interactive elements
if ( event . target === event . currentTarget && isNonNativeButton ( ) && event . key === 'Enter' && ! disabled ) {
event . preventDefault ( ) ;
if ( onClick ) {
onClick ( event ) ;
}
}
} ) ;
var handleKeyUp = ( 0 , _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( function ( event ) {
// calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
// https://codesandbox.io/s/button-keyup-preventdefault-dn7f0
if ( focusRipple && event . key === ' ' && rippleRef . current && focusVisible && ! event . defaultPrevented ) {
keydownRef . current = false ;
event . persist ( ) ;
rippleRef . current . stop ( event , function ( ) {
rippleRef . current . pulsate ( event ) ;
} ) ;
}
if ( onKeyUp ) {
onKeyUp ( event ) ;
} // Keyboard accessibility for non interactive elements
if ( onClick && event . target === event . currentTarget && isNonNativeButton ( ) && event . key === ' ' && ! event . defaultPrevented ) {
onClick ( event ) ;
}
} ) ;
var ComponentProp = component ;
if ( ComponentProp === 'button' && other . href ) {
ComponentProp = 'a' ;
}
var buttonProps = { } ;
if ( ComponentProp === 'button' ) {
buttonProps . type = type ;
buttonProps . disabled = disabled ;
} else {
if ( ComponentProp !== 'a' || ! other . href ) {
buttonProps . role = 'button' ;
}
buttonProps [ 'aria-disabled' ] = disabled ;
}
var handleUserRef = ( 0 , _utils _useForkRef _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default ) ( buttonRefProp , ref ) ;
var handleOwnRef = ( 0 , _utils _useForkRef _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default ) ( focusVisibleRef , buttonRef ) ;
var handleRef = ( 0 , _utils _useForkRef _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default ) ( handleUserRef , handleOwnRef ) ;
var _React$useState2 = react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useState ( false ) ,
mountedState = _React$useState2 [ 0 ] ,
setMountedState = _React$useState2 [ 1 ] ;
react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useEffect ( function ( ) {
setMountedState ( true ) ;
} , [ ] ) ;
var enableTouchRipple = mountedState && ! disableRipple && ! disabled ;
if ( true ) {
// eslint-disable-next-line react-hooks/rules-of-hooks
react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . useEffect ( function ( ) {
if ( enableTouchRipple && ! rippleRef . current ) {
console . error ( [ 'Material-UI: The `component` prop provided to ButtonBase is invalid.' , 'Please make sure the children prop is rendered in this custom component.' ] . join ( '\n' ) ) ;
}
} , [ enableTouchRipple ] ) ;
}
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( ComponentProp , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default ( ) ( classes . root , className , focusVisible && [ classes . focusVisible , focusVisibleClassName ] , disabled && classes . disabled ) ,
onBlur : handleBlur ,
onClick : onClick ,
onFocus : handleFocus ,
onKeyDown : handleKeyDown ,
onKeyUp : handleKeyUp ,
onMouseDown : handleMouseDown ,
onMouseLeave : handleMouseLeave ,
onMouseUp : handleMouseUp ,
onDragLeave : handleDragLeave ,
onTouchEnd : handleTouchEnd ,
onTouchMove : handleTouchMove ,
onTouchStart : handleTouchStart ,
ref : handleRef ,
tabIndex : disabled ? - 1 : tabIndex
} , buttonProps , other ) , children , enableTouchRipple ?
/*#__PURE__*/
/* TouchRipple is only needed client-side, x2 boost on the server. */
react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( _TouchRipple _ _WEBPACK _IMPORTED _MODULE _10 _ _ . default , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
ref : rippleRef ,
center : centerRipple
} , TouchRippleProps ) ) : null ) ;
} ) ;
true ? ButtonBase . propTypes = {
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the d.ts file and run "yarn proptypes" |
// ----------------------------------------------------------------------
/ * *
* A ref for imperative actions .
* It currently only supports ` focusVisible() ` action .
* /
action : _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ . refType ,
/ * *
* @ ignore
*
* Use that prop to pass a ref to the native button component .
* @ deprecated Use ` ref ` instead .
* /
buttonRef : _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ . refType ,
/ * *
* If ` true ` , the ripples will be centered .
* They won ' t start at the cursor interaction position .
* /
centerRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* The content of the component .
* /
children : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The component used for the root node .
* Either a string to use a HTML element or a component .
* /
component : _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _6 _ _ . elementTypeAcceptingRef ,
/ * *
* If ` true ` , the base button will be disabled .
* /
disabled : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the ripple effect will be disabled .
*
* ⚠ ️ Without a ripple there is no styling for : focus - visible by default . Be sure
* to highlight the element by applying separate styles with the ` focusVisibleClassName ` .
* /
disableRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the touch ripple effect will be disabled .
* /
disableTouchRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the base button will have a keyboard focus ripple .
* /
focusRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* This prop can help a person know which element has the keyboard focus .
* The class name will be applied when the element gain the focus through a keyboard interaction .
* It ' s a polyfill for the [ CSS : focus - visible selector ] ( https : //drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
* The rationale for using this feature [ is explained here ] ( https : //github.com/WICG/focus-visible/blob/master/explainer.md).
* A [ polyfill can be used ] ( https : //github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
* if needed .
* /
focusVisibleClassName : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* @ ignore
* /
href : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* @ ignore
* /
onBlur : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onClick : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onDragLeave : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onFocus : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* Callback fired when the component is focused with a keyboard .
* We trigger a ` onFocus ` callback too .
* /
onFocusVisible : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onKeyDown : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onKeyUp : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onMouseDown : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onMouseLeave : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onMouseUp : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onTouchEnd : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onTouchMove : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
onTouchStart : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . func ) ,
/ * *
* @ ignore
* /
tabIndex : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOfType ( [ ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . number ) , ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ] ) ,
/ * *
* Props applied to the ` TouchRipple ` element .
* /
TouchRippleProps : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object ) ,
/ * *
* @ ignore
* /
type : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOfType ( [ prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'button' , 'reset' , 'submit' ] ) , ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ] )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . default ) ( styles , {
name : 'MuiButtonBase'
} ) ( ButtonBase ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/ButtonBase/Ripple.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / ButtonBase / Ripple . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! ../utils/useEventCallback */ "./node_modules/@material-ui/core/esm/utils/useEventCallback.js" ) ;
var useEnhancedEffect = typeof window === 'undefined' ? react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useEffect : react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useLayoutEffect ;
/ * *
* @ ignore - internal component .
* /
function Ripple ( props ) {
var classes = props . classes ,
_props$pulsate = props . pulsate ,
pulsate = _props$pulsate === void 0 ? false : _props$pulsate ,
rippleX = props . rippleX ,
rippleY = props . rippleY ,
rippleSize = props . rippleSize ,
inProp = props . in ,
_props$onExited = props . onExited ,
onExited = _props$onExited === void 0 ? function ( ) { } : _props$onExited ,
timeout = props . timeout ;
var _React$useState = react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useState ( false ) ,
leaving = _React$useState [ 0 ] ,
setLeaving = _React$useState [ 1 ] ;
var rippleClassName = clsx _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( classes . ripple , classes . rippleVisible , pulsate && classes . ripplePulsate ) ;
var rippleStyles = {
width : rippleSize ,
height : rippleSize ,
top : - ( rippleSize / 2 ) + rippleY ,
left : - ( rippleSize / 2 ) + rippleX
} ;
var childClassName = clsx _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ( classes . child , leaving && classes . childLeaving , pulsate && classes . childPulsate ) ;
var handleExited = ( 0 , _utils _useEventCallback _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default ) ( onExited ) ; // Ripple is used for user feedback (e.g. click or press) so we want to apply styles with the highest priority
useEnhancedEffect ( function ( ) {
if ( ! inProp ) {
// react-transition-group#onExit
setLeaving ( true ) ; // react-transition-group#onExited
var timeoutId = setTimeout ( handleExited , timeout ) ;
return function ( ) {
clearTimeout ( timeoutId ) ;
} ;
}
return undefined ;
} , [ handleExited , inProp , timeout ] ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . createElement ( "span" , {
className : rippleClassName ,
style : rippleStyles
} , /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . createElement ( "span" , {
className : childClassName
} ) ) ;
}
true ? Ripple . propTypes = {
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . object . isRequired ) ,
/ * *
* @ ignore - injected from TransitionGroup
* /
in : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . bool ) ,
/ * *
* @ ignore - injected from TransitionGroup
* /
onExited : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . func ) ,
/ * *
* If ` true ` , the ripple pulsates , typically indicating the keyboard focus state of an element .
* /
pulsate : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . bool ) ,
/ * *
* Diameter of the ripple .
* /
rippleSize : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . number ) ,
/ * *
* Horizontal position of the ripple center .
* /
rippleX : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . number ) ,
/ * *
* Vertical position of the ripple center .
* /
rippleY : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . number ) ,
/ * *
* exit delay
* /
timeout : ( prop _types _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . number . isRequired )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( Ripple ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/ButtonBase/TouchRipple.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / ButtonBase / TouchRipple . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "DELAY_RIPPLE" : function ( ) { return /* binding */ DELAY _RIPPLE ; } ,
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _toConsumableArray _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/toConsumableArray */ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var react _transition _group _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! react-transition-group */ "react-transition-group" ) ;
/* harmony import */ var react _transition _group _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _transition _group _ _WEBPACK _IMPORTED _MODULE _5 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _6 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _6 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _Ripple _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ./Ripple */ "./node_modules/@material-ui/core/esm/ButtonBase/Ripple.js" ) ;
var DURATION = 550 ;
var DELAY _RIPPLE = 80 ;
var styles = function styles ( theme ) {
return {
/* Styles applied to the root element. */
root : {
overflow : 'hidden' ,
pointerEvents : 'none' ,
position : 'absolute' ,
zIndex : 0 ,
top : 0 ,
right : 0 ,
bottom : 0 ,
left : 0 ,
borderRadius : 'inherit'
} ,
/* Styles applied to the internal `Ripple` components `ripple` class. */
ripple : {
opacity : 0 ,
position : 'absolute'
} ,
/* Styles applied to the internal `Ripple` components `rippleVisible` class. */
rippleVisible : {
opacity : 0.3 ,
transform : 'scale(1)' ,
animation : "$enter " . concat ( DURATION , "ms " ) . concat ( theme . transitions . easing . easeInOut )
} ,
/* Styles applied to the internal `Ripple` components `ripplePulsate` class. */
ripplePulsate : {
animationDuration : "" . concat ( theme . transitions . duration . shorter , "ms" )
} ,
/* Styles applied to the internal `Ripple` components `child` class. */
child : {
opacity : 1 ,
display : 'block' ,
width : '100%' ,
height : '100%' ,
borderRadius : '50%' ,
backgroundColor : 'currentColor'
} ,
/* Styles applied to the internal `Ripple` components `childLeaving` class. */
childLeaving : {
opacity : 0 ,
animation : "$exit " . concat ( DURATION , "ms " ) . concat ( theme . transitions . easing . easeInOut )
} ,
/* Styles applied to the internal `Ripple` components `childPulsate` class. */
childPulsate : {
position : 'absolute' ,
left : 0 ,
top : 0 ,
animation : "$pulsate 2500ms " . concat ( theme . transitions . easing . easeInOut , " 200ms infinite" )
} ,
'@keyframes enter' : {
'0%' : {
transform : 'scale(0)' ,
opacity : 0.1
} ,
'100%' : {
transform : 'scale(1)' ,
opacity : 0.3
}
} ,
'@keyframes exit' : {
'0%' : {
opacity : 1
} ,
'100%' : {
opacity : 0
}
} ,
'@keyframes pulsate' : {
'0%' : {
transform : 'scale(1)'
} ,
'50%' : {
transform : 'scale(0.92)'
} ,
'100%' : {
transform : 'scale(1)'
}
}
} ;
} ;
/ * *
* @ ignore - internal component .
*
* TODO v5 : Make private
* /
var TouchRipple = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . forwardRef ( function TouchRipple ( props , ref ) {
var _props$center = props . center ,
centerProp = _props$center === void 0 ? false : _props$center ,
classes = props . classes ,
className = props . className ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default ) ( props , [ "center" , "classes" , "className" ] ) ;
var _React$useState = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useState ( [ ] ) ,
ripples = _React$useState [ 0 ] ,
setRipples = _React$useState [ 1 ] ;
var nextKey = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useRef ( 0 ) ;
var rippleCallback = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useRef ( null ) ;
react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useEffect ( function ( ) {
if ( rippleCallback . current ) {
rippleCallback . current ( ) ;
rippleCallback . current = null ;
}
} , [ ripples ] ) ; // Used to filter out mouse emulated events on mobile.
var ignoringMouseDown = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useRef ( false ) ; // We use a timer in order to only show the ripples for touch "click" like events.
// We don't want to display the ripple for touch scroll events.
var startTimer = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useRef ( null ) ; // This is the hook called once the previous timeout is ready.
var startTimerCommit = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useRef ( null ) ;
var container = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useRef ( null ) ;
react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useEffect ( function ( ) {
return function ( ) {
clearTimeout ( startTimer . current ) ;
} ;
} , [ ] ) ;
var startCommit = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useCallback ( function ( params ) {
var pulsate = params . pulsate ,
rippleX = params . rippleX ,
rippleY = params . rippleY ,
rippleSize = params . rippleSize ,
cb = params . cb ;
setRipples ( function ( oldRipples ) {
return [ ] . concat ( ( 0 , _babel _runtime _helpers _esm _toConsumableArray _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( oldRipples ) , [ /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . createElement ( _Ripple _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default , {
key : nextKey . current ,
classes : classes ,
timeout : DURATION ,
pulsate : pulsate ,
rippleX : rippleX ,
rippleY : rippleY ,
rippleSize : rippleSize
} ) ] ) ;
} ) ;
nextKey . current += 1 ;
rippleCallback . current = cb ;
} , [ classes ] ) ;
var start = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useCallback ( function ( ) {
var event = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : { } ;
var options = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ;
var cb = arguments . length > 2 ? arguments [ 2 ] : undefined ;
var _options$pulsate = options . pulsate ,
pulsate = _options$pulsate === void 0 ? false : _options$pulsate ,
_options$center = options . center ,
center = _options$center === void 0 ? centerProp || options . pulsate : _options$center ,
_options$fakeElement = options . fakeElement ,
fakeElement = _options$fakeElement === void 0 ? false : _options$fakeElement ;
if ( event . type === 'mousedown' && ignoringMouseDown . current ) {
ignoringMouseDown . current = false ;
return ;
}
if ( event . type === 'touchstart' ) {
ignoringMouseDown . current = true ;
}
var element = fakeElement ? null : container . current ;
var rect = element ? element . getBoundingClientRect ( ) : {
width : 0 ,
height : 0 ,
left : 0 ,
top : 0
} ; // Get the size of the ripple
var rippleX ;
var rippleY ;
var rippleSize ;
if ( center || event . clientX === 0 && event . clientY === 0 || ! event . clientX && ! event . touches ) {
rippleX = Math . round ( rect . width / 2 ) ;
rippleY = Math . round ( rect . height / 2 ) ;
} else {
var _ref = event . touches ? event . touches [ 0 ] : event ,
clientX = _ref . clientX ,
clientY = _ref . clientY ;
rippleX = Math . round ( clientX - rect . left ) ;
rippleY = Math . round ( clientY - rect . top ) ;
}
if ( center ) {
rippleSize = Math . sqrt ( ( 2 * Math . pow ( rect . width , 2 ) + Math . pow ( rect . height , 2 ) ) / 3 ) ; // For some reason the animation is broken on Mobile Chrome if the size if even.
if ( rippleSize % 2 === 0 ) {
rippleSize += 1 ;
}
} else {
var sizeX = Math . max ( Math . abs ( ( element ? element . clientWidth : 0 ) - rippleX ) , rippleX ) * 2 + 2 ;
var sizeY = Math . max ( Math . abs ( ( element ? element . clientHeight : 0 ) - rippleY ) , rippleY ) * 2 + 2 ;
rippleSize = Math . sqrt ( Math . pow ( sizeX , 2 ) + Math . pow ( sizeY , 2 ) ) ;
} // Touche devices
if ( event . touches ) {
// check that this isn't another touchstart due to multitouch
// otherwise we will only clear a single timer when unmounting while two
// are running
if ( startTimerCommit . current === null ) {
// Prepare the ripple effect.
startTimerCommit . current = function ( ) {
startCommit ( {
pulsate : pulsate ,
rippleX : rippleX ,
rippleY : rippleY ,
rippleSize : rippleSize ,
cb : cb
} ) ;
} ; // Delay the execution of the ripple effect.
startTimer . current = setTimeout ( function ( ) {
if ( startTimerCommit . current ) {
startTimerCommit . current ( ) ;
startTimerCommit . current = null ;
}
} , DELAY _RIPPLE ) ; // We have to make a tradeoff with this value.
}
} else {
startCommit ( {
pulsate : pulsate ,
rippleX : rippleX ,
rippleY : rippleY ,
rippleSize : rippleSize ,
cb : cb
} ) ;
}
} , [ centerProp , startCommit ] ) ;
var pulsate = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useCallback ( function ( ) {
start ( { } , {
pulsate : true
} ) ;
} , [ start ] ) ;
var stop = react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useCallback ( function ( event , cb ) {
clearTimeout ( startTimer . current ) ; // The touch interaction occurs too quickly.
// We still want to show ripple effect.
if ( event . type === 'touchend' && startTimerCommit . current ) {
event . persist ( ) ;
startTimerCommit . current ( ) ;
startTimerCommit . current = null ;
startTimer . current = setTimeout ( function ( ) {
stop ( event , cb ) ;
} ) ;
return ;
}
startTimerCommit . current = null ;
setRipples ( function ( oldRipples ) {
if ( oldRipples . length > 0 ) {
return oldRipples . slice ( 1 ) ;
}
return oldRipples ;
} ) ;
rippleCallback . current = cb ;
} , [ ] ) ;
react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . useImperativeHandle ( ref , function ( ) {
return {
pulsate : pulsate ,
start : start ,
stop : stop
} ;
} , [ pulsate , start , stop ] ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . createElement ( "span" , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _6 _ _ _default ( ) ( classes . root , className ) ,
ref : container
} , other ) , /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . createElement ( react _transition _group _ _WEBPACK _IMPORTED _MODULE _5 _ _ . TransitionGroup , {
component : null ,
exit : true
} , ripples ) ) ;
} ) ;
true ? TouchRipple . propTypes = {
/ * *
* If ` true ` , the ripple starts at the center of the component
* rather than at the point of interaction .
* /
center : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . bool ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . object . isRequired ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . string )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( styles , {
flip : false ,
name : 'MuiTouchRipple'
} ) ( /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . memo ( TouchRipple ) ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/ButtonBase/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / ButtonBase / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _ButtonBase _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _ButtonBase _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./ButtonBase */ "./node_modules/@material-ui/core/esm/ButtonBase/ButtonBase.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/IconButton/IconButton.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / IconButton / IconButton . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../styles/colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js" ) ;
/* harmony import */ var _ButtonBase _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ../ButtonBase */ "./node_modules/@material-ui/core/esm/ButtonBase/index.js" ) ;
/* harmony import */ var _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ../utils/capitalize */ "./node_modules/@material-ui/core/esm/utils/capitalize.js" ) ;
var styles = function styles ( theme ) {
return {
/* Styles applied to the root element. */
root : {
textAlign : 'center' ,
flex : '0 0 auto' ,
fontSize : theme . typography . pxToRem ( 24 ) ,
padding : 12 ,
borderRadius : '50%' ,
overflow : 'visible' ,
// Explicitly set the default value to solve a bug on IE 11.
color : theme . palette . action . active ,
transition : theme . transitions . create ( 'background-color' , {
duration : theme . transitions . duration . shortest
} ) ,
'&:hover' : {
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _6 _ _ . fade ) ( theme . palette . action . active , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
} ,
'&$disabled' : {
backgroundColor : 'transparent' ,
color : theme . palette . action . disabled
}
} ,
/* Styles applied to the root element if `edge="start"`. */
edgeStart : {
marginLeft : - 12 ,
'$sizeSmall&' : {
marginLeft : - 3
}
} ,
/* Styles applied to the root element if `edge="end"`. */
edgeEnd : {
marginRight : - 12 ,
'$sizeSmall&' : {
marginRight : - 3
}
} ,
/* Styles applied to the root element if `color="inherit"`. */
colorInherit : {
color : 'inherit'
} ,
/* Styles applied to the root element if `color="primary"`. */
colorPrimary : {
color : theme . palette . primary . main ,
'&:hover' : {
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _6 _ _ . fade ) ( theme . palette . primary . main , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
}
} ,
/* Styles applied to the root element if `color="secondary"`. */
colorSecondary : {
color : theme . palette . secondary . main ,
'&:hover' : {
backgroundColor : ( 0 , _styles _colorManipulator _ _WEBPACK _IMPORTED _MODULE _6 _ _ . fade ) ( theme . palette . secondary . main , theme . palette . action . hoverOpacity ) ,
// Reset on touch devices, it doesn't add specificity
'@media (hover: none)' : {
backgroundColor : 'transparent'
}
}
} ,
/* Pseudo-class applied to the root element if `disabled={true}`. */
disabled : { } ,
/* Styles applied to the root element if `size="small"`. */
sizeSmall : {
padding : 3 ,
fontSize : theme . typography . pxToRem ( 18 )
} ,
/* Styles applied to the children container element. */
label : {
width : '100%' ,
display : 'flex' ,
alignItems : 'inherit' ,
justifyContent : 'inherit'
}
} ;
} ;
/ * *
* Refer to the [ Icons ] ( / c o m p o n e n t s / i c o n s / ) s e c t i o n o f t h e d o c u m e n t a t i o n
* regarding the available icon options .
* /
var IconButton = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . forwardRef ( function IconButton ( props , ref ) {
var _props$edge = props . edge ,
edge = _props$edge === void 0 ? false : _props$edge ,
children = props . children ,
classes = props . classes ,
className = props . className ,
_props$color = props . color ,
color = _props$color === void 0 ? 'default' : _props$color ,
_props$disabled = props . disabled ,
disabled = _props$disabled === void 0 ? false : _props$disabled ,
_props$disableFocusRi = props . disableFocusRipple ,
disableFocusRipple = _props$disableFocusRi === void 0 ? false : _props$disableFocusRi ,
_props$size = props . size ,
size = _props$size === void 0 ? 'medium' : _props$size ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( props , [ "edge" , "children" , "classes" , "className" , "color" , "disabled" , "disableFocusRipple" , "size" ] ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( _ButtonBase _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . root , className , color !== 'default' && classes [ "color" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( color ) ) ] , disabled && classes . disabled , size === "small" && classes [ "size" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( size ) ) ] , {
'start' : classes . edgeStart ,
'end' : classes . edgeEnd
} [ edge ] ) ,
centerRipple : true ,
focusRipple : ! disableFocusRipple ,
disabled : disabled ,
ref : ref
} , other ) , /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( "span" , {
className : classes . label
} , children ) ) ;
} ) ;
true ? IconButton . propTypes = {
/ * *
* The icon element .
* /
children : ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ . chainPropTypes ) ( ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) , function ( props ) {
var found = react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . Children . toArray ( props . children ) . some ( function ( child ) {
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . isValidElement ( child ) && child . props . onClick ;
} ) ;
if ( found ) {
return new Error ( [ 'Material-UI: You are providing an onClick event listener ' + 'to a child of a button element.' , 'Firefox will never trigger the event.' , 'You should move the onClick listener to the parent button element.' , 'https://github.com/mui-org/material-ui/issues/13957' ] . join ( '\n' ) ) ;
}
return null ;
} ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object . isRequired ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The color of the component . It supports those theme colors that make sense for this component .
* /
color : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'default' , 'inherit' , 'primary' , 'secondary' ] ) ,
/ * *
* If ` true ` , the button will be disabled .
* /
disabled : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the keyboard focus ripple will be disabled .
* /
disableFocusRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the ripple effect will be disabled .
* /
disableRipple : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If given , uses a negative margin to counteract the padding on one
* side ( this is often helpful for aligning the left or right
* side of the icon with content above or below , without ruining the border
* size and shape ) .
* /
edge : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'start' , 'end' , false ] ) ,
/ * *
* The size of the button .
* ` small ` is equivalent to the dense button styling .
* /
size : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'small' , 'medium' ] )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default ) ( styles , {
name : 'MuiIconButton'
} ) ( IconButton ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/IconButton/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / IconButton / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _IconButton _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _IconButton _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./IconButton */ "./node_modules/@material-ui/core/esm/IconButton/IconButton.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Paper/Paper.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Paper / Paper . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
var styles = function styles ( theme ) {
var elevations = { } ;
theme . shadows . forEach ( function ( shadow , index ) {
elevations [ "elevation" . concat ( index ) ] = {
boxShadow : shadow
} ;
} ) ;
return ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( {
/* Styles applied to the root element. */
root : {
backgroundColor : theme . palette . background . paper ,
color : theme . palette . text . primary ,
transition : theme . transitions . create ( 'box-shadow' )
} ,
/* Styles applied to the root element if `square={false}`. */
rounded : {
borderRadius : theme . shape . borderRadius
} ,
/* Styles applied to the root element if `variant="outlined"`. */
outlined : {
border : "1px solid " . concat ( theme . palette . divider )
}
} , elevations ) ;
} ;
var Paper = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . forwardRef ( function Paper ( props , ref ) {
var classes = props . classes ,
className = props . className ,
_props$component = props . component ,
Component = _props$component === void 0 ? 'div' : _props$component ,
_props$square = props . square ,
square = _props$square === void 0 ? false : _props$square ,
_props$elevation = props . elevation ,
elevation = _props$elevation === void 0 ? 1 : _props$elevation ,
_props$variant = props . variant ,
variant = _props$variant === void 0 ? 'elevation' : _props$variant ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( props , [ "classes" , "className" , "component" , "square" , "elevation" , "variant" ] ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( Component , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . root , className , variant === 'outlined' ? classes . outlined : classes [ "elevation" . concat ( elevation ) ] , ! square && classes . rounded ) ,
ref : ref
} , other ) ) ;
} ) ;
true ? Paper . propTypes = {
// ----------------------------- Warning --------------------------------
// | These PropTypes are generated from the TypeScript type definitions |
// | To update them edit the d.ts file and run "yarn proptypes" |
// ----------------------------------------------------------------------
/ * *
* The content of the component .
* /
children : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The component used for the root node .
* Either a string to use a HTML element or a component .
* /
component : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . elementType ) ,
/ * *
* Shadow depth , corresponds to ` dp ` in the spec .
* It accepts values between 0 and 24 inclusive .
* /
elevation : ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _5 _ _ . chainPropTypes ) ( ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . number ) , function ( props ) {
var classes = props . classes ,
elevation = props . elevation ; // in case `withStyles` fails to inject we don't need this warning
if ( classes === undefined ) {
return null ;
}
if ( elevation != null && classes [ "elevation" . concat ( elevation ) ] === undefined ) {
return new Error ( "Material-UI: This elevation `" . concat ( elevation , "` is not implemented." ) ) ;
}
return null ;
} ) ,
/ * *
* If ` true ` , rounded corners are disabled .
* /
square : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* The variant to use .
* /
variant : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'elevation' , 'outlined' ] )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( styles , {
name : 'MuiPaper'
} ) ( Paper ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Paper/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Paper / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _Paper _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _Paper _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./Paper */ "./node_modules/@material-ui/core/esm/Paper/Paper.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Toolbar/Toolbar.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Toolbar / Toolbar . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
var styles = function styles ( theme ) {
return {
/* Styles applied to the root element. */
root : {
position : 'relative' ,
display : 'flex' ,
alignItems : 'center'
} ,
/* Styles applied to the root element if `disableGutters={false}`. */
gutters : ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default ) ( {
paddingLeft : theme . spacing ( 2 ) ,
paddingRight : theme . spacing ( 2 )
} , theme . breakpoints . up ( 'sm' ) , {
paddingLeft : theme . spacing ( 3 ) ,
paddingRight : theme . spacing ( 3 )
} ) ,
/* Styles applied to the root element if `variant="regular"`. */
regular : theme . mixins . toolbar ,
/* Styles applied to the root element if `variant="dense"`. */
dense : {
minHeight : 48
}
} ;
} ;
var Toolbar = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . forwardRef ( function Toolbar ( props , ref ) {
var classes = props . classes ,
className = props . className ,
_props$component = props . component ,
Component = _props$component === void 0 ? 'div' : _props$component ,
_props$disableGutters = props . disableGutters ,
disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters ,
_props$variant = props . variant ,
variant = _props$variant === void 0 ? 'regular' : _props$variant ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( props , [ "classes" , "className" , "component" , "disableGutters" , "variant" ] ) ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _3 _ _ . createElement ( Component , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _5 _ _ _default ( ) ( classes . root , classes [ variant ] , className , ! disableGutters && classes . gutters ) ,
ref : ref
} , other ) ) ;
} ) ;
true ? Toolbar . propTypes = {
/ * *
* Toolbar children , usually a mixture of ` IconButton ` , ` Button ` and ` Typography ` .
* /
children : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . node ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . object . isRequired ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . string ) ,
/ * *
* The component used for the root node .
* Either a string to use a HTML element or a component .
* /
component : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . elementType ) ,
/ * *
* If ` true ` , disables gutter padding .
* /
disableGutters : ( prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . bool ) ,
/ * *
* The variant to use .
* /
variant : prop _types _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) . oneOf ( [ 'regular' , 'dense' ] )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( styles , {
name : 'MuiToolbar'
} ) ( Toolbar ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Toolbar/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Toolbar / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _Toolbar _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _Toolbar _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./Toolbar */ "./node_modules/@material-ui/core/esm/Toolbar/Toolbar.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Typography/Typography.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Typography / Typography . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "styles" : function ( ) { return /* binding */ styles ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! prop-types */ "prop-types" ) ;
/* harmony import */ var prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! clsx */ "clsx" ) ;
/* harmony import */ var clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ ) ;
/* harmony import */ var _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../styles/withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! ../utils/capitalize */ "./node_modules/@material-ui/core/esm/utils/capitalize.js" ) ;
var styles = function styles ( theme ) {
return {
/* Styles applied to the root element. */
root : {
margin : 0
} ,
/* Styles applied to the root element if `variant="body2"`. */
body2 : theme . typography . body2 ,
/* Styles applied to the root element if `variant="body1"`. */
body1 : theme . typography . body1 ,
/* Styles applied to the root element if `variant="caption"`. */
caption : theme . typography . caption ,
/* Styles applied to the root element if `variant="button"`. */
button : theme . typography . button ,
/* Styles applied to the root element if `variant="h1"`. */
h1 : theme . typography . h1 ,
/* Styles applied to the root element if `variant="h2"`. */
h2 : theme . typography . h2 ,
/* Styles applied to the root element if `variant="h3"`. */
h3 : theme . typography . h3 ,
/* Styles applied to the root element if `variant="h4"`. */
h4 : theme . typography . h4 ,
/* Styles applied to the root element if `variant="h5"`. */
h5 : theme . typography . h5 ,
/* Styles applied to the root element if `variant="h6"`. */
h6 : theme . typography . h6 ,
/* Styles applied to the root element if `variant="subtitle1"`. */
subtitle1 : theme . typography . subtitle1 ,
/* Styles applied to the root element if `variant="subtitle2"`. */
subtitle2 : theme . typography . subtitle2 ,
/* Styles applied to the root element if `variant="overline"`. */
overline : theme . typography . overline ,
/* Styles applied to the root element if `variant="srOnly"`. Only accessible to screen readers. */
srOnly : {
position : 'absolute' ,
height : 1 ,
width : 1 ,
overflow : 'hidden'
} ,
/* Styles applied to the root element if `align="left"`. */
alignLeft : {
textAlign : 'left'
} ,
/* Styles applied to the root element if `align="center"`. */
alignCenter : {
textAlign : 'center'
} ,
/* Styles applied to the root element if `align="right"`. */
alignRight : {
textAlign : 'right'
} ,
/* Styles applied to the root element if `align="justify"`. */
alignJustify : {
textAlign : 'justify'
} ,
/* Styles applied to the root element if `nowrap={true}`. */
noWrap : {
overflow : 'hidden' ,
textOverflow : 'ellipsis' ,
whiteSpace : 'nowrap'
} ,
/* Styles applied to the root element if `gutterBottom={true}`. */
gutterBottom : {
marginBottom : '0.35em'
} ,
/* Styles applied to the root element if `paragraph={true}`. */
paragraph : {
marginBottom : 16
} ,
/* Styles applied to the root element if `color="inherit"`. */
colorInherit : {
color : 'inherit'
} ,
/* Styles applied to the root element if `color="primary"`. */
colorPrimary : {
color : theme . palette . primary . main
} ,
/* Styles applied to the root element if `color="secondary"`. */
colorSecondary : {
color : theme . palette . secondary . main
} ,
/* Styles applied to the root element if `color="textPrimary"`. */
colorTextPrimary : {
color : theme . palette . text . primary
} ,
/* Styles applied to the root element if `color="textSecondary"`. */
colorTextSecondary : {
color : theme . palette . text . secondary
} ,
/* Styles applied to the root element if `color="error"`. */
colorError : {
color : theme . palette . error . main
} ,
/* Styles applied to the root element if `display="inline"`. */
displayInline : {
display : 'inline'
} ,
/* Styles applied to the root element if `display="block"`. */
displayBlock : {
display : 'block'
}
} ;
} ;
var defaultVariantMapping = {
h1 : 'h1' ,
h2 : 'h2' ,
h3 : 'h3' ,
h4 : 'h4' ,
h5 : 'h5' ,
h6 : 'h6' ,
subtitle1 : 'h6' ,
subtitle2 : 'h6' ,
body1 : 'p' ,
body2 : 'p'
} ;
var Typography = /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . forwardRef ( function Typography ( props , ref ) {
var _props$align = props . align ,
align = _props$align === void 0 ? 'inherit' : _props$align ,
classes = props . classes ,
className = props . className ,
_props$color = props . color ,
color = _props$color === void 0 ? 'initial' : _props$color ,
component = props . component ,
_props$display = props . display ,
display = _props$display === void 0 ? 'initial' : _props$display ,
_props$gutterBottom = props . gutterBottom ,
gutterBottom = _props$gutterBottom === void 0 ? false : _props$gutterBottom ,
_props$noWrap = props . noWrap ,
noWrap = _props$noWrap === void 0 ? false : _props$noWrap ,
_props$paragraph = props . paragraph ,
paragraph = _props$paragraph === void 0 ? false : _props$paragraph ,
_props$variant = props . variant ,
variant = _props$variant === void 0 ? 'body1' : _props$variant ,
_props$variantMapping = props . variantMapping ,
variantMapping = _props$variantMapping === void 0 ? defaultVariantMapping : _props$variantMapping ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( props , [ "align" , "classes" , "className" , "color" , "component" , "display" , "gutterBottom" , "noWrap" , "paragraph" , "variant" , "variantMapping" ] ) ;
var Component = component || ( paragraph ? 'p' : variantMapping [ variant ] || defaultVariantMapping [ variant ] ) || 'span' ;
return /*#__PURE__*/ react _ _WEBPACK _IMPORTED _MODULE _2 _ _ . createElement ( Component , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
className : clsx _ _WEBPACK _IMPORTED _MODULE _4 _ _ _default ( ) ( classes . root , className , variant !== 'inherit' && classes [ variant ] , color !== 'initial' && classes [ "color" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default ) ( color ) ) ] , noWrap && classes . noWrap , gutterBottom && classes . gutterBottom , paragraph && classes . paragraph , align !== 'inherit' && classes [ "align" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default ) ( align ) ) ] , display !== 'initial' && classes [ "display" . concat ( ( 0 , _utils _capitalize _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default ) ( display ) ) ] ) ,
ref : ref
} , other ) ) ;
} ) ;
true ? Typography . propTypes = {
/ * *
* Set the text - align on the component .
* /
align : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'inherit' , 'left' , 'center' , 'right' , 'justify' ] ) ,
/ * *
* The content of the component .
* /
children : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . node ) ,
/ * *
* Override or extend the styles applied to the component .
* See [ CSS API ] ( # css ) below for more details .
* /
classes : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object . isRequired ) ,
/ * *
* @ ignore
* /
className : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . string ) ,
/ * *
* The color of the component . It supports those theme colors that make sense for this component .
* /
color : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'initial' , 'inherit' , 'primary' , 'secondary' , 'textPrimary' , 'textSecondary' , 'error' ] ) ,
/ * *
* The component used for the root node .
* Either a string to use a HTML element or a component .
* Overrides the behavior of the ` variantMapping ` prop .
* /
component : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . elementType ) ,
/ * *
* Controls the display type
* /
display : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'initial' , 'block' , 'inline' ] ) ,
/ * *
* If ` true ` , the text will have a bottom margin .
* /
gutterBottom : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the text will not wrap , but instead will truncate with a text overflow ellipsis .
*
* Note that text overflow can only happen with block or inline - block level elements
* ( the element needs to have a width in order to overflow ) .
* /
noWrap : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* If ` true ` , the text will have a bottom margin .
* /
paragraph : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . bool ) ,
/ * *
* Applies the theme typography styles .
* /
variant : prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . oneOf ( [ 'h1' , 'h2' , 'h3' , 'h4' , 'h5' , 'h6' , 'subtitle1' , 'subtitle2' , 'body1' , 'body2' , 'caption' , 'button' , 'overline' , 'srOnly' , 'inherit' ] ) ,
/ * *
* The component maps the variant prop to a range of different HTML element types .
* For instance , subtitle1 to ` <h6> ` .
* If you wish to change that mapping , you can provide your own .
* Alternatively , you can use the ` component ` prop .
* /
variantMapping : ( prop _types _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) . object )
} : 0 ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( ( 0 , _styles _withStyles _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( styles , {
name : 'MuiTypography'
} ) ( Typography ) ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/Typography/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / Typography / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* reexport safe */ _Typography _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ; }
/* harmony export */ } ) ;
/* harmony import */ var _Typography _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./Typography */ "./node_modules/@material-ui/core/esm/Typography/Typography.js" ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/blue.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / blue . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var blue = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( blue ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/common.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / common . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var common = {
black : '#000' ,
white : '#fff'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( common ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/green.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / green . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var green = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( green ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/grey.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / grey . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var grey = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( grey ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/indigo.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / indigo . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var indigo = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( indigo ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/orange.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / orange . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var orange = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( orange ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/pink.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / pink . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var pink = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( pink ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/colors/red.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / colors / red . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var red = {
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'
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( red ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / colorManipulator . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "hexToRgb" : function ( ) { return /* binding */ hexToRgb ; } ,
/* harmony export */ "rgbToHex" : function ( ) { return /* binding */ rgbToHex ; } ,
/* harmony export */ "hslToRgb" : function ( ) { return /* binding */ hslToRgb ; } ,
/* harmony export */ "decomposeColor" : function ( ) { return /* binding */ decomposeColor ; } ,
/* harmony export */ "recomposeColor" : function ( ) { return /* binding */ recomposeColor ; } ,
/* harmony export */ "getContrastRatio" : function ( ) { return /* binding */ getContrastRatio ; } ,
/* harmony export */ "getLuminance" : function ( ) { return /* binding */ getLuminance ; } ,
/* harmony export */ "emphasize" : function ( ) { return /* binding */ emphasize ; } ,
/* harmony export */ "fade" : function ( ) { return /* binding */ fade ; } ,
/* harmony export */ "darken" : function ( ) { return /* binding */ darken ; } ,
/* harmony export */ "lighten" : function ( ) { return /* binding */ lighten ; }
/* harmony export */ } ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* eslint-disable no-use-before-define */
/ * *
* Returns a number whose value is limited to the given range .
*
* @ param { number } value The value to be clamped
* @ param { number } min The lower boundary of the output range
* @ param { number } max The upper boundary of the output range
* @ returns { number } A number in the range [ min , max ]
* /
function clamp ( value ) {
var min = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : 0 ;
var max = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : 1 ;
if ( true ) {
if ( value < min || value > max ) {
console . error ( "Material-UI: The value provided " . concat ( value , " is out of range [" ) . concat ( min , ", " ) . concat ( max , "]." ) ) ;
}
}
return Math . min ( Math . max ( min , value ) , max ) ;
}
/ * *
* Converts a color from CSS hex format to CSS rgb format .
*
* @ param { string } color - Hex color , i . e . # nnn or # nnnnnn
* @ returns { string } A CSS rgb color string
* /
function hexToRgb ( color ) {
color = color . substr ( 1 ) ;
var re = new RegExp ( ".{1," . concat ( color . length >= 6 ? 2 : 1 , "}" ) , 'g' ) ;
var colors = color . match ( re ) ;
if ( colors && colors [ 0 ] . length === 1 ) {
colors = colors . map ( function ( n ) {
return n + n ;
} ) ;
}
return colors ? "rgb" . concat ( colors . length === 4 ? 'a' : '' , "(" ) . concat ( colors . map ( function ( n , index ) {
return index < 3 ? parseInt ( n , 16 ) : Math . round ( parseInt ( n , 16 ) / 255 * 1000 ) / 1000 ;
} ) . join ( ', ' ) , ")" ) : '' ;
}
function intToHex ( int ) {
var hex = int . toString ( 16 ) ;
return hex . length === 1 ? "0" . concat ( hex ) : hex ;
}
/ * *
* Converts a color from CSS rgb format to CSS hex format .
*
* @ param { string } color - RGB color , i . e . rgb ( n , n , n )
* @ returns { string } A CSS rgb color string , i . e . # nnnnnn
* /
function rgbToHex ( color ) {
// Idempotent
if ( color . indexOf ( '#' ) === 0 ) {
return color ;
}
var _decomposeColor = decomposeColor ( color ) ,
values = _decomposeColor . values ;
return "#" . concat ( values . map ( function ( n ) {
return intToHex ( n ) ;
} ) . join ( '' ) ) ;
}
/ * *
* Converts a color from hsl format to rgb format .
*
* @ param { string } color - HSL color values
* @ returns { string } rgb color values
* /
function hslToRgb ( color ) {
color = decomposeColor ( color ) ;
var _color = color ,
values = _color . values ;
var h = values [ 0 ] ;
var s = values [ 1 ] / 100 ;
var l = values [ 2 ] / 100 ;
var a = s * Math . min ( l , 1 - l ) ;
var f = function f ( n ) {
var k = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : ( n + h / 30 ) % 12 ;
return l - a * Math . max ( Math . min ( k - 3 , 9 - k , 1 ) , - 1 ) ;
} ;
var type = 'rgb' ;
var rgb = [ Math . round ( f ( 0 ) * 255 ) , Math . round ( f ( 8 ) * 255 ) , Math . round ( f ( 4 ) * 255 ) ] ;
if ( color . type === 'hsla' ) {
type += 'a' ;
rgb . push ( values [ 3 ] ) ;
}
return recomposeColor ( {
type : type ,
values : rgb
} ) ;
}
/ * *
* Returns an object with the type and values of a color .
*
* Note : Does not support rgb % values .
*
* @ param { string } color - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ returns { object } - A MUI color object : { type : string , values : number [ ] }
* /
function decomposeColor ( color ) {
// Idempotent
if ( color . type ) {
return color ;
}
if ( color . charAt ( 0 ) === '#' ) {
return decomposeColor ( hexToRgb ( color ) ) ;
}
var marker = color . indexOf ( '(' ) ;
var type = color . substring ( 0 , marker ) ;
if ( [ 'rgb' , 'rgba' , 'hsl' , 'hsla' ] . indexOf ( type ) === - 1 ) {
throw new Error ( true ? "Material-UI: Unsupported `" . concat ( color , "` color.\nWe support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()." ) : 0 ) ;
}
var values = color . substring ( marker + 1 , color . length - 1 ) . split ( ',' ) ;
values = values . map ( function ( value ) {
return parseFloat ( value ) ;
} ) ;
return {
type : type ,
values : values
} ;
}
/ * *
* Converts a color object with type and values to a string .
*
* @ param { object } color - Decomposed color
* @ param { string } color . type - One of : 'rgb' , 'rgba' , 'hsl' , 'hsla'
* @ param { array } color . values - [ n , n , n ] or [ n , n , n , n ]
* @ returns { string } A CSS color string
* /
function recomposeColor ( color ) {
var type = color . type ;
var values = color . values ;
if ( type . indexOf ( 'rgb' ) !== - 1 ) {
// Only convert the first 3 values to int (i.e. not alpha)
values = values . map ( function ( n , i ) {
return i < 3 ? parseInt ( n , 10 ) : n ;
} ) ;
} else if ( type . indexOf ( 'hsl' ) !== - 1 ) {
values [ 1 ] = "" . concat ( values [ 1 ] , "%" ) ;
values [ 2 ] = "" . concat ( values [ 2 ] , "%" ) ;
}
return "" . concat ( type , "(" ) . concat ( values . join ( ', ' ) , ")" ) ;
}
/ * *
* Calculates the contrast ratio between two colors .
*
* Formula : https : //www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
*
* @ param { string } foreground - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ param { string } background - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ returns { number } A contrast ratio value in the range 0 - 21.
* /
function getContrastRatio ( foreground , background ) {
var lumA = getLuminance ( foreground ) ;
var lumB = getLuminance ( background ) ;
return ( Math . max ( lumA , lumB ) + 0.05 ) / ( Math . min ( lumA , lumB ) + 0.05 ) ;
}
/ * *
* The relative brightness of any point in a color space ,
* normalized to 0 for darkest black and 1 for lightest white .
*
* Formula : https : //www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
*
* @ param { string } color - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ returns { number } The relative brightness of the color in the range 0 - 1
* /
function getLuminance ( color ) {
color = decomposeColor ( color ) ;
var rgb = color . type === 'hsl' ? decomposeColor ( hslToRgb ( color ) ) . values : color . values ;
rgb = rgb . map ( function ( val ) {
val /= 255 ; // normalized
return val <= 0.03928 ? val / 12.92 : Math . pow ( ( val + 0.055 ) / 1.055 , 2.4 ) ;
} ) ; // Truncate at 3 digits
return Number ( ( 0.2126 * rgb [ 0 ] + 0.7152 * rgb [ 1 ] + 0.0722 * rgb [ 2 ] ) . toFixed ( 3 ) ) ;
}
/ * *
* Darken or lighten a color , depending on its luminance .
* Light colors are darkened , dark colors are lightened .
*
* @ param { string } color - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ param { number } coefficient = 0.15 - multiplier in the range 0 - 1
* @ returns { string } A CSS color string . Hex input values are returned as rgb
* /
function emphasize ( color ) {
var coefficient = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : 0.15 ;
return getLuminance ( color ) > 0.5 ? darken ( color , coefficient ) : lighten ( color , coefficient ) ;
}
/ * *
* Set the absolute transparency of a color .
* Any existing alpha values are overwritten .
*
* @ param { string } color - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ param { number } value - value to set the alpha channel to in the range 0 - 1
* @ returns { string } A CSS color string . Hex input values are returned as rgb
* /
function fade ( color , value ) {
color = decomposeColor ( color ) ;
value = clamp ( value ) ;
if ( color . type === 'rgb' || color . type === 'hsl' ) {
color . type += 'a' ;
}
color . values [ 3 ] = value ;
return recomposeColor ( color ) ;
}
/ * *
* Darkens a color .
*
* @ param { string } color - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ param { number } coefficient - multiplier in the range 0 - 1
* @ returns { string } A CSS color string . Hex input values are returned as rgb
* /
function darken ( color , coefficient ) {
color = decomposeColor ( color ) ;
coefficient = clamp ( coefficient ) ;
if ( color . type . indexOf ( 'hsl' ) !== - 1 ) {
color . values [ 2 ] *= 1 - coefficient ;
} else if ( color . type . indexOf ( 'rgb' ) !== - 1 ) {
for ( var i = 0 ; i < 3 ; i += 1 ) {
color . values [ i ] *= 1 - coefficient ;
}
}
return recomposeColor ( color ) ;
}
/ * *
* Lightens a color .
*
* @ param { string } color - CSS color , i . e . one of : # nnn , # nnnnnn , rgb ( ) , rgba ( ) , hsl ( ) , hsla ( )
* @ param { number } coefficient - multiplier in the range 0 - 1
* @ returns { string } A CSS color string . Hex input values are returned as rgb
* /
function lighten ( color , coefficient ) {
color = decomposeColor ( color ) ;
coefficient = clamp ( coefficient ) ;
if ( color . type . indexOf ( 'hsl' ) !== - 1 ) {
color . values [ 2 ] += ( 100 - color . values [ 2 ] ) * coefficient ;
} else if ( color . type . indexOf ( 'rgb' ) !== - 1 ) {
for ( var i = 0 ; i < 3 ; i += 1 ) {
color . values [ i ] += ( 255 - color . values [ i ] ) * coefficient ;
}
}
return recomposeColor ( color ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createBreakpoints.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createBreakpoints . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "keys" : function ( ) { return /* binding */ keys ; } ,
/* harmony export */ "default" : function ( ) { return /* binding */ createBreakpoints ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
// Sorted ASC by size. That's important.
// It can't be configured as it's used statically for propTypes.
var keys = [ 'xs' , 'sm' , 'md' , 'lg' , 'xl' ] ; // Keep in mind that @media is inclusive by the CSS specification.
function createBreakpoints ( breakpoints ) {
var _breakpoints$values = breakpoints . values ,
values = _breakpoints$values === void 0 ? {
xs : 0 ,
sm : 600 ,
md : 960 ,
lg : 1280 ,
xl : 1920
} : _breakpoints$values ,
_breakpoints$unit = breakpoints . unit ,
unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit ,
_breakpoints$step = breakpoints . step ,
step = _breakpoints$step === void 0 ? 5 : _breakpoints$step ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( breakpoints , [ "values" , "unit" , "step" ] ) ;
function up ( key ) {
var value = typeof values [ key ] === 'number' ? values [ key ] : key ;
return "@media (min-width:" . concat ( value ) . concat ( unit , ")" ) ;
}
function down ( key ) {
var endIndex = keys . indexOf ( key ) + 1 ;
var upperbound = values [ keys [ endIndex ] ] ;
if ( endIndex === keys . length ) {
// xl down applies to all sizes
return up ( 'xs' ) ;
}
var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key ;
return "@media (max-width:" . concat ( value - step / 100 ) . concat ( unit , ")" ) ;
}
function between ( start , end ) {
var endIndex = keys . indexOf ( end ) ;
if ( endIndex === keys . length - 1 ) {
return up ( start ) ;
}
return "@media (min-width:" . concat ( typeof values [ start ] === 'number' ? values [ start ] : start ) . concat ( unit , ") and " ) + "(max-width:" . concat ( ( endIndex !== - 1 && typeof values [ keys [ endIndex + 1 ] ] === 'number' ? values [ keys [ endIndex + 1 ] ] : end ) - step / 100 ) . concat ( unit , ")" ) ;
}
function only ( key ) {
return between ( key , key ) ;
}
function width ( key ) {
return values [ key ] ;
}
return ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
keys : keys ,
values : values ,
up : up ,
down : down ,
between : between ,
only : only ,
width : width
} , other ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createMixins.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createMixins . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ createMixins ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
function createMixins ( breakpoints , spacing , mixins ) {
var _toolbar ;
return ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( {
gutters : function gutters ( ) {
var styles = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : { } ;
// To deprecate in v4.1
// warning(
// false,
// [
// 'Material-UI: Theme.mixins.gutters() is deprecated.',
// 'You can use the source of the mixin directly:',
// `
// paddingLeft: theme.spacing(2),
// paddingRight: theme.spacing(2),
// [theme.breakpoints.up('sm')]: {
// paddingLeft: theme.spacing(3),
// paddingRight: theme.spacing(3),
// },
// `,
// ].join('\n'),
// );
return ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( {
paddingLeft : spacing ( 2 ) ,
paddingRight : spacing ( 2 )
} , styles , ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , breakpoints . up ( 'sm' ) , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( {
paddingLeft : spacing ( 3 ) ,
paddingRight : spacing ( 3 )
} , styles [ breakpoints . up ( 'sm' ) ] ) ) ) ;
} ,
toolbar : ( _toolbar = {
minHeight : 56
} , ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( _toolbar , "" . concat ( breakpoints . up ( 'xs' ) , " and (orientation: landscape)" ) , {
minHeight : 48
} ) , ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( _toolbar , breakpoints . up ( 'sm' ) , {
minHeight : 64
} ) , _toolbar )
} , mixins ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createMuiStrictModeTheme.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createMuiStrictModeTheme . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ createMuiStrictModeTheme ; }
/* harmony export */ } ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var _createMuiTheme _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! ./createMuiTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js" ) ;
function createMuiStrictModeTheme ( options ) {
for ( var _len = arguments . length , args = new Array ( _len > 1 ? _len - 1 : 0 ) , _key = 1 ; _key < _len ; _key ++ ) {
args [ _key - 1 ] = arguments [ _key ] ;
}
return _createMuiTheme _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default . apply ( void 0 , [ ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ . deepmerge ) ( {
unstable _strictMode : true
} , options ) ] . concat ( args ) ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createMuiTheme . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var _createBreakpoints _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! ./createBreakpoints */ "./node_modules/@material-ui/core/esm/styles/createBreakpoints.js" ) ;
/* harmony import */ var _createMixins _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ./createMixins */ "./node_modules/@material-ui/core/esm/styles/createMixins.js" ) ;
/* harmony import */ var _createPalette _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! ./createPalette */ "./node_modules/@material-ui/core/esm/styles/createPalette.js" ) ;
/* harmony import */ var _createTypography _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ./createTypography */ "./node_modules/@material-ui/core/esm/styles/createTypography.js" ) ;
/* harmony import */ var _shadows _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ./shadows */ "./node_modules/@material-ui/core/esm/styles/shadows.js" ) ;
/* harmony import */ var _shape _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! ./shape */ "./node_modules/@material-ui/core/esm/styles/shape.js" ) ;
/* harmony import */ var _createSpacing _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! ./createSpacing */ "./node_modules/@material-ui/core/esm/styles/createSpacing.js" ) ;
/* harmony import */ var _transitions _ _WEBPACK _IMPORTED _MODULE _10 _ _ = _ _webpack _require _ _ ( /*! ./transitions */ "./node_modules/@material-ui/core/esm/styles/transitions.js" ) ;
/* harmony import */ var _zIndex _ _WEBPACK _IMPORTED _MODULE _11 _ _ = _ _webpack _require _ _ ( /*! ./zIndex */ "./node_modules/@material-ui/core/esm/styles/zIndex.js" ) ;
function createMuiTheme ( ) {
var options = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : { } ;
var _options$breakpoints = options . breakpoints ,
breakpointsInput = _options$breakpoints === void 0 ? { } : _options$breakpoints ,
_options$mixins = options . mixins ,
mixinsInput = _options$mixins === void 0 ? { } : _options$mixins ,
_options$palette = options . palette ,
paletteInput = _options$palette === void 0 ? { } : _options$palette ,
spacingInput = options . spacing ,
_options$typography = options . typography ,
typographyInput = _options$typography === void 0 ? { } : _options$typography ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( options , [ "breakpoints" , "mixins" , "palette" , "spacing" , "typography" ] ) ;
var palette = ( 0 , _createPalette _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default ) ( paletteInput ) ;
var breakpoints = ( 0 , _createBreakpoints _ _WEBPACK _IMPORTED _MODULE _4 _ _ . default ) ( breakpointsInput ) ;
var spacing = ( 0 , _createSpacing _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default ) ( spacingInput ) ;
var muiTheme = ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . deepmerge ) ( {
breakpoints : breakpoints ,
direction : 'ltr' ,
mixins : ( 0 , _createMixins _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ) ( breakpoints , spacing , mixinsInput ) ,
overrides : { } ,
// Inject custom styles
palette : palette ,
props : { } ,
// Provide default props
shadows : _shadows _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default ,
typography : ( 0 , _createTypography _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ) ( palette , typographyInput ) ,
spacing : spacing ,
shape : _shape _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default ,
transitions : _transitions _ _WEBPACK _IMPORTED _MODULE _10 _ _ . default ,
zIndex : _zIndex _ _WEBPACK _IMPORTED _MODULE _11 _ _ . default
} , other ) ;
for ( var _len = arguments . length , args = new Array ( _len > 1 ? _len - 1 : 0 ) , _key = 1 ; _key < _len ; _key ++ ) {
args [ _key - 1 ] = arguments [ _key ] ;
}
muiTheme = args . reduce ( function ( acc , argument ) {
return ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . deepmerge ) ( acc , argument ) ;
} , muiTheme ) ;
if ( true ) {
var pseudoClasses = [ 'checked' , 'disabled' , 'error' , 'focused' , 'focusVisible' , 'required' , 'expanded' , 'selected' ] ;
var traverse = function traverse ( node , parentKey ) {
var depth = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : 1 ;
var key ; // eslint-disable-next-line guard-for-in, no-restricted-syntax
for ( key in node ) {
var child = node [ key ] ;
if ( depth === 1 ) {
if ( key . indexOf ( 'Mui' ) === 0 && child ) {
traverse ( child , key , depth + 1 ) ;
}
} else if ( pseudoClasses . indexOf ( key ) !== - 1 && Object . keys ( child ) . length > 0 ) {
if ( true ) {
console . error ( [ "Material-UI: The `" . concat ( parentKey , "` component increases " ) + "the CSS specificity of the `" . concat ( key , "` internal state." ) , 'You can not override it like this: ' , JSON . stringify ( node , null , 2 ) , '' , 'Instead, you need to use the $ruleName syntax:' , JSON . stringify ( {
root : ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , "&$" . concat ( key ) , child )
} , null , 2 ) , '' , 'https://material-ui.com/r/pseudo-classes-guide' ] . join ( '\n' ) ) ;
} // Remove the style to prevent global conflicts.
node [ key ] = { } ;
}
}
} ;
traverse ( muiTheme . overrides ) ;
}
return muiTheme ;
}
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( createMuiTheme ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createPalette.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createPalette . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "light" : function ( ) { return /* binding */ light ; } ,
/* harmony export */ "dark" : function ( ) { return /* binding */ dark ; } ,
/* harmony export */ "default" : function ( ) { return /* binding */ createPalette ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var _colors _common _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! ../colors/common */ "./node_modules/@material-ui/core/esm/colors/common.js" ) ;
/* harmony import */ var _colors _grey _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! ../colors/grey */ "./node_modules/@material-ui/core/esm/colors/grey.js" ) ;
/* harmony import */ var _colors _indigo _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ../colors/indigo */ "./node_modules/@material-ui/core/esm/colors/indigo.js" ) ;
/* harmony import */ var _colors _pink _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ../colors/pink */ "./node_modules/@material-ui/core/esm/colors/pink.js" ) ;
/* harmony import */ var _colors _red _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ../colors/red */ "./node_modules/@material-ui/core/esm/colors/red.js" ) ;
/* harmony import */ var _colors _orange _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! ../colors/orange */ "./node_modules/@material-ui/core/esm/colors/orange.js" ) ;
/* harmony import */ var _colors _blue _ _WEBPACK _IMPORTED _MODULE _10 _ _ = _ _webpack _require _ _ ( /*! ../colors/blue */ "./node_modules/@material-ui/core/esm/colors/blue.js" ) ;
/* harmony import */ var _colors _green _ _WEBPACK _IMPORTED _MODULE _11 _ _ = _ _webpack _require _ _ ( /*! ../colors/green */ "./node_modules/@material-ui/core/esm/colors/green.js" ) ;
/* harmony import */ var _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! ./colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js" ) ;
var light = {
// The colors used to style the text.
text : {
// The most important text.
primary : 'rgba(0, 0, 0, 0.87)' ,
// Secondary text.
secondary : 'rgba(0, 0, 0, 0.54)' ,
// Disabled text have even lower visual prominence.
disabled : 'rgba(0, 0, 0, 0.38)' ,
// Text hints.
hint : 'rgba(0, 0, 0, 0.38)'
} ,
// The color used to divide different elements.
divider : 'rgba(0, 0, 0, 0.12)' ,
// The background colors used to style the surfaces.
// Consistency between these values is important.
background : {
paper : _colors _common _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default . white ,
default : _colors _grey _ _WEBPACK _IMPORTED _MODULE _4 _ _ . default [ 50 ]
} ,
// The colors used to style the action elements.
action : {
// The color of an active action like an icon button.
active : 'rgba(0, 0, 0, 0.54)' ,
// The color of an hovered action.
hover : 'rgba(0, 0, 0, 0.04)' ,
hoverOpacity : 0.04 ,
// The color of a selected action.
selected : 'rgba(0, 0, 0, 0.08)' ,
selectedOpacity : 0.08 ,
// The color of a disabled action.
disabled : 'rgba(0, 0, 0, 0.26)' ,
// The background color of a disabled action.
disabledBackground : 'rgba(0, 0, 0, 0.12)' ,
disabledOpacity : 0.38 ,
focus : 'rgba(0, 0, 0, 0.12)' ,
focusOpacity : 0.12 ,
activatedOpacity : 0.12
}
} ;
var dark = {
text : {
primary : _colors _common _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default . 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 : _colors _grey _ _WEBPACK _IMPORTED _MODULE _4 _ _ . default [ 800 ] ,
default : '#303030'
} ,
action : {
active : _colors _common _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default . white ,
hover : 'rgba(255, 255, 255, 0.08)' ,
hoverOpacity : 0.08 ,
selected : 'rgba(255, 255, 255, 0.16)' ,
selectedOpacity : 0.16 ,
disabled : 'rgba(255, 255, 255, 0.3)' ,
disabledBackground : 'rgba(255, 255, 255, 0.12)' ,
disabledOpacity : 0.38 ,
focus : 'rgba(255, 255, 255, 0.12)' ,
focusOpacity : 0.12 ,
activatedOpacity : 0.24
}
} ;
function addLightOrDark ( intent , direction , shade , tonalOffset ) {
var tonalOffsetLight = tonalOffset . light || tonalOffset ;
var tonalOffsetDark = tonalOffset . dark || tonalOffset * 1.5 ;
if ( ! intent [ direction ] ) {
if ( intent . hasOwnProperty ( shade ) ) {
intent [ direction ] = intent [ shade ] ;
} else if ( direction === 'light' ) {
intent . light = ( 0 , _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . lighten ) ( intent . main , tonalOffsetLight ) ;
} else if ( direction === 'dark' ) {
intent . dark = ( 0 , _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . darken ) ( intent . main , tonalOffsetDark ) ;
}
}
}
function createPalette ( palette ) {
var _palette$primary = palette . primary ,
primary = _palette$primary === void 0 ? {
light : _colors _indigo _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default [ 300 ] ,
main : _colors _indigo _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default [ 500 ] ,
dark : _colors _indigo _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default [ 700 ]
} : _palette$primary ,
_palette$secondary = palette . secondary ,
secondary = _palette$secondary === void 0 ? {
light : _colors _pink _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default . A200 ,
main : _colors _pink _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default . A400 ,
dark : _colors _pink _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default . A700
} : _palette$secondary ,
_palette$error = palette . error ,
error = _palette$error === void 0 ? {
light : _colors _red _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default [ 300 ] ,
main : _colors _red _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default [ 500 ] ,
dark : _colors _red _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default [ 700 ]
} : _palette$error ,
_palette$warning = palette . warning ,
warning = _palette$warning === void 0 ? {
light : _colors _orange _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default [ 300 ] ,
main : _colors _orange _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default [ 500 ] ,
dark : _colors _orange _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default [ 700 ]
} : _palette$warning ,
_palette$info = palette . info ,
info = _palette$info === void 0 ? {
light : _colors _blue _ _WEBPACK _IMPORTED _MODULE _10 _ _ . default [ 300 ] ,
main : _colors _blue _ _WEBPACK _IMPORTED _MODULE _10 _ _ . default [ 500 ] ,
dark : _colors _blue _ _WEBPACK _IMPORTED _MODULE _10 _ _ . default [ 700 ]
} : _palette$info ,
_palette$success = palette . success ,
success = _palette$success === void 0 ? {
light : _colors _green _ _WEBPACK _IMPORTED _MODULE _11 _ _ . default [ 300 ] ,
main : _colors _green _ _WEBPACK _IMPORTED _MODULE _11 _ _ . default [ 500 ] ,
dark : _colors _green _ _WEBPACK _IMPORTED _MODULE _11 _ _ . default [ 700 ]
} : _palette$success ,
_palette$type = palette . type ,
type = _palette$type === void 0 ? 'light' : _palette$type ,
_palette$contrastThre = palette . contrastThreshold ,
contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre ,
_palette$tonalOffset = palette . tonalOffset ,
tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( palette , [ "primary" , "secondary" , "error" , "warning" , "info" , "success" , "type" , "contrastThreshold" , "tonalOffset" ] ) ; // Use the same logic as
// Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
// and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
function getContrastText ( background ) {
var contrastText = ( 0 , _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . getContrastRatio ) ( background , dark . text . primary ) >= contrastThreshold ? dark . text . primary : light . text . primary ;
if ( true ) {
var contrast = ( 0 , _colorManipulator _ _WEBPACK _IMPORTED _MODULE _5 _ _ . getContrastRatio ) ( background , contrastText ) ;
if ( contrast < 3 ) {
console . error ( [ "Material-UI: The contrast ratio of " . concat ( contrast , ":1 for " ) . concat ( contrastText , " on " ) . concat ( background ) , 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.' , 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast' ] . join ( '\n' ) ) ;
}
}
return contrastText ;
}
var augmentColor = function augmentColor ( color ) {
var mainShade = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : 500 ;
var lightShade = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : 300 ;
var darkShade = arguments . length > 3 && arguments [ 3 ] !== undefined ? arguments [ 3 ] : 700 ;
color = ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , color ) ;
if ( ! color . main && color [ mainShade ] ) {
color . main = color [ mainShade ] ;
}
if ( ! color . main ) {
throw new Error ( true ? "Material-UI: The color provided to augmentColor(color) is invalid.\nThe color object needs to have a `main` property or a `" . concat ( mainShade , "` property." ) : 0 ) ;
}
if ( typeof color . main !== 'string' ) {
throw new Error ( true ? "Material-UI: The color provided to augmentColor(color) is invalid.\n`color.main` should be a string, but `" . concat ( JSON . stringify ( color . main ) , "` was provided instead.\n\nDid you intend to use one of the following approaches?\n\nimport {\xA0green } from \"@material-ui/core/colors\";\n\nconst theme1 = createMuiTheme({ palette: {\n primary: green,\n} });\n\nconst theme2 = createMuiTheme({ palette: {\n primary: { main: green[500] },\n} });" ) : 0 ) ;
}
addLightOrDark ( color , 'light' , lightShade , tonalOffset ) ;
addLightOrDark ( color , 'dark' , darkShade , tonalOffset ) ;
if ( ! color . contrastText ) {
color . contrastText = getContrastText ( color . main ) ;
}
return color ;
} ;
var types = {
dark : dark ,
light : light
} ;
if ( true ) {
if ( ! types [ type ] ) {
console . error ( "Material-UI: The palette type `" . concat ( type , "` is not supported." ) ) ;
}
}
var paletteOutput = ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . deepmerge ) ( ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
// A collection of common colors.
common : _colors _common _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default ,
// The palette type, can be light or dark.
type : type ,
// The colors used to represent primary interface elements for a user.
primary : augmentColor ( primary ) ,
// The colors used to represent secondary interface elements for a user.
secondary : augmentColor ( secondary , 'A400' , 'A200' , 'A700' ) ,
// The colors used to represent interface elements that the user should be made aware of.
error : augmentColor ( error ) ,
// The colors used to represent potentially dangerous actions or important messages.
warning : augmentColor ( warning ) ,
// The colors used to present information to the user that is neutral and not necessarily important.
info : augmentColor ( info ) ,
// The colors used to indicate the successful completion of an action that user triggered.
success : augmentColor ( success ) ,
// The grey colors.
grey : _colors _grey _ _WEBPACK _IMPORTED _MODULE _4 _ _ . default ,
// Used by `getContrastText()` to maximize the contrast between
// the background and the text.
contrastThreshold : contrastThreshold ,
// Takes a background color and returns the text color that maximizes the contrast.
getContrastText : getContrastText ,
// Generate a rich color object.
augmentColor : augmentColor ,
// Used by the functions below to shift a color's luminance by approximately
// two indexes within its tonal palette.
// E.g., shift from Red 500 to Red 300 or Red 700.
tonalOffset : tonalOffset
} , types [ type ] ) , other ) ;
return paletteOutput ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createSpacing.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createSpacing . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ createSpacing ; }
/* harmony export */ } ) ;
/* harmony import */ var _material _ui _system _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/system */ "@material-ui/system" ) ;
/* harmony import */ var _material _ui _system _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _system _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
var warnOnce ;
function createSpacing ( ) {
var spacingInput = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : 8 ;
// Already transformed.
if ( spacingInput . mui ) {
return spacingInput ;
} // Material Design layouts are visually balanced. Most measurements align to an 8dp grid applied, which aligns both spacing and the overall layout.
// Smaller components, such as icons and type, can align to a 4dp grid.
// https://material.io/design/layout/understanding-layout.html#usage
var transform = ( 0 , _material _ui _system _ _WEBPACK _IMPORTED _MODULE _0 _ _ . createUnarySpacing ) ( {
spacing : spacingInput
} ) ;
var spacing = function spacing ( ) {
for ( var _len = arguments . length , args = new Array ( _len ) , _key = 0 ; _key < _len ; _key ++ ) {
args [ _key ] = arguments [ _key ] ;
}
if ( true ) {
if ( ! ( args . length <= 4 ) ) {
console . error ( "Material-UI: Too many arguments provided, expected between 0 and 4, got " . concat ( args . length ) ) ;
}
}
if ( args . length === 0 ) {
return transform ( 1 ) ;
}
if ( args . length === 1 ) {
return transform ( args [ 0 ] ) ;
}
return args . map ( function ( argument ) {
if ( typeof argument === 'string' ) {
return argument ;
}
var output = transform ( argument ) ;
return typeof output === 'number' ? "" . concat ( output , "px" ) : output ;
} ) . join ( ' ' ) ;
} ; // Backward compatibility, to remove in v5.
Object . defineProperty ( spacing , 'unit' , {
get : function get ( ) {
if ( true ) {
if ( ! warnOnce || "development" === 'test' ) {
console . error ( [ 'Material-UI: theme.spacing.unit usage has been deprecated.' , 'It will be removed in v5.' , 'You can replace `theme.spacing.unit * y` with `theme.spacing(y)`.' , '' , 'You can use the `https://github.com/mui-org/material-ui/tree/master/packages/material-ui-codemod/README.md#theme-spacing-api` migration helper to make the process smoother.' ] . join ( '\n' ) ) ;
}
warnOnce = true ;
}
return spacingInput ;
}
} ) ;
spacing . mui = true ;
return spacing ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createStyles.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createStyles . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ createStyles ; }
/* harmony export */ } ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
// let warnOnce = false;
// To remove in v5
function createStyles ( styles ) {
// warning(
// warnOnce,
// [
// 'Material-UI: createStyles from @material-ui/core/styles is deprecated.',
// 'Please use @material-ui/styles/createStyles',
// ].join('\n'),
// );
// warnOnce = true;
return ( 0 , _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ . createStyles ) ( styles ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/createTypography.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / createTypography . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ createTypography ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
function round ( value ) {
return Math . round ( value * 1e5 ) / 1e5 ;
}
var caseAllCaps = {
textTransform : 'uppercase'
} ;
var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif' ;
/ * *
* @ see @ link { https : //material.io/design/typography/the-type-system.html}
* @ see @ link { https : //material.io/design/typography/understanding-typography.html}
* /
function createTypography ( palette , typography ) {
var _ref = typeof typography === 'function' ? typography ( palette ) : typography ,
_ref$fontFamily = _ref . fontFamily ,
fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily ,
_ref$fontSize = _ref . fontSize ,
fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize ,
_ref$fontWeightLight = _ref . fontWeightLight ,
fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight ,
_ref$fontWeightRegula = _ref . fontWeightRegular ,
fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula ,
_ref$fontWeightMedium = _ref . fontWeightMedium ,
fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium ,
_ref$fontWeightBold = _ref . fontWeightBold ,
fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold ,
_ref$htmlFontSize = _ref . htmlFontSize ,
htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize ,
allVariants = _ref . allVariants ,
pxToRem2 = _ref . pxToRem ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( _ref , [ "fontFamily" , "fontSize" , "fontWeightLight" , "fontWeightRegular" , "fontWeightMedium" , "fontWeightBold" , "htmlFontSize" , "allVariants" , "pxToRem" ] ) ;
if ( true ) {
if ( typeof fontSize !== 'number' ) {
console . error ( 'Material-UI: `fontSize` is required to be a number.' ) ;
}
if ( typeof htmlFontSize !== 'number' ) {
console . error ( 'Material-UI: `htmlFontSize` is required to be a number.' ) ;
}
}
var coef = fontSize / 14 ;
var pxToRem = pxToRem2 || function ( size ) {
return "" . concat ( size / htmlFontSize * coef , "rem" ) ;
} ;
var buildVariant = function buildVariant ( fontWeight , size , lineHeight , letterSpacing , casing ) {
return ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
fontFamily : fontFamily ,
fontWeight : fontWeight ,
fontSize : pxToRem ( size ) ,
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
lineHeight : lineHeight
} , fontFamily === defaultFontFamily ? {
letterSpacing : "" . concat ( round ( letterSpacing / size ) , "em" )
} : { } , casing , allVariants ) ;
} ;
var variants = {
h1 : buildVariant ( fontWeightLight , 96 , 1.167 , - 1.5 ) ,
h2 : buildVariant ( fontWeightLight , 60 , 1.2 , - 0.5 ) ,
h3 : buildVariant ( fontWeightRegular , 48 , 1.167 , 0 ) ,
h4 : buildVariant ( fontWeightRegular , 34 , 1.235 , 0.25 ) ,
h5 : buildVariant ( fontWeightRegular , 24 , 1.334 , 0 ) ,
h6 : buildVariant ( fontWeightMedium , 20 , 1.6 , 0.15 ) ,
subtitle1 : buildVariant ( fontWeightRegular , 16 , 1.75 , 0.15 ) ,
subtitle2 : buildVariant ( fontWeightMedium , 14 , 1.57 , 0.1 ) ,
body1 : buildVariant ( fontWeightRegular , 16 , 1.5 , 0.15 ) ,
body2 : buildVariant ( fontWeightRegular , 14 , 1.43 , 0.15 ) ,
button : buildVariant ( fontWeightMedium , 14 , 1.75 , 0.4 , caseAllCaps ) ,
caption : buildVariant ( fontWeightRegular , 12 , 1.66 , 0.4 ) ,
overline : buildVariant ( fontWeightRegular , 12 , 2.66 , 1 , caseAllCaps )
} ;
return ( 0 , _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . deepmerge ) ( ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
htmlFontSize : htmlFontSize ,
pxToRem : pxToRem ,
round : round ,
// TODO v5: remove
fontFamily : fontFamily ,
fontSize : fontSize ,
fontWeightLight : fontWeightLight ,
fontWeightRegular : fontWeightRegular ,
fontWeightMedium : fontWeightMedium ,
fontWeightBold : fontWeightBold
} , variants ) , other , {
clone : false // No need to clone deep
} ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/cssUtils.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / cssUtils . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "isUnitless" : function ( ) { return /* binding */ isUnitless ; } ,
/* harmony export */ "getUnit" : function ( ) { return /* binding */ getUnit ; } ,
/* harmony export */ "toUnitless" : function ( ) { return /* binding */ toUnitless ; } ,
/* harmony export */ "convertLength" : function ( ) { return /* binding */ convertLength ; } ,
/* harmony export */ "alignProperty" : function ( ) { return /* binding */ alignProperty ; } ,
/* harmony export */ "fontGrid" : function ( ) { return /* binding */ fontGrid ; } ,
/* harmony export */ "responsiveProperty" : function ( ) { return /* binding */ responsiveProperty ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/defineProperty */ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js" ) ;
function isUnitless ( value ) {
return String ( parseFloat ( value ) ) . length === String ( value ) . length ;
} // Ported from Compass
// https://github.com/Compass/compass/blob/master/core/stylesheets/compass/typography/_units.scss
// Emulate the sass function "unit"
function getUnit ( input ) {
return String ( input ) . match ( /[\d.\-+]*\s*(.*)/ ) [ 1 ] || '' ;
} // Emulate the sass function "unitless"
function toUnitless ( length ) {
return parseFloat ( length ) ;
} // Convert any CSS <length> or <percentage> value to any another.
// From https://github.com/KyleAMathews/convert-css-length
function convertLength ( baseFontSize ) {
return function ( length , toUnit ) {
var fromUnit = getUnit ( length ) ; // Optimize for cases where `from` and `to` units are accidentally the same.
if ( fromUnit === toUnit ) {
return length ;
} // Convert input length to pixels.
var pxLength = toUnitless ( length ) ;
if ( fromUnit !== 'px' ) {
if ( fromUnit === 'em' ) {
pxLength = toUnitless ( length ) * toUnitless ( baseFontSize ) ;
} else if ( fromUnit === 'rem' ) {
pxLength = toUnitless ( length ) * toUnitless ( baseFontSize ) ;
return length ;
}
} // Convert length in pixels to the output unit
var outputLength = pxLength ;
if ( toUnit !== 'px' ) {
if ( toUnit === 'em' ) {
outputLength = pxLength / toUnitless ( baseFontSize ) ;
} else if ( toUnit === 'rem' ) {
outputLength = pxLength / toUnitless ( baseFontSize ) ;
} else {
return length ;
}
}
return parseFloat ( outputLength . toFixed ( 5 ) ) + toUnit ;
} ;
}
function alignProperty ( _ref ) {
var size = _ref . size ,
grid = _ref . grid ;
var sizeBelow = size - size % grid ;
var sizeAbove = sizeBelow + grid ;
return size - sizeBelow < sizeAbove - size ? sizeBelow : sizeAbove ;
} // fontGrid finds a minimal grid (in rem) for the fontSize values so that the
// lineHeight falls under a x pixels grid, 4px in the case of Material Design,
// without changing the relative line height
function fontGrid ( _ref2 ) {
var lineHeight = _ref2 . lineHeight ,
pixels = _ref2 . pixels ,
htmlFontSize = _ref2 . htmlFontSize ;
return pixels / ( lineHeight * htmlFontSize ) ;
}
/ * *
* generate a responsive version of a given CSS property
* @ example
* responsiveProperty ( {
* cssProperty : 'fontSize' ,
* min : 15 ,
* max : 20 ,
* unit : 'px' ,
* breakpoints : [ 300 , 600 ] ,
* } )
*
* // this returns
*
* {
* fontSize : '15px' ,
* '@media (min-width:300px)' : {
* fontSize : '17.5px' ,
* } ,
* '@media (min-width:600px)' : {
* fontSize : '20px' ,
* } ,
* }
*
* @ param { Object } params
* @ param { string } params . cssProperty - The CSS property to be made responsive
* @ param { number } params . min - The smallest value of the CSS property
* @ param { number } params . max - The largest value of the CSS property
* @ param { string } [ params . unit ] - The unit to be used for the CSS property
* @ param { Array . number } [ params . breakpoints ] - An array of breakpoints
* @ param { number } [ params . alignStep ] - Round scaled value to fall under this grid
* @ returns { Object } responsive styles for { params . cssProperty }
* /
function responsiveProperty ( _ref3 ) {
var cssProperty = _ref3 . cssProperty ,
min = _ref3 . min ,
max = _ref3 . max ,
_ref3$unit = _ref3 . unit ,
unit = _ref3$unit === void 0 ? 'rem' : _ref3$unit ,
_ref3$breakpoints = _ref3 . breakpoints ,
breakpoints = _ref3$breakpoints === void 0 ? [ 600 , 960 , 1280 ] : _ref3$breakpoints ,
_ref3$transform = _ref3 . transform ,
transform = _ref3$transform === void 0 ? null : _ref3$transform ;
var output = ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , cssProperty , "" . concat ( min ) . concat ( unit ) ) ;
var factor = ( max - min ) / breakpoints [ breakpoints . length - 1 ] ;
breakpoints . forEach ( function ( breakpoint ) {
var value = min + factor * breakpoint ;
if ( transform !== null ) {
value = transform ( value ) ;
}
output [ "@media (min-width:" . concat ( breakpoint , "px)" ) ] = ( 0 , _babel _runtime _helpers _esm _defineProperty _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , cssProperty , "" . concat ( Math . round ( value * 10000 ) / 10000 ) . concat ( unit ) ) ;
} ) ;
return output ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / defaultTheme . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var _createMuiTheme _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./createMuiTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js" ) ;
var defaultTheme = ( 0 , _createMuiTheme _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( ) ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( defaultTheme ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/index.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / index . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "createMuiTheme" : function ( ) { return /* reexport safe */ _createMuiTheme _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ; } ,
/* harmony export */ "unstable_createMuiStrictModeTheme" : function ( ) { return /* reexport safe */ _createMuiStrictModeTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default ; } ,
/* harmony export */ "createStyles" : function ( ) { return /* reexport safe */ _createStyles _ _WEBPACK _IMPORTED _MODULE _3 _ _ . default ; } ,
/* harmony export */ "makeStyles" : function ( ) { return /* reexport safe */ _makeStyles _ _WEBPACK _IMPORTED _MODULE _4 _ _ . default ; } ,
/* harmony export */ "responsiveFontSizes" : function ( ) { return /* reexport safe */ _responsiveFontSizes _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default ; } ,
/* harmony export */ "styled" : function ( ) { return /* reexport safe */ _styled _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default ; } ,
/* harmony export */ "useTheme" : function ( ) { return /* reexport safe */ _useTheme _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default ; } ,
/* harmony export */ "withStyles" : function ( ) { return /* reexport safe */ _withStyles _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default ; } ,
/* harmony export */ "withTheme" : function ( ) { return /* reexport safe */ _withTheme _ _WEBPACK _IMPORTED _MODULE _10 _ _ . default ; } ,
/* harmony export */ "createGenerateClassName" : function ( ) { return /* reexport safe */ _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . createGenerateClassName ; } ,
/* harmony export */ "jssPreset" : function ( ) { return /* reexport safe */ _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . jssPreset ; } ,
/* harmony export */ "ServerStyleSheets" : function ( ) { return /* reexport safe */ _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . ServerStyleSheets ; } ,
/* harmony export */ "StylesProvider" : function ( ) { return /* reexport safe */ _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . StylesProvider ; } ,
/* harmony export */ "MuiThemeProvider" : function ( ) { return /* reexport safe */ _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . ThemeProvider ; } ,
/* harmony export */ "ThemeProvider" : function ( ) { return /* reexport safe */ _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ . ThemeProvider ; }
/* harmony export */ } ) ;
/* harmony import */ var _colorManipulator _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! ./colorManipulator */ "./node_modules/@material-ui/core/esm/styles/colorManipulator.js" ) ;
/* harmony reexport (unknown) */ var _ _WEBPACK _REEXPORT _OBJECT _ _ = { } ;
/* harmony reexport (unknown) */ for ( var _ _WEBPACK _IMPORT _KEY _ _ in _colorManipulator _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) if ( [ "default" , "createMuiTheme" , "unstable_createMuiStrictModeTheme" , "createStyles" , "makeStyles" , "responsiveFontSizes" , "styled" , "useTheme" , "withStyles" , "withTheme" , "createGenerateClassName" , "jssPreset" , "ServerStyleSheets" , "StylesProvider" , "MuiThemeProvider" , "ThemeProvider" ] . indexOf ( _ _WEBPACK _IMPORT _KEY _ _ ) < 0 ) _ _WEBPACK _REEXPORT _OBJECT _ _ [ _ _WEBPACK _IMPORT _KEY _ _ ] = function ( key ) { return _colorManipulator _ _WEBPACK _IMPORTED _MODULE _0 _ _ [ key ] ; } . bind ( 0 , _ _WEBPACK _IMPORT _KEY _ _ )
/* harmony reexport (unknown) */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , _ _WEBPACK _REEXPORT _OBJECT _ _ ) ;
/* harmony import */ var _createMuiTheme _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! ./createMuiTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiTheme.js" ) ;
/* harmony import */ var _createMuiStrictModeTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./createMuiStrictModeTheme */ "./node_modules/@material-ui/core/esm/styles/createMuiStrictModeTheme.js" ) ;
/* harmony import */ var _createStyles _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! ./createStyles */ "./node_modules/@material-ui/core/esm/styles/createStyles.js" ) ;
/* harmony import */ var _makeStyles _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! ./makeStyles */ "./node_modules/@material-ui/core/esm/styles/makeStyles.js" ) ;
/* harmony import */ var _responsiveFontSizes _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! ./responsiveFontSizes */ "./node_modules/@material-ui/core/esm/styles/responsiveFontSizes.js" ) ;
/* harmony import */ var _styled _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! ./styled */ "./node_modules/@material-ui/core/esm/styles/styled.js" ) ;
/* harmony import */ var _transitions _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! ./transitions */ "./node_modules/@material-ui/core/esm/styles/transitions.js" ) ;
/* harmony reexport (unknown) */ var _ _WEBPACK _REEXPORT _OBJECT _ _ = { } ;
/* harmony reexport (unknown) */ for ( var _ _WEBPACK _IMPORT _KEY _ _ in _transitions _ _WEBPACK _IMPORTED _MODULE _7 _ _ ) if ( [ "default" , "createMuiTheme" , "unstable_createMuiStrictModeTheme" , "createStyles" , "makeStyles" , "responsiveFontSizes" , "styled" , "useTheme" , "withStyles" , "withTheme" , "createGenerateClassName" , "jssPreset" , "ServerStyleSheets" , "StylesProvider" , "MuiThemeProvider" , "ThemeProvider" ] . indexOf ( _ _WEBPACK _IMPORT _KEY _ _ ) < 0 ) _ _WEBPACK _REEXPORT _OBJECT _ _ [ _ _WEBPACK _IMPORT _KEY _ _ ] = function ( key ) { return _transitions _ _WEBPACK _IMPORTED _MODULE _7 _ _ [ key ] ; } . bind ( 0 , _ _WEBPACK _IMPORT _KEY _ _ )
/* harmony reexport (unknown) */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , _ _WEBPACK _REEXPORT _OBJECT _ _ ) ;
/* harmony import */ var _useTheme _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! ./useTheme */ "./node_modules/@material-ui/core/esm/styles/useTheme.js" ) ;
/* harmony import */ var _withStyles _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! ./withStyles */ "./node_modules/@material-ui/core/esm/styles/withStyles.js" ) ;
/* harmony import */ var _withTheme _ _WEBPACK _IMPORTED _MODULE _10 _ _ = _ _webpack _require _ _ ( /*! ./withTheme */ "./node_modules/@material-ui/core/esm/styles/withTheme.js" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _11 _ _ ) ;
// eslint-disable-next-line camelcase
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/makeStyles.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / makeStyles . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js" ) ;
function makeStyles ( stylesOrCreator ) {
var options = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ;
return ( 0 , _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ . makeStyles ) ( stylesOrCreator , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
defaultTheme : _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default
} , options ) ) ;
}
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( makeStyles ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/responsiveFontSizes.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / responsiveFontSizes . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ responsiveFontSizes ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./cssUtils */ "./node_modules/@material-ui/core/esm/styles/cssUtils.js" ) ;
function responsiveFontSizes ( themeInput ) {
var options = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ;
var _options$breakpoints = options . breakpoints ,
breakpoints = _options$breakpoints === void 0 ? [ 'sm' , 'md' , 'lg' ] : _options$breakpoints ,
_options$disableAlign = options . disableAlign ,
disableAlign = _options$disableAlign === void 0 ? false : _options$disableAlign ,
_options$factor = options . factor ,
factor = _options$factor === void 0 ? 2 : _options$factor ,
_options$variants = options . variants ,
variants = _options$variants === void 0 ? [ 'h1' , 'h2' , 'h3' , 'h4' , 'h5' , 'h6' , 'subtitle1' , 'subtitle2' , 'body1' , 'body2' , 'caption' , 'button' , 'overline' ] : _options$variants ;
var theme = ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , themeInput ) ;
theme . typography = ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , theme . typography ) ;
var typography = theme . typography ; // Convert between css lengths e.g. em->px or px->rem
// Set the baseFontSize for your project. Defaults to 16px (also the browser default).
var convert = ( 0 , _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . convertLength ) ( typography . htmlFontSize ) ;
var breakpointValues = breakpoints . map ( function ( x ) {
return theme . breakpoints . values [ x ] ;
} ) ;
variants . forEach ( function ( variant ) {
var style = typography [ variant ] ;
var remFontSize = parseFloat ( convert ( style . fontSize , 'rem' ) ) ;
if ( remFontSize <= 1 ) {
return ;
}
var maxFontSize = remFontSize ;
var minFontSize = 1 + ( maxFontSize - 1 ) / factor ;
var lineHeight = style . lineHeight ;
if ( ! ( 0 , _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . isUnitless ) ( lineHeight ) && ! disableAlign ) {
throw new Error ( true ? "Material-UI: Unsupported non-unitless line height with grid alignment.\nUse unitless line heights instead." : 0 ) ;
}
if ( ! ( 0 , _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . isUnitless ) ( lineHeight ) ) {
// make it unitless
lineHeight = parseFloat ( convert ( lineHeight , 'rem' ) ) / parseFloat ( remFontSize ) ;
}
var transform = null ;
if ( ! disableAlign ) {
transform = function transform ( value ) {
return ( 0 , _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . alignProperty ) ( {
size : value ,
grid : ( 0 , _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . fontGrid ) ( {
pixels : 4 ,
lineHeight : lineHeight ,
htmlFontSize : typography . htmlFontSize
} )
} ) ;
} ;
}
typography [ variant ] = ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( { } , style , ( 0 , _cssUtils _ _WEBPACK _IMPORTED _MODULE _2 _ _ . responsiveProperty ) ( {
cssProperty : 'fontSize' ,
min : minFontSize ,
max : maxFontSize ,
unit : 'rem' ,
breakpoints : breakpointValues ,
transform : transform
} ) ) ;
} ) ;
return theme ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/shadows.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / shadows . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var shadowKeyUmbraOpacity = 0.2 ;
var shadowKeyPenumbraOpacity = 0.14 ;
var shadowAmbientShadowOpacity = 0.12 ;
function createShadow ( ) {
return [ "" . concat ( arguments . length <= 0 ? undefined : arguments [ 0 ] , "px " ) . concat ( arguments . length <= 1 ? undefined : arguments [ 1 ] , "px " ) . concat ( arguments . length <= 2 ? undefined : arguments [ 2 ] , "px " ) . concat ( arguments . length <= 3 ? undefined : arguments [ 3 ] , "px rgba(0,0,0," ) . concat ( shadowKeyUmbraOpacity , ")" ) , "" . concat ( arguments . length <= 4 ? undefined : arguments [ 4 ] , "px " ) . concat ( arguments . length <= 5 ? undefined : arguments [ 5 ] , "px " ) . concat ( arguments . length <= 6 ? undefined : arguments [ 6 ] , "px " ) . concat ( arguments . length <= 7 ? undefined : arguments [ 7 ] , "px rgba(0,0,0," ) . concat ( shadowKeyPenumbraOpacity , ")" ) , "" . concat ( arguments . length <= 8 ? undefined : arguments [ 8 ] , "px " ) . concat ( arguments . length <= 9 ? undefined : arguments [ 9 ] , "px " ) . concat ( arguments . length <= 10 ? undefined : arguments [ 10 ] , "px " ) . concat ( arguments . length <= 11 ? undefined : arguments [ 11 ] , "px rgba(0,0,0," ) . concat ( shadowAmbientShadowOpacity , ")" ) ] . join ( ',' ) ;
} // Values from https://github.com/material-components/material-components-web/blob/be8747f94574669cb5e7add1a7c54fa41a89cec7/packages/mdc-elevation/_variables.scss
var shadows = [ '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 ) ] ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( shadows ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/shape.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / shape . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
var shape = {
borderRadius : 4
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( shape ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/styled.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / styled . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js" ) ;
var styled = function styled ( Component ) {
var componentCreator = ( 0 , _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ . styled ) ( Component ) ;
return function ( style , options ) {
return componentCreator ( style , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
defaultTheme : _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default
} , options ) ) ;
} ;
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( styled ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/transitions.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / transitions . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "easing" : function ( ) { return /* binding */ easing ; } ,
/* harmony export */ "duration" : function ( ) { return /* binding */ duration ; }
/* harmony export */ } ) ;
/* harmony import */ var _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/objectWithoutProperties */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js" ) ;
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
// to learn the context in which each easing should be used.
var easing = {
// This is the most common easing curve.
easeInOut : 'cubic-bezier(0.4, 0, 0.2, 1)' ,
// Objects enter the screen at full velocity from off-screen and
// slowly decelerate to a resting point.
easeOut : 'cubic-bezier(0.0, 0, 0.2, 1)' ,
// Objects leave the screen at full velocity. They do not decelerate when off-screen.
easeIn : 'cubic-bezier(0.4, 0, 1, 1)' ,
// The sharp curve is used by objects that may return to the screen at any time.
sharp : 'cubic-bezier(0.4, 0, 0.6, 1)'
} ; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations
// to learn when use what timing
var duration = {
shortest : 150 ,
shorter : 200 ,
short : 250 ,
// most basic recommended timing
standard : 300 ,
// this is to be used in complex animations
complex : 375 ,
// recommended when something is entering screen
enteringScreen : 225 ,
// recommended when something is leaving screen
leavingScreen : 195
} ;
function formatMs ( milliseconds ) {
return "" . concat ( Math . round ( milliseconds ) , "ms" ) ;
}
/ * *
* @ param { string | Array } props
* @ param { object } param
* @ param { string } param . prop
* @ param { number } param . duration
* @ param { string } param . easing
* @ param { number } param . delay
* /
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( {
easing : easing ,
duration : duration ,
create : function create ( ) {
var props = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : [ 'all' ] ;
var options = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : { } ;
var _options$duration = options . duration ,
durationOption = _options$duration === void 0 ? duration . standard : _options$duration ,
_options$easing = options . easing ,
easingOption = _options$easing === void 0 ? easing . easeInOut : _options$easing ,
_options$delay = options . delay ,
delay = _options$delay === void 0 ? 0 : _options$delay ,
other = ( 0 , _babel _runtime _helpers _esm _objectWithoutProperties _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( options , [ "duration" , "easing" , "delay" ] ) ;
if ( true ) {
var isString = function isString ( value ) {
return typeof value === 'string' ;
} ;
var isNumber = function isNumber ( value ) {
return ! isNaN ( parseFloat ( value ) ) ;
} ;
if ( ! isString ( props ) && ! Array . isArray ( props ) ) {
console . error ( 'Material-UI: Argument "props" must be a string or Array.' ) ;
}
if ( ! isNumber ( durationOption ) && ! isString ( durationOption ) ) {
console . error ( "Material-UI: Argument \"duration\" must be a number or a string but found " . concat ( durationOption , "." ) ) ;
}
if ( ! isString ( easingOption ) ) {
console . error ( 'Material-UI: Argument "easing" must be a string.' ) ;
}
if ( ! isNumber ( delay ) && ! isString ( delay ) ) {
console . error ( 'Material-UI: Argument "delay" must be a number or a string.' ) ;
}
if ( Object . keys ( other ) . length !== 0 ) {
console . error ( "Material-UI: Unrecognized argument(s) [" . concat ( Object . keys ( other ) . join ( ',' ) , "]." ) ) ;
}
}
return ( Array . isArray ( props ) ? props : [ props ] ) . map ( function ( animatedProp ) {
return "" . concat ( animatedProp , " " ) . concat ( typeof durationOption === 'string' ? durationOption : formatMs ( durationOption ) , " " ) . concat ( easingOption , " " ) . concat ( typeof delay === 'string' ? delay : formatMs ( delay ) ) ;
} ) . join ( ',' ) ;
} ,
getAutoHeightDuration : function getAutoHeightDuration ( height ) {
if ( ! height ) {
return 0 ;
}
var constant = height / 36 ; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10
return Math . round ( ( 4 + 15 * Math . pow ( constant , 0.25 ) + constant / 5 ) * 10 ) ;
}
} ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/useTheme.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / useTheme . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ useTheme ; }
/* harmony export */ } ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js" ) ;
function useTheme ( ) {
var theme = ( 0 , _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useTheme ) ( ) || _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default ;
if ( true ) {
// eslint-disable-next-line react-hooks/rules-of-hooks
react _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default ( ) . useDebugValue ( theme ) ;
}
return theme ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/withStyles.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / withStyles . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/esm/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js" ) ;
function withStyles ( stylesOrCreator , options ) {
return ( 0 , _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _1 _ _ . withStyles ) ( stylesOrCreator , ( 0 , _babel _runtime _helpers _esm _extends _ _WEBPACK _IMPORTED _MODULE _0 _ _ . default ) ( {
defaultTheme : _defaultTheme _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default
} , options ) ) ;
}
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( withStyles ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/withTheme.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / withTheme . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/styles */ "@material-ui/styles" ) ;
/* harmony import */ var _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var _defaultTheme _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! ./defaultTheme */ "./node_modules/@material-ui/core/esm/styles/defaultTheme.js" ) ;
var withTheme = ( 0 , _material _ui _styles _ _WEBPACK _IMPORTED _MODULE _0 _ _ . withThemeCreator ) ( {
defaultTheme : _defaultTheme _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default
} ) ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( withTheme ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/styles/zIndex.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / styles / zIndex . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
// We need to centralize the zIndex definitions as they work
// like global values in the browser.
var zIndex = {
mobileStepper : 1000 ,
speedDial : 1050 ,
appBar : 1100 ,
drawer : 1200 ,
modal : 1300 ,
snackbar : 1400 ,
tooltip : 1500
} ;
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( zIndex ) ;
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/utils/capitalize.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / utils / capitalize . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ capitalize ; }
/* harmony export */ } ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! @material-ui/utils */ "@material-ui/utils" ) ;
/* harmony import */ var _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _utils _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
// It should to be noted that this function isn't equivalent to `text-transform: capitalize`.
//
// A strict capitalization should uppercase the first letter of each word a the sentence.
// We only handle the first word.
function capitalize ( string ) {
if ( typeof string !== 'string' ) {
throw new Error ( true ? "Material-UI: capitalize(string) expects a string argument." : 0 ) ;
}
return string . charAt ( 0 ) . toUpperCase ( ) + string . slice ( 1 ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/utils/setRef.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / utils / setRef . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ setRef ; }
/* harmony export */ } ) ;
// TODO v5: consider to make it private
function setRef ( ref , value ) {
if ( typeof ref === 'function' ) {
ref ( value ) ;
} else if ( ref ) {
ref . current = value ;
}
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/utils/useEventCallback.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / utils / useEventCallback . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ useEventCallback ; }
/* harmony export */ } ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
var useEnhancedEffect = typeof window !== 'undefined' ? react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useLayoutEffect : react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useEffect ;
/ * *
* https : //github.com/facebook/react/issues/14099#issuecomment-440013892
*
* @ param { function } fn
* /
function useEventCallback ( fn ) {
var ref = react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useRef ( fn ) ;
useEnhancedEffect ( function ( ) {
ref . current = fn ;
} ) ;
return react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useCallback ( function ( ) {
return ( 0 , ref . current ) . apply ( void 0 , arguments ) ;
} , [ ] ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/utils/useForkRef.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / utils / useForkRef . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ useForkRef ; }
/* harmony export */ } ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var _setRef _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! ./setRef */ "./node_modules/@material-ui/core/esm/utils/setRef.js" ) ;
function useForkRef ( refA , refB ) {
/ * *
* This will create a new function if the ref props change and are defined .
* This means react will call the old forkRef with ` null ` and the new forkRef
* with the ref . Cleanup naturally emerges from this behavior
* /
return react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useMemo ( function ( ) {
if ( refA == null && refB == null ) {
return null ;
}
return function ( refValue ) {
( 0 , _setRef _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( refA , refValue ) ;
( 0 , _setRef _ _WEBPACK _IMPORTED _MODULE _1 _ _ . default ) ( refB , refValue ) ;
} ;
} , [ refA , refB ] ) ;
}
/***/ } ) ,
/***/ "./node_modules/@material-ui/core/esm/utils/useIsFocusVisible.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / @ material - ui / core / esm / utils / useIsFocusVisible . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "teardown" : function ( ) { return /* binding */ teardown ; } ,
/* harmony export */ "default" : function ( ) { return /* binding */ useIsFocusVisible ; }
/* harmony export */ } ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var react _dom _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! react-dom */ "react-dom" ) ;
/* harmony import */ var react _dom _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _dom _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
var hadKeyboardEvent = true ;
var hadFocusVisibleRecently = false ;
var hadFocusVisibleRecentlyTimeout = null ;
var inputTypesWhitelist = {
text : true ,
search : true ,
url : true ,
tel : true ,
email : true ,
password : true ,
number : true ,
date : true ,
month : true ,
week : true ,
time : true ,
datetime : true ,
'datetime-local' : true
} ;
/ * *
* Computes whether the given element should automatically trigger the
* ` focus-visible ` class being added , i . e . whether it should always match
* ` :focus-visible ` when focused .
* @ param { Element } node
* @ return { boolean }
* /
function focusTriggersKeyboardModality ( node ) {
var type = node . type ,
tagName = node . tagName ;
if ( tagName === 'INPUT' && inputTypesWhitelist [ type ] && ! node . readOnly ) {
return true ;
}
if ( tagName === 'TEXTAREA' && ! node . readOnly ) {
return true ;
}
if ( node . isContentEditable ) {
return true ;
}
return false ;
}
/ * *
* Keep track of our keyboard modality state with ` hadKeyboardEvent ` .
* If the most recent user interaction was via the keyboard ;
* and the key press did not include a meta , alt / option , or control key ;
* then the modality is keyboard . Otherwise , the modality is not keyboard .
* @ param { KeyboardEvent } event
* /
function handleKeyDown ( event ) {
if ( event . metaKey || event . altKey || event . ctrlKey ) {
return ;
}
hadKeyboardEvent = true ;
}
/ * *
* If at any point a user clicks with a pointing device , ensure that we change
* the modality away from keyboard .
* This avoids the situation where a user presses a key on an already focused
* element , and then clicks on a different element , focusing it with a
* pointing device , while we still think we ' re in keyboard modality .
* /
function handlePointerDown ( ) {
hadKeyboardEvent = false ;
}
function handleVisibilityChange ( ) {
if ( this . visibilityState === 'hidden' ) {
// If the tab becomes active again, the browser will handle calling focus
// on the element (Safari actually calls it twice).
// If this tab change caused a blur on an element with focus-visible,
// re-apply the class when the user switches back to the tab.
if ( hadFocusVisibleRecently ) {
hadKeyboardEvent = true ;
}
}
}
function prepare ( doc ) {
doc . addEventListener ( 'keydown' , handleKeyDown , true ) ;
doc . addEventListener ( 'mousedown' , handlePointerDown , true ) ;
doc . addEventListener ( 'pointerdown' , handlePointerDown , true ) ;
doc . addEventListener ( 'touchstart' , handlePointerDown , true ) ;
doc . addEventListener ( 'visibilitychange' , handleVisibilityChange , true ) ;
}
function teardown ( doc ) {
doc . removeEventListener ( 'keydown' , handleKeyDown , true ) ;
doc . removeEventListener ( 'mousedown' , handlePointerDown , true ) ;
doc . removeEventListener ( 'pointerdown' , handlePointerDown , true ) ;
doc . removeEventListener ( 'touchstart' , handlePointerDown , true ) ;
doc . removeEventListener ( 'visibilitychange' , handleVisibilityChange , true ) ;
}
function isFocusVisible ( event ) {
var target = event . target ;
try {
return target . matches ( ':focus-visible' ) ;
} catch ( error ) { } // browsers not implementing :focus-visible will throw a SyntaxError
// we use our own heuristic for those browsers
// rethrow might be better if it's not the expected error but do we really
// want to crash if focus-visible malfunctioned?
// no need for validFocusTarget check. the user does that by attaching it to
// focusable events only
return hadKeyboardEvent || focusTriggersKeyboardModality ( target ) ;
}
/ * *
* Should be called if a blur event is fired on a focus - visible element
* /
function handleBlurVisible ( ) {
// To detect a tab/window switch, we look for a blur event followed
// rapidly by a visibility change.
// If we don't see a visibility change within 100ms, it's probably a
// regular focus change.
hadFocusVisibleRecently = true ;
window . clearTimeout ( hadFocusVisibleRecentlyTimeout ) ;
hadFocusVisibleRecentlyTimeout = window . setTimeout ( function ( ) {
hadFocusVisibleRecently = false ;
} , 100 ) ;
}
function useIsFocusVisible ( ) {
var ref = react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useCallback ( function ( instance ) {
var node = react _dom _ _WEBPACK _IMPORTED _MODULE _1 _ _ . findDOMNode ( instance ) ;
if ( node != null ) {
prepare ( node . ownerDocument ) ;
}
} , [ ] ) ;
if ( true ) {
// eslint-disable-next-line react-hooks/rules-of-hooks
react _ _WEBPACK _IMPORTED _MODULE _0 _ _ . useDebugValue ( isFocusVisible ) ;
}
return {
isFocusVisible : isFocusVisible ,
onBlurVisible : handleBlurVisible ,
ref : ref
} ;
}
/***/ } ) ,
/***/ "./components/Navbar.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / components / Navbar . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony export */ _ _webpack _require _ _ . d ( _ _webpack _exports _ _ , {
/* harmony export */ "default" : function ( ) { return /* binding */ ButtonAppBar ; }
/* harmony export */ } ) ;
/* harmony import */ var react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react/jsx-dev-runtime */ "react/jsx-dev-runtime" ) ;
/* harmony import */ var react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! react */ "react" ) ;
/* harmony import */ var react _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _material _ui _core _styles _ _WEBPACK _IMPORTED _MODULE _4 _ _ = _ _webpack _require _ _ ( /*! @material-ui/core/styles */ "./node_modules/@material-ui/core/esm/styles/index.js" ) ;
/* harmony import */ var _material _ui _core _AppBar _ _WEBPACK _IMPORTED _MODULE _5 _ _ = _ _webpack _require _ _ ( /*! @material-ui/core/AppBar */ "./node_modules/@material-ui/core/esm/AppBar/index.js" ) ;
/* harmony import */ var _material _ui _core _Toolbar _ _WEBPACK _IMPORTED _MODULE _6 _ _ = _ _webpack _require _ _ ( /*! @material-ui/core/Toolbar */ "./node_modules/@material-ui/core/esm/Toolbar/index.js" ) ;
/* harmony import */ var _material _ui _core _Typography _ _WEBPACK _IMPORTED _MODULE _8 _ _ = _ _webpack _require _ _ ( /*! @material-ui/core/Typography */ "./node_modules/@material-ui/core/esm/Typography/index.js" ) ;
/* harmony import */ var _material _ui _core _Button _ _WEBPACK _IMPORTED _MODULE _9 _ _ = _ _webpack _require _ _ ( /*! @material-ui/core/Button */ "./node_modules/@material-ui/core/esm/Button/index.js" ) ;
/* harmony import */ var _material _ui _core _IconButton _ _WEBPACK _IMPORTED _MODULE _7 _ _ = _ _webpack _require _ _ ( /*! @material-ui/core/IconButton */ "./node_modules/@material-ui/core/esm/IconButton/index.js" ) ;
/* harmony import */ var _material _ui _icons _Menu _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! @material-ui/icons/Menu */ "@material-ui/icons/Menu" ) ;
/* harmony import */ var _material _ui _icons _Menu _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _material _ui _icons _Menu _ _WEBPACK _IMPORTED _MODULE _2 _ _ ) ;
/* harmony import */ var next _link _ _WEBPACK _IMPORTED _MODULE _3 _ _ = _ _webpack _require _ _ ( /*! next/link */ "./node_modules/next/link.js" ) ;
/* harmony import */ var next _link _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( next _link _ _WEBPACK _IMPORTED _MODULE _3 _ _ ) ;
var _jsxFileName = "/home/qt-coder/cath.gq/components/Navbar.js" ;
const useStyles = ( 0 , _material _ui _core _styles _ _WEBPACK _IMPORTED _MODULE _4 _ _ . makeStyles ) ( theme => ( {
root : {
flexGrow : 1
} ,
menuButton : {
marginRight : theme . spacing ( 2 )
} ,
title : {
flexGrow : 1
}
} ) ) ;
function ButtonAppBar ( ) {
const classes = useStyles ( ) ;
return /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( "div" , {
className : classes . root ,
children : /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _material _ui _core _AppBar _ _WEBPACK _IMPORTED _MODULE _5 _ _ . default , {
position : "static" ,
color : "primary" ,
style : {
background : '#1F1B24'
} ,
children : /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _material _ui _core _Toolbar _ _WEBPACK _IMPORTED _MODULE _6 _ _ . default , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _material _ui _core _IconButton _ _WEBPACK _IMPORTED _MODULE _7 _ _ . default , {
edge : "start" ,
className : classes . menuButton ,
color : "inherit" ,
"aria-label" : "menu" ,
children : /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( ( _material _ui _icons _Menu _ _WEBPACK _IMPORTED _MODULE _2 _ _ _default ( ) ) , { } , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 33 ,
columnNumber : 25
} , this )
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 32 ,
columnNumber : 21
} , this ) , /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _material _ui _core _Typography _ _WEBPACK _IMPORTED _MODULE _8 _ _ . default , {
variant : "h6" ,
className : classes . title ,
children : /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( ( next _link _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) ) , {
href : "/" ,
children : "Cath.exe"
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 36 ,
columnNumber : 25
} , this )
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 35 ,
columnNumber : 21
} , this ) , /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _material _ui _core _Button _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default , {
color : "inherit" ,
children : "Stats"
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 40 ,
columnNumber : 21
} , this ) , /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( ( next _link _ _WEBPACK _IMPORTED _MODULE _3 _ _ _default ( ) ) , {
href : "/controlpanel" ,
children : /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _material _ui _core _Button _ _WEBPACK _IMPORTED _MODULE _9 _ _ . default , {
color : "inherit" ,
children : "Control Panel"
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 41 ,
columnNumber : 48
} , this )
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 41 ,
columnNumber : 21
} , this ) ]
} , void 0 , true , {
fileName : _jsxFileName ,
lineNumber : 31 ,
columnNumber : 17
} , this )
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 28 ,
columnNumber : 13
} , this )
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 27 ,
columnNumber : 9
} , this ) ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/client/link.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / link . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _interopRequireWildcard = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/interopRequireWildcard */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireWildcard.js" ) ;
exports . _ _esModule = true ;
exports . default = void 0 ;
var _react = _interopRequireWildcard ( _ _webpack _require _ _ ( /*! react */ "react" ) ) ;
var _router = _ _webpack _require _ _ ( /*! ../next-server/lib/router/router */ "./node_modules/next/dist/next-server/lib/router/router.js" ) ;
var _router2 = _ _webpack _require _ _ ( /*! ./router */ "./node_modules/next/dist/client/router.js" ) ;
var _useIntersection = _ _webpack _require _ _ ( /*! ./use-intersection */ "./node_modules/next/dist/client/use-intersection.js" ) ;
const prefetched = { } ;
function prefetch ( router , href , as , options ) {
if ( true ) return ;
if ( ! ( 0 , _router . isLocalURL ) ( href ) ) return ; // Prefetch the JSON page if asked (only in the client)
// We need to handle a prefetch error here since we may be
// loading with priority which can reject but we don't
// want to force navigation since this is only a prefetch
router . prefetch ( href , as , options ) . catch ( err => {
if ( true ) {
// rethrow to show invalid URL errors
throw err ;
}
} ) ;
const curLocale = options && typeof options . locale !== 'undefined' ? options . locale : router && router . locale ; // Join on an invalid URI character
prefetched [ href + '%' + as + ( curLocale ? '%' + curLocale : '' ) ] = true ;
}
function isModifiedEvent ( event ) {
const {
target
} = event . currentTarget ;
return target && target !== '_self' || event . metaKey || event . ctrlKey || event . shiftKey || event . altKey || // triggers resource download
event . nativeEvent && event . nativeEvent . which === 2 ;
}
function linkClicked ( e , router , href , as , replace , shallow , scroll , locale ) {
const {
nodeName
} = e . currentTarget ;
if ( nodeName === 'A' && ( isModifiedEvent ( e ) || ! ( 0 , _router . isLocalURL ) ( href ) ) ) {
// ignore click for browser’ s default behavior
return ;
}
e . preventDefault ( ) ; // avoid scroll for urls with anchor refs
if ( scroll == null && as . indexOf ( '#' ) >= 0 ) {
scroll = false ;
} // replace state instead of push if prop is present
router [ replace ? 'replace' : 'push' ] ( href , as , {
shallow ,
locale ,
scroll
} ) ;
}
function Link ( props ) {
if ( true ) {
function createPropError ( args ) {
return new Error ( ` Failed prop type: The prop \` ${ args . key } \` expects a ${ args . expected } in \` <Link> \` , but got \` ${ args . actual } \` instead. ` + ( false ? 0 : '' ) ) ;
} // TypeScript trick for type-guarding:
const requiredPropsGuard = {
href : true
} ;
const requiredProps = Object . keys ( requiredPropsGuard ) ;
requiredProps . forEach ( key => {
if ( key === 'href' ) {
if ( props [ key ] == null || typeof props [ key ] !== 'string' && typeof props [ key ] !== 'object' ) {
throw createPropError ( {
key ,
expected : '`string` or `object`' ,
actual : props [ key ] === null ? 'null' : typeof props [ key ]
} ) ;
}
} else {
// TypeScript trick for type-guarding:
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const _ = key ;
}
} ) ; // TypeScript trick for type-guarding:
const optionalPropsGuard = {
as : true ,
replace : true ,
scroll : true ,
shallow : true ,
passHref : true ,
prefetch : true ,
locale : true
} ;
const optionalProps = Object . keys ( optionalPropsGuard ) ;
optionalProps . forEach ( key => {
const valType = typeof props [ key ] ;
if ( key === 'as' ) {
if ( props [ key ] && valType !== 'string' && valType !== 'object' ) {
throw createPropError ( {
key ,
expected : '`string` or `object`' ,
actual : valType
} ) ;
}
} else if ( key === 'locale' ) {
if ( props [ key ] && valType !== 'string' ) {
throw createPropError ( {
key ,
expected : '`string`' ,
actual : valType
} ) ;
}
} else if ( key === 'replace' || key === 'scroll' || key === 'shallow' || key === 'passHref' || key === 'prefetch' ) {
if ( props [ key ] != null && valType !== 'boolean' ) {
throw createPropError ( {
key ,
expected : '`boolean`' ,
actual : valType
} ) ;
}
} else {
// TypeScript trick for type-guarding:
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const _ = key ;
}
} ) ; // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes
// eslint-disable-next-line react-hooks/rules-of-hooks
const hasWarned = _react . default . useRef ( false ) ;
if ( props . prefetch && ! hasWarned . current ) {
hasWarned . current = true ;
console . warn ( 'Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated' ) ;
}
}
const p = props . prefetch !== false ;
const router = ( 0 , _router2 . useRouter ) ( ) ;
const {
href ,
as
} = _react . default . useMemo ( ( ) => {
const [ resolvedHref , resolvedAs ] = ( 0 , _router . resolveHref ) ( router , props . href , true ) ;
return {
href : resolvedHref ,
as : props . as ? ( 0 , _router . resolveHref ) ( router , props . as ) : resolvedAs || resolvedHref
} ;
} , [ router , props . href , props . as ] ) ;
let {
children ,
replace ,
shallow ,
scroll ,
locale
} = props ; // Deprecated. Warning shown by propType check. If the children provided is a string (<Link>example</Link>) we wrap it in an <a> tag
if ( typeof children === 'string' ) {
children = /*#__PURE__*/ _react . default . createElement ( "a" , null , children ) ;
} // This will return the first child, if multiple are provided it will throw an error
let child ;
if ( true ) {
try {
child = _react . Children . only ( children ) ;
} catch ( err ) {
throw new Error ( ` Multiple children were passed to <Link> with \` href \` of \` ${ props . href } \` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children ` + ( false ? 0 : '' ) ) ;
}
} else { }
const childRef = child && typeof child === 'object' && child . ref ;
const [ setIntersectionRef , isVisible ] = ( 0 , _useIntersection . useIntersection ) ( {
rootMargin : '200px'
} ) ;
const setRef = _react . default . useCallback ( el => {
setIntersectionRef ( el ) ;
if ( childRef ) {
if ( typeof childRef === 'function' ) childRef ( el ) ; else if ( typeof childRef === 'object' ) {
childRef . current = el ;
}
}
} , [ childRef , setIntersectionRef ] ) ;
( 0 , _react . useEffect ) ( ( ) => {
const shouldPrefetch = isVisible && p && ( 0 , _router . isLocalURL ) ( href ) ;
const curLocale = typeof locale !== 'undefined' ? locale : router && router . locale ;
const isPrefetched = prefetched [ href + '%' + as + ( curLocale ? '%' + curLocale : '' ) ] ;
if ( shouldPrefetch && ! isPrefetched ) {
prefetch ( router , href , as , {
locale : curLocale
} ) ;
}
} , [ as , href , isVisible , locale , p , router ] ) ;
const childProps = {
ref : setRef ,
onClick : e => {
if ( child . props && typeof child . props . onClick === 'function' ) {
child . props . onClick ( e ) ;
}
if ( ! e . defaultPrevented ) {
linkClicked ( e , router , href , as , replace , shallow , scroll , locale ) ;
}
}
} ;
childProps . onMouseEnter = e => {
if ( ! ( 0 , _router . isLocalURL ) ( href ) ) return ;
if ( child . props && typeof child . props . onMouseEnter === 'function' ) {
child . props . onMouseEnter ( e ) ;
}
prefetch ( router , href , as , {
priority : true
} ) ;
} ; // If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
// defined, we specify the current 'href', so that repetition is not needed by the user
if ( props . passHref || child . type === 'a' && ! ( 'href' in child . props ) ) {
const curLocale = typeof locale !== 'undefined' ? locale : router && router . locale ; // we only render domain locales if we are currently on a domain locale
// so that locale links are still visitable in development/preview envs
const localeDomain = router && router . isLocaleDomain && ( 0 , _router . getDomainLocale ) ( as , curLocale , router && router . locales , router && router . domainLocales ) ;
childProps . href = localeDomain || ( 0 , _router . addBasePath ) ( ( 0 , _router . addLocale ) ( as , curLocale , router && router . defaultLocale ) ) ;
}
return /*#__PURE__*/ _react . default . cloneElement ( child , childProps ) ;
}
var _default = Link ;
exports . default = _default ;
/***/ } ) ,
/***/ "./node_modules/next/dist/client/normalize-trailing-slash.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / normalize - trailing - slash . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . removePathTrailingSlash = removePathTrailingSlash ;
exports . normalizePathTrailingSlash = void 0 ;
/ * *
* Removes the trailing slash of a path if there is one . Preserves the root path ` / ` .
* /
function removePathTrailingSlash ( path ) {
return path . endsWith ( '/' ) && path !== '/' ? path . slice ( 0 , - 1 ) : path ;
}
/ * *
* Normalizes the trailing slash of a path according to the ` trailingSlash ` option
* in ` next.config.js ` .
* /
const normalizePathTrailingSlash = false ? 0 : removePathTrailingSlash ;
exports . normalizePathTrailingSlash = normalizePathTrailingSlash ;
/***/ } ) ,
/***/ "./node_modules/next/dist/client/request-idle-callback.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / request - idle - callback . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . cancelIdleCallback = exports . requestIdleCallback = void 0 ;
const requestIdleCallback = typeof self !== 'undefined' && self . requestIdleCallback || function ( cb ) {
let start = Date . now ( ) ;
return setTimeout ( function ( ) {
cb ( {
didTimeout : false ,
timeRemaining : function ( ) {
return Math . max ( 0 , 50 - ( Date . now ( ) - start ) ) ;
}
} ) ;
} , 1 ) ;
} ;
exports . requestIdleCallback = requestIdleCallback ;
const cancelIdleCallback = typeof self !== 'undefined' && self . cancelIdleCallback || function ( id ) {
return clearTimeout ( id ) ;
} ;
exports . cancelIdleCallback = cancelIdleCallback ;
/***/ } ) ,
/***/ "./node_modules/next/dist/client/route-loader.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / route - loader . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _interopRequireDefault = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js" ) ;
exports . _ _esModule = true ;
exports . markAssetError = markAssetError ;
exports . isAssetError = isAssetError ;
exports . getClientBuildManifest = getClientBuildManifest ;
exports . default = void 0 ;
var _getAssetPathFromRoute = _interopRequireDefault ( _ _webpack _require _ _ ( /*! ../next-server/lib/router/utils/get-asset-path-from-route */ "../next-server/lib/router/utils/get-asset-path-from-route" ) ) ;
var _requestIdleCallback = _ _webpack _require _ _ ( /*! ./request-idle-callback */ "./node_modules/next/dist/client/request-idle-callback.js" ) ; // 3.8s was arbitrarily chosen as it's what https://web.dev/interactive
// considers as "Good" time-to-interactive. We must assume something went
// wrong beyond this point, and then fall-back to a full page transition to
// show the user something of value.
const MS _MAX _IDLE _DELAY = 3800 ;
function withFuture ( key , map , generator ) {
let entry = map . get ( key ) ;
if ( entry ) {
if ( 'future' in entry ) {
return entry . future ;
}
return Promise . resolve ( entry ) ;
}
let resolver ;
const prom = new Promise ( resolve => {
resolver = resolve ;
} ) ;
map . set ( key , entry = {
resolve : resolver ,
future : prom
} ) ;
return generator ? // eslint-disable-next-line no-sequences
generator ( ) . then ( value => ( resolver ( value ) , value ) ) : prom ;
}
function hasPrefetch ( link ) {
try {
link = document . createElement ( 'link' ) ;
return ( // detect IE11 since it supports prefetch but isn't detected
// with relList.support
! ! window . MSInputMethodContext && ! ! document . documentMode || link . relList . supports ( 'prefetch' )
) ;
} catch ( _unused ) {
return false ;
}
}
const canPrefetch = hasPrefetch ( ) ;
function prefetchViaDom ( href , as , link ) {
return new Promise ( ( res , rej ) => {
if ( document . querySelector ( ` link[rel="prefetch"][href^=" ${ href } "] ` ) ) {
return res ( ) ;
}
link = document . createElement ( 'link' ) ; // The order of property assignment here is intentional:
if ( as ) link . as = as ;
link . rel = ` prefetch ` ;
link . crossOrigin = undefined ;
link . onload = res ;
link . onerror = rej ; // `href` should always be last:
link . href = href ;
document . head . appendChild ( link ) ;
} ) ;
}
const ASSET _LOAD _ERROR = Symbol ( 'ASSET_LOAD_ERROR' ) ; // TODO: unexport
function markAssetError ( err ) {
return Object . defineProperty ( err , ASSET _LOAD _ERROR , { } ) ;
}
function isAssetError ( err ) {
return err && ASSET _LOAD _ERROR in err ;
}
function appendScript ( src , script ) {
return new Promise ( ( resolve , reject ) => {
script = document . createElement ( 'script' ) ; // The order of property assignment here is intentional.
// 1. Setup success/failure hooks in case the browser synchronously
// executes when `src` is set.
script . onload = resolve ;
script . onerror = ( ) => reject ( markAssetError ( new Error ( ` Failed to load script: ${ src } ` ) ) ) ; // 2. Configure the cross-origin attribute before setting `src` in case the
// browser begins to fetch.
script . crossOrigin = undefined ; // 3. Finally, set the source and inject into the DOM in case the child
// must be appended for fetching to start.
script . src = src ;
document . body . appendChild ( script ) ;
} ) ;
} // Resolve a promise that times out after given amount of milliseconds.
function resolvePromiseWithTimeout ( p , ms , err ) {
return new Promise ( ( resolve , reject ) => {
let cancelled = false ;
p . then ( r => {
// Resolved, cancel the timeout
cancelled = true ;
resolve ( r ) ;
} ) . catch ( reject ) ;
( 0 , _requestIdleCallback . requestIdleCallback ) ( ( ) => setTimeout ( ( ) => {
if ( ! cancelled ) {
reject ( err ) ;
}
} , ms ) ) ;
} ) ;
} // TODO: stop exporting or cache the failure
// It'd be best to stop exporting this. It's an implementation detail. We're
// only exporting it for backwards compatibilty with the `page-loader`.
// Only cache this response as a last resort if we cannot eliminate all other
// code branches that use the Build Manifest Callback and push them through
// the Route Loader interface.
function getClientBuildManifest ( ) {
if ( self . _ _BUILD _MANIFEST ) {
return Promise . resolve ( self . _ _BUILD _MANIFEST ) ;
}
const onBuildManifest = new Promise ( resolve => {
// Mandatory because this is not concurrent safe:
const cb = self . _ _BUILD _MANIFEST _CB ;
self . _ _BUILD _MANIFEST _CB = ( ) => {
resolve ( self . _ _BUILD _MANIFEST ) ;
cb && cb ( ) ;
} ;
} ) ;
return resolvePromiseWithTimeout ( onBuildManifest , MS _MAX _IDLE _DELAY , markAssetError ( new Error ( 'Failed to load client build manifest' ) ) ) ;
}
function getFilesForRoute ( assetPrefix , route ) {
if ( true ) {
return Promise . resolve ( {
scripts : [ assetPrefix + '/_next/static/chunks/pages' + encodeURI ( ( 0 , _getAssetPathFromRoute . default ) ( route , '.js' ) ) ] ,
// Styles are handled by `style-loader` in development:
css : [ ]
} ) ;
}
return getClientBuildManifest ( ) . then ( manifest => {
if ( ! ( route in manifest ) ) {
throw markAssetError ( new Error ( ` Failed to lookup route: ${ route } ` ) ) ;
}
const allFiles = manifest [ route ] . map ( entry => assetPrefix + '/_next/' + encodeURI ( entry ) ) ;
return {
scripts : allFiles . filter ( v => v . endsWith ( '.js' ) ) ,
css : allFiles . filter ( v => v . endsWith ( '.css' ) )
} ;
} ) ;
}
function createRouteLoader ( assetPrefix ) {
const entrypoints = new Map ( ) ;
const loadedScripts = new Map ( ) ;
const styleSheets = new Map ( ) ;
const routes = new Map ( ) ;
function maybeExecuteScript ( src ) {
let prom = loadedScripts . get ( src ) ;
if ( prom ) {
return prom ;
} // Skip executing script if it's already in the DOM:
if ( document . querySelector ( ` script[src^=" ${ src } "] ` ) ) {
return Promise . resolve ( ) ;
}
loadedScripts . set ( src , prom = appendScript ( src ) ) ;
return prom ;
}
function fetchStyleSheet ( href ) {
let prom = styleSheets . get ( href ) ;
if ( prom ) {
return prom ;
}
styleSheets . set ( href , prom = fetch ( href ) . then ( res => {
if ( ! res . ok ) {
throw new Error ( ` Failed to load stylesheet: ${ href } ` ) ;
}
return res . text ( ) . then ( text => ( {
href : href ,
content : text
} ) ) ;
} ) . catch ( err => {
throw markAssetError ( err ) ;
} ) ) ;
return prom ;
}
return {
whenEntrypoint ( route ) {
return withFuture ( route , entrypoints ) ;
} ,
onEntrypoint ( route , execute ) {
Promise . resolve ( execute ) . then ( fn => fn ( ) ) . then ( exports => ( {
component : exports && exports . default || exports ,
exports : exports
} ) , err => ( {
error : err
} ) ) . then ( input => {
const old = entrypoints . get ( route ) ;
entrypoints . set ( route , input ) ;
if ( old && 'resolve' in old ) old . resolve ( input ) ;
} ) ;
} ,
loadRoute ( route , prefetch ) {
return withFuture ( route , routes , ( ) => {
return resolvePromiseWithTimeout ( getFilesForRoute ( assetPrefix , route ) . then ( ( {
scripts ,
css
} ) => {
return Promise . all ( [ entrypoints . has ( route ) ? [ ] : Promise . all ( scripts . map ( maybeExecuteScript ) ) , Promise . all ( css . map ( fetchStyleSheet ) ) ] ) ;
} ) . then ( res => {
return this . whenEntrypoint ( route ) . then ( entrypoint => ( {
entrypoint ,
styles : res [ 1 ]
} ) ) ;
} ) , MS _MAX _IDLE _DELAY , markAssetError ( new Error ( ` Route did not complete loading: ${ route } ` ) ) ) . then ( ( {
entrypoint ,
styles
} ) => {
const res = Object . assign ( {
styles : styles
} , entrypoint ) ;
return 'error' in entrypoint ? entrypoint : res ;
} ) . catch ( err => {
if ( prefetch ) {
// we don't want to cache errors during prefetch
throw err ;
}
return {
error : err
} ;
} ) ;
} ) ;
} ,
prefetch ( route ) {
// https://github.com/GoogleChromeLabs/quicklink/blob/453a661fa1fa940e2d2e044452398e38c67a98fb/src/index.mjs#L115-L118
// License: Apache 2.0
let cn ;
if ( cn = navigator . connection ) {
// Don't prefetch if using 2G or if Save-Data is enabled.
if ( cn . saveData || /2g/ . test ( cn . effectiveType ) ) return Promise . resolve ( ) ;
}
return getFilesForRoute ( assetPrefix , route ) . then ( output => Promise . all ( canPrefetch ? output . scripts . map ( script => prefetchViaDom ( script , 'script' ) ) : [ ] ) ) . then ( ( ) => {
( 0 , _requestIdleCallback . requestIdleCallback ) ( ( ) => this . loadRoute ( route , true ) . catch ( ( ) => { } ) ) ;
} ) . catch ( // swallow prefetch errors
( ) => { } ) ;
}
} ;
}
var _default = createRouteLoader ;
exports . default = _default ;
/***/ } ) ,
/***/ "./node_modules/next/dist/client/router.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / router . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _interopRequireWildcard = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/interopRequireWildcard */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireWildcard.js" ) ;
var _interopRequireDefault = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js" ) ;
exports . _ _esModule = true ;
exports . useRouter = useRouter ;
exports . makePublicRouterInstance = makePublicRouterInstance ;
exports . createRouter = exports . withRouter = exports . default = void 0 ;
var _react = _interopRequireDefault ( _ _webpack _require _ _ ( /*! react */ "react" ) ) ;
var _router2 = _interopRequireWildcard ( _ _webpack _require _ _ ( /*! ../next-server/lib/router/router */ "./node_modules/next/dist/next-server/lib/router/router.js" ) ) ;
exports . Router = _router2 . default ;
exports . NextRouter = _router2 . NextRouter ;
var _routerContext = _ _webpack _require _ _ ( /*! ../next-server/lib/router-context */ "../next-server/lib/router-context" ) ;
var _withRouter = _interopRequireDefault ( _ _webpack _require _ _ ( /*! ./with-router */ "./node_modules/next/dist/client/with-router.js" ) ) ;
exports . withRouter = _withRouter . default ;
/* global window */
const singletonRouter = {
router : null ,
// holds the actual router instance
readyCallbacks : [ ] ,
ready ( cb ) {
if ( this . router ) return cb ( ) ;
if ( false ) { }
}
} ; // Create public properties and methods of the router in the singletonRouter
const urlPropertyFields = [ 'pathname' , 'route' , 'query' , 'asPath' , 'components' , 'isFallback' , 'basePath' , 'locale' , 'locales' , 'defaultLocale' , 'isReady' , 'isPreview' , 'isLocaleDomain' ] ;
const routerEvents = [ 'routeChangeStart' , 'beforeHistoryChange' , 'routeChangeComplete' , 'routeChangeError' , 'hashChangeStart' , 'hashChangeComplete' ] ;
const coreMethodFields = [ 'push' , 'replace' , 'reload' , 'back' , 'prefetch' , 'beforePopState' ] ; // Events is a static property on the router, the router doesn't have to be initialized to use it
Object . defineProperty ( singletonRouter , 'events' , {
get ( ) {
return _router2 . default . events ;
}
} ) ;
urlPropertyFields . forEach ( field => {
// Here we need to use Object.defineProperty because we need to return
// the property assigned to the actual router
// The value might get changed as we change routes and this is the
// proper way to access it
Object . defineProperty ( singletonRouter , field , {
get ( ) {
const router = getRouter ( ) ;
return router [ field ] ;
}
} ) ;
} ) ;
coreMethodFields . forEach ( field => {
// We don't really know the types here, so we add them later instead
;
singletonRouter [ field ] = ( ... args ) => {
const router = getRouter ( ) ;
return router [ field ] ( ... args ) ;
} ;
} ) ;
routerEvents . forEach ( event => {
singletonRouter . ready ( ( ) => {
_router2 . default . events . on ( event , ( ... args ) => {
const eventField = ` on ${ event . charAt ( 0 ) . toUpperCase ( ) } ${ event . substring ( 1 ) } ` ;
const _singletonRouter = singletonRouter ;
if ( _singletonRouter [ eventField ] ) {
try {
_singletonRouter [ eventField ] ( ... args ) ;
} catch ( err ) {
console . error ( ` Error when running the Router event: ${ eventField } ` ) ;
console . error ( ` ${ err . message } \n ${ err . stack } ` ) ;
}
}
} ) ;
} ) ;
} ) ;
function getRouter ( ) {
if ( ! singletonRouter . router ) {
const message = 'No router instance found.\n' + 'You should only use "next/router" on the client side of your app.\n' ;
throw new Error ( message ) ;
}
return singletonRouter . router ;
} // Export the singletonRouter and this is the public API.
var _default = singletonRouter ; // Reexport the withRoute HOC
exports . default = _default ;
function useRouter ( ) {
return _react . default . useContext ( _routerContext . RouterContext ) ;
} // INTERNAL APIS
// -------------
// (do not use following exports inside the app)
// Create a router and assign it as the singleton instance.
// This is used in client side when we are initilizing the app.
// This should **not** be used inside the server.
const createRouter = ( ... args ) => {
singletonRouter . router = new _router2 . default ( ... args ) ;
singletonRouter . readyCallbacks . forEach ( cb => cb ( ) ) ;
singletonRouter . readyCallbacks = [ ] ;
return singletonRouter . router ;
} ; // This function is used to create the `withRouter` router instance
exports . createRouter = createRouter ;
function makePublicRouterInstance ( router ) {
const _router = router ;
const instance = { } ;
for ( const property of urlPropertyFields ) {
if ( typeof _router [ property ] === 'object' ) {
instance [ property ] = Object . assign ( Array . isArray ( _router [ property ] ) ? [ ] : { } , _router [ property ] ) ; // makes sure query is not stateful
continue ;
}
instance [ property ] = _router [ property ] ;
} // Events is a static property on the router, the router doesn't have to be initialized to use it
instance . events = _router2 . default . events ;
coreMethodFields . forEach ( field => {
instance [ field ] = ( ... args ) => {
return _router [ field ] ( ... args ) ;
} ;
} ) ;
return instance ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/client/use-intersection.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / use - intersection . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
exports . _ _esModule = true ;
exports . useIntersection = useIntersection ;
var _react = _ _webpack _require _ _ ( /*! react */ "react" ) ;
var _requestIdleCallback = _ _webpack _require _ _ ( /*! ./request-idle-callback */ "./node_modules/next/dist/client/request-idle-callback.js" ) ;
const hasIntersectionObserver = typeof IntersectionObserver !== 'undefined' ;
function useIntersection ( {
rootMargin ,
disabled
} ) {
const isDisabled = disabled || ! hasIntersectionObserver ;
const unobserve = ( 0 , _react . useRef ) ( ) ;
const [ visible , setVisible ] = ( 0 , _react . useState ) ( false ) ;
const setRef = ( 0 , _react . useCallback ) ( el => {
if ( unobserve . current ) {
unobserve . current ( ) ;
unobserve . current = undefined ;
}
if ( isDisabled || visible ) return ;
if ( el && el . tagName ) {
unobserve . current = observe ( el , isVisible => isVisible && setVisible ( isVisible ) , {
rootMargin
} ) ;
}
} , [ isDisabled , rootMargin , visible ] ) ;
( 0 , _react . useEffect ) ( ( ) => {
if ( ! hasIntersectionObserver ) {
if ( ! visible ) {
const idleCallback = ( 0 , _requestIdleCallback . requestIdleCallback ) ( ( ) => setVisible ( true ) ) ;
return ( ) => ( 0 , _requestIdleCallback . cancelIdleCallback ) ( idleCallback ) ;
}
}
} , [ visible ] ) ;
return [ setRef , visible ] ;
}
function observe ( element , callback , options ) {
const {
id ,
observer ,
elements
} = createObserver ( options ) ;
elements . set ( element , callback ) ;
observer . observe ( element ) ;
return function unobserve ( ) {
elements . delete ( element ) ;
observer . unobserve ( element ) ; // Destroy observer when there's nothing left to watch:
if ( elements . size === 0 ) {
observer . disconnect ( ) ;
observers . delete ( id ) ;
}
} ;
}
const observers = new Map ( ) ;
function createObserver ( options ) {
const id = options . rootMargin || '' ;
let instance = observers . get ( id ) ;
if ( instance ) {
return instance ;
}
const elements = new Map ( ) ;
const observer = new IntersectionObserver ( entries => {
entries . forEach ( entry => {
const callback = elements . get ( entry . target ) ;
const isVisible = entry . isIntersecting || entry . intersectionRatio > 0 ;
if ( callback && isVisible ) {
callback ( isVisible ) ;
}
} ) ;
} , options ) ;
observers . set ( id , instance = {
id ,
observer ,
elements
} ) ;
return instance ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/client/with-router.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / client / with - router . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _interopRequireDefault = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/interopRequireDefault */ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js" ) ;
exports . _ _esModule = true ;
exports . default = withRouter ;
var _react = _interopRequireDefault ( _ _webpack _require _ _ ( /*! react */ "react" ) ) ;
var _router = _ _webpack _require _ _ ( /*! ./router */ "./node_modules/next/dist/client/router.js" ) ;
function withRouter ( ComposedComponent ) {
function WithRouterWrapper ( props ) {
return /*#__PURE__*/ _react . default . createElement ( ComposedComponent , Object . assign ( {
router : ( 0 , _router . useRouter ) ( )
} , props ) ) ;
}
WithRouterWrapper . getInitialProps = ComposedComponent . getInitialProps // This is needed to allow checking for custom getInitialProps in _app
;
WithRouterWrapper . origGetInitialProps = ComposedComponent . origGetInitialProps ;
if ( true ) {
const name = ComposedComponent . displayName || ComposedComponent . name || 'Unknown' ;
WithRouterWrapper . displayName = ` withRouter( ${ name } ) ` ;
}
return WithRouterWrapper ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/i18n/normalize-locale-path.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / i18n / normalize - locale - path . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . normalizeLocalePath = normalizeLocalePath ;
function normalizeLocalePath ( pathname , locales ) {
let detectedLocale ; // first item will be empty string from splitting at first char
const pathnameParts = pathname . split ( '/' ) ;
( locales || [ ] ) . some ( locale => {
if ( pathnameParts [ 1 ] . toLowerCase ( ) === locale . toLowerCase ( ) ) {
detectedLocale = locale ;
pathnameParts . splice ( 1 , 1 ) ;
pathname = pathnameParts . join ( '/' ) || '/' ;
return true ;
}
return false ;
} ) ;
return {
pathname ,
detectedLocale
} ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/mitt.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / mitt . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . default = mitt ;
/ *
MIT License
Copyright ( c ) Jason Miller ( https : //jasonformat.com/)
Permission is hereby granted , free of charge , to any person obtaining a copy of this software and associated documentation files ( the "Software" ) , to deal in the Software without restriction , including without limitation the rights to use , copy , modify , merge , publish , distribute , sublicense , and / or sell copies of the Software , and to permit persons to whom the Software is furnished to do so , subject to the following conditions :
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software .
THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY , FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM , OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE .
* /
// This file is based on https://github.com/developit/mitt/blob/v1.1.3/src/index.js
// It's been edited for the needs of this script
// See the LICENSE at the top of the file
function mitt ( ) {
const all = Object . create ( null ) ;
return {
on ( type , handler ) {
;
( all [ type ] || ( all [ type ] = [ ] ) ) . push ( handler ) ;
} ,
off ( type , handler ) {
if ( all [ type ] ) {
all [ type ] . splice ( all [ type ] . indexOf ( handler ) >>> 0 , 1 ) ;
}
} ,
emit ( type , ... evts ) {
// eslint-disable-next-line array-callback-return
;
( all [ type ] || [ ] ) . slice ( ) . map ( handler => {
handler ( ... evts ) ;
} ) ;
}
} ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/router/router.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / router . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
exports . _ _esModule = true ;
exports . getDomainLocale = getDomainLocale ;
exports . addLocale = addLocale ;
exports . delLocale = delLocale ;
exports . hasBasePath = hasBasePath ;
exports . addBasePath = addBasePath ;
exports . delBasePath = delBasePath ;
exports . isLocalURL = isLocalURL ;
exports . interpolateAs = interpolateAs ;
exports . resolveHref = resolveHref ;
exports . default = void 0 ;
var _normalizeTrailingSlash = _ _webpack _require _ _ ( /*! ../../../client/normalize-trailing-slash */ "./node_modules/next/dist/client/normalize-trailing-slash.js" ) ;
var _routeLoader = _ _webpack _require _ _ ( /*! ../../../client/route-loader */ "./node_modules/next/dist/client/route-loader.js" ) ;
var _denormalizePagePath = _ _webpack _require _ _ ( /*! ../../server/denormalize-page-path */ "./node_modules/next/dist/next-server/server/denormalize-page-path.js" ) ;
var _normalizeLocalePath = _ _webpack _require _ _ ( /*! ../i18n/normalize-locale-path */ "./node_modules/next/dist/next-server/lib/i18n/normalize-locale-path.js" ) ;
var _mitt = _interopRequireDefault ( _ _webpack _require _ _ ( /*! ../mitt */ "./node_modules/next/dist/next-server/lib/mitt.js" ) ) ;
var _utils = _ _webpack _require _ _ ( /*! ../utils */ "./node_modules/next/dist/next-server/lib/utils.js" ) ;
var _isDynamic = _ _webpack _require _ _ ( /*! ./utils/is-dynamic */ "./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js" ) ;
var _parseRelativeUrl = _ _webpack _require _ _ ( /*! ./utils/parse-relative-url */ "./node_modules/next/dist/next-server/lib/router/utils/parse-relative-url.js" ) ;
var _querystring = _ _webpack _require _ _ ( /*! ./utils/querystring */ "./node_modules/next/dist/next-server/lib/router/utils/querystring.js" ) ;
var _resolveRewrites = _interopRequireDefault ( _ _webpack _require _ _ ( /*! ./utils/resolve-rewrites */ "?ca47" ) ) ;
var _routeMatcher = _ _webpack _require _ _ ( /*! ./utils/route-matcher */ "./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js" ) ;
var _routeRegex = _ _webpack _require _ _ ( /*! ./utils/route-regex */ "./node_modules/next/dist/next-server/lib/router/utils/route-regex.js" ) ;
function _interopRequireDefault ( obj ) {
return obj && obj . _ _esModule ? obj : {
default : obj
} ;
} // tslint:disable:no-console
let detectDomainLocale ;
if ( false ) { }
const basePath = false || '' ;
function buildCancellationError ( ) {
return Object . assign ( new Error ( 'Route Cancelled' ) , {
cancelled : true
} ) ;
}
function addPathPrefix ( path , prefix ) {
return prefix && path . startsWith ( '/' ) ? path === '/' ? ( 0 , _normalizeTrailingSlash . normalizePathTrailingSlash ) ( prefix ) : ` ${ prefix } ${ pathNoQueryHash ( path ) === '/' ? path . substring ( 1 ) : path } ` : path ;
}
function getDomainLocale ( path , locale , locales , domainLocales ) {
if ( false ) { }
return false ;
}
function addLocale ( path , locale , defaultLocale ) {
if ( false ) { }
return path ;
}
function delLocale ( path , locale ) {
if ( false ) { }
return path ;
}
function pathNoQueryHash ( path ) {
const queryIndex = path . indexOf ( '?' ) ;
const hashIndex = path . indexOf ( '#' ) ;
if ( queryIndex > - 1 || hashIndex > - 1 ) {
path = path . substring ( 0 , queryIndex > - 1 ? queryIndex : hashIndex ) ;
}
return path ;
}
function hasBasePath ( path ) {
path = pathNoQueryHash ( path ) ;
return path === basePath || path . startsWith ( basePath + '/' ) ;
}
function addBasePath ( path ) {
// we only add the basepath on relative urls
return addPathPrefix ( path , basePath ) ;
}
function delBasePath ( path ) {
path = path . slice ( basePath . length ) ;
if ( ! path . startsWith ( '/' ) ) path = ` / ${ path } ` ;
return path ;
}
/ * *
* Detects whether a given url is routable by the Next . js router ( browser only ) .
* /
function isLocalURL ( url ) {
// prevent a hydration mismatch on href for url with anchor refs
if ( url . startsWith ( '/' ) || url . startsWith ( '#' ) || url . startsWith ( '?' ) ) return true ;
try {
// absolute urls can be local if they are on the same origin
const locationOrigin = ( 0 , _utils . getLocationOrigin ) ( ) ;
const resolved = new URL ( url , locationOrigin ) ;
return resolved . origin === locationOrigin && hasBasePath ( resolved . pathname ) ;
} catch ( _ ) {
return false ;
}
}
function interpolateAs ( route , asPathname , query ) {
let interpolatedRoute = '' ;
const dynamicRegex = ( 0 , _routeRegex . getRouteRegex ) ( route ) ;
const dynamicGroups = dynamicRegex . groups ;
const dynamicMatches = // Try to match the dynamic route against the asPath
( asPathname !== route ? ( 0 , _routeMatcher . getRouteMatcher ) ( dynamicRegex ) ( asPathname ) : '' ) || // Fall back to reading the values from the href
// TODO: should this take priority; also need to change in the router.
query ;
interpolatedRoute = route ;
const params = Object . keys ( dynamicGroups ) ;
if ( ! params . every ( param => {
let value = dynamicMatches [ param ] || '' ;
const {
repeat ,
optional
} = dynamicGroups [ param ] ; // support single-level catch-all
// TODO: more robust handling for user-error (passing `/`)
let replaced = ` [ ${ repeat ? '...' : '' } ${ param } ] ` ;
if ( optional ) {
replaced = ` ${ ! value ? '/' : '' } [ ${ replaced } ] ` ;
}
if ( repeat && ! Array . isArray ( value ) ) value = [ value ] ;
return ( optional || param in dynamicMatches ) && ( // Interpolate group into data URL if present
interpolatedRoute = interpolatedRoute . replace ( replaced , repeat ? value . map ( // these values should be fully encoded instead of just
// path delimiter escaped since they are being inserted
// into the URL and we expect URL encoded segments
// when parsing dynamic route params
segment => encodeURIComponent ( segment ) ) . join ( '/' ) : encodeURIComponent ( value ) ) || '/' ) ;
} ) ) {
interpolatedRoute = '' ; // did not satisfy all requirements
// n.b. We ignore this error because we handle warning for this case in
// development in the `<Link>` component directly.
}
return {
params ,
result : interpolatedRoute
} ;
}
function omitParmsFromQuery ( query , params ) {
const filteredQuery = { } ;
Object . keys ( query ) . forEach ( key => {
if ( ! params . includes ( key ) ) {
filteredQuery [ key ] = query [ key ] ;
}
} ) ;
return filteredQuery ;
}
/ * *
* Resolves a given hyperlink with a certain router state ( basePath not included ) .
* Preserves absolute urls .
* /
function resolveHref ( router , href , resolveAs ) {
// we use a dummy base url for relative urls
let base ;
const urlAsString = typeof href === 'string' ? href : ( 0 , _utils . formatWithValidation ) ( href ) ;
try {
base = new URL ( urlAsString . startsWith ( '#' ) ? router . asPath : router . pathname , 'http://n' ) ;
} catch ( _ ) {
// fallback to / for invalid asPath values e.g. //
base = new URL ( '/' , 'http://n' ) ;
} // Return because it cannot be routed by the Next.js router
if ( ! isLocalURL ( urlAsString ) ) {
return resolveAs ? [ urlAsString ] : urlAsString ;
}
try {
const finalUrl = new URL ( urlAsString , base ) ;
finalUrl . pathname = ( 0 , _normalizeTrailingSlash . normalizePathTrailingSlash ) ( finalUrl . pathname ) ;
let interpolatedAs = '' ;
if ( ( 0 , _isDynamic . isDynamicRoute ) ( finalUrl . pathname ) && finalUrl . searchParams && resolveAs ) {
const query = ( 0 , _querystring . searchParamsToUrlQuery ) ( finalUrl . searchParams ) ;
const {
result ,
params
} = interpolateAs ( finalUrl . pathname , finalUrl . pathname , query ) ;
if ( result ) {
interpolatedAs = ( 0 , _utils . formatWithValidation ) ( {
pathname : result ,
hash : finalUrl . hash ,
query : omitParmsFromQuery ( query , params )
} ) ;
}
} // if the origin didn't change, it means we received a relative href
const resolvedHref = finalUrl . origin === base . origin ? finalUrl . href . slice ( finalUrl . origin . length ) : finalUrl . href ;
return resolveAs ? [ resolvedHref , interpolatedAs || resolvedHref ] : resolvedHref ;
} catch ( _ ) {
return resolveAs ? [ urlAsString ] : urlAsString ;
}
}
function stripOrigin ( url ) {
const origin = ( 0 , _utils . getLocationOrigin ) ( ) ;
return url . startsWith ( origin ) ? url . substring ( origin . length ) : url ;
}
function prepareUrlAs ( router , url , as ) {
// If url and as provided as an object representation,
// we'll format them into the string version here.
let [ resolvedHref , resolvedAs ] = resolveHref ( router , url , true ) ;
const origin = ( 0 , _utils . getLocationOrigin ) ( ) ;
const hrefHadOrigin = resolvedHref . startsWith ( origin ) ;
const asHadOrigin = resolvedAs && resolvedAs . startsWith ( origin ) ;
resolvedHref = stripOrigin ( resolvedHref ) ;
resolvedAs = resolvedAs ? stripOrigin ( resolvedAs ) : resolvedAs ;
const preparedUrl = hrefHadOrigin ? resolvedHref : addBasePath ( resolvedHref ) ;
const preparedAs = as ? stripOrigin ( resolveHref ( router , as ) ) : resolvedAs || resolvedHref ;
return {
url : preparedUrl ,
as : asHadOrigin ? preparedAs : addBasePath ( preparedAs )
} ;
}
function resolveDynamicRoute ( pathname , pages ) {
const cleanPathname = ( 0 , _normalizeTrailingSlash . removePathTrailingSlash ) ( ( 0 , _denormalizePagePath . denormalizePagePath ) ( pathname ) ) ;
if ( cleanPathname === '/404' || cleanPathname === '/_error' ) {
return pathname ;
} // handle resolving href for dynamic routes
if ( ! pages . includes ( cleanPathname ) ) {
// eslint-disable-next-line array-callback-return
pages . some ( page => {
if ( ( 0 , _isDynamic . isDynamicRoute ) ( page ) && ( 0 , _routeRegex . getRouteRegex ) ( page ) . re . test ( cleanPathname ) ) {
pathname = page ;
return true ;
}
} ) ;
}
return ( 0 , _normalizeTrailingSlash . removePathTrailingSlash ) ( pathname ) ;
}
const manualScrollRestoration = false && 0 ;
const SSG _DATA _NOT _FOUND = Symbol ( 'SSG_DATA_NOT_FOUND' ) ;
function fetchRetry ( url , attempts ) {
return fetch ( url , {
// Cookies are required to be present for Next.js' SSG "Preview Mode".
// Cookies may also be required for `getServerSideProps`.
//
// > `fetch` won’ t send cookies, unless you set the credentials init
// > option.
// https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch
//
// > For maximum browser compatibility when it comes to sending &
// > receiving cookies, always supply the `credentials: 'same-origin'`
// > option instead of relying on the default.
// https://github.com/github/fetch#caveats
credentials : 'same-origin'
} ) . then ( res => {
if ( ! res . ok ) {
if ( attempts > 1 && res . status >= 500 ) {
return fetchRetry ( url , attempts - 1 ) ;
}
if ( res . status === 404 ) {
return res . json ( ) . then ( data => {
if ( data . notFound ) {
return {
notFound : SSG _DATA _NOT _FOUND
} ;
}
throw new Error ( ` Failed to load static props ` ) ;
} ) ;
}
throw new Error ( ` Failed to load static props ` ) ;
}
return res . json ( ) ;
} ) ;
}
function fetchNextData ( dataHref , isServerRender ) {
return fetchRetry ( dataHref , isServerRender ? 3 : 1 ) . catch ( err => {
// We should only trigger a server-side transition if this was caused
// on a client-side transition. Otherwise, we'd get into an infinite
// loop.
if ( ! isServerRender ) {
( 0 , _routeLoader . markAssetError ) ( err ) ;
}
throw err ;
} ) ;
}
class Router {
/ * *
* Map of all components loaded in ` Router `
* /
// Static Data Cache
// In-flight Server Data Requests, for deduping
constructor ( _pathname , _query , _as , {
initialProps ,
pageLoader ,
App ,
wrapApp ,
Component ,
err ,
subscription ,
isFallback ,
locale ,
locales ,
defaultLocale ,
domainLocales ,
isPreview
} ) {
this . route = void 0 ;
this . pathname = void 0 ;
this . query = void 0 ;
this . asPath = void 0 ;
this . basePath = void 0 ;
this . components = void 0 ;
this . sdc = { } ;
this . sdr = { } ;
this . sub = void 0 ;
this . clc = void 0 ;
this . pageLoader = void 0 ;
this . _bps = void 0 ;
this . events = void 0 ;
this . _wrapApp = void 0 ;
this . isSsr = void 0 ;
this . isFallback = void 0 ;
this . _inFlightRoute = void 0 ;
this . _shallow = void 0 ;
this . locale = void 0 ;
this . locales = void 0 ;
this . defaultLocale = void 0 ;
this . domainLocales = void 0 ;
this . isReady = void 0 ;
this . isPreview = void 0 ;
this . isLocaleDomain = void 0 ;
this . _idx = 0 ;
this . onPopState = e => {
const state = e . state ;
if ( ! state ) {
// We get state as undefined for two reasons.
// 1. With older safari (< 8) and older chrome (< 34)
// 2. When the URL changed with #
//
// In the both cases, we don't need to proceed and change the route.
// (as it's already changed)
// But we can simply replace the state with the new changes.
// Actually, for (1) we don't need to nothing. But it's hard to detect that event.
// So, doing the following for (1) does no harm.
const {
pathname ,
query
} = this ;
this . changeState ( 'replaceState' , ( 0 , _utils . formatWithValidation ) ( {
pathname : addBasePath ( pathname ) ,
query
} ) , ( 0 , _utils . getURL ) ( ) ) ;
return ;
}
if ( ! state . _ _N ) {
return ;
}
let forcedScroll ;
const {
url ,
as ,
options ,
idx
} = state ;
if ( false ) { }
this . _idx = idx ;
const {
pathname
} = ( 0 , _parseRelativeUrl . parseRelativeUrl ) ( url ) ; // Make sure we don't re-render on initial load,
// can be caused by navigating back from an external site
if ( this . isSsr && as === this . asPath && pathname === this . pathname ) {
return ;
} // If the downstream application returns falsy, return.
// They will then be responsible for handling the event.
if ( this . _bps && ! this . _bps ( state ) ) {
return ;
}
this . change ( 'replaceState' , url , as , Object . assign ( { } , options , {
shallow : options . shallow && this . _shallow ,
locale : options . locale || this . defaultLocale
} ) , forcedScroll ) ;
} ; // represents the current component key
this . route = ( 0 , _normalizeTrailingSlash . removePathTrailingSlash ) ( _pathname ) ; // set up the component cache (by route keys)
this . components = { } ; // We should not keep the cache, if there's an error
// Otherwise, this cause issues when when going back and
// come again to the errored page.
if ( _pathname !== '/_error' ) {
this . components [ this . route ] = {
Component ,
initial : true ,
props : initialProps ,
err ,
_ _N _SSG : initialProps && initialProps . _ _N _SSG ,
_ _N _SSP : initialProps && initialProps . _ _N _SSP
} ;
}
this . components [ '/_app' ] = {
Component : App ,
styleSheets : [
/* /_app does not need its stylesheets managed */
]
} ; // Backwards compat for Router.router.events
// TODO: Should be remove the following major version as it was never documented
this . events = Router . events ;
this . pageLoader = pageLoader ;
this . pathname = _pathname ;
this . query = _query ; // if auto prerendered and dynamic route wait to update asPath
// until after mount to prevent hydration mismatch
const autoExportDynamic = ( 0 , _isDynamic . isDynamicRoute ) ( _pathname ) && self . _ _NEXT _DATA _ _ . autoExport ;
this . asPath = autoExportDynamic ? _pathname : _as ;
this . basePath = basePath ;
this . sub = subscription ;
this . clc = null ;
this . _wrapApp = wrapApp ; // make sure to ignore extra popState in safari on navigating
// back from external site
this . isSsr = true ;
this . isFallback = isFallback ;
this . isReady = ! ! ( self . _ _NEXT _DATA _ _ . gssp || self . _ _NEXT _DATA _ _ . gip || ! autoExportDynamic && ! self . location . search && ! false ) ;
this . isPreview = ! ! isPreview ;
this . isLocaleDomain = false ;
if ( false ) { }
if ( false ) { }
}
reload ( ) {
window . location . reload ( ) ;
}
/ * *
* Go back in history
* /
back ( ) {
window . history . back ( ) ;
}
/ * *
* Performs a ` pushState ` with arguments
* @ param url of the route
* @ param as masks ` url ` for the browser
* @ param options object you can define ` shallow ` and other options
* /
push ( url , as , options = { } ) {
if ( false ) { }
;
( {
url ,
as
} = prepareUrlAs ( this , url , as ) ) ;
return this . change ( 'pushState' , url , as , options ) ;
}
/ * *
* Performs a ` replaceState ` with arguments
* @ param url of the route
* @ param as masks ` url ` for the browser
* @ param options object you can define ` shallow ` and other options
* /
replace ( url , as , options = { } ) {
;
( {
url ,
as
} = prepareUrlAs ( this , url , as ) ) ;
return this . change ( 'replaceState' , url , as , options ) ;
}
async change ( method , url , as , options , forcedScroll ) {
if ( ! isLocalURL ( url ) ) {
window . location . href = url ;
return false ;
}
const shouldResolveHref = url === as || options . _h || options . _shouldResolveHref ; // for static pages with query params in the URL we delay
// marking the router ready until after the query is updated
if ( options . _h ) {
this . isReady = true ;
}
let localeChange = options . locale !== this . locale ;
if ( false ) { var _this$locales ; }
if ( ! options . _h ) {
this . isSsr = false ;
} // marking route changes as a navigation start entry
if ( _utils . ST ) {
performance . mark ( 'routeChange' ) ;
}
const {
shallow = false
} = options ;
const routeProps = {
shallow
} ;
if ( this . _inFlightRoute ) {
this . abortComponentLoad ( this . _inFlightRoute , routeProps ) ;
}
as = addBasePath ( addLocale ( hasBasePath ( as ) ? delBasePath ( as ) : as , options . locale , this . defaultLocale ) ) ;
const cleanedAs = delLocale ( hasBasePath ( as ) ? delBasePath ( as ) : as , this . locale ) ;
this . _inFlightRoute = as ; // If the url change is only related to a hash change
// We should not proceed. We should only change the state.
// WARNING: `_h` is an internal option for handing Next.js client-side
// hydration. Your app should _never_ use this property. It may change at
// any time without notice.
if ( ! options . _h && this . onlyAHashChange ( cleanedAs ) ) {
this . asPath = cleanedAs ;
Router . events . emit ( 'hashChangeStart' , as , routeProps ) ; // TODO: do we need the resolved href when only a hash change?
this . changeState ( method , url , as , options ) ;
this . scrollToHash ( cleanedAs ) ;
this . notify ( this . components [ this . route ] , null ) ;
Router . events . emit ( 'hashChangeComplete' , as , routeProps ) ;
return true ;
}
let parsed = ( 0 , _parseRelativeUrl . parseRelativeUrl ) ( url ) ;
let {
pathname ,
query
} = parsed ; // The build manifest needs to be loaded before auto-static dynamic pages
// get their query parameters to allow ensuring they can be parsed properly
// when rewritten to
let pages , rewrites ;
try {
pages = await this . pageLoader . getPageList ( ) ;
( {
_ _rewrites : rewrites
} = await ( 0 , _routeLoader . getClientBuildManifest ) ( ) ) ;
} catch ( err ) {
// If we fail to resolve the page list or client-build manifest, we must
// do a server-side transition:
window . location . href = as ;
return false ;
} // If asked to change the current URL we should reload the current page
// (not location.reload() but reload getInitialProps and other Next.js stuffs)
// We also need to set the method = replaceState always
// as this should not go into the history (That's how browsers work)
// We should compare the new asPath to the current asPath, not the url
if ( ! this . urlIsNew ( cleanedAs ) && ! localeChange ) {
method = 'replaceState' ;
} // we need to resolve the as value using rewrites for dynamic SSG
// pages to allow building the data URL correctly
let resolvedAs = as ; // url and as should always be prefixed with basePath by this
// point by either next/link or router.push/replace so strip the
// basePath from the pathname to match the pages dir 1-to-1
pathname = pathname ? ( 0 , _normalizeTrailingSlash . removePathTrailingSlash ) ( delBasePath ( pathname ) ) : pathname ;
if ( shouldResolveHref && pathname !== '/_error' ) {
;
options . _shouldResolveHref = true ;
if ( false ) { } else {
parsed . pathname = resolveDynamicRoute ( pathname , pages ) ;
if ( parsed . pathname !== pathname ) {
pathname = parsed . pathname ;
parsed . pathname = addBasePath ( pathname ) ;
url = ( 0 , _utils . formatWithValidation ) ( parsed ) ;
}
}
}
const route = ( 0 , _normalizeTrailingSlash . removePathTrailingSlash ) ( pathname ) ;
if ( ! isLocalURL ( as ) ) {
if ( true ) {
throw new Error ( ` Invalid href: " ${ url } " and as: " ${ as } ", received relative href and external as ` + ` \n See more info: https://nextjs.org/docs/messages/invalid-relative-url-external-as ` ) ;
}
window . location . href = as ;
return false ;
}
resolvedAs = delLocale ( delBasePath ( resolvedAs ) , this . locale ) ;
if ( ( 0 , _isDynamic . isDynamicRoute ) ( route ) ) {
const parsedAs = ( 0 , _parseRelativeUrl . parseRelativeUrl ) ( resolvedAs ) ;
const asPathname = parsedAs . pathname ;
const routeRegex = ( 0 , _routeRegex . getRouteRegex ) ( route ) ;
const routeMatch = ( 0 , _routeMatcher . getRouteMatcher ) ( routeRegex ) ( asPathname ) ;
const shouldInterpolate = route === asPathname ;
const interpolatedAs = shouldInterpolate ? interpolateAs ( route , asPathname , query ) : { } ;
if ( ! routeMatch || shouldInterpolate && ! interpolatedAs . result ) {
const missingParams = Object . keys ( routeRegex . groups ) . filter ( param => ! query [ param ] ) ;
if ( missingParams . length > 0 ) {
if ( true ) {
console . warn ( ` ${ shouldInterpolate ? ` Interpolating href ` : ` Mismatching \` as \` and \` href \` ` } failed to manually provide ` + ` the params: ${ missingParams . join ( ', ' ) } in the \` href \` 's \` query \` ` ) ;
}
throw new Error ( ( shouldInterpolate ? ` The provided \` href \` ( ${ url } ) value is missing query values ( ${ missingParams . join ( ', ' ) } ) to be interpolated properly. ` : ` The provided \` as \` value ( ${ asPathname } ) is incompatible with the \` href \` value ( ${ route } ). ` ) + ` Read more: https://nextjs.org/docs/messages/ ${ shouldInterpolate ? 'href-interpolation-failed' : 'incompatible-href-as' } ` ) ;
}
} else if ( shouldInterpolate ) {
as = ( 0 , _utils . formatWithValidation ) ( Object . assign ( { } , parsedAs , {
pathname : interpolatedAs . result ,
query : omitParmsFromQuery ( query , interpolatedAs . params )
} ) ) ;
} else {
// Merge params into `query`, overwriting any specified in search
Object . assign ( query , routeMatch ) ;
}
}
Router . events . emit ( 'routeChangeStart' , as , routeProps ) ;
try {
var _self$ _ _NEXT _DATA _ _$p , _self$ _ _NEXT _DATA _ _$p2 , _options$scroll ;
let routeInfo = await this . getRouteInfo ( route , pathname , query , as , resolvedAs , routeProps ) ;
let {
error ,
props ,
_ _N _SSG ,
_ _N _SSP
} = routeInfo ; // handle redirect on client-transition
if ( ( _ _N _SSG || _ _N _SSP ) && props ) {
if ( props . pageProps && props . pageProps . _ _N _REDIRECT ) {
const destination = props . pageProps . _ _N _REDIRECT ; // check if destination is internal (resolves to a page) and attempt
// client-navigation if it is falling back to hard navigation if
// it's not
if ( destination . startsWith ( '/' ) ) {
const parsedHref = ( 0 , _parseRelativeUrl . parseRelativeUrl ) ( destination ) ;
parsedHref . pathname = resolveDynamicRoute ( parsedHref . pathname , pages ) ;
if ( pages . includes ( parsedHref . pathname ) ) {
const {
url : newUrl ,
as : newAs
} = prepareUrlAs ( this , destination , destination ) ;
return this . change ( method , newUrl , newAs , options ) ;
}
}
window . location . href = destination ;
return new Promise ( ( ) => { } ) ;
}
this . isPreview = ! ! props . _ _N _PREVIEW ; // handle SSG data 404
if ( props . notFound === SSG _DATA _NOT _FOUND ) {
let notFoundRoute ;
try {
await this . fetchComponent ( '/404' ) ;
notFoundRoute = '/404' ;
} catch ( _ ) {
notFoundRoute = '/_error' ;
}
routeInfo = await this . getRouteInfo ( notFoundRoute , notFoundRoute , query , as , resolvedAs , {
shallow : false
} ) ;
}
}
Router . events . emit ( 'beforeHistoryChange' , as , routeProps ) ;
this . changeState ( method , url , as , options ) ;
if ( true ) {
const appComp = this . components [ '/_app' ] . Component ;
window . next . isPrerendered = appComp . getInitialProps === appComp . origGetInitialProps && ! routeInfo . Component . getInitialProps ;
}
if ( options . _h && pathname === '/_error' && ( ( _self$ _ _NEXT _DATA _ _$p = self . _ _NEXT _DATA _ _ . props ) == null ? void 0 : ( _self$ _ _NEXT _DATA _ _$p2 = _self$ _ _NEXT _DATA _ _$p . pageProps ) == null ? void 0 : _self$ _ _NEXT _DATA _ _$p2 . statusCode ) === 500 && props != null && props . pageProps ) {
// ensure statusCode is still correct for static 500 page
// when updating query information
props . pageProps . statusCode = 500 ;
} // shallow routing is only allowed for same page URL changes.
const isValidShallowRoute = options . shallow && this . route === route ;
const shouldScroll = ( _options$scroll = options . scroll ) != null ? _options$scroll : ! isValidShallowRoute ;
const resetScroll = shouldScroll ? {
x : 0 ,
y : 0
} : null ;
await this . set ( route , pathname , query , cleanedAs , routeInfo , forcedScroll != null ? forcedScroll : resetScroll ) . catch ( e => {
if ( e . cancelled ) error = error || e ; else throw e ;
} ) ;
if ( error ) {
Router . events . emit ( 'routeChangeError' , error , cleanedAs , routeProps ) ;
throw error ;
}
if ( false ) { }
Router . events . emit ( 'routeChangeComplete' , as , routeProps ) ;
return true ;
} catch ( err ) {
if ( err . cancelled ) {
return false ;
}
throw err ;
}
}
changeState ( method , url , as , options = { } ) {
if ( true ) {
if ( typeof window . history === 'undefined' ) {
console . error ( ` Warning: window.history is not available. ` ) ;
return ;
}
if ( typeof window . history [ method ] === 'undefined' ) {
console . error ( ` Warning: window.history. ${ method } is not available ` ) ;
return ;
}
}
if ( method !== 'pushState' || ( 0 , _utils . getURL ) ( ) !== as ) {
this . _shallow = options . shallow ;
window . history [ method ] ( {
url ,
as ,
options ,
_ _N : true ,
idx : this . _idx = method !== 'pushState' ? this . _idx : this . _idx + 1
} , // Most browsers currently ignores this parameter, although they may use it in the future.
// Passing the empty string here should be safe against future changes to the method.
// https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
'' , as ) ;
}
}
async handleRouteInfoError ( err , pathname , query , as , routeProps , loadErrorFail ) {
if ( err . cancelled ) {
// bubble up cancellation errors
throw err ;
}
if ( ( 0 , _routeLoader . isAssetError ) ( err ) || loadErrorFail ) {
Router . events . emit ( 'routeChangeError' , err , as , routeProps ) ; // If we can't load the page it could be one of following reasons
// 1. Page doesn't exists
// 2. Page does exist in a different zone
// 3. Internal error while loading the page
// So, doing a hard reload is the proper way to deal with this.
window . location . href = as ; // Changing the URL doesn't block executing the current code path.
// So let's throw a cancellation error stop the routing logic.
throw buildCancellationError ( ) ;
}
try {
let Component ;
let styleSheets ;
let props ;
if ( typeof Component === 'undefined' || typeof styleSheets === 'undefined' ) {
;
( {
page : Component ,
styleSheets
} = await this . fetchComponent ( '/_error' ) ) ;
}
const routeInfo = {
props ,
Component ,
styleSheets ,
err ,
error : err
} ;
if ( ! routeInfo . props ) {
try {
routeInfo . props = await this . getInitialProps ( Component , {
err ,
pathname ,
query
} ) ;
} catch ( gipErr ) {
console . error ( 'Error in error page `getInitialProps`: ' , gipErr ) ;
routeInfo . props = { } ;
}
}
return routeInfo ;
} catch ( routeInfoErr ) {
return this . handleRouteInfoError ( routeInfoErr , pathname , query , as , routeProps , true ) ;
}
}
async getRouteInfo ( route , pathname , query , as , resolvedAs , routeProps ) {
try {
const existingRouteInfo = this . components [ route ] ;
if ( routeProps . shallow && existingRouteInfo && this . route === route ) {
return existingRouteInfo ;
}
const cachedRouteInfo = existingRouteInfo && 'initial' in existingRouteInfo ? undefined : existingRouteInfo ;
const routeInfo = cachedRouteInfo ? cachedRouteInfo : await this . fetchComponent ( route ) . then ( res => ( {
Component : res . page ,
styleSheets : res . styleSheets ,
_ _N _SSG : res . mod . _ _N _SSG ,
_ _N _SSP : res . mod . _ _N _SSP
} ) ) ;
const {
Component ,
_ _N _SSG ,
_ _N _SSP
} = routeInfo ;
if ( true ) {
const {
isValidElementType
} = _ _webpack _require _ _ ( /*! react-is */ "react-is" ) ;
if ( ! isValidElementType ( Component ) ) {
throw new Error ( ` The default export is not a React Component in page: " ${ pathname } " ` ) ;
}
}
let dataHref ;
if ( _ _N _SSG || _ _N _SSP ) {
dataHref = this . pageLoader . getDataHref ( ( 0 , _utils . formatWithValidation ) ( {
pathname ,
query
} ) , resolvedAs , _ _N _SSG , this . locale ) ;
}
const props = await this . _getData ( ( ) => _ _N _SSG ? this . _getStaticData ( dataHref ) : _ _N _SSP ? this . _getServerData ( dataHref ) : this . getInitialProps ( Component , // we provide AppTree later so this needs to be `any`
{
pathname ,
query ,
asPath : as ,
locale : this . locale ,
locales : this . locales ,
defaultLocale : this . defaultLocale
} ) ) ;
routeInfo . props = props ;
this . components [ route ] = routeInfo ;
return routeInfo ;
} catch ( err ) {
return this . handleRouteInfoError ( err , pathname , query , as , routeProps ) ;
}
}
set ( route , pathname , query , as , data , resetScroll ) {
this . isFallback = false ;
this . route = route ;
this . pathname = pathname ;
this . query = query ;
this . asPath = as ;
return this . notify ( data , resetScroll ) ;
}
/ * *
* Callback to execute before replacing router state
* @ param cb callback to be executed
* /
beforePopState ( cb ) {
this . _bps = cb ;
}
onlyAHashChange ( as ) {
if ( ! this . asPath ) return false ;
const [ oldUrlNoHash , oldHash ] = this . asPath . split ( '#' ) ;
const [ newUrlNoHash , newHash ] = as . split ( '#' ) ; // Makes sure we scroll to the provided hash if the url/hash are the same
if ( newHash && oldUrlNoHash === newUrlNoHash && oldHash === newHash ) {
return true ;
} // If the urls are change, there's more than a hash change
if ( oldUrlNoHash !== newUrlNoHash ) {
return false ;
} // If the hash has changed, then it's a hash only change.
// This check is necessary to handle both the enter and
// leave hash === '' cases. The identity case falls through
// and is treated as a next reload.
return oldHash !== newHash ;
}
scrollToHash ( as ) {
const [ , hash ] = as . split ( '#' ) ; // Scroll to top if the hash is just `#` with no value or `#top`
// To mirror browsers
if ( hash === '' || hash === 'top' ) {
window . scrollTo ( 0 , 0 ) ;
return ;
} // First we check if the element by id is found
const idEl = document . getElementById ( hash ) ;
if ( idEl ) {
idEl . scrollIntoView ( ) ;
return ;
} // If there's no element with the id, we check the `name` property
// To mirror browsers
const nameEl = document . getElementsByName ( hash ) [ 0 ] ;
if ( nameEl ) {
nameEl . scrollIntoView ( ) ;
}
}
urlIsNew ( asPath ) {
return this . asPath !== asPath ;
}
/ * *
* Prefetch page code , you may wait for the data during page rendering .
* This feature only works in production !
* @ param url the href of prefetched page
* @ param asPath the as path of the prefetched page
* /
async prefetch ( url , asPath = url , options = { } ) {
let parsed = ( 0 , _parseRelativeUrl . parseRelativeUrl ) ( url ) ;
let {
pathname
} = parsed ;
if ( false ) { }
const pages = await this . pageLoader . getPageList ( ) ;
let resolvedAs = asPath ;
if ( false ) { } else {
parsed . pathname = resolveDynamicRoute ( parsed . pathname , pages ) ;
if ( parsed . pathname !== pathname ) {
pathname = parsed . pathname ;
parsed . pathname = pathname ;
url = ( 0 , _utils . formatWithValidation ) ( parsed ) ;
}
}
const route = ( 0 , _normalizeTrailingSlash . removePathTrailingSlash ) ( pathname ) ; // Prefetch is not supported in development mode because it would trigger on-demand-entries
if ( true ) {
return ;
}
await Promise . all ( [ this . pageLoader . _isSsg ( route ) . then ( isSsg => {
return isSsg ? this . _getStaticData ( this . pageLoader . getDataHref ( url , resolvedAs , true , typeof options . locale !== 'undefined' ? options . locale : this . locale ) ) : false ;
} ) , this . pageLoader [ options . priority ? 'loadPage' : 'prefetch' ] ( route ) ] ) ;
}
async fetchComponent ( route ) {
let cancelled = false ;
const cancel = this . clc = ( ) => {
cancelled = true ;
} ;
const componentResult = await this . pageLoader . loadPage ( route ) ;
if ( cancelled ) {
const error = new Error ( ` Abort fetching component for route: " ${ route } " ` ) ;
error . cancelled = true ;
throw error ;
}
if ( cancel === this . clc ) {
this . clc = null ;
}
return componentResult ;
}
_getData ( fn ) {
let cancelled = false ;
const cancel = ( ) => {
cancelled = true ;
} ;
this . clc = cancel ;
return fn ( ) . then ( data => {
if ( cancel === this . clc ) {
this . clc = null ;
}
if ( cancelled ) {
const err = new Error ( 'Loading initial props cancelled' ) ;
err . cancelled = true ;
throw err ;
}
return data ;
} ) ;
}
_getStaticData ( dataHref ) {
const {
href : cacheKey
} = new URL ( dataHref , window . location . href ) ;
if ( false ) { }
return fetchNextData ( dataHref , this . isSsr ) . then ( data => {
this . sdc [ cacheKey ] = data ;
return data ;
} ) ;
}
_getServerData ( dataHref ) {
const {
href : resourceKey
} = new URL ( dataHref , window . location . href ) ;
if ( this . sdr [ resourceKey ] ) {
return this . sdr [ resourceKey ] ;
}
return this . sdr [ resourceKey ] = fetchNextData ( dataHref , this . isSsr ) . then ( data => {
delete this . sdr [ resourceKey ] ;
return data ;
} ) . catch ( err => {
delete this . sdr [ resourceKey ] ;
throw err ;
} ) ;
}
getInitialProps ( Component , ctx ) {
const {
Component : App
} = this . components [ '/_app' ] ;
const AppTree = this . _wrapApp ( App ) ;
ctx . AppTree = AppTree ;
return ( 0 , _utils . loadGetInitialProps ) ( App , {
AppTree ,
Component ,
router : this ,
ctx
} ) ;
}
abortComponentLoad ( as , routeProps ) {
if ( this . clc ) {
Router . events . emit ( 'routeChangeError' , buildCancellationError ( ) , as , routeProps ) ;
this . clc ( ) ;
this . clc = null ;
}
}
notify ( data , resetScroll ) {
return this . sub ( data , this . components [ '/_app' ] . Component , resetScroll ) ;
}
}
exports . default = Router ;
Router . events = ( 0 , _mitt . default ) ( ) ;
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/router/utils/format-url.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / utils / format - url . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
exports . _ _esModule = true ;
exports . formatUrl = formatUrl ;
var querystring = _interopRequireWildcard ( _ _webpack _require _ _ ( /*! ./querystring */ "./node_modules/next/dist/next-server/lib/router/utils/querystring.js" ) ) ;
function _getRequireWildcardCache ( ) {
if ( typeof WeakMap !== "function" ) return null ;
var cache = new WeakMap ( ) ;
_getRequireWildcardCache = function ( ) {
return cache ;
} ;
return cache ;
}
function _interopRequireWildcard ( obj ) {
if ( obj && obj . _ _esModule ) {
return obj ;
}
if ( obj === null || typeof obj !== "object" && typeof obj !== "function" ) {
return {
default : obj
} ;
}
var cache = _getRequireWildcardCache ( ) ;
if ( cache && cache . has ( obj ) ) {
return cache . get ( obj ) ;
}
var newObj = { } ;
var hasPropertyDescriptor = Object . defineProperty && Object . getOwnPropertyDescriptor ;
for ( var key in obj ) {
if ( Object . prototype . hasOwnProperty . call ( obj , key ) ) {
var desc = hasPropertyDescriptor ? Object . getOwnPropertyDescriptor ( obj , key ) : null ;
if ( desc && ( desc . get || desc . set ) ) {
Object . defineProperty ( newObj , key , desc ) ;
} else {
newObj [ key ] = obj [ key ] ;
}
}
}
newObj . default = obj ;
if ( cache ) {
cache . set ( obj , newObj ) ;
}
return newObj ;
} // Format function modified from nodejs
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
const slashedProtocols = /https?|ftp|gopher|file/ ;
function formatUrl ( urlObj ) {
let {
auth ,
hostname
} = urlObj ;
let protocol = urlObj . protocol || '' ;
let pathname = urlObj . pathname || '' ;
let hash = urlObj . hash || '' ;
let query = urlObj . query || '' ;
let host = false ;
auth = auth ? encodeURIComponent ( auth ) . replace ( /%3A/i , ':' ) + '@' : '' ;
if ( urlObj . host ) {
host = auth + urlObj . host ;
} else if ( hostname ) {
host = auth + ( ~ hostname . indexOf ( ':' ) ? ` [ ${ hostname } ] ` : hostname ) ;
if ( urlObj . port ) {
host += ':' + urlObj . port ;
}
}
if ( query && typeof query === 'object' ) {
query = String ( querystring . urlQueryToSearchParams ( query ) ) ;
}
let search = urlObj . search || query && ` ? ${ query } ` || '' ;
if ( protocol && protocol . substr ( - 1 ) !== ':' ) protocol += ':' ;
if ( urlObj . slashes || ( ! protocol || slashedProtocols . test ( protocol ) ) && host !== false ) {
host = '//' + ( host || '' ) ;
if ( pathname && pathname [ 0 ] !== '/' ) pathname = '/' + pathname ;
} else if ( ! host ) {
host = '' ;
}
if ( hash && hash [ 0 ] !== '#' ) hash = '#' + hash ;
if ( search && search [ 0 ] !== '?' ) search = '?' + search ;
pathname = pathname . replace ( /[?#]/g , encodeURIComponent ) ;
search = search . replace ( '#' , '%23' ) ;
return ` ${ protocol } ${ host } ${ pathname } ${ search } ${ hash } ` ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/router/utils/is-dynamic.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / utils / is - dynamic . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
2021-06-20 15:49:56 +02:00
2021-06-21 04:55:49 +02:00
exports . _ _esModule = true ;
exports . isDynamicRoute = isDynamicRoute ; // Identify /[param]/ in route string
2021-06-20 15:49:56 +02:00
2021-06-21 04:55:49 +02:00
const TEST _ROUTE = /\/\[[^/]+?\](?=\/|$)/ ;
2021-06-20 15:49:56 +02:00
2021-06-21 04:55:49 +02:00
function isDynamicRoute ( route ) {
return TEST _ROUTE . test ( route ) ;
}
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
/***/ } ) ,
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
/***/ "./node_modules/next/dist/next-server/lib/router/utils/parse-relative-url.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / utils / parse - relative - url . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
"use strict" ;
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
exports . _ _esModule = true ;
exports . parseRelativeUrl = parseRelativeUrl ;
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
var _utils = _ _webpack _require _ _ ( /*! ../../utils */ "./node_modules/next/dist/next-server/lib/utils.js" ) ;
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
var _querystring = _ _webpack _require _ _ ( /*! ./querystring */ "./node_modules/next/dist/next-server/lib/router/utils/querystring.js" ) ;
/ * *
* Parses path - relative urls ( e . g . ` /hello/world?foo=bar ` ) . If url isn ' t path - relative
* ( e . g . ` ./hello ` ) then at least base must be .
* Absolute urls are rejected with one exception , in the browser , absolute urls that are on
* the current origin will be parsed as relative
* /
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
function parseRelativeUrl ( url , base ) {
const globalBase = new URL ( true ? 'http://n' : 0 ) ;
const resolvedBase = base ? new URL ( base , globalBase ) : globalBase ;
const {
pathname ,
searchParams ,
search ,
hash ,
href ,
origin
} = new URL ( url , resolvedBase ) ;
if ( origin !== globalBase . origin ) {
throw new Error ( ` invariant: invalid relative URL, router received ${ url } ` ) ;
2021-06-20 14:44:22 +02:00
}
2021-06-21 04:55:49 +02:00
return {
pathname ,
query : ( 0 , _querystring . searchParamsToUrlQuery ) ( searchParams ) ,
search ,
hash ,
href : href . slice ( globalBase . origin . length )
} ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/router/utils/querystring.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / utils / querystring . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . searchParamsToUrlQuery = searchParamsToUrlQuery ;
exports . urlQueryToSearchParams = urlQueryToSearchParams ;
exports . assign = assign ;
function searchParamsToUrlQuery ( searchParams ) {
const query = { } ;
searchParams . forEach ( ( value , key ) => {
if ( typeof query [ key ] === 'undefined' ) {
query [ key ] = value ;
} else if ( Array . isArray ( query [ key ] ) ) {
;
query [ key ] . push ( value ) ;
} else {
query [ key ] = [ query [ key ] , value ] ;
}
} ) ;
return query ;
}
function stringifyUrlQueryParam ( param ) {
if ( typeof param === 'string' || typeof param === 'number' && ! isNaN ( param ) || typeof param === 'boolean' ) {
return String ( param ) ;
} else {
return '' ;
}
}
function urlQueryToSearchParams ( urlQuery ) {
const result = new URLSearchParams ( ) ;
Object . entries ( urlQuery ) . forEach ( ( [ key , value ] ) => {
if ( Array . isArray ( value ) ) {
value . forEach ( item => result . append ( key , stringifyUrlQueryParam ( item ) ) ) ;
} else {
result . set ( key , stringifyUrlQueryParam ( value ) ) ;
}
} ) ;
return result ;
}
function assign ( target , ... searchParamsList ) {
searchParamsList . forEach ( searchParams => {
Array . from ( searchParams . keys ( ) ) . forEach ( key => target . delete ( key ) ) ;
searchParams . forEach ( ( value , key ) => target . append ( key , value ) ) ;
2021-06-20 16:01:27 +02:00
} ) ;
2021-06-21 04:55:49 +02:00
return target ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/router/utils/route-matcher.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / utils / route - matcher . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . getRouteMatcher = getRouteMatcher ;
function getRouteMatcher ( routeRegex ) {
const {
re ,
groups
} = routeRegex ;
return pathname => {
const routeMatch = re . exec ( pathname ) ;
if ( ! routeMatch ) {
return false ;
}
const decode = param => {
try {
return decodeURIComponent ( param ) ;
} catch ( _ ) {
const err = new Error ( 'failed to decode param' ) ;
err . code = 'DECODE_FAILED' ;
throw err ;
}
} ;
const params = { } ;
Object . keys ( groups ) . forEach ( slugName => {
const g = groups [ slugName ] ;
const m = routeMatch [ g . pos ] ;
if ( m !== undefined ) {
params [ slugName ] = ~ m . indexOf ( '/' ) ? m . split ( '/' ) . map ( entry => decode ( entry ) ) : g . repeat ? [ decode ( m ) ] : decode ( m ) ;
}
} ) ;
return params ;
} ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/router/utils/route-regex.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / router / utils / route - regex . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ;
exports . getRouteRegex = getRouteRegex ; // this isn't importing the escape-string-regex module
// to reduce bytes
function escapeRegex ( str ) {
return str . replace ( /[|\\{}()[\]^$+*?.-]/g , '\\$&' ) ;
}
function parseParameter ( param ) {
const optional = param . startsWith ( '[' ) && param . endsWith ( ']' ) ;
if ( optional ) {
param = param . slice ( 1 , - 1 ) ;
}
const repeat = param . startsWith ( '...' ) ;
if ( repeat ) {
param = param . slice ( 3 ) ;
}
return {
key : param ,
repeat ,
optional
} ;
}
function getRouteRegex ( normalizedRoute ) {
const segments = ( normalizedRoute . replace ( /\/$/ , '' ) || '/' ) . slice ( 1 ) . split ( '/' ) ;
const groups = { } ;
let groupIndex = 1 ;
const parameterizedRoute = segments . map ( segment => {
if ( segment . startsWith ( '[' ) && segment . endsWith ( ']' ) ) {
const {
key ,
optional ,
repeat
} = parseParameter ( segment . slice ( 1 , - 1 ) ) ;
groups [ key ] = {
pos : groupIndex ++ ,
repeat ,
optional
} ;
return repeat ? optional ? '(?:/(.+?))?' : '/(.+?)' : '/([^/]+?)' ;
} else {
return ` / ${ escapeRegex ( segment ) } ` ;
}
} ) . join ( '' ) ; // dead code eliminate for browser since it's only needed
// while generating routes-manifest
if ( true ) {
let routeKeyCharCode = 97 ;
let routeKeyCharLength = 1 ; // builds a minimal routeKey using only a-z and minimal number of characters
const getSafeRouteKey = ( ) => {
let routeKey = '' ;
for ( let i = 0 ; i < routeKeyCharLength ; i ++ ) {
routeKey += String . fromCharCode ( routeKeyCharCode ) ;
routeKeyCharCode ++ ;
if ( routeKeyCharCode > 122 ) {
routeKeyCharLength ++ ;
routeKeyCharCode = 97 ;
}
}
return routeKey ;
} ;
const routeKeys = { } ;
let namedParameterizedRoute = segments . map ( segment => {
if ( segment . startsWith ( '[' ) && segment . endsWith ( ']' ) ) {
const {
key ,
optional ,
repeat
} = parseParameter ( segment . slice ( 1 , - 1 ) ) ; // replace any non-word characters since they can break
// the named regex
let cleanedKey = key . replace ( /\W/g , '' ) ;
let invalidKey = false ; // check if the key is still invalid and fallback to using a known
// safe key
if ( cleanedKey . length === 0 || cleanedKey . length > 30 ) {
invalidKey = true ;
}
if ( ! isNaN ( parseInt ( cleanedKey . substr ( 0 , 1 ) ) ) ) {
invalidKey = true ;
}
if ( invalidKey ) {
cleanedKey = getSafeRouteKey ( ) ;
}
routeKeys [ cleanedKey ] = key ;
return repeat ? optional ? ` (?:/(?< ${ cleanedKey } >.+?))? ` : ` /(?< ${ cleanedKey } >.+?) ` : ` /(?< ${ cleanedKey } >[^/]+?) ` ;
} else {
return ` / ${ escapeRegex ( segment ) } ` ;
}
} ) . join ( '' ) ;
return {
re : new RegExp ( ` ^ ${ parameterizedRoute } (?:/)? $ ` ) ,
groups ,
routeKeys ,
namedRegex : ` ^ ${ namedParameterizedRoute } (?:/)? $ `
} ;
}
return {
re : new RegExp ( ` ^ ${ parameterizedRoute } (?:/)? $ ` ) ,
groups
} ;
}
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/lib/utils.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / lib / utils . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports , _ _webpack _require _ _ ) {
"use strict" ;
exports . _ _esModule = true ;
exports . execOnce = execOnce ;
exports . getLocationOrigin = getLocationOrigin ;
exports . getURL = getURL ;
exports . getDisplayName = getDisplayName ;
exports . isResSent = isResSent ;
exports . loadGetInitialProps = loadGetInitialProps ;
exports . formatWithValidation = formatWithValidation ;
exports . ST = exports . SP = exports . urlObjectKeys = void 0 ;
var _formatUrl = _ _webpack _require _ _ ( /*! ./router/utils/format-url */ "./node_modules/next/dist/next-server/lib/router/utils/format-url.js" ) ;
/ * *
* Utils
* /
function execOnce ( fn ) {
let used = false ;
let result ;
return ( ... args ) => {
if ( ! used ) {
used = true ;
result = fn ( ... args ) ;
}
return result ;
} ;
}
function getLocationOrigin ( ) {
const {
protocol ,
hostname ,
port
} = window . location ;
return ` ${ protocol } // ${ hostname } ${ port ? ':' + port : '' } ` ;
}
function getURL ( ) {
const {
href
} = window . location ;
const origin = getLocationOrigin ( ) ;
return href . substring ( origin . length ) ;
}
function getDisplayName ( Component ) {
return typeof Component === 'string' ? Component : Component . displayName || Component . name || 'Unknown' ;
}
function isResSent ( res ) {
return res . finished || res . headersSent ;
}
async function loadGetInitialProps ( App , ctx ) {
if ( true ) {
var _App$prototype ;
if ( ( _App$prototype = App . prototype ) != null && _App$prototype . getInitialProps ) {
const message = ` " ${ getDisplayName ( App ) } .getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information. ` ;
throw new Error ( message ) ;
}
} // when called from _app `ctx` is nested in `ctx`
const res = ctx . res || ctx . ctx && ctx . ctx . res ;
if ( ! App . getInitialProps ) {
if ( ctx . ctx && ctx . Component ) {
// @ts-ignore pageProps default
return {
pageProps : await loadGetInitialProps ( ctx . Component , ctx . ctx )
} ;
}
return { } ;
}
const props = await App . getInitialProps ( ctx ) ;
if ( res && isResSent ( res ) ) {
return props ;
}
if ( ! props ) {
const message = ` " ${ getDisplayName ( App ) } .getInitialProps()" should resolve to an object. But found " ${ props } " instead. ` ;
throw new Error ( message ) ;
}
if ( true ) {
if ( Object . keys ( props ) . length === 0 && ! ctx . ctx ) {
console . warn ( ` ${ getDisplayName ( App ) } returned an empty object from \` getInitialProps \` . This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps ` ) ;
}
}
return props ;
}
const urlObjectKeys = [ 'auth' , 'hash' , 'host' , 'hostname' , 'href' , 'path' , 'pathname' , 'port' , 'protocol' , 'query' , 'search' , 'slashes' ] ;
exports . urlObjectKeys = urlObjectKeys ;
function formatWithValidation ( url ) {
if ( true ) {
if ( url !== null && typeof url === 'object' ) {
Object . keys ( url ) . forEach ( key => {
if ( urlObjectKeys . indexOf ( key ) === - 1 ) {
console . warn ( ` Unknown key passed via urlObject into url.format: ${ key } ` ) ;
}
} ) ;
}
}
return ( 0 , _formatUrl . formatUrl ) ( url ) ;
2021-06-20 14:44:22 +02:00
}
2021-06-21 04:55:49 +02:00
const SP = typeof performance !== 'undefined' ;
exports . SP = SP ;
const ST = SP && typeof performance . mark === 'function' && typeof performance . measure === 'function' ;
exports . ST = ST ;
/***/ } ) ,
/***/ "./pages/_app.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / pages / _app . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , _ _webpack _exports _ _ , _ _webpack _require _ _ ) {
"use strict" ;
_ _webpack _require _ _ . r ( _ _webpack _exports _ _ ) ;
/* harmony import */ var react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ = _ _webpack _require _ _ ( /*! react/jsx-dev-runtime */ "react/jsx-dev-runtime" ) ;
/* harmony import */ var react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ ) ;
/* harmony import */ var _styles _globals _css _ _WEBPACK _IMPORTED _MODULE _1 _ _ = _ _webpack _require _ _ ( /*! ../styles/globals.css */ "./styles/globals.css" ) ;
/* harmony import */ var _styles _globals _css _ _WEBPACK _IMPORTED _MODULE _1 _ _ _default = /*#__PURE__*/ _ _webpack _require _ _ . n ( _styles _globals _css _ _WEBPACK _IMPORTED _MODULE _1 _ _ ) ;
/* harmony import */ var _components _Navbar _ _WEBPACK _IMPORTED _MODULE _2 _ _ = _ _webpack _require _ _ ( /*! ../components/Navbar */ "./components/Navbar.js" ) ;
2021-06-20 14:44:22 +02:00
2021-06-21 04:55:49 +02:00
var _jsxFileName = "/home/qt-coder/cath.gq/pages/_app.js" ;
2021-06-20 14:44:22 +02:00
function ownKeys ( object , enumerableOnly ) { var keys = Object . keys ( object ) ; if ( Object . getOwnPropertySymbols ) { var symbols = Object . getOwnPropertySymbols ( object ) ; if ( enumerableOnly ) symbols = symbols . filter ( function ( sym ) { return Object . getOwnPropertyDescriptor ( object , sym ) . enumerable ; } ) ; keys . push . apply ( keys , symbols ) ; } return keys ; }
function _objectSpread ( target ) { for ( var i = 1 ; i < arguments . length ; i ++ ) { var source = arguments [ i ] != null ? arguments [ i ] : { } ; if ( i % 2 ) { ownKeys ( Object ( source ) , true ) . forEach ( function ( key ) { _defineProperty ( target , key , source [ key ] ) ; } ) ; } else if ( Object . getOwnPropertyDescriptors ) { Object . defineProperties ( target , Object . getOwnPropertyDescriptors ( source ) ) ; } else { ownKeys ( Object ( source ) ) . forEach ( function ( key ) { Object . defineProperty ( target , key , Object . getOwnPropertyDescriptor ( source , key ) ) ; } ) ; } } return target ; }
function _defineProperty ( obj , key , value ) { if ( key in obj ) { Object . defineProperty ( obj , key , { value : value , enumerable : true , configurable : true , writable : true } ) ; } else { obj [ key ] = value ; } return obj ; }
function MyApp ( {
Component ,
pageProps
} ) {
2021-06-21 04:55:49 +02:00
return /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . Fragment , {
children : [ /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( _components _Navbar _ _WEBPACK _IMPORTED _MODULE _2 _ _ . default , { } , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 7 ,
columnNumber : 7
} , this ) , /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( "div" , {
2021-06-20 14:44:22 +02:00
className : "page-container" ,
2021-06-21 04:55:49 +02:00
children : /*#__PURE__*/ ( 0 , react _jsx _dev _runtime _ _WEBPACK _IMPORTED _MODULE _0 _ _ . jsxDEV ) ( Component , _objectSpread ( { } , pageProps ) , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 9 ,
columnNumber : 9
} , this )
} , void 0 , false , {
fileName : _jsxFileName ,
lineNumber : 8 ,
columnNumber : 7
} , this ) ]
} , void 0 , true ) ;
}
/* harmony default export */ _ _webpack _exports _ _ [ "default" ] = ( MyApp ) ;
/***/ } ) ,
/***/ "./styles/globals.css" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / styles / globals . css * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( ) {
/***/ } ) ,
/***/ "./node_modules/next/dist/next-server/server/denormalize-page-path.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / dist / next - server / server / denormalize - page - path . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( _ _unused _webpack _module , exports ) {
"use strict" ;
exports . _ _esModule = true ; exports . normalizePathSep = normalizePathSep ; exports . denormalizePagePath = denormalizePagePath ; function normalizePathSep ( path ) { return path . replace ( /\\/g , '/' ) ; } function denormalizePagePath ( page ) { page = normalizePathSep ( page ) ; if ( page . startsWith ( '/index/' ) ) { page = page . slice ( 6 ) ; } else if ( page === '/index' ) { page = '/' ; } return page ; }
//# sourceMappingURL=denormalize-page-path.js.map
/***/ } ) ,
/***/ "./node_modules/next/link.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / link . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module , _ _unused _webpack _exports , _ _webpack _require _ _ ) {
module . exports = _ _webpack _require _ _ ( /*! ./dist/client/link */ "./node_modules/next/dist/client/link.js" )
/***/ } ) ,
/***/ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireDefault.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / node _modules / @ babel / runtime / helpers / interopRequireDefault . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module ) {
function _interopRequireDefault ( obj ) {
return obj && obj . _ _esModule ? obj : {
"default" : obj
} ;
}
module . exports = _interopRequireDefault ;
/***/ } ) ,
/***/ "./node_modules/next/node_modules/@babel/runtime/helpers/interopRequireWildcard.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / node _modules / @ babel / runtime / helpers / interopRequireWildcard . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module , _ _unused _webpack _exports , _ _webpack _require _ _ ) {
var _typeof = _ _webpack _require _ _ ( /*! @babel/runtime/helpers/typeof */ "./node_modules/next/node_modules/@babel/runtime/helpers/typeof.js" ) ;
function _getRequireWildcardCache ( ) {
if ( typeof WeakMap !== "function" ) return null ;
var cache = new WeakMap ( ) ;
_getRequireWildcardCache = function _getRequireWildcardCache ( ) {
return cache ;
} ;
return cache ;
}
function _interopRequireWildcard ( obj ) {
if ( obj && obj . _ _esModule ) {
return obj ;
}
if ( obj === null || _typeof ( obj ) !== "object" && typeof obj !== "function" ) {
return {
"default" : obj
} ;
}
var cache = _getRequireWildcardCache ( ) ;
if ( cache && cache . has ( obj ) ) {
return cache . get ( obj ) ;
}
var newObj = { } ;
var hasPropertyDescriptor = Object . defineProperty && Object . getOwnPropertyDescriptor ;
for ( var key in obj ) {
if ( Object . prototype . hasOwnProperty . call ( obj , key ) ) {
var desc = hasPropertyDescriptor ? Object . getOwnPropertyDescriptor ( obj , key ) : null ;
if ( desc && ( desc . get || desc . set ) ) {
Object . defineProperty ( newObj , key , desc ) ;
} else {
newObj [ key ] = obj [ key ] ;
}
}
}
newObj [ "default" ] = obj ;
if ( cache ) {
cache . set ( obj , newObj ) ;
}
return newObj ;
}
module . exports = _interopRequireWildcard ;
/***/ } ) ,
/***/ "./node_modules/next/node_modules/@babel/runtime/helpers/typeof.js" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / node _modules / next / node _modules / @ babel / runtime / helpers / typeof . js * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module ) {
function _typeof ( obj ) {
"@babel/helpers - typeof" ;
if ( typeof Symbol === "function" && typeof Symbol . iterator === "symbol" ) {
module . exports = _typeof = function _typeof ( obj ) {
return typeof obj ;
} ;
} else {
module . exports = _typeof = function _typeof ( obj ) {
return obj && typeof Symbol === "function" && obj . constructor === Symbol && obj !== Symbol . prototype ? "symbol" : typeof obj ;
} ;
}
return _typeof ( obj ) ;
2021-06-20 14:44:22 +02:00
}
2021-06-21 04:55:49 +02:00
module . exports = _typeof ;
/***/ } ) ,
/***/ "@material-ui/icons/Menu" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "@material-ui/icons/Menu" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "@material-ui/icons/Menu" ) ; ;
2021-06-20 15:49:56 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "@material-ui/styles" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "@material-ui/styles" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 16:01:27 +02:00
/***/ ( function ( module ) {
2021-06-20 15:49:56 +02:00
2021-06-20 16:01:27 +02:00
"use strict" ;
module . exports = require ( "@material-ui/styles" ) ; ;
2021-06-20 15:49:56 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "@material-ui/system" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "@material-ui/system" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 15:49:56 +02:00
/***/ ( function ( module ) {
"use strict" ;
2021-06-20 16:01:27 +02:00
module . exports = require ( "@material-ui/system" ) ; ;
2021-06-20 14:44:22 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "@material-ui/utils" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "@material-ui/utils" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
2021-06-20 16:01:27 +02:00
module . exports = require ( "@material-ui/utils" ) ; ;
2021-06-20 14:44:22 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "clsx" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "clsx" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
2021-06-20 16:01:27 +02:00
module . exports = require ( "clsx" ) ; ;
2021-06-20 14:44:22 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "../next-server/lib/router-context" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "next/dist/next-server/lib/router-context.js" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
2021-06-20 16:01:27 +02:00
module . exports = require ( "next/dist/next-server/lib/router-context.js" ) ; ;
2021-06-20 14:44:22 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "../next-server/lib/router/utils/get-asset-path-from-route" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "next/dist/next-server/lib/router/utils/get-asset-path-from-route.js" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
2021-06-20 16:01:27 +02:00
module . exports = require ( "next/dist/next-server/lib/router/utils/get-asset-path-from-route.js" ) ; ;
2021-06-20 14:44:22 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "prop-types" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "prop-types" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "prop-types" ) ; ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "react" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "react" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "react" ) ; ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "react-dom" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "react-dom" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "react-dom" ) ; ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "react-is" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "react-is" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * /
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "react-is" ) ; ;
/***/ } ) ,
/***/ "react-transition-group" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "react-transition-group" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
module . exports = require ( "react-transition-group" ) ; ;
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "react/jsx-dev-runtime" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * external "react/jsx-dev-runtime" * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 14:44:22 +02:00
/***/ ( function ( module ) {
"use strict" ;
2021-06-21 04:55:49 +02:00
module . exports = require ( "react/jsx-dev-runtime" ) ; ;
2021-06-20 16:01:27 +02:00
/***/ } ) ,
2021-06-21 04:55:49 +02:00
/***/ "?ca47" :
/ * ! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! * \
! * * * . / utils / resolve - rewrites ( ignored ) * * * !
\ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
2021-06-20 16:01:27 +02:00
/***/ ( function ( ) {
/* (ignored) */
2021-06-20 14:44:22 +02:00
/***/ } )
} ;
;
// load runtime
var _ _webpack _require _ _ = require ( "../webpack-runtime.js" ) ;
_ _webpack _require _ _ . C ( exports ) ;
var _ _webpack _exec _ _ = function ( moduleId ) { return _ _webpack _require _ _ ( _ _webpack _require _ _ . s = moduleId ) ; }
2021-06-21 04:55:49 +02:00
var _ _webpack _exports _ _ = ( _ _webpack _exec _ _ ( "./pages/_app.js" ) ) ;
2021-06-20 14:44:22 +02:00
module . exports = _ _webpack _exports _ _ ;
2021-06-21 04:55:49 +02:00
} ) ( ) ;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AYmFiZWwvcnVudGltZS9oZWxwZXJzL2VzbS9hcnJheUxpa2VUb0FycmF5LmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL2FycmF5V2l0aG91dEhvbGVzLmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL2RlZmluZVByb3BlcnR5LmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL2V4dGVuZHMuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9lc20vaXRlcmFibGVUb0FycmF5LmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL25vbkl0ZXJhYmxlU3ByZWFkLmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL29iamVjdFdpdGhvdXRQcm9wZXJ0aWVzLmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BiYWJlbC9ydW50aW1lL2hlbHBlcnMvZXNtL29iamVjdFdpdGhvdXRQcm9wZXJ0aWVzTG9vc2UuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9lc20vdG9Db25zdW1hYmxlQXJyYXkuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQGJhYmVsL3J1bnRpbWUvaGVscGVycy9lc20vdW5zdXBwb3J0ZWRJdGVyYWJsZVRvQXJyYXkuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL0FwcEJhci9BcHBCYXIuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL0J1dHRvbi9CdXR0b24uanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL0J1dHRvbkJhc2UvQnV0dG9uQmFzZS5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vQnV0dG9uQmFzZS9SaXBwbGUuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL0J1dHRvbkJhc2UvVG91Y2hSaXBwbGUuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL0ljb25CdXR0b24vSWNvbkJ1dHRvbi5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vUGFwZXIvUGFwZXIuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL1Rvb2xiYXIvVG9vbGJhci5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vVHlwb2dyYXBoeS9UeXBvZ3JhcGh5LmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BtYXRlcmlhbC11aS9jb3JlL2VzbS9jb2xvcnMvYmx1ZS5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vY29sb3JzL2NvbW1vbi5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vY29sb3JzL2dyZWVuLmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BtYXRlcmlhbC11aS9jb3JlL2VzbS9jb2xvcnMvZ3JleS5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vY29sb3JzL2luZGlnby5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vY29sb3JzL29yYW5nZS5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vY29sb3JzL3BpbmsuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL2NvbG9ycy9yZWQuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL3N0eWxlcy9jb2xvck1hbmlwdWxhdG9yLmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BtYXRlcmlhbC11aS9jb3JlL2VzbS9zdHlsZXMvY3JlYXRlQnJlYWtwb2ludHMuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL3N0eWxlcy9jcmVhdGVNaXhpbnMuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL3N0eWxlcy9jcmVhdGVNdWlTdHJpY3RNb2RlVGhlbWUuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL3N0eWxlcy9jcmVhdGVNdWlUaGVtZS5qcyIsIndlYnBhY2s6Ly9jYXRoLWRhc2hib2FyZC8uL25vZGVfbW9kdWxlcy9AbWF0ZXJpYWwtdWkvY29yZS9lc20vc3R5bGVzL2NyZWF0ZVBhbGV0dGUuanMiLCJ3ZWJwYWNrOi8vY2F0aC1kYXNoYm9hcmQvLi9ub2RlX21vZHVsZXMvQG1hdGVyaWFsLXVpL2NvcmUvZXNtL3N0eWxlcy9jcmVhdGVTcGFjaW5nLmpzIiwid2VicGFjazovL2NhdGgtZGFzaGJvYXJkLy4vbm9kZV9tb2R1bGVzL0BtYXRlcmlhbC1